Skip to content

Commit

Permalink
Update generated code for beta (#1645)
Browse files Browse the repository at this point in the history
* Update generated code for v307

* Update generated code for v309

* Update generated code for v309

* Update generated code for v310

* Update generated code for v311

* Update generated code for v312

* Update generated code for v312

* Update generated code for v313

* Update generated code for v314

* Update generated code for v316

* Update generated code (#1644)

* Update generated code for v307

* Update generated code for v309

* Update generated code for v309

* Update generated code for v310

* Update generated code for v311

* Update generated code for v312

* Update generated code for v313

* Update generated code for v314

* Update generated code for v316

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>

* Bump version to 74.16.0

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Pavel Krymets <[email protected]>
  • Loading branch information
stripe-openapi[bot] and pakrym-stripe authored Apr 27, 2023
1 parent 103c7b9 commit 90bd06f
Show file tree
Hide file tree
Showing 11 changed files with 822 additions and 284 deletions.
30 changes: 21 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
# Changelog

## 74.16.0 - 2023-04-27
* [#1644](https://github.com/stripe/stripe-go/pull/1644) Update generated code
* Add support for `BillingCycleAnchor` and `ProrationBehavior` on `CheckoutSessionSubscriptionDataParams`
* Add support for `TerminalID` on `IssuingAuthorizationMerchantData` and `IssuingTransactionMerchantData`
* Add support for `Metadata` on `PaymentIntentCaptureParams`
* Add support for `Checks` on `SetupAttemptPaymentMethodDetailsCard`
* Add support for `TaxBreakdown` on `TaxCalculationShippingCost` and `TaxTransactionShippingCost`
* [#1643](https://github.com/stripe/stripe-go/pull/1643) Update generated code

* [#1640](https://github.com/stripe/stripe-go/pull/1640) Update generated code
* Release specs are identical.

## 74.16.0-beta.3 - 2023-04-20
* [#1642](https://github.com/stripe/stripe-go/pull/1642) Update generated code for beta
* Add support for `Zip` on `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions`
* Add support for `CountryOptions` on `TaxRegistrationParams` and `TaxRegistration`
* Remove support for `State` and `Type` on `TaxRegistrationParams` and `TaxRegistration`
* Remove support for `State` and `Type` on `TaxRegistrationParams` and `TaxRegistration`

## 74.16.0-beta.2 - 2023-04-13
* [#1639](https://github.com/stripe/stripe-go/pull/1639) Update generated code for beta
Expand All @@ -23,8 +35,8 @@

## 74.15.0 - 2023-04-06
* [#1638](https://github.com/stripe/stripe-go/pull/1638) Update generated code
* Add support for new value `link` on enum `PaymentMethodCardWalletType`
* Add support for `Country` on `PaymentMethodLink`
* Add support for new value `link` on enum `PaymentMethodCardWalletType`
* Add support for `Country` on `PaymentMethodLink`
* Add support for `StatusDetails` on `PaymentMethodUsBankAccount`

## 74.15.0-beta.1 - 2023-03-30
Expand All @@ -33,12 +45,12 @@

## 74.14.0 - 2023-03-30
* [#1635](https://github.com/stripe/stripe-go/pull/1635) Update generated code
* Remove support for `New` method on resource `Tax.Transaction`
* This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `CreateFromCalculation` method.
* Add support for `ExportLicenseID` and `ExportPurposeCode` on `AccountCompanyParams`, `AccountCompany`, and `TokenAccountCompanyParams`
* Remove support for value `deleted` from enum `InvoiceStatus`
* This is not a breaking change, as the value was never returned or accepted as input.
* Add support for `AmountTip` on `TestHelpersTerminalReaderPresentPaymentMethodParams`
* Remove support for `New` method on resource `Tax.Transaction`
* This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `CreateFromCalculation` method.
* Add support for `ExportLicenseID` and `ExportPurposeCode` on `AccountCompanyParams`, `AccountCompany`, and `TokenAccountCompanyParams`
* Remove support for value `deleted` from enum `InvoiceStatus`
* This is not a breaking change, as the value was never returned or accepted as input.
* Add support for `AmountTip` on `TestHelpersTerminalReaderPresentPaymentMethodParams`
* [#1633](https://github.com/stripe/stripe-go/pull/1633) Trigger workflow for tags
* [#1632](https://github.com/stripe/stripe-go/pull/1632) Update generated code (new)
Release specs are identical.
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v306
v316
4 changes: 4 additions & 0 deletions checkout_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -1448,6 +1448,8 @@ type CheckoutSessionSubscriptionDataTrialSettingsParams struct {
type CheckoutSessionSubscriptionDataParams struct {
// A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. To use an application fee percent, the request must be made on behalf of another account, using the `Stripe-Account` header or an OAuth key. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
ApplicationFeePercent *float64 `form:"application_fee_percent"`
// A future timestamp to anchor the subscription's billing cycle for new subscriptions.
BillingCycleAnchor *int64 `form:"billing_cycle_anchor"`
// The ID of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription.
Coupon *string `form:"coupon"`
// The tax rates that will apply to any subscription item that does not have
Expand All @@ -1462,6 +1464,8 @@ type CheckoutSessionSubscriptionDataParams struct {
Metadata map[string]string `form:"metadata"`
// The account on behalf of which to charge, for each of the subscription's invoices.
OnBehalfOf *string `form:"on_behalf_of"`
// Determines how to handle prorations resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
ProrationBehavior *string `form:"proration_behavior"`
// If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges.
TransferData *CheckoutSessionSubscriptionDataTransferDataParams `form:"transfer_data"`
// Unix timestamp representing the end of the trial period the customer
Expand Down
Loading

0 comments on commit 90bd06f

Please sign in to comment.