Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Updates #1211

Merged
merged 1 commit into from
Aug 4, 2021
Merged

API Updates #1211

merged 1 commit into from
Aug 4, 2021

Conversation

richardm-stripe
Copy link
Contributor

@richardm-stripe richardm-stripe commented Aug 4, 2021

Codegen for openapi 1303953.
r? @dcr-stripe
cc @stripe/api-libraries

Changelog

  • Change type of PaymentIntentCreateParams.payment_method_options.sofort.preferred_language, PaymentIntentUpdateParams.payment_method_options.sofort.preferred_language, and PaymentIntentConfirmParams.payment_method_options.sofort.preferred_language from enum to emptyStringable(enum)
  • Change Price.tax_behavior, Product.tax_code, Quote.automatic_tax, and TaxRate.tax_type to be required

@@ -36,7 +36,7 @@ declare module 'stripe' {
*/
application_fee_percent: number | null;

automatic_tax?: Quote.AutomaticTax;
automatic_tax: Quote.AutomaticTax;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this change (and the tax_rate one) be documented in the changelog?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

Copy link
Contributor

@dcr-stripe dcr-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just the question about the changelog + tax changes.

@richardm-stripe richardm-stripe merged commit 903714b into master Aug 4, 2021
@richardm-stripe richardm-stripe deleted the latest-codegen branch August 4, 2021 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants