Skip to content

Commit

Permalink
Update generated code for v1013
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed May 7, 2024
1 parent cb72f89 commit d768848
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1012
v1013
6 changes: 6 additions & 0 deletions stripe/_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,12 @@ class CreateParams(RequestOptions):
"""
Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval.
"""
pending_invoice_items_behavior: NotRequired[
Literal["exclude", "include"]
]
"""
How to handle a customer's pending invoice items if an invoice will be generated. Defaults to `include` if the parameter is omitted.
"""
prebilling: NotRequired["Subscription.CreateParamsPrebilling"]
"""
If specified, the invoicing for the given billing cycle iterations will be processed now.
Expand Down
6 changes: 6 additions & 0 deletions stripe/_subscription_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ class CreateParams(TypedDict):
"""
Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval.
"""
pending_invoice_items_behavior: NotRequired[
Literal["exclude", "include"]
]
"""
How to handle a customer's pending invoice items if an invoice will be generated. Defaults to `include` if the parameter is omitted.
"""
prebilling: NotRequired["SubscriptionService.CreateParamsPrebilling"]
"""
If specified, the invoicing for the given billing cycle iterations will be processed now.
Expand Down

0 comments on commit d768848

Please sign in to comment.