Skip to content

Commit

Permalink
Update generated code for v1435
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jan 8, 2025
1 parent 83edc4d commit f6a85d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1433
v1435
12 changes: 3 additions & 9 deletions stripe/billing_portal/_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ class CancellationReason(StripeObject):
"""
Whether to cancel subscriptions immediately or at the end of the billing period.
"""
proration_behavior: Literal[
"always_invoice", "create_prorations", "none"
]
proration_behavior: Literal["create_prorations", "none"]
"""
Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`.
"""
Expand Down Expand Up @@ -304,9 +302,7 @@ class CreateParamsFeaturesSubscriptionCancel(TypedDict):
"""
Whether to cancel subscriptions immediately or at the end of the billing period.
"""
proration_behavior: NotRequired[
Literal["always_invoice", "create_prorations", "none"]
]
proration_behavior: NotRequired[Literal["create_prorations", "none"]]
"""
Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period.
"""
Expand Down Expand Up @@ -542,9 +538,7 @@ class ModifyParamsFeaturesSubscriptionCancel(TypedDict):
"""
Whether to cancel subscriptions immediately or at the end of the billing period.
"""
proration_behavior: NotRequired[
Literal["always_invoice", "create_prorations", "none"]
]
proration_behavior: NotRequired[Literal["create_prorations", "none"]]
"""
Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period.
"""
Expand Down
8 changes: 2 additions & 6 deletions stripe/billing_portal/_configuration_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ class CreateParamsFeaturesSubscriptionCancel(TypedDict):
"""
Whether to cancel subscriptions immediately or at the end of the billing period.
"""
proration_behavior: NotRequired[
Literal["always_invoice", "create_prorations", "none"]
]
proration_behavior: NotRequired[Literal["create_prorations", "none"]]
"""
Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period.
"""
Expand Down Expand Up @@ -367,9 +365,7 @@ class UpdateParamsFeaturesSubscriptionCancel(TypedDict):
"""
Whether to cancel subscriptions immediately or at the end of the billing period.
"""
proration_behavior: NotRequired[
Literal["always_invoice", "create_prorations", "none"]
]
proration_behavior: NotRequired[Literal["create_prorations", "none"]]
"""
Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. No prorations are generated when canceling a subscription at the end of its natural billing period.
"""
Expand Down

0 comments on commit f6a85d9

Please sign in to comment.