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 #1215

Merged
merged 2 commits into from
Jun 4, 2021
Merged

API Updates #1215

merged 2 commits into from
Jun 4, 2021

Conversation

richardm-stripe
Copy link
Contributor

@richardm-stripe richardm-stripe commented Jun 3, 2021

Codegen for openapi 1ad8d09.
r? @richardm-stripe
cc @stripe/api-libraries

Changelog

  • Add support for new resource TaxCode.
  • Add support for tax_code on Product, ProductCreateParams, ProductUpdateParams, PriceCreateParams.product_data, PlanCreateParams.product, and Checkout SessionCreateParams.line_items[].price_data.product_data.
  • Add support for tax to Customer, CustomerCreateParams, CustomerUpdateParams.
  • Add support for default_settings[automatic_tax] and phases[].automatic_tax on SubscriptionSchedule, SubscriptionScheduleCreateParams, and SubscriptionScheduleUpdateParams.
  • Add support for automatic_tax on Subscription, SubscriptionCreateParams, SubscriptionUpdateParams; Invoice, InvoiceCreateParams, and InvoiceUpcomingParams; Checkout Session and Checkout SessionCreateParams.
  • Add support for tax_behavior to Price, PriceCreateParams, PriceUpdateParams and to the many Param objects that contain price_data:
    • SubscriptionScheduleCreateParams and SubscriptionScheduleUpdateParams, beneath phases[].add_invoice_items[] and phases[].items[]
    • SubscriptionItemCreateParams and SubscriptionItemUpdateParams, on the top-level
    • SubscriptionCreateParams create and UpdateCreateParams, beneath items[] and add_invoice_items[]
    • InvoiceItemCreateParams and InvoiceItemUpdateParams, on the top-level
    • InvoiceUpcomingParams and InvoiceUpcomingLinesParams beneath subscription_items[] and invoice_items[].
    • Checkout SessionCreateParams, beneath line_items[].
  • Add support for customer_update to Checkout SessionCreateParams.
  • Add support for customer_details to InvoiceUpcomingParams.
  • Add support for tax_type to TaxRate, TaxRateCreateParams, and TaxRateUpdateParams.

@richardm-stripe richardm-stripe merged commit 0fffcb8 into master Jun 4, 2021
@richardm-stripe richardm-stripe deleted the latest-codegen branch June 4, 2021 15:48
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.

None yet

2 participants