Skip to content

Commit

Permalink
Merge 9ee626a into f150867
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jun 3, 2024
2 parents f150867 + 9ee626a commit 01a331f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@
* Add support for `en-RO` on enums `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale`
* Add support for `ro-RO` on enums `stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale` and `stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsKlarna.preferred_locale`

## 9.9.0 - 2024-05-30
* [#1335](https://github.com/stripe/stripe-python/pull/1335) Add method to list invoice line items
* Add methods `list_lines()` and `list_lines_async()` on the class `Invoice` to list the invoice line items
* [#1336](https://github.com/stripe/stripe-python/pull/1336) Update generated code
* Add support for `generated_from` on resource classes `stripe.ConfirmationToken.PaymentMethodPreview.Card` and `stripe.PaymentMethod.Card`
* Add support for `default_value` on parameter classes `stripe.checkout.Session.CreateParamsCustomFieldDropdown`, `stripe.checkout.Session.CreateParamsCustomFieldNumeric`, and `stripe.checkout.Session.CreateParamsCustomFieldText` and resource classes `stripe.checkout.Session.CustomField.Dropdown`, `stripe.checkout.Session.CustomField.Numeric`, and `stripe.checkout.Session.CustomField.Text`
* Add support for `verification_requires_additional_proof_of_registration` on enums `stripe.Account.FutureRequirements.Error.code`, `stripe.Account.Requirements.Error.code`, `stripe.BankAccount.FutureRequirements.Error.code`, `stripe.BankAccount.Requirements.Error.code`, `stripe.Capability.FutureRequirements.Error.code`, `stripe.Capability.Requirements.Error.code`, `stripe.Person.FutureRequirements.Error.code`, and `stripe.Person.Requirements.Error.code`
* Add support for `issuing_personalization_design.activated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events`
* Add support for `issuing_personalization_design.deactivated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events`
* Add support for `issuing_personalization_design.rejected` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events`
* Add support for `issuing_personalization_design.updated` on enums `stripe.Event.type`, `stripe.WebhookEndpoint.CreateParams.enabled_events`, and `stripe.WebhookEndpoint.ModifyParams.enabled_events`
* Add support for `en-RO` on enums `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsKlarna.preferred_locale`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsKlarna.preferred_locale`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsKlarna.preferred_locale`
* Add support for `ro-RO` on enums `stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsKlarna.preferred_locale`, `stripe.PaymentIntent.CreateParamsPaymentMethodOptionsKlarna.preferred_locale`, and `stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsKlarna.preferred_locale`
* Change type of `features` on `stripe.issuing.PhysicalBundle` from `Optional[Features]` to `Features`

## 9.9.0b1 - 2024-05-23
* [#1331](https://github.com/stripe/stripe-python/pull/1331) Update generated code for beta
* Change type of `refund` on `stripe.CreditNote.CreateParamsRefund`, `stripe.CreditNote.PreviewParamsRefund`, and `stripe.CreditNote.PreviewLinesParamsRefund` from `str` to `NotRequired[str]`
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1058
v1060
4 changes: 2 additions & 2 deletions stripe/tax/_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def create_from_calculation(
cls, **params: Unpack["Transaction.CreateFromCalculationParams"]
) -> "Transaction":
"""
Creates a Tax Transaction from a calculation.
Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days.
"""
return cast(
"Transaction",
Expand All @@ -509,7 +509,7 @@ async def create_from_calculation_async(
cls, **params: Unpack["Transaction.CreateFromCalculationParams"]
) -> "Transaction":
"""
Creates a Tax Transaction from a calculation.
Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days.
"""
return cast(
"Transaction",
Expand Down
4 changes: 2 additions & 2 deletions stripe/tax/_transaction_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def create_from_calculation(
options: RequestOptions = {},
) -> Transaction:
"""
Creates a Tax Transaction from a calculation.
Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days.
"""
return cast(
Transaction,
Expand All @@ -186,7 +186,7 @@ async def create_from_calculation_async(
options: RequestOptions = {},
) -> Transaction:
"""
Creates a Tax Transaction from a calculation.
Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days.
"""
return cast(
Transaction,
Expand Down

0 comments on commit 01a331f

Please sign in to comment.