From 8a1d172888226898f7580601d119bbf68bfe567a Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 13:36:05 -0800 Subject: [PATCH 1/2] Update generated code (#1800) Update generated code for v767 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- OPENAPI_VERSION | 2 +- account.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index b918ecfcb5..242021ae22 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v764 \ No newline at end of file +v767 \ No newline at end of file diff --git a/account.go b/account.go index f5cf54a416..a96c681ccd 100644 --- a/account.go +++ b/account.go @@ -623,7 +623,7 @@ type AccountCompanyParams struct { Phone *string `form:"phone"` // The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong). RegistrationNumber *string `form:"registration_number"` - // The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. + // The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value. Structure *string `form:"structure"` // The business ID number of the company, as appropriate for the company's country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) TaxID *string `form:"tax_id"` From 4360a55efd169c3c7bc7a30c5acd02fe36ce9a1a Mon Sep 17 00:00:00 2001 From: Annie Li Date: Thu, 18 Jan 2024 14:07:57 -0800 Subject: [PATCH 2/2] Bump version to 76.13.0 --- CHANGELOG.md | 22 ++++++++++++++++++++++ VERSION | 2 +- stripe.go | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53e4fb6233..70a8f67cc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## 76.13.0 - 2024-01-18 +* [#1800](https://github.com/stripe/stripe-go/pull/1800) Update generated code +* [#1798](https://github.com/stripe/stripe-go/pull/1798) Update generated code + * Add support for new value `nn` on enums `ChargePaymentMethodDetailsIdealBank`, `PaymentMethodIdealBank`, and `SetupAttemptPaymentMethodDetailsIdealBank` + * Add support for `Issuer` on `InvoiceParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, and `Invoice` + * Add support for `Liability` on `InvoiceAutomaticTaxParams`, `InvoiceAutomaticTax`, `InvoiceUpcomingAutomaticTaxParams`, `InvoiceUpcomingLinesAutomaticTaxParams`, `SubscriptionAutomaticTaxParams`, and `SubscriptionAutomaticTax` + * Add support for `OnBehalfOf` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` + * Add support for `PIN` on `IssuingCardParams` + * Add support for `RevocationReason` on `MandatePaymentMethodDetailsBacsDebit` + * Add support for `CustomerBalance` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` + * Add support for `InvoiceSettings` on `SubscriptionParams` +* [#1796](https://github.com/stripe/stripe-go/pull/1796) Update generated code + * Add support for new resource `CustomerSession` + * Add support for `New` method on resource `CustomerSession` + * Remove support for values `obligation_inbound`, `obligation_payout_failure`, `obligation_payout`, and `obligation_reversal_outbound` from enum `BalanceTransactionType` + * Remove support for `Expand` on `BankAccountParams` and `CardParams` + * Add support for `AccountType`, `DefaultForCurrency`, and `Documents` on `BankAccountParams` and `CardParams` + * Remove support for `Owner` on `BankAccountParams` and `CardParams` + * Change type of `BankAccountAccountHolderTypeParams` and `CardAccountHolderTypeParams` from `enum('company'|'individual')` to `emptyStringable(enum('company'|'individual'))` + * Add support for new values `eps` and `p24` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` + * Add support for `BillingCycleAnchorConfig` on `SubscriptionParams` and `Subscription` + ## 76.12.0 - 2024-01-12 * [#1796](https://github.com/stripe/stripe-go/pull/1796) Update generated code * Add support for new resource `CustomerSession` diff --git a/VERSION b/VERSION index b3d7fa7dae..2fc7bed142 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -76.12.0 +76.13.0 diff --git a/stripe.go b/stripe.go index 1deec04556..1b0aeac522 100644 --- a/stripe.go +++ b/stripe.go @@ -1284,7 +1284,7 @@ func StringSlice(v []string) []*string { // // clientversion is the binding version -const clientversion = "76.12.0" +const clientversion = "76.13.0" // defaultHTTPTimeout is the default timeout on the http.Client used by the library. // This is chosen to be consistent with the other Stripe language libraries and