From c8d2f8c515d2b15f5c5600b4104991c7153dce79 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Tue, 17 Oct 2023 08:56:17 -0700 Subject: [PATCH] Bump version to 76.2.0-beta.1 --- CHANGELOG.md | 5 + README.md | 4 +- VERSION | 2 +- account.go | 2 +- account/client.go | 4 +- account/client_test.go | 4 +- account_test.go | 2 +- accountlink/client.go | 2 +- accountlink/client_test.go | 4 +- accountnotice/client.go | 4 +- accountsession/client.go | 2 +- applepaydomain/client.go | 4 +- applepaydomain/client_test.go | 4 +- applicationfee/client.go | 4 +- applicationfee/client_test.go | 4 +- apps/secret/client.go | 4 +- balance/client.go | 2 +- balance/client_test.go | 2 +- balancetransaction/client.go | 4 +- balancetransaction/client_test.go | 4 +- bankaccount.go | 2 +- bankaccount/client.go | 4 +- bankaccount/client_test.go | 4 +- bankaccount_test.go | 2 +- billingportal/configuration/client.go | 4 +- billingportal/configuration/client_test.go | 4 +- billingportal/session/client.go | 2 +- billingportal/session/client_test.go | 4 +- capability/client.go | 4 +- capability/client_test.go | 4 +- capital/financingoffer/client.go | 4 +- capital/financingsummary/client.go | 2 +- capital/financingtransaction/client.go | 4 +- card.go | 2 +- card/client.go | 4 +- card/client_test.go | 4 +- card_test.go | 2 +- cashbalance/client.go | 2 +- charge/client.go | 4 +- charge/client_test.go | 4 +- checkout/session/client.go | 4 +- checkout/session/client_test.go | 4 +- client/api.go | 264 +++++++++--------- confirmationtoken/client.go | 2 +- countryspec/client.go | 4 +- countryspec/client_test.go | 4 +- coupon/client.go | 4 +- coupon/client_test.go | 4 +- creditnote/client.go | 4 +- creditnote/client_test.go | 4 +- customer/client.go | 4 +- customer/client_test.go | 4 +- customerbalancetransaction/client.go | 4 +- customerbalancetransaction/client_test.go | 4 +- customercashbalancetransaction/client.go | 4 +- customersession/client.go | 2 +- dispute/client.go | 4 +- dispute/client_test.go | 4 +- ephemeralkey/client.go | 2 +- ephemeralkey/client_test.go | 4 +- event/client.go | 4 +- event/client_test.go | 4 +- example/deserialization_test.go | 2 +- example/generated_examples_test.go | 176 ++++++------ example_test.go | 10 +- feerefund/client.go | 4 +- feerefund/client_test.go | 4 +- file.go | 2 +- file/client.go | 4 +- file/client_test.go | 6 +- filelink.go | 2 +- filelink/client.go | 4 +- filelink/client_test.go | 4 +- filelink_test.go | 2 +- financialconnections/account/client.go | 4 +- .../accountinferredbalance/client.go | 4 +- financialconnections/session/client.go | 2 +- financialconnections/transaction/client.go | 4 +- giftcards/card/client.go | 4 +- giftcards/transaction/client.go | 4 +- go.mod | 2 +- identity/verificationreport/client.go | 4 +- identity/verificationreport/client_test.go | 4 +- identity/verificationsession/client.go | 4 +- identity/verificationsession/client_test.go | 4 +- invoice.go | 2 +- invoice/client.go | 4 +- invoice/client_test.go | 4 +- invoice_test.go | 2 +- invoiceitem/client.go | 4 +- invoiceitem/client_test.go | 4 +- issuing/authorization/client.go | 4 +- issuing/authorization/client_test.go | 4 +- issuing/card/client.go | 4 +- issuing/card/client_test.go | 4 +- issuing/cardholder/client.go | 4 +- issuing/cardholder/client_test.go | 4 +- issuing/creditunderwritingrecord/client.go | 4 +- issuing/dispute/client.go | 4 +- issuing/dispute/client_test.go | 4 +- issuing/personalizationdesign/client.go | 4 +- issuing/physicalbundle/client.go | 4 +- issuing/token/client.go | 4 +- issuing/transaction/client.go | 4 +- issuing/transaction/client_test.go | 4 +- iter.go | 2 +- iter_test.go | 2 +- loginlink/client.go | 2 +- loginlink/client_test.go | 4 +- mandate/client.go | 2 +- mandate/client_test.go | 2 +- oauth/client.go | 4 +- oauth/client_test.go | 4 +- order/client.go | 4 +- params.go | 2 +- params_test.go | 6 +- paymentintent/client.go | 4 +- paymentintent/client_test.go | 4 +- paymentlink/client.go | 4 +- paymentmethod/client.go | 4 +- paymentmethod/client_test.go | 4 +- paymentmethodconfiguration/client.go | 4 +- paymentmethoddomain/client.go | 4 +- paymentsource.go | 2 +- paymentsource/client.go | 4 +- paymentsource/client_test.go | 4 +- paymentsource_test.go | 2 +- payout/client.go | 4 +- payout/client_test.go | 4 +- person/client.go | 4 +- person/client_test.go | 4 +- plan.go | 2 +- plan/client.go | 4 +- plan/client_test.go | 4 +- plan_test.go | 2 +- preview/client.go | 2 +- preview/client_test.go | 4 +- price.go | 2 +- price/client.go | 4 +- price/client_test.go | 4 +- price_test.go | 2 +- product.go | 2 +- product/client.go | 4 +- product/client_test.go | 4 +- promotioncode/client.go | 4 +- promotioncode/client_test.go | 4 +- quote.go | 2 +- quote/client.go | 4 +- quote/client_test.go | 4 +- quote_test.go | 2 +- quotephase/client.go | 4 +- quotepreviewinvoice/client.go | 4 +- quotepreviewsubscriptionschedule/client.go | 4 +- radar/earlyfraudwarning/client.go | 4 +- radar/earlyfraudwarning/client_test.go | 4 +- radar/valuelist/client.go | 4 +- radar/valuelist/client_test.go | 4 +- radar/valuelistitem/client.go | 4 +- radar/valuelistitem/client_test.go | 4 +- refund/client.go | 4 +- refund/client_test.go | 4 +- reporting/reportrun/client.go | 4 +- reporting/reportrun/client_test.go | 4 +- reporting/reporttype/client.go | 4 +- reporting/reporttype/client_test.go | 4 +- review/client.go | 4 +- review/client_test.go | 4 +- search_iter.go | 2 +- search_iter_test.go | 2 +- search_params_test.go | 6 +- setupattempt/client.go | 4 +- setupattempt/client_test.go | 4 +- setupintent/client.go | 4 +- setupintent/client_test.go | 4 +- shippingrate/client.go | 4 +- sigma/scheduledqueryrun/client.go | 4 +- sigma/scheduledqueryrun/client_test.go | 4 +- source/client.go | 2 +- source/client_test.go | 4 +- sourcetransaction/client.go | 4 +- sourcetransaction/client_test.go | 4 +- stripe.go | 4 +- sub_test.go | 2 +- subschedule_test.go | 2 +- subscription.go | 2 +- subscription/client.go | 4 +- subscription/client_test.go | 4 +- subscriptionitem/client.go | 4 +- subscriptionitem/client_test.go | 4 +- subscriptionschedule.go | 2 +- subscriptionschedule/client.go | 4 +- subscriptionschedule/client_test.go | 4 +- tax/calculation/client.go | 4 +- tax/form/client.go | 4 +- tax/registration/client.go | 4 +- tax/settings/client.go | 2 +- tax/transaction/client.go | 4 +- tax_registration.go | 2 +- taxcode/client.go | 4 +- taxcode/client_test.go | 4 +- taxid/client.go | 4 +- taxid/client_test.go | 4 +- taxrate/client.go | 4 +- taxrate/client_test.go | 4 +- terminal/configuration/client.go | 4 +- terminal/connectiontoken/client.go | 2 +- terminal/connectiontoken/client_test.go | 4 +- terminal/location/client.go | 4 +- terminal/location/client_test.go | 4 +- terminal/reader/client.go | 4 +- terminal/reader/client_test.go | 4 +- testhelpers/customer/client.go | 2 +- testhelpers/issuing/authorization/client.go | 2 +- testhelpers/issuing/card/client.go | 2 +- .../issuing/personalizationdesign/client.go | 2 +- testhelpers/issuing/transaction/client.go | 2 +- testhelpers/refund/client.go | 2 +- testhelpers/terminal/reader/client.go | 2 +- testhelpers/terminal/reader/client_test.go | 4 +- testhelpers/testclock/client.go | 4 +- .../treasury/inboundtransfer/client.go | 2 +- .../treasury/outboundpayment/client.go | 2 +- .../treasury/outboundtransfer/client.go | 2 +- testhelpers/treasury/receivedcredit/client.go | 2 +- testhelpers/treasury/receiveddebit/client.go | 2 +- testing/testing.go | 4 +- token/client.go | 2 +- token/client_test.go | 4 +- topup/client.go | 4 +- topup/client_test.go | 4 +- transfer/client.go | 4 +- transfer/client_test.go | 4 +- transferreversal/client.go | 4 +- transferreversal/client_test.go | 4 +- treasury/creditreversal/client.go | 4 +- treasury/debitreversal/client.go | 4 +- treasury/financialaccount/client.go | 4 +- treasury/inboundtransfer/client.go | 4 +- treasury/outboundpayment/client.go | 4 +- treasury/outboundtransfer/client.go | 4 +- treasury/receivedcredit/client.go | 4 +- treasury/receiveddebit/client.go | 4 +- treasury/transaction/client.go | 4 +- treasury/transactionentry/client.go | 4 +- usagerecord.go | 2 +- usagerecord/client.go | 2 +- usagerecord/client_test.go | 4 +- usagerecord_test.go | 2 +- usagerecordsummary/client.go | 4 +- usagerecordsummary/client_test.go | 4 +- webhook/client.go | 2 +- webhook/client_handler_test.go | 2 +- webhook/client_test.go | 2 +- webhookendpoint/client.go | 4 +- webhookendpoint/client_test.go | 4 +- 255 files changed, 665 insertions(+), 660 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d46499eb4..3831fa46b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 76.2.0-beta.1 - 2023-10-17 +* [#1757](https://github.com/stripe/stripe-go/pull/1757) Update generated code for beta +* [#1754](https://github.com/stripe/stripe-go/pull/1754) Update generated code for beta + - Update pinned API version to `2023-10-16` + ## 76.1.0 - 2023-10-17 * [#1756](https://github.com/stripe/stripe-go/pull/1756) Update generated code * Add support for new value `invalid_dob_age_under_minimum` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode` diff --git a/README.md b/README.md index 697cc1f449..ca992b8fb8 100644 --- a/README.md +++ b/README.md @@ -548,8 +548,8 @@ If you would like to send a request to an undocumented API (for example you are ```go import ( - "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Form-encode request params diff --git a/VERSION b/VERSION index a89af85b30..be532f4390 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -75.12.0-beta.1 +76.2.0-beta.1 diff --git a/account.go b/account.go index ad3ae1a80e..14008a5f9c 100644 --- a/account.go +++ b/account.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) // The business type. diff --git a/account/client.go b/account/client.go index 056d67e227..a754ac40f5 100644 --- a/account/client.go +++ b/account/client.go @@ -10,8 +10,8 @@ package account import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /accounts APIs. diff --git a/account/client_test.go b/account/client_test.go index 16c2bb7a26..8db9cae73e 100644 --- a/account/client_test.go +++ b/account/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestAccountDel(t *testing.T) { diff --git a/account_test.go b/account_test.go index 355aa79871..1943da104e 100644 --- a/account_test.go +++ b/account_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestAccountExternalAccountParams_AppendTo(t *testing.T) { diff --git a/accountlink/client.go b/accountlink/client.go index 10196371fa..eaefa9e217 100644 --- a/accountlink/client.go +++ b/accountlink/client.go @@ -10,7 +10,7 @@ package accountlink import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /account_links APIs. diff --git a/accountlink/client_test.go b/accountlink/client_test.go index 23128955fb..51dad19bfb 100644 --- a/accountlink/client_test.go +++ b/accountlink/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestAccountLinkNew(t *testing.T) { diff --git a/accountnotice/client.go b/accountnotice/client.go index fe0bcdb5a5..0187d627dd 100644 --- a/accountnotice/client.go +++ b/accountnotice/client.go @@ -10,8 +10,8 @@ package accountnotice import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /account_notices APIs. diff --git a/accountsession/client.go b/accountsession/client.go index b471923ba2..7fe5709e0d 100644 --- a/accountsession/client.go +++ b/accountsession/client.go @@ -10,7 +10,7 @@ package accountsession import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /account_sessions APIs. diff --git a/applepaydomain/client.go b/applepaydomain/client.go index bdf021e391..9ff7790b56 100644 --- a/applepaydomain/client.go +++ b/applepaydomain/client.go @@ -10,8 +10,8 @@ package applepaydomain import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /apple_pay/domains APIs. diff --git a/applepaydomain/client_test.go b/applepaydomain/client_test.go index d91b0fbc4c..beaded1693 100644 --- a/applepaydomain/client_test.go +++ b/applepaydomain/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestApplePayDomainDel(t *testing.T) { diff --git a/applicationfee/client.go b/applicationfee/client.go index 0c8d67f51c..7e66005055 100644 --- a/applicationfee/client.go +++ b/applicationfee/client.go @@ -10,8 +10,8 @@ package applicationfee import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /application_fees APIs. diff --git a/applicationfee/client_test.go b/applicationfee/client_test.go index 1ecfcf14aa..4ee0579e09 100644 --- a/applicationfee/client_test.go +++ b/applicationfee/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestApplicationFeeGet(t *testing.T) { diff --git a/apps/secret/client.go b/apps/secret/client.go index 49d6657238..72df621122 100644 --- a/apps/secret/client.go +++ b/apps/secret/client.go @@ -10,8 +10,8 @@ package secret import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /apps/secrets APIs. diff --git a/balance/client.go b/balance/client.go index 863280bf4c..443c27f2b2 100644 --- a/balance/client.go +++ b/balance/client.go @@ -10,7 +10,7 @@ package balance import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /balance APIs. diff --git a/balance/client_test.go b/balance/client_test.go index 54c95c7009..4cca7bf621 100644 --- a/balance/client_test.go +++ b/balance/client_test.go @@ -4,7 +4,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - _ "github.com/stripe/stripe-go/v75/testing" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestBalanceGet(t *testing.T) { diff --git a/balancetransaction/client.go b/balancetransaction/client.go index b7278ea99d..49ae13f4dc 100644 --- a/balancetransaction/client.go +++ b/balancetransaction/client.go @@ -10,8 +10,8 @@ package balancetransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /balance_transactions APIs. diff --git a/balancetransaction/client_test.go b/balancetransaction/client_test.go index d1b57cea79..4949ac1bef 100644 --- a/balancetransaction/client_test.go +++ b/balancetransaction/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestBalanceTransactionGet(t *testing.T) { diff --git a/bankaccount.go b/bankaccount.go index 6c5472d038..0156df75ec 100644 --- a/bankaccount.go +++ b/bankaccount.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" "strconv" ) diff --git a/bankaccount/client.go b/bankaccount/client.go index 2112088481..b1b0011d81 100644 --- a/bankaccount/client.go +++ b/bankaccount/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke bankaccount related APIs. diff --git a/bankaccount/client_test.go b/bankaccount/client_test.go index fdd75cabf7..6601f1362f 100644 --- a/bankaccount/client_test.go +++ b/bankaccount/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestBankAccountDel_ByAccount(t *testing.T) { diff --git a/bankaccount_test.go b/bankaccount_test.go index 59bc29c08f..a6f65ffd0e 100644 --- a/bankaccount_test.go +++ b/bankaccount_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestBankAccount_UnmarshalJSON(t *testing.T) { diff --git a/billingportal/configuration/client.go b/billingportal/configuration/client.go index 2fb875af10..58729842f0 100644 --- a/billingportal/configuration/client.go +++ b/billingportal/configuration/client.go @@ -10,8 +10,8 @@ package configuration import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /billing_portal/configurations APIs. diff --git a/billingportal/configuration/client_test.go b/billingportal/configuration/client_test.go index 1fc3eecb32..bea8f2638d 100644 --- a/billingportal/configuration/client_test.go +++ b/billingportal/configuration/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestBillingPortalConfigurationGet(t *testing.T) { diff --git a/billingportal/session/client.go b/billingportal/session/client.go index d7e3105f75..cd8cf0f10f 100644 --- a/billingportal/session/client.go +++ b/billingportal/session/client.go @@ -10,7 +10,7 @@ package session import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /billing_portal/sessions APIs. diff --git a/billingportal/session/client_test.go b/billingportal/session/client_test.go index 955a767005..40ed2d615a 100644 --- a/billingportal/session/client_test.go +++ b/billingportal/session/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestBillingPortalSessionNew(t *testing.T) { diff --git a/capability/client.go b/capability/client.go index b4b0b9eac1..d5a865c290 100644 --- a/capability/client.go +++ b/capability/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /accounts/{account}/capabilities APIs. diff --git a/capability/client_test.go b/capability/client_test.go index e25d7e4f26..4f26d6ff46 100644 --- a/capability/client_test.go +++ b/capability/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestCapabilityGet(t *testing.T) { diff --git a/capital/financingoffer/client.go b/capital/financingoffer/client.go index 0ac0f023ea..49eb9f536e 100644 --- a/capital/financingoffer/client.go +++ b/capital/financingoffer/client.go @@ -10,8 +10,8 @@ package financingoffer import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /capital/financing_offers APIs. diff --git a/capital/financingsummary/client.go b/capital/financingsummary/client.go index 17fbc673e2..5a793282f6 100644 --- a/capital/financingsummary/client.go +++ b/capital/financingsummary/client.go @@ -10,7 +10,7 @@ package financingsummary import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /capital/financing_summary APIs. diff --git a/capital/financingtransaction/client.go b/capital/financingtransaction/client.go index da98681c0d..7c9d103975 100644 --- a/capital/financingtransaction/client.go +++ b/capital/financingtransaction/client.go @@ -10,8 +10,8 @@ package financingtransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /capital/financing_transactions APIs. diff --git a/card.go b/card.go index d4fcc27beb..e6377386f5 100644 --- a/card.go +++ b/card.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" "strconv" ) diff --git a/card/client.go b/card/client.go index 0d97df31bb..8783509427 100644 --- a/card/client.go +++ b/card/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke card related APIs. diff --git a/card/client_test.go b/card/client_test.go index 70e140705a..1c6403a260 100644 --- a/card/client_test.go +++ b/card/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestCardDel(t *testing.T) { diff --git a/card_test.go b/card_test.go index 93c27251e3..c4eca1ba6c 100644 --- a/card_test.go +++ b/card_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestCardListParams_AppendTo(t *testing.T) { diff --git a/cashbalance/client.go b/cashbalance/client.go index fa26598512..ceec9fe6b7 100644 --- a/cashbalance/client.go +++ b/cashbalance/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /customers/{customer}/cash_balance APIs. diff --git a/charge/client.go b/charge/client.go index 5324d65533..3007a14e6d 100644 --- a/charge/client.go +++ b/charge/client.go @@ -10,8 +10,8 @@ package charge import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /charges APIs. diff --git a/charge/client_test.go b/charge/client_test.go index a0fd2af449..a7e72062b3 100644 --- a/charge/client_test.go +++ b/charge/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestChargeCapture(t *testing.T) { diff --git a/checkout/session/client.go b/checkout/session/client.go index f44f384bcf..745e2b8d38 100644 --- a/checkout/session/client.go +++ b/checkout/session/client.go @@ -10,8 +10,8 @@ package session import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /checkout/sessions APIs. diff --git a/checkout/session/client_test.go b/checkout/session/client_test.go index 6fe84584b7..35f12131e6 100644 --- a/checkout/session/client_test.go +++ b/checkout/session/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestCheckoutSessionGet(t *testing.T) { diff --git a/client/api.go b/client/api.go index 2c04e3c104..71c956738d 100644 --- a/client/api.go +++ b/client/api.go @@ -8,138 +8,138 @@ package client import ( - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/account" - "github.com/stripe/stripe-go/v75/accountlink" - "github.com/stripe/stripe-go/v75/accountnotice" - "github.com/stripe/stripe-go/v75/accountsession" - "github.com/stripe/stripe-go/v75/applepaydomain" - "github.com/stripe/stripe-go/v75/applicationfee" - appssecret "github.com/stripe/stripe-go/v75/apps/secret" - "github.com/stripe/stripe-go/v75/balance" - "github.com/stripe/stripe-go/v75/balancetransaction" - "github.com/stripe/stripe-go/v75/bankaccount" - billingportalconfiguration "github.com/stripe/stripe-go/v75/billingportal/configuration" - billingportalsession "github.com/stripe/stripe-go/v75/billingportal/session" - "github.com/stripe/stripe-go/v75/capability" - capitalfinancingoffer "github.com/stripe/stripe-go/v75/capital/financingoffer" - capitalfinancingsummary "github.com/stripe/stripe-go/v75/capital/financingsummary" - capitalfinancingtransaction "github.com/stripe/stripe-go/v75/capital/financingtransaction" - "github.com/stripe/stripe-go/v75/card" - "github.com/stripe/stripe-go/v75/cashbalance" - "github.com/stripe/stripe-go/v75/charge" - checkoutsession "github.com/stripe/stripe-go/v75/checkout/session" - "github.com/stripe/stripe-go/v75/confirmationtoken" - "github.com/stripe/stripe-go/v75/countryspec" - "github.com/stripe/stripe-go/v75/coupon" - "github.com/stripe/stripe-go/v75/creditnote" - "github.com/stripe/stripe-go/v75/customer" - "github.com/stripe/stripe-go/v75/customerbalancetransaction" - "github.com/stripe/stripe-go/v75/customercashbalancetransaction" - "github.com/stripe/stripe-go/v75/customersession" - "github.com/stripe/stripe-go/v75/dispute" - "github.com/stripe/stripe-go/v75/ephemeralkey" - "github.com/stripe/stripe-go/v75/event" - "github.com/stripe/stripe-go/v75/feerefund" - "github.com/stripe/stripe-go/v75/file" - "github.com/stripe/stripe-go/v75/filelink" - financialconnectionsaccount "github.com/stripe/stripe-go/v75/financialconnections/account" - financialconnectionsaccountinferredbalance "github.com/stripe/stripe-go/v75/financialconnections/accountinferredbalance" - financialconnectionssession "github.com/stripe/stripe-go/v75/financialconnections/session" - financialconnectionstransaction "github.com/stripe/stripe-go/v75/financialconnections/transaction" - giftcardscard "github.com/stripe/stripe-go/v75/giftcards/card" - giftcardstransaction "github.com/stripe/stripe-go/v75/giftcards/transaction" - identityverificationreport "github.com/stripe/stripe-go/v75/identity/verificationreport" - identityverificationsession "github.com/stripe/stripe-go/v75/identity/verificationsession" - "github.com/stripe/stripe-go/v75/invoice" - "github.com/stripe/stripe-go/v75/invoiceitem" - issuingauthorization "github.com/stripe/stripe-go/v75/issuing/authorization" - issuingcard "github.com/stripe/stripe-go/v75/issuing/card" - issuingcardholder "github.com/stripe/stripe-go/v75/issuing/cardholder" - issuingcreditunderwritingrecord "github.com/stripe/stripe-go/v75/issuing/creditunderwritingrecord" - issuingdispute "github.com/stripe/stripe-go/v75/issuing/dispute" - issuingpersonalizationdesign "github.com/stripe/stripe-go/v75/issuing/personalizationdesign" - issuingphysicalbundle "github.com/stripe/stripe-go/v75/issuing/physicalbundle" - issuingtoken "github.com/stripe/stripe-go/v75/issuing/token" - issuingtransaction "github.com/stripe/stripe-go/v75/issuing/transaction" - "github.com/stripe/stripe-go/v75/loginlink" - "github.com/stripe/stripe-go/v75/mandate" - "github.com/stripe/stripe-go/v75/oauth" - "github.com/stripe/stripe-go/v75/order" - "github.com/stripe/stripe-go/v75/paymentintent" - "github.com/stripe/stripe-go/v75/paymentlink" - "github.com/stripe/stripe-go/v75/paymentmethod" - "github.com/stripe/stripe-go/v75/paymentmethodconfiguration" - "github.com/stripe/stripe-go/v75/paymentmethoddomain" - "github.com/stripe/stripe-go/v75/paymentsource" - "github.com/stripe/stripe-go/v75/payout" - "github.com/stripe/stripe-go/v75/person" - "github.com/stripe/stripe-go/v75/plan" - "github.com/stripe/stripe-go/v75/price" - "github.com/stripe/stripe-go/v75/product" - "github.com/stripe/stripe-go/v75/promotioncode" - "github.com/stripe/stripe-go/v75/quote" - "github.com/stripe/stripe-go/v75/quotephase" - "github.com/stripe/stripe-go/v75/quotepreviewinvoice" - "github.com/stripe/stripe-go/v75/quotepreviewsubscriptionschedule" - radarearlyfraudwarning "github.com/stripe/stripe-go/v75/radar/earlyfraudwarning" - radarvaluelist "github.com/stripe/stripe-go/v75/radar/valuelist" - radarvaluelistitem "github.com/stripe/stripe-go/v75/radar/valuelistitem" - "github.com/stripe/stripe-go/v75/refund" - reportingreportrun "github.com/stripe/stripe-go/v75/reporting/reportrun" - reportingreporttype "github.com/stripe/stripe-go/v75/reporting/reporttype" - "github.com/stripe/stripe-go/v75/review" - "github.com/stripe/stripe-go/v75/setupattempt" - "github.com/stripe/stripe-go/v75/setupintent" - "github.com/stripe/stripe-go/v75/shippingrate" - sigmascheduledqueryrun "github.com/stripe/stripe-go/v75/sigma/scheduledqueryrun" - "github.com/stripe/stripe-go/v75/source" - "github.com/stripe/stripe-go/v75/sourcetransaction" - "github.com/stripe/stripe-go/v75/subscription" - "github.com/stripe/stripe-go/v75/subscriptionitem" - "github.com/stripe/stripe-go/v75/subscriptionschedule" - taxcalculation "github.com/stripe/stripe-go/v75/tax/calculation" - taxform "github.com/stripe/stripe-go/v75/tax/form" - taxregistration "github.com/stripe/stripe-go/v75/tax/registration" - taxsettings "github.com/stripe/stripe-go/v75/tax/settings" - taxtransaction "github.com/stripe/stripe-go/v75/tax/transaction" - "github.com/stripe/stripe-go/v75/taxcode" - "github.com/stripe/stripe-go/v75/taxid" - "github.com/stripe/stripe-go/v75/taxrate" - terminalconfiguration "github.com/stripe/stripe-go/v75/terminal/configuration" - terminalconnectiontoken "github.com/stripe/stripe-go/v75/terminal/connectiontoken" - terminallocation "github.com/stripe/stripe-go/v75/terminal/location" - terminalreader "github.com/stripe/stripe-go/v75/terminal/reader" - testhelperscustomer "github.com/stripe/stripe-go/v75/testhelpers/customer" - testhelpersissuingauthorization "github.com/stripe/stripe-go/v75/testhelpers/issuing/authorization" - testhelpersissuingcard "github.com/stripe/stripe-go/v75/testhelpers/issuing/card" - testhelpersissuingpersonalizationdesign "github.com/stripe/stripe-go/v75/testhelpers/issuing/personalizationdesign" - testhelpersissuingtransaction "github.com/stripe/stripe-go/v75/testhelpers/issuing/transaction" - testhelpersrefund "github.com/stripe/stripe-go/v75/testhelpers/refund" - testhelpersterminalreader "github.com/stripe/stripe-go/v75/testhelpers/terminal/reader" - testhelperstestclock "github.com/stripe/stripe-go/v75/testhelpers/testclock" - testhelperstreasuryinboundtransfer "github.com/stripe/stripe-go/v75/testhelpers/treasury/inboundtransfer" - testhelperstreasuryoutboundpayment "github.com/stripe/stripe-go/v75/testhelpers/treasury/outboundpayment" - testhelperstreasuryoutboundtransfer "github.com/stripe/stripe-go/v75/testhelpers/treasury/outboundtransfer" - testhelperstreasuryreceivedcredit "github.com/stripe/stripe-go/v75/testhelpers/treasury/receivedcredit" - testhelperstreasuryreceiveddebit "github.com/stripe/stripe-go/v75/testhelpers/treasury/receiveddebit" - "github.com/stripe/stripe-go/v75/token" - "github.com/stripe/stripe-go/v75/topup" - "github.com/stripe/stripe-go/v75/transfer" - "github.com/stripe/stripe-go/v75/transferreversal" - treasurycreditreversal "github.com/stripe/stripe-go/v75/treasury/creditreversal" - treasurydebitreversal "github.com/stripe/stripe-go/v75/treasury/debitreversal" - treasuryfinancialaccount "github.com/stripe/stripe-go/v75/treasury/financialaccount" - treasuryinboundtransfer "github.com/stripe/stripe-go/v75/treasury/inboundtransfer" - treasuryoutboundpayment "github.com/stripe/stripe-go/v75/treasury/outboundpayment" - treasuryoutboundtransfer "github.com/stripe/stripe-go/v75/treasury/outboundtransfer" - treasuryreceivedcredit "github.com/stripe/stripe-go/v75/treasury/receivedcredit" - treasuryreceiveddebit "github.com/stripe/stripe-go/v75/treasury/receiveddebit" - treasurytransaction "github.com/stripe/stripe-go/v75/treasury/transaction" - treasurytransactionentry "github.com/stripe/stripe-go/v75/treasury/transactionentry" - "github.com/stripe/stripe-go/v75/usagerecord" - "github.com/stripe/stripe-go/v75/usagerecordsummary" - "github.com/stripe/stripe-go/v75/webhookendpoint" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/account" + "github.com/stripe/stripe-go/v76/accountlink" + "github.com/stripe/stripe-go/v76/accountnotice" + "github.com/stripe/stripe-go/v76/accountsession" + "github.com/stripe/stripe-go/v76/applepaydomain" + "github.com/stripe/stripe-go/v76/applicationfee" + appssecret "github.com/stripe/stripe-go/v76/apps/secret" + "github.com/stripe/stripe-go/v76/balance" + "github.com/stripe/stripe-go/v76/balancetransaction" + "github.com/stripe/stripe-go/v76/bankaccount" + billingportalconfiguration "github.com/stripe/stripe-go/v76/billingportal/configuration" + billingportalsession "github.com/stripe/stripe-go/v76/billingportal/session" + "github.com/stripe/stripe-go/v76/capability" + capitalfinancingoffer "github.com/stripe/stripe-go/v76/capital/financingoffer" + capitalfinancingsummary "github.com/stripe/stripe-go/v76/capital/financingsummary" + capitalfinancingtransaction "github.com/stripe/stripe-go/v76/capital/financingtransaction" + "github.com/stripe/stripe-go/v76/card" + "github.com/stripe/stripe-go/v76/cashbalance" + "github.com/stripe/stripe-go/v76/charge" + checkoutsession "github.com/stripe/stripe-go/v76/checkout/session" + "github.com/stripe/stripe-go/v76/confirmationtoken" + "github.com/stripe/stripe-go/v76/countryspec" + "github.com/stripe/stripe-go/v76/coupon" + "github.com/stripe/stripe-go/v76/creditnote" + "github.com/stripe/stripe-go/v76/customer" + "github.com/stripe/stripe-go/v76/customerbalancetransaction" + "github.com/stripe/stripe-go/v76/customercashbalancetransaction" + "github.com/stripe/stripe-go/v76/customersession" + "github.com/stripe/stripe-go/v76/dispute" + "github.com/stripe/stripe-go/v76/ephemeralkey" + "github.com/stripe/stripe-go/v76/event" + "github.com/stripe/stripe-go/v76/feerefund" + "github.com/stripe/stripe-go/v76/file" + "github.com/stripe/stripe-go/v76/filelink" + financialconnectionsaccount "github.com/stripe/stripe-go/v76/financialconnections/account" + financialconnectionsaccountinferredbalance "github.com/stripe/stripe-go/v76/financialconnections/accountinferredbalance" + financialconnectionssession "github.com/stripe/stripe-go/v76/financialconnections/session" + financialconnectionstransaction "github.com/stripe/stripe-go/v76/financialconnections/transaction" + giftcardscard "github.com/stripe/stripe-go/v76/giftcards/card" + giftcardstransaction "github.com/stripe/stripe-go/v76/giftcards/transaction" + identityverificationreport "github.com/stripe/stripe-go/v76/identity/verificationreport" + identityverificationsession "github.com/stripe/stripe-go/v76/identity/verificationsession" + "github.com/stripe/stripe-go/v76/invoice" + "github.com/stripe/stripe-go/v76/invoiceitem" + issuingauthorization "github.com/stripe/stripe-go/v76/issuing/authorization" + issuingcard "github.com/stripe/stripe-go/v76/issuing/card" + issuingcardholder "github.com/stripe/stripe-go/v76/issuing/cardholder" + issuingcreditunderwritingrecord "github.com/stripe/stripe-go/v76/issuing/creditunderwritingrecord" + issuingdispute "github.com/stripe/stripe-go/v76/issuing/dispute" + issuingpersonalizationdesign "github.com/stripe/stripe-go/v76/issuing/personalizationdesign" + issuingphysicalbundle "github.com/stripe/stripe-go/v76/issuing/physicalbundle" + issuingtoken "github.com/stripe/stripe-go/v76/issuing/token" + issuingtransaction "github.com/stripe/stripe-go/v76/issuing/transaction" + "github.com/stripe/stripe-go/v76/loginlink" + "github.com/stripe/stripe-go/v76/mandate" + "github.com/stripe/stripe-go/v76/oauth" + "github.com/stripe/stripe-go/v76/order" + "github.com/stripe/stripe-go/v76/paymentintent" + "github.com/stripe/stripe-go/v76/paymentlink" + "github.com/stripe/stripe-go/v76/paymentmethod" + "github.com/stripe/stripe-go/v76/paymentmethodconfiguration" + "github.com/stripe/stripe-go/v76/paymentmethoddomain" + "github.com/stripe/stripe-go/v76/paymentsource" + "github.com/stripe/stripe-go/v76/payout" + "github.com/stripe/stripe-go/v76/person" + "github.com/stripe/stripe-go/v76/plan" + "github.com/stripe/stripe-go/v76/price" + "github.com/stripe/stripe-go/v76/product" + "github.com/stripe/stripe-go/v76/promotioncode" + "github.com/stripe/stripe-go/v76/quote" + "github.com/stripe/stripe-go/v76/quotephase" + "github.com/stripe/stripe-go/v76/quotepreviewinvoice" + "github.com/stripe/stripe-go/v76/quotepreviewsubscriptionschedule" + radarearlyfraudwarning "github.com/stripe/stripe-go/v76/radar/earlyfraudwarning" + radarvaluelist "github.com/stripe/stripe-go/v76/radar/valuelist" + radarvaluelistitem "github.com/stripe/stripe-go/v76/radar/valuelistitem" + "github.com/stripe/stripe-go/v76/refund" + reportingreportrun "github.com/stripe/stripe-go/v76/reporting/reportrun" + reportingreporttype "github.com/stripe/stripe-go/v76/reporting/reporttype" + "github.com/stripe/stripe-go/v76/review" + "github.com/stripe/stripe-go/v76/setupattempt" + "github.com/stripe/stripe-go/v76/setupintent" + "github.com/stripe/stripe-go/v76/shippingrate" + sigmascheduledqueryrun "github.com/stripe/stripe-go/v76/sigma/scheduledqueryrun" + "github.com/stripe/stripe-go/v76/source" + "github.com/stripe/stripe-go/v76/sourcetransaction" + "github.com/stripe/stripe-go/v76/subscription" + "github.com/stripe/stripe-go/v76/subscriptionitem" + "github.com/stripe/stripe-go/v76/subscriptionschedule" + taxcalculation "github.com/stripe/stripe-go/v76/tax/calculation" + taxform "github.com/stripe/stripe-go/v76/tax/form" + taxregistration "github.com/stripe/stripe-go/v76/tax/registration" + taxsettings "github.com/stripe/stripe-go/v76/tax/settings" + taxtransaction "github.com/stripe/stripe-go/v76/tax/transaction" + "github.com/stripe/stripe-go/v76/taxcode" + "github.com/stripe/stripe-go/v76/taxid" + "github.com/stripe/stripe-go/v76/taxrate" + terminalconfiguration "github.com/stripe/stripe-go/v76/terminal/configuration" + terminalconnectiontoken "github.com/stripe/stripe-go/v76/terminal/connectiontoken" + terminallocation "github.com/stripe/stripe-go/v76/terminal/location" + terminalreader "github.com/stripe/stripe-go/v76/terminal/reader" + testhelperscustomer "github.com/stripe/stripe-go/v76/testhelpers/customer" + testhelpersissuingauthorization "github.com/stripe/stripe-go/v76/testhelpers/issuing/authorization" + testhelpersissuingcard "github.com/stripe/stripe-go/v76/testhelpers/issuing/card" + testhelpersissuingpersonalizationdesign "github.com/stripe/stripe-go/v76/testhelpers/issuing/personalizationdesign" + testhelpersissuingtransaction "github.com/stripe/stripe-go/v76/testhelpers/issuing/transaction" + testhelpersrefund "github.com/stripe/stripe-go/v76/testhelpers/refund" + testhelpersterminalreader "github.com/stripe/stripe-go/v76/testhelpers/terminal/reader" + testhelperstestclock "github.com/stripe/stripe-go/v76/testhelpers/testclock" + testhelperstreasuryinboundtransfer "github.com/stripe/stripe-go/v76/testhelpers/treasury/inboundtransfer" + testhelperstreasuryoutboundpayment "github.com/stripe/stripe-go/v76/testhelpers/treasury/outboundpayment" + testhelperstreasuryoutboundtransfer "github.com/stripe/stripe-go/v76/testhelpers/treasury/outboundtransfer" + testhelperstreasuryreceivedcredit "github.com/stripe/stripe-go/v76/testhelpers/treasury/receivedcredit" + testhelperstreasuryreceiveddebit "github.com/stripe/stripe-go/v76/testhelpers/treasury/receiveddebit" + "github.com/stripe/stripe-go/v76/token" + "github.com/stripe/stripe-go/v76/topup" + "github.com/stripe/stripe-go/v76/transfer" + "github.com/stripe/stripe-go/v76/transferreversal" + treasurycreditreversal "github.com/stripe/stripe-go/v76/treasury/creditreversal" + treasurydebitreversal "github.com/stripe/stripe-go/v76/treasury/debitreversal" + treasuryfinancialaccount "github.com/stripe/stripe-go/v76/treasury/financialaccount" + treasuryinboundtransfer "github.com/stripe/stripe-go/v76/treasury/inboundtransfer" + treasuryoutboundpayment "github.com/stripe/stripe-go/v76/treasury/outboundpayment" + treasuryoutboundtransfer "github.com/stripe/stripe-go/v76/treasury/outboundtransfer" + treasuryreceivedcredit "github.com/stripe/stripe-go/v76/treasury/receivedcredit" + treasuryreceiveddebit "github.com/stripe/stripe-go/v76/treasury/receiveddebit" + treasurytransaction "github.com/stripe/stripe-go/v76/treasury/transaction" + treasurytransactionentry "github.com/stripe/stripe-go/v76/treasury/transactionentry" + "github.com/stripe/stripe-go/v76/usagerecord" + "github.com/stripe/stripe-go/v76/usagerecordsummary" + "github.com/stripe/stripe-go/v76/webhookendpoint" ) // API is the Stripe client. It contains all the different resources available. diff --git a/confirmationtoken/client.go b/confirmationtoken/client.go index 55b32e9839..9b3937d49a 100644 --- a/confirmationtoken/client.go +++ b/confirmationtoken/client.go @@ -10,7 +10,7 @@ package confirmationtoken import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /confirmation_tokens APIs. diff --git a/countryspec/client.go b/countryspec/client.go index a7dafa0f83..23b731778d 100644 --- a/countryspec/client.go +++ b/countryspec/client.go @@ -10,8 +10,8 @@ package countryspec import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /country_specs APIs. diff --git a/countryspec/client_test.go b/countryspec/client_test.go index 7571e4decb..0a295f5363 100644 --- a/countryspec/client_test.go +++ b/countryspec/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestCountrySpecGet(t *testing.T) { diff --git a/coupon/client.go b/coupon/client.go index 0d852ccff4..ea51ee07cb 100644 --- a/coupon/client.go +++ b/coupon/client.go @@ -10,8 +10,8 @@ package coupon import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /coupons APIs. diff --git a/coupon/client_test.go b/coupon/client_test.go index 09f3e6662e..d7308978f7 100644 --- a/coupon/client_test.go +++ b/coupon/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestCouponDel(t *testing.T) { diff --git a/creditnote/client.go b/creditnote/client.go index 1e996d01ec..37e31715a6 100644 --- a/creditnote/client.go +++ b/creditnote/client.go @@ -10,8 +10,8 @@ package creditnote import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /credit_notes APIs. diff --git a/creditnote/client_test.go b/creditnote/client_test.go index 93dd670912..f1df7a7c4f 100644 --- a/creditnote/client_test.go +++ b/creditnote/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestCreditNoteGet(t *testing.T) { diff --git a/customer/client.go b/customer/client.go index 576a3779b2..8a2baf136c 100644 --- a/customer/client.go +++ b/customer/client.go @@ -10,8 +10,8 @@ package customer import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /customers APIs. diff --git a/customer/client_test.go b/customer/client_test.go index db48a40c14..d82d3ba01d 100644 --- a/customer/client_test.go +++ b/customer/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestCustomerDel(t *testing.T) { diff --git a/customerbalancetransaction/client.go b/customerbalancetransaction/client.go index da59ad327f..89cf1d3619 100644 --- a/customerbalancetransaction/client.go +++ b/customerbalancetransaction/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /customers/{customer}/balance_transactions APIs. diff --git a/customerbalancetransaction/client_test.go b/customerbalancetransaction/client_test.go index a4b5913db9..5c14812adb 100644 --- a/customerbalancetransaction/client_test.go +++ b/customerbalancetransaction/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestCustomerBalanceTransactionGet(t *testing.T) { diff --git a/customercashbalancetransaction/client.go b/customercashbalancetransaction/client.go index 48e388deb5..3826d7b8d7 100644 --- a/customercashbalancetransaction/client.go +++ b/customercashbalancetransaction/client.go @@ -10,8 +10,8 @@ package customercashbalancetransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /customers/{customer}/cash_balance_transactions APIs. diff --git a/customersession/client.go b/customersession/client.go index b11a5ab8e8..5622032cc1 100644 --- a/customersession/client.go +++ b/customersession/client.go @@ -10,7 +10,7 @@ package customersession import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /customer_sessions APIs. diff --git a/dispute/client.go b/dispute/client.go index 539c8349f4..1fb0c89386 100644 --- a/dispute/client.go +++ b/dispute/client.go @@ -10,8 +10,8 @@ package dispute import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /disputes APIs. diff --git a/dispute/client_test.go b/dispute/client_test.go index c9df9964d5..092ef93c35 100644 --- a/dispute/client_test.go +++ b/dispute/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestDisputeClose(t *testing.T) { diff --git a/ephemeralkey/client.go b/ephemeralkey/client.go index 05055cd661..6652069a3c 100644 --- a/ephemeralkey/client.go +++ b/ephemeralkey/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /ephemeral_keys APIs. diff --git a/ephemeralkey/client_test.go b/ephemeralkey/client_test.go index 42935a775c..aa9feb9a3b 100644 --- a/ephemeralkey/client_test.go +++ b/ephemeralkey/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestEphemeralKeyDel(t *testing.T) { diff --git a/event/client.go b/event/client.go index 711c4e56eb..5f45fa3baf 100644 --- a/event/client.go +++ b/event/client.go @@ -10,8 +10,8 @@ package event import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /events APIs. diff --git a/event/client_test.go b/event/client_test.go index d3639d4274..9ece27244d 100644 --- a/event/client_test.go +++ b/event/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestEventGet(t *testing.T) { diff --git a/example/deserialization_test.go b/example/deserialization_test.go index 2ffc79a487..f7ddd9e393 100644 --- a/example/deserialization_test.go +++ b/example/deserialization_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) type APIResource = stripe.APIResource diff --git a/example/generated_examples_test.go b/example/generated_examples_test.go index 80aaf6e68f..cc9c803ac8 100644 --- a/example/generated_examples_test.go +++ b/example/generated_examples_test.go @@ -10,94 +10,94 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - account "github.com/stripe/stripe-go/v75/account" - accountlink "github.com/stripe/stripe-go/v75/accountlink" - apps_secret "github.com/stripe/stripe-go/v75/apps/secret" - balancetransaction "github.com/stripe/stripe-go/v75/balancetransaction" - billingportal_configuration "github.com/stripe/stripe-go/v75/billingportal/configuration" - billingportal_session "github.com/stripe/stripe-go/v75/billingportal/session" - capability "github.com/stripe/stripe-go/v75/capability" - cashbalance "github.com/stripe/stripe-go/v75/cashbalance" - charge "github.com/stripe/stripe-go/v75/charge" - checkout_session "github.com/stripe/stripe-go/v75/checkout/session" - countryspec "github.com/stripe/stripe-go/v75/countryspec" - coupon "github.com/stripe/stripe-go/v75/coupon" - customer "github.com/stripe/stripe-go/v75/customer" - customerbalancetransaction "github.com/stripe/stripe-go/v75/customerbalancetransaction" - dispute "github.com/stripe/stripe-go/v75/dispute" - event "github.com/stripe/stripe-go/v75/event" - financialconnections_account "github.com/stripe/stripe-go/v75/financialconnections/account" - financialconnections_session "github.com/stripe/stripe-go/v75/financialconnections/session" - identity_verificationreport "github.com/stripe/stripe-go/v75/identity/verificationreport" - identity_verificationsession "github.com/stripe/stripe-go/v75/identity/verificationsession" - invoice "github.com/stripe/stripe-go/v75/invoice" - invoiceitem "github.com/stripe/stripe-go/v75/invoiceitem" - issuing_authorization "github.com/stripe/stripe-go/v75/issuing/authorization" - issuing_card "github.com/stripe/stripe-go/v75/issuing/card" - issuing_cardholder "github.com/stripe/stripe-go/v75/issuing/cardholder" - issuing_dispute "github.com/stripe/stripe-go/v75/issuing/dispute" - issuing_transaction "github.com/stripe/stripe-go/v75/issuing/transaction" - mandate "github.com/stripe/stripe-go/v75/mandate" - paymentintent "github.com/stripe/stripe-go/v75/paymentintent" - paymentlink "github.com/stripe/stripe-go/v75/paymentlink" - paymentmethod "github.com/stripe/stripe-go/v75/paymentmethod" - paymentmethodconfiguration "github.com/stripe/stripe-go/v75/paymentmethodconfiguration" - payout "github.com/stripe/stripe-go/v75/payout" - person "github.com/stripe/stripe-go/v75/person" - plan "github.com/stripe/stripe-go/v75/plan" - price "github.com/stripe/stripe-go/v75/price" - product "github.com/stripe/stripe-go/v75/product" - promotioncode "github.com/stripe/stripe-go/v75/promotioncode" - quote "github.com/stripe/stripe-go/v75/quote" - radar_earlyfraudwarning "github.com/stripe/stripe-go/v75/radar/earlyfraudwarning" - refund "github.com/stripe/stripe-go/v75/refund" - review "github.com/stripe/stripe-go/v75/review" - setupattempt "github.com/stripe/stripe-go/v75/setupattempt" - setupintent "github.com/stripe/stripe-go/v75/setupintent" - shippingrate "github.com/stripe/stripe-go/v75/shippingrate" - sigma_scheduledqueryrun "github.com/stripe/stripe-go/v75/sigma/scheduledqueryrun" - source "github.com/stripe/stripe-go/v75/source" - subscription "github.com/stripe/stripe-go/v75/subscription" - subscriptionitem "github.com/stripe/stripe-go/v75/subscriptionitem" - subscriptionschedule "github.com/stripe/stripe-go/v75/subscriptionschedule" - tax_calculation "github.com/stripe/stripe-go/v75/tax/calculation" - tax_form "github.com/stripe/stripe-go/v75/tax/form" - tax_transaction "github.com/stripe/stripe-go/v75/tax/transaction" - taxcode "github.com/stripe/stripe-go/v75/taxcode" - taxid "github.com/stripe/stripe-go/v75/taxid" - taxrate "github.com/stripe/stripe-go/v75/taxrate" - terminal_configuration "github.com/stripe/stripe-go/v75/terminal/configuration" - terminal_connectiontoken "github.com/stripe/stripe-go/v75/terminal/connectiontoken" - terminal_location "github.com/stripe/stripe-go/v75/terminal/location" - terminal_reader "github.com/stripe/stripe-go/v75/terminal/reader" - testhelpers_customer "github.com/stripe/stripe-go/v75/testhelpers/customer" - testhelpers_issuing_authorization "github.com/stripe/stripe-go/v75/testhelpers/issuing/authorization" - testhelpers_issuing_card "github.com/stripe/stripe-go/v75/testhelpers/issuing/card" - testhelpers_issuing_transaction "github.com/stripe/stripe-go/v75/testhelpers/issuing/transaction" - testhelpers_refund "github.com/stripe/stripe-go/v75/testhelpers/refund" - testhelpers_testclock "github.com/stripe/stripe-go/v75/testhelpers/testclock" - testhelpers_treasury_inboundtransfer "github.com/stripe/stripe-go/v75/testhelpers/treasury/inboundtransfer" - testhelpers_treasury_outboundtransfer "github.com/stripe/stripe-go/v75/testhelpers/treasury/outboundtransfer" - testhelpers_treasury_receivedcredit "github.com/stripe/stripe-go/v75/testhelpers/treasury/receivedcredit" - testhelpers_treasury_receiveddebit "github.com/stripe/stripe-go/v75/testhelpers/treasury/receiveddebit" - _ "github.com/stripe/stripe-go/v75/testing" - token "github.com/stripe/stripe-go/v75/token" - topup "github.com/stripe/stripe-go/v75/topup" - transfer "github.com/stripe/stripe-go/v75/transfer" - transferreversal "github.com/stripe/stripe-go/v75/transferreversal" - treasury_creditreversal "github.com/stripe/stripe-go/v75/treasury/creditreversal" - treasury_debitreversal "github.com/stripe/stripe-go/v75/treasury/debitreversal" - treasury_financialaccount "github.com/stripe/stripe-go/v75/treasury/financialaccount" - treasury_inboundtransfer "github.com/stripe/stripe-go/v75/treasury/inboundtransfer" - treasury_outboundpayment "github.com/stripe/stripe-go/v75/treasury/outboundpayment" - treasury_outboundtransfer "github.com/stripe/stripe-go/v75/treasury/outboundtransfer" - treasury_receivedcredit "github.com/stripe/stripe-go/v75/treasury/receivedcredit" - treasury_receiveddebit "github.com/stripe/stripe-go/v75/treasury/receiveddebit" - treasury_transaction "github.com/stripe/stripe-go/v75/treasury/transaction" - treasury_transactionentry "github.com/stripe/stripe-go/v75/treasury/transactionentry" - usagerecord "github.com/stripe/stripe-go/v75/usagerecord" - webhookendpoint "github.com/stripe/stripe-go/v75/webhookendpoint" + stripe "github.com/stripe/stripe-go/v76" + account "github.com/stripe/stripe-go/v76/account" + accountlink "github.com/stripe/stripe-go/v76/accountlink" + apps_secret "github.com/stripe/stripe-go/v76/apps/secret" + balancetransaction "github.com/stripe/stripe-go/v76/balancetransaction" + billingportal_configuration "github.com/stripe/stripe-go/v76/billingportal/configuration" + billingportal_session "github.com/stripe/stripe-go/v76/billingportal/session" + capability "github.com/stripe/stripe-go/v76/capability" + cashbalance "github.com/stripe/stripe-go/v76/cashbalance" + charge "github.com/stripe/stripe-go/v76/charge" + checkout_session "github.com/stripe/stripe-go/v76/checkout/session" + countryspec "github.com/stripe/stripe-go/v76/countryspec" + coupon "github.com/stripe/stripe-go/v76/coupon" + customer "github.com/stripe/stripe-go/v76/customer" + customerbalancetransaction "github.com/stripe/stripe-go/v76/customerbalancetransaction" + dispute "github.com/stripe/stripe-go/v76/dispute" + event "github.com/stripe/stripe-go/v76/event" + financialconnections_account "github.com/stripe/stripe-go/v76/financialconnections/account" + financialconnections_session "github.com/stripe/stripe-go/v76/financialconnections/session" + identity_verificationreport "github.com/stripe/stripe-go/v76/identity/verificationreport" + identity_verificationsession "github.com/stripe/stripe-go/v76/identity/verificationsession" + invoice "github.com/stripe/stripe-go/v76/invoice" + invoiceitem "github.com/stripe/stripe-go/v76/invoiceitem" + issuing_authorization "github.com/stripe/stripe-go/v76/issuing/authorization" + issuing_card "github.com/stripe/stripe-go/v76/issuing/card" + issuing_cardholder "github.com/stripe/stripe-go/v76/issuing/cardholder" + issuing_dispute "github.com/stripe/stripe-go/v76/issuing/dispute" + issuing_transaction "github.com/stripe/stripe-go/v76/issuing/transaction" + mandate "github.com/stripe/stripe-go/v76/mandate" + paymentintent "github.com/stripe/stripe-go/v76/paymentintent" + paymentlink "github.com/stripe/stripe-go/v76/paymentlink" + paymentmethod "github.com/stripe/stripe-go/v76/paymentmethod" + paymentmethodconfiguration "github.com/stripe/stripe-go/v76/paymentmethodconfiguration" + payout "github.com/stripe/stripe-go/v76/payout" + person "github.com/stripe/stripe-go/v76/person" + plan "github.com/stripe/stripe-go/v76/plan" + price "github.com/stripe/stripe-go/v76/price" + product "github.com/stripe/stripe-go/v76/product" + promotioncode "github.com/stripe/stripe-go/v76/promotioncode" + quote "github.com/stripe/stripe-go/v76/quote" + radar_earlyfraudwarning "github.com/stripe/stripe-go/v76/radar/earlyfraudwarning" + refund "github.com/stripe/stripe-go/v76/refund" + review "github.com/stripe/stripe-go/v76/review" + setupattempt "github.com/stripe/stripe-go/v76/setupattempt" + setupintent "github.com/stripe/stripe-go/v76/setupintent" + shippingrate "github.com/stripe/stripe-go/v76/shippingrate" + sigma_scheduledqueryrun "github.com/stripe/stripe-go/v76/sigma/scheduledqueryrun" + source "github.com/stripe/stripe-go/v76/source" + subscription "github.com/stripe/stripe-go/v76/subscription" + subscriptionitem "github.com/stripe/stripe-go/v76/subscriptionitem" + subscriptionschedule "github.com/stripe/stripe-go/v76/subscriptionschedule" + tax_calculation "github.com/stripe/stripe-go/v76/tax/calculation" + tax_form "github.com/stripe/stripe-go/v76/tax/form" + tax_transaction "github.com/stripe/stripe-go/v76/tax/transaction" + taxcode "github.com/stripe/stripe-go/v76/taxcode" + taxid "github.com/stripe/stripe-go/v76/taxid" + taxrate "github.com/stripe/stripe-go/v76/taxrate" + terminal_configuration "github.com/stripe/stripe-go/v76/terminal/configuration" + terminal_connectiontoken "github.com/stripe/stripe-go/v76/terminal/connectiontoken" + terminal_location "github.com/stripe/stripe-go/v76/terminal/location" + terminal_reader "github.com/stripe/stripe-go/v76/terminal/reader" + testhelpers_customer "github.com/stripe/stripe-go/v76/testhelpers/customer" + testhelpers_issuing_authorization "github.com/stripe/stripe-go/v76/testhelpers/issuing/authorization" + testhelpers_issuing_card "github.com/stripe/stripe-go/v76/testhelpers/issuing/card" + testhelpers_issuing_transaction "github.com/stripe/stripe-go/v76/testhelpers/issuing/transaction" + testhelpers_refund "github.com/stripe/stripe-go/v76/testhelpers/refund" + testhelpers_testclock "github.com/stripe/stripe-go/v76/testhelpers/testclock" + testhelpers_treasury_inboundtransfer "github.com/stripe/stripe-go/v76/testhelpers/treasury/inboundtransfer" + testhelpers_treasury_outboundtransfer "github.com/stripe/stripe-go/v76/testhelpers/treasury/outboundtransfer" + testhelpers_treasury_receivedcredit "github.com/stripe/stripe-go/v76/testhelpers/treasury/receivedcredit" + testhelpers_treasury_receiveddebit "github.com/stripe/stripe-go/v76/testhelpers/treasury/receiveddebit" + _ "github.com/stripe/stripe-go/v76/testing" + token "github.com/stripe/stripe-go/v76/token" + topup "github.com/stripe/stripe-go/v76/topup" + transfer "github.com/stripe/stripe-go/v76/transfer" + transferreversal "github.com/stripe/stripe-go/v76/transferreversal" + treasury_creditreversal "github.com/stripe/stripe-go/v76/treasury/creditreversal" + treasury_debitreversal "github.com/stripe/stripe-go/v76/treasury/debitreversal" + treasury_financialaccount "github.com/stripe/stripe-go/v76/treasury/financialaccount" + treasury_inboundtransfer "github.com/stripe/stripe-go/v76/treasury/inboundtransfer" + treasury_outboundpayment "github.com/stripe/stripe-go/v76/treasury/outboundpayment" + treasury_outboundtransfer "github.com/stripe/stripe-go/v76/treasury/outboundtransfer" + treasury_receivedcredit "github.com/stripe/stripe-go/v76/treasury/receivedcredit" + treasury_receiveddebit "github.com/stripe/stripe-go/v76/treasury/receiveddebit" + treasury_transaction "github.com/stripe/stripe-go/v76/treasury/transaction" + treasury_transactionentry "github.com/stripe/stripe-go/v76/treasury/transactionentry" + usagerecord "github.com/stripe/stripe-go/v76/usagerecord" + webhookendpoint "github.com/stripe/stripe-go/v76/webhookendpoint" ) func TestAppsSecretList(t *testing.T) { diff --git a/example_test.go b/example_test.go index f5877cbb65..b335a3ab4d 100644 --- a/example_test.go +++ b/example_test.go @@ -3,11 +3,11 @@ package stripe_test import ( "log" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/charge" - "github.com/stripe/stripe-go/v75/customer" - "github.com/stripe/stripe-go/v75/invoice" - "github.com/stripe/stripe-go/v75/plan" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/charge" + "github.com/stripe/stripe-go/v76/customer" + "github.com/stripe/stripe-go/v76/invoice" + "github.com/stripe/stripe-go/v76/plan" ) func ExampleCharge_new() { diff --git a/feerefund/client.go b/feerefund/client.go index 1f5e0ef4cc..1600b5416e 100644 --- a/feerefund/client.go +++ b/feerefund/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /application_fees/{id}/refunds APIs. diff --git a/feerefund/client_test.go b/feerefund/client_test.go index abff276cea..b7203a4f56 100644 --- a/feerefund/client_test.go +++ b/feerefund/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestFeeRefundGet(t *testing.T) { diff --git a/file.go b/file.go index 313c951aa3..91c729db0e 100644 --- a/file.go +++ b/file.go @@ -9,7 +9,7 @@ package stripe import ( "bytes" "encoding/json" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" "io" "mime/multipart" "net/url" diff --git a/file/client.go b/file/client.go index 8898708980..76e6814dd7 100644 --- a/file/client.go +++ b/file/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /files APIs. diff --git a/file/client_test.go b/file/client_test.go index 8d44ddd73b..200230b1ee 100644 --- a/file/client_test.go +++ b/file/client_test.go @@ -17,9 +17,9 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" + _ "github.com/stripe/stripe-go/v76/testing" ) const ( diff --git a/filelink.go b/filelink.go index 89698a57ff..7ad0b5b50c 100644 --- a/filelink.go +++ b/filelink.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v75/form" +import "github.com/stripe/stripe-go/v76/form" // Retrieves the file link with the given ID. type FileLinkParams struct { diff --git a/filelink/client.go b/filelink/client.go index 90ca2ff43d..36f9e69fab 100644 --- a/filelink/client.go +++ b/filelink/client.go @@ -10,8 +10,8 @@ package filelink import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /file_links APIs. diff --git a/filelink/client_test.go b/filelink/client_test.go index 7b60101c9d..7a81c05c23 100644 --- a/filelink/client_test.go +++ b/filelink/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestFileLinkGet(t *testing.T) { diff --git a/filelink_test.go b/filelink_test.go index 29e7b5c181..4e7fc41759 100644 --- a/filelink_test.go +++ b/filelink_test.go @@ -4,7 +4,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestFileLinkParams_AppendTo(t *testing.T) { diff --git a/financialconnections/account/client.go b/financialconnections/account/client.go index 097a8746c5..3168802ab4 100644 --- a/financialconnections/account/client.go +++ b/financialconnections/account/client.go @@ -10,8 +10,8 @@ package account import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /financial_connections/accounts APIs. diff --git a/financialconnections/accountinferredbalance/client.go b/financialconnections/accountinferredbalance/client.go index ad67d56040..47d9040192 100644 --- a/financialconnections/accountinferredbalance/client.go +++ b/financialconnections/accountinferredbalance/client.go @@ -10,8 +10,8 @@ package accountinferredbalance import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /financial_connections/accounts/{account}/inferred_balances APIs. diff --git a/financialconnections/session/client.go b/financialconnections/session/client.go index 778b82890b..d4f47c36bf 100644 --- a/financialconnections/session/client.go +++ b/financialconnections/session/client.go @@ -10,7 +10,7 @@ package session import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /financial_connections/sessions APIs. diff --git a/financialconnections/transaction/client.go b/financialconnections/transaction/client.go index 9d3d82a544..746949f26e 100644 --- a/financialconnections/transaction/client.go +++ b/financialconnections/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /financial_connections/transactions APIs. diff --git a/giftcards/card/client.go b/giftcards/card/client.go index 252a72e187..849a067a36 100644 --- a/giftcards/card/client.go +++ b/giftcards/card/client.go @@ -10,8 +10,8 @@ package card import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /gift_cards/cards APIs. diff --git a/giftcards/transaction/client.go b/giftcards/transaction/client.go index 6e92e419b7..737f62cca3 100644 --- a/giftcards/transaction/client.go +++ b/giftcards/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /gift_cards/transactions APIs. diff --git a/go.mod b/go.mod index 79d29d6a77..bc61a10635 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/stripe/stripe-go/v75 +module github.com/stripe/stripe-go/v76 go 1.13 diff --git a/identity/verificationreport/client.go b/identity/verificationreport/client.go index dbaf5d8fae..76d18d7bc2 100644 --- a/identity/verificationreport/client.go +++ b/identity/verificationreport/client.go @@ -10,8 +10,8 @@ package verificationreport import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /identity/verification_reports APIs. diff --git a/identity/verificationreport/client_test.go b/identity/verificationreport/client_test.go index 2a42623a06..056bd86567 100644 --- a/identity/verificationreport/client_test.go +++ b/identity/verificationreport/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestIdentityVerificationReportGet(t *testing.T) { diff --git a/identity/verificationsession/client.go b/identity/verificationsession/client.go index c3d2dd1429..e6682835a9 100644 --- a/identity/verificationsession/client.go +++ b/identity/verificationsession/client.go @@ -10,8 +10,8 @@ package verificationsession import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /identity/verification_sessions APIs. diff --git a/identity/verificationsession/client_test.go b/identity/verificationsession/client_test.go index 9c9a60c80e..b7039cf900 100644 --- a/identity/verificationsession/client_test.go +++ b/identity/verificationsession/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestIdentityVerificationSessionCancel(t *testing.T) { diff --git a/invoice.go b/invoice.go index f7500d32ab..dec6943801 100644 --- a/invoice.go +++ b/invoice.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) // Type of the account referenced. diff --git a/invoice/client.go b/invoice/client.go index 534c5b4231..b08bc8bf7c 100644 --- a/invoice/client.go +++ b/invoice/client.go @@ -10,8 +10,8 @@ package invoice import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /invoices APIs. diff --git a/invoice/client_test.go b/invoice/client_test.go index 536432d0ae..7e9ad6ee28 100644 --- a/invoice/client_test.go +++ b/invoice/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestInvoiceGet(t *testing.T) { diff --git a/invoice_test.go b/invoice_test.go index 3d1948f31d..2c8860dfc3 100644 --- a/invoice_test.go +++ b/invoice_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestInvoiceParams_AppendTo(t *testing.T) { diff --git a/invoiceitem/client.go b/invoiceitem/client.go index ae924f172f..50393f30d2 100644 --- a/invoiceitem/client.go +++ b/invoiceitem/client.go @@ -10,8 +10,8 @@ package invoiceitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /invoiceitems APIs. diff --git a/invoiceitem/client_test.go b/invoiceitem/client_test.go index 7a4b6af7e3..fe9465ac7b 100644 --- a/invoiceitem/client_test.go +++ b/invoiceitem/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestInvoiceItemDel(t *testing.T) { diff --git a/issuing/authorization/client.go b/issuing/authorization/client.go index f309bdd5ea..831eeb7b44 100644 --- a/issuing/authorization/client.go +++ b/issuing/authorization/client.go @@ -10,8 +10,8 @@ package authorization import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /issuing/authorizations APIs. diff --git a/issuing/authorization/client_test.go b/issuing/authorization/client_test.go index c1cc6a70e1..c9c27ab06d 100644 --- a/issuing/authorization/client_test.go +++ b/issuing/authorization/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestIssuingAuthorizationApprove(t *testing.T) { diff --git a/issuing/card/client.go b/issuing/card/client.go index e2c8da9594..b32464e44f 100644 --- a/issuing/card/client.go +++ b/issuing/card/client.go @@ -10,8 +10,8 @@ package card import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /issuing/cards APIs. diff --git a/issuing/card/client_test.go b/issuing/card/client_test.go index 458dd3a9aa..b5b236890d 100644 --- a/issuing/card/client_test.go +++ b/issuing/card/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestIssuingCardGet(t *testing.T) { diff --git a/issuing/cardholder/client.go b/issuing/cardholder/client.go index 4c139b023e..694beeeeb4 100644 --- a/issuing/cardholder/client.go +++ b/issuing/cardholder/client.go @@ -11,8 +11,8 @@ package cardholder import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /issuing/cardholders APIs. diff --git a/issuing/cardholder/client_test.go b/issuing/cardholder/client_test.go index 305f8544e6..8cfd005c3b 100644 --- a/issuing/cardholder/client_test.go +++ b/issuing/cardholder/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestIssuingCardholderGet(t *testing.T) { diff --git a/issuing/creditunderwritingrecord/client.go b/issuing/creditunderwritingrecord/client.go index fcec51d313..8a9caa27c4 100644 --- a/issuing/creditunderwritingrecord/client.go +++ b/issuing/creditunderwritingrecord/client.go @@ -10,8 +10,8 @@ package creditunderwritingrecord import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /issuing/credit_underwriting_records APIs. diff --git a/issuing/dispute/client.go b/issuing/dispute/client.go index 623fab9f89..d239996e0f 100644 --- a/issuing/dispute/client.go +++ b/issuing/dispute/client.go @@ -10,8 +10,8 @@ package dispute import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /issuing/disputes APIs. diff --git a/issuing/dispute/client_test.go b/issuing/dispute/client_test.go index f2c8a78cae..ad37839369 100644 --- a/issuing/dispute/client_test.go +++ b/issuing/dispute/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestIssuingDisputeGet(t *testing.T) { diff --git a/issuing/personalizationdesign/client.go b/issuing/personalizationdesign/client.go index 11acc652ac..be81db0c97 100644 --- a/issuing/personalizationdesign/client.go +++ b/issuing/personalizationdesign/client.go @@ -10,8 +10,8 @@ package personalizationdesign import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /issuing/personalization_designs APIs. diff --git a/issuing/physicalbundle/client.go b/issuing/physicalbundle/client.go index 0d5051c81e..081ee41aa7 100644 --- a/issuing/physicalbundle/client.go +++ b/issuing/physicalbundle/client.go @@ -10,8 +10,8 @@ package physicalbundle import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /issuing/physical_bundles APIs. diff --git a/issuing/token/client.go b/issuing/token/client.go index 2667d4e0c9..6d4b13d3bd 100644 --- a/issuing/token/client.go +++ b/issuing/token/client.go @@ -10,8 +10,8 @@ package token import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /issuing/tokens APIs. diff --git a/issuing/transaction/client.go b/issuing/transaction/client.go index 3377a78958..8c42f0976a 100644 --- a/issuing/transaction/client.go +++ b/issuing/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /issuing/transactions APIs. diff --git a/issuing/transaction/client_test.go b/issuing/transaction/client_test.go index 2e387ce638..255f384c8a 100644 --- a/issuing/transaction/client_test.go +++ b/issuing/transaction/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestIssuingTransactionGet(t *testing.T) { diff --git a/iter.go b/iter.go index cb791e2c39..dcb8194515 100644 --- a/iter.go +++ b/iter.go @@ -3,7 +3,7 @@ package stripe import ( "reflect" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) // diff --git a/iter_test.go b/iter_test.go index a80bfa4f93..25e3595bf3 100644 --- a/iter_test.go +++ b/iter_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestIterEmpty(t *testing.T) { diff --git a/loginlink/client.go b/loginlink/client.go index 1fac962a05..42e1514051 100644 --- a/loginlink/client.go +++ b/loginlink/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /accounts/{account}/login_links APIs. diff --git a/loginlink/client_test.go b/loginlink/client_test.go index 671c3ea808..1bb05a18f1 100644 --- a/loginlink/client_test.go +++ b/loginlink/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestLoginLinkNew(t *testing.T) { diff --git a/mandate/client.go b/mandate/client.go index 0c9b84105d..52119ad658 100644 --- a/mandate/client.go +++ b/mandate/client.go @@ -10,7 +10,7 @@ package mandate import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /mandates APIs. diff --git a/mandate/client_test.go b/mandate/client_test.go index aac1dba656..f6abd5a25c 100644 --- a/mandate/client_test.go +++ b/mandate/client_test.go @@ -4,7 +4,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - _ "github.com/stripe/stripe-go/v75/testing" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestMandateMethodGet(t *testing.T) { diff --git a/oauth/client.go b/oauth/client.go index 6853d55c8a..0c287c8f9b 100644 --- a/oauth/client.go +++ b/oauth/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /oauth and related APIs. diff --git a/oauth/client_test.go b/oauth/client_test.go index 8e6d4a70ee..f9d23401ac 100644 --- a/oauth/client_test.go +++ b/oauth/client_test.go @@ -7,8 +7,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestAuthorizeURL(t *testing.T) { diff --git a/order/client.go b/order/client.go index f345bc8805..8b6b54d13c 100644 --- a/order/client.go +++ b/order/client.go @@ -10,8 +10,8 @@ package order import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /orders APIs. diff --git a/params.go b/params.go index cc566aefa0..7d56c2b063 100644 --- a/params.go +++ b/params.go @@ -9,7 +9,7 @@ import ( "net/url" "time" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) // diff --git a/params_test.go b/params_test.go index 0e72cd6d27..dd9cb10d9c 100644 --- a/params_test.go +++ b/params_test.go @@ -5,9 +5,9 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" - . "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" + . "github.com/stripe/stripe-go/v76/testing" ) func TestRangeQueryParamsAppendTo(t *testing.T) { diff --git a/paymentintent/client.go b/paymentintent/client.go index 2470d16f1c..0ecdb33f8b 100644 --- a/paymentintent/client.go +++ b/paymentintent/client.go @@ -10,8 +10,8 @@ package paymentintent import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /payment_intents APIs. diff --git a/paymentintent/client_test.go b/paymentintent/client_test.go index a53253058b..ae5b43a371 100644 --- a/paymentintent/client_test.go +++ b/paymentintent/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestPaymentIntentCancel(t *testing.T) { diff --git a/paymentlink/client.go b/paymentlink/client.go index 0636122217..6f6a838f1a 100644 --- a/paymentlink/client.go +++ b/paymentlink/client.go @@ -10,8 +10,8 @@ package paymentlink import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /payment_links APIs. diff --git a/paymentmethod/client.go b/paymentmethod/client.go index 9d81bb3448..0450c66729 100644 --- a/paymentmethod/client.go +++ b/paymentmethod/client.go @@ -10,8 +10,8 @@ package paymentmethod import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /payment_methods APIs. diff --git a/paymentmethod/client_test.go b/paymentmethod/client_test.go index 418c1015a6..fe2856ec9b 100644 --- a/paymentmethod/client_test.go +++ b/paymentmethod/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestPaymentMethodAttach(t *testing.T) { diff --git a/paymentmethodconfiguration/client.go b/paymentmethodconfiguration/client.go index 0b5f72128a..1824d91dfd 100644 --- a/paymentmethodconfiguration/client.go +++ b/paymentmethodconfiguration/client.go @@ -10,8 +10,8 @@ package paymentmethodconfiguration import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /payment_method_configurations APIs. diff --git a/paymentmethoddomain/client.go b/paymentmethoddomain/client.go index 6a769eb504..ddadb45adb 100644 --- a/paymentmethoddomain/client.go +++ b/paymentmethoddomain/client.go @@ -10,8 +10,8 @@ package paymentmethoddomain import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /payment_method_domains APIs. diff --git a/paymentsource.go b/paymentsource.go index 95a19f7ed1..f08006c110 100644 --- a/paymentsource.go +++ b/paymentsource.go @@ -9,7 +9,7 @@ package stripe import ( "encoding/json" "fmt" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) type PaymentSourceType string diff --git a/paymentsource/client.go b/paymentsource/client.go index a938b31916..3323c34b64 100644 --- a/paymentsource/client.go +++ b/paymentsource/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /customers/{customer}/sources APIs. diff --git a/paymentsource/client_test.go b/paymentsource/client_test.go index e21ebeb300..257208c4f9 100644 --- a/paymentsource/client_test.go +++ b/paymentsource/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestSourceGet(t *testing.T) { diff --git a/paymentsource_test.go b/paymentsource_test.go index 6972b1d6ba..f9e2e613d4 100644 --- a/paymentsource_test.go +++ b/paymentsource_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestSourceParams_AppendTo(t *testing.T) { diff --git a/payout/client.go b/payout/client.go index acc7394af4..8b682239cc 100644 --- a/payout/client.go +++ b/payout/client.go @@ -10,8 +10,8 @@ package payout import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /payouts APIs. diff --git a/payout/client_test.go b/payout/client_test.go index 4d7527f491..4351dcefe3 100644 --- a/payout/client_test.go +++ b/payout/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestPayoutCancel(t *testing.T) { diff --git a/person/client.go b/person/client.go index ea9f56a55f..d3e7150517 100644 --- a/person/client.go +++ b/person/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /accounts/{account}/persons APIs. diff --git a/person/client_test.go b/person/client_test.go index 0aa2f7d0ad..bba1f154ad 100644 --- a/person/client_test.go +++ b/person/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestPersonDel(t *testing.T) { diff --git a/plan.go b/plan.go index 4b7a2fc316..435c6aa731 100644 --- a/plan.go +++ b/plan.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" "strconv" ) diff --git a/plan/client.go b/plan/client.go index 4746b1f006..fd92533923 100644 --- a/plan/client.go +++ b/plan/client.go @@ -10,8 +10,8 @@ package plan import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /plans APIs. diff --git a/plan/client_test.go b/plan/client_test.go index 9978858117..9fbdc8bd69 100644 --- a/plan/client_test.go +++ b/plan/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestPlanDel(t *testing.T) { diff --git a/plan_test.go b/plan_test.go index 0b286e226b..e57be3c3d9 100644 --- a/plan_test.go +++ b/plan_test.go @@ -6,7 +6,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestPlan_Unmarshal(t *testing.T) { diff --git a/preview/client.go b/preview/client.go index ded98bd768..ae7d526ee9 100644 --- a/preview/client.go +++ b/preview/client.go @@ -4,7 +4,7 @@ package preview import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) func getDefaultRequestOptions(params *stripe.RawParams) *stripe.RawParams { diff --git a/preview/client_test.go b/preview/client_test.go index 4179e9a0e2..b28bbcbd4a 100644 --- a/preview/client_test.go +++ b/preview/client_test.go @@ -7,8 +7,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func stubAPIBackend(testServer *httptest.Server) { diff --git a/price.go b/price.go index b8baf8f5c0..9041228cde 100644 --- a/price.go +++ b/price.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) // Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `unit_amount` or `unit_amount_decimal`) will be charged per unit in `quantity` (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes. diff --git a/price/client.go b/price/client.go index cff87d01df..ca55d23601 100644 --- a/price/client.go +++ b/price/client.go @@ -10,8 +10,8 @@ package price import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /prices APIs. diff --git a/price/client_test.go b/price/client_test.go index 1386bc73fd..0aba883439 100644 --- a/price/client_test.go +++ b/price/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestPriceGet(t *testing.T) { diff --git a/price_test.go b/price_test.go index 04c7638f35..4c0c4a68a3 100644 --- a/price_test.go +++ b/price_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestPrice_Unmarshal(t *testing.T) { diff --git a/product.go b/product.go index e9df0b07a5..0cac9a5e40 100644 --- a/product.go +++ b/product.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) // The specific type of gift_card provisioning, only `fixed_amount` currently supported. diff --git a/product/client.go b/product/client.go index 23d060c77d..d2fc82ea64 100644 --- a/product/client.go +++ b/product/client.go @@ -10,8 +10,8 @@ package product import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /products APIs. diff --git a/product/client_test.go b/product/client_test.go index 358b55cf2b..4ad1078c9d 100644 --- a/product/client_test.go +++ b/product/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestProductDel(t *testing.T) { diff --git a/promotioncode/client.go b/promotioncode/client.go index ee4dbff04f..eb68c8c3a6 100644 --- a/promotioncode/client.go +++ b/promotioncode/client.go @@ -10,8 +10,8 @@ package promotioncode import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /promotion_codes APIs. diff --git a/promotioncode/client_test.go b/promotioncode/client_test.go index acce2a1b77..4245da104c 100644 --- a/promotioncode/client_test.go +++ b/promotioncode/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestPromotionCodeGet(t *testing.T) { diff --git a/quote.go b/quote.go index 2fc2f4ca3b..b26288da23 100644 --- a/quote.go +++ b/quote.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) // Type of the account referenced. diff --git a/quote/client.go b/quote/client.go index 6bf5d11668..953bd9a0ff 100644 --- a/quote/client.go +++ b/quote/client.go @@ -10,8 +10,8 @@ package quote import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /quotes APIs. diff --git a/quote/client_test.go b/quote/client_test.go index 6a54229c9d..dede016e28 100644 --- a/quote/client_test.go +++ b/quote/client_test.go @@ -5,8 +5,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestQuoteGet(t *testing.T) { diff --git a/quote_test.go b/quote_test.go index 413f4f2692..5df5d4379e 100644 --- a/quote_test.go +++ b/quote_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestQuoteSubscriptionDataParams_AppendTo(t *testing.T) { diff --git a/quotephase/client.go b/quotephase/client.go index 10fb312749..c6df04f943 100644 --- a/quotephase/client.go +++ b/quotephase/client.go @@ -10,8 +10,8 @@ package quotephase import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /quote_phases APIs. diff --git a/quotepreviewinvoice/client.go b/quotepreviewinvoice/client.go index 9a99842a8a..e79fa4bc55 100644 --- a/quotepreviewinvoice/client.go +++ b/quotepreviewinvoice/client.go @@ -10,8 +10,8 @@ package quotepreviewinvoice import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /quotes/{quote}/preview_invoices APIs. diff --git a/quotepreviewsubscriptionschedule/client.go b/quotepreviewsubscriptionschedule/client.go index cf3ab924b1..65452a1806 100644 --- a/quotepreviewsubscriptionschedule/client.go +++ b/quotepreviewsubscriptionschedule/client.go @@ -10,8 +10,8 @@ package quotepreviewsubscriptionschedule import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /quotes/{quote}/preview_subscription_schedules APIs. diff --git a/radar/earlyfraudwarning/client.go b/radar/earlyfraudwarning/client.go index 36a9a66c6b..b827d52c6e 100644 --- a/radar/earlyfraudwarning/client.go +++ b/radar/earlyfraudwarning/client.go @@ -10,8 +10,8 @@ package earlyfraudwarning import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /radar/early_fraud_warnings APIs. diff --git a/radar/earlyfraudwarning/client_test.go b/radar/earlyfraudwarning/client_test.go index 2846870d91..9fc1f07035 100644 --- a/radar/earlyfraudwarning/client_test.go +++ b/radar/earlyfraudwarning/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestRadarEarlyFraudWarningGet(t *testing.T) { diff --git a/radar/valuelist/client.go b/radar/valuelist/client.go index 0a527404b1..0981ea770c 100644 --- a/radar/valuelist/client.go +++ b/radar/valuelist/client.go @@ -10,8 +10,8 @@ package valuelist import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /radar/value_lists APIs. diff --git a/radar/valuelist/client_test.go b/radar/valuelist/client_test.go index edca9ede09..4e00054f6f 100644 --- a/radar/valuelist/client_test.go +++ b/radar/valuelist/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestRadarValueListDel(t *testing.T) { diff --git a/radar/valuelistitem/client.go b/radar/valuelistitem/client.go index a90404fbe6..8dd4f6a6d5 100644 --- a/radar/valuelistitem/client.go +++ b/radar/valuelistitem/client.go @@ -11,8 +11,8 @@ package valuelistitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /radar/value_list_items APIs. diff --git a/radar/valuelistitem/client_test.go b/radar/valuelistitem/client_test.go index 5844463511..b9ebb99d79 100644 --- a/radar/valuelistitem/client_test.go +++ b/radar/valuelistitem/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestRadarValueListItemDel(t *testing.T) { diff --git a/refund/client.go b/refund/client.go index ef9f0d8d51..78c9c6768f 100644 --- a/refund/client.go +++ b/refund/client.go @@ -10,8 +10,8 @@ package refund import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /refunds APIs. diff --git a/refund/client_test.go b/refund/client_test.go index d23f3caecc..f15f269010 100644 --- a/refund/client_test.go +++ b/refund/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestRefundGet(t *testing.T) { diff --git a/reporting/reportrun/client.go b/reporting/reportrun/client.go index edc585bcc2..49f9825f36 100644 --- a/reporting/reportrun/client.go +++ b/reporting/reportrun/client.go @@ -10,8 +10,8 @@ package reportrun import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /reporting/report_runs APIs. diff --git a/reporting/reportrun/client_test.go b/reporting/reportrun/client_test.go index 3b25e0bbd2..1840cb6c40 100644 --- a/reporting/reportrun/client_test.go +++ b/reporting/reportrun/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestReportingReportRunGet(t *testing.T) { diff --git a/reporting/reporttype/client.go b/reporting/reporttype/client.go index 2df9a3d1b7..9dcb0877e9 100644 --- a/reporting/reporttype/client.go +++ b/reporting/reporttype/client.go @@ -10,8 +10,8 @@ package reporttype import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /reporting/report_types APIs. diff --git a/reporting/reporttype/client_test.go b/reporting/reporttype/client_test.go index 19224a44d9..ad1562d726 100644 --- a/reporting/reporttype/client_test.go +++ b/reporting/reporttype/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestReportTestGet(t *testing.T) { diff --git a/review/client.go b/review/client.go index 4f20e2159c..f72c3b0a52 100644 --- a/review/client.go +++ b/review/client.go @@ -10,8 +10,8 @@ package review import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /reviews APIs. diff --git a/review/client_test.go b/review/client_test.go index 5f019fa49c..b9684dfea9 100644 --- a/review/client_test.go +++ b/review/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestReviewApprove(t *testing.T) { diff --git a/search_iter.go b/search_iter.go index b6237d5d5f..a16e138907 100644 --- a/search_iter.go +++ b/search_iter.go @@ -3,7 +3,7 @@ package stripe import ( "reflect" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) // diff --git a/search_iter_test.go b/search_iter_test.go index 6dcd73535c..3367b68630 100644 --- a/search_iter_test.go +++ b/search_iter_test.go @@ -7,7 +7,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) var nextPageTestToken = "next_page_test_token" diff --git a/search_params_test.go b/search_params_test.go index e990345712..9fd3bb3efe 100644 --- a/search_params_test.go +++ b/search_params_test.go @@ -5,9 +5,9 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" - . "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" + . "github.com/stripe/stripe-go/v76/testing" ) type testSearchParams struct { diff --git a/setupattempt/client.go b/setupattempt/client.go index 3f025c557f..84a9eb73b5 100644 --- a/setupattempt/client.go +++ b/setupattempt/client.go @@ -11,8 +11,8 @@ package setupattempt import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /setup_attempts APIs. diff --git a/setupattempt/client_test.go b/setupattempt/client_test.go index 28f35bb2dd..24c81ff944 100644 --- a/setupattempt/client_test.go +++ b/setupattempt/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestSetupAttemptList(t *testing.T) { diff --git a/setupintent/client.go b/setupintent/client.go index 79bdb4faa3..9f7b8c91e1 100644 --- a/setupintent/client.go +++ b/setupintent/client.go @@ -10,8 +10,8 @@ package setupintent import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /setup_intents APIs. diff --git a/setupintent/client_test.go b/setupintent/client_test.go index 0ca9366d84..ea5c9c802e 100644 --- a/setupintent/client_test.go +++ b/setupintent/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestSetupIntentCancel(t *testing.T) { diff --git a/shippingrate/client.go b/shippingrate/client.go index 5d693a567a..140a9949cc 100644 --- a/shippingrate/client.go +++ b/shippingrate/client.go @@ -10,8 +10,8 @@ package shippingrate import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /shipping_rates APIs. diff --git a/sigma/scheduledqueryrun/client.go b/sigma/scheduledqueryrun/client.go index cdc8c8c1ac..a5381bb1f0 100644 --- a/sigma/scheduledqueryrun/client.go +++ b/sigma/scheduledqueryrun/client.go @@ -11,8 +11,8 @@ package scheduledqueryrun import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /sigma/scheduled_query_runs APIs. diff --git a/sigma/scheduledqueryrun/client_test.go b/sigma/scheduledqueryrun/client_test.go index 7c95d78c19..31cd2c1524 100644 --- a/sigma/scheduledqueryrun/client_test.go +++ b/sigma/scheduledqueryrun/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestSigmaScheduledQueryRunGet(t *testing.T) { diff --git a/source/client.go b/source/client.go index fca7bc078b..43d76445ff 100644 --- a/source/client.go +++ b/source/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /sources APIs. diff --git a/source/client_test.go b/source/client_test.go index 6732093303..370b4c36a2 100644 --- a/source/client_test.go +++ b/source/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestSourceGet(t *testing.T) { diff --git a/sourcetransaction/client.go b/sourcetransaction/client.go index 7870bb3e70..da4b84fffe 100644 --- a/sourcetransaction/client.go +++ b/sourcetransaction/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /sources/:source_id/transactions APIs. diff --git a/sourcetransaction/client_test.go b/sourcetransaction/client_test.go index c1b497684b..9606c66317 100644 --- a/sourcetransaction/client_test.go +++ b/sourcetransaction/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestSourceTransactionList(t *testing.T) { diff --git a/stripe.go b/stripe.go index 6469afd730..cdca6af436 100644 --- a/stripe.go +++ b/stripe.go @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) // @@ -1300,7 +1300,7 @@ func StringSlice(v []string) []*string { // // clientversion is the binding version -const clientversion = "75.12.0-beta.1" +const clientversion = "76.2.0-beta.1" // 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 diff --git a/sub_test.go b/sub_test.go index 82c8b9cd2f..bc1393ccc4 100644 --- a/sub_test.go +++ b/sub_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestSubscriptionParams_AppendTo(t *testing.T) { diff --git a/subschedule_test.go b/subschedule_test.go index fab6a929e0..5bf83b9644 100644 --- a/subschedule_test.go +++ b/subschedule_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestSubscriptionScheduleParams_AppendTo(t *testing.T) { diff --git a/subscription.go b/subscription.go index ea904bb1cc..e5fc2e70d8 100644 --- a/subscription.go +++ b/subscription.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) // Type of the account referenced. diff --git a/subscription/client.go b/subscription/client.go index a96d40ed0a..58490faa92 100644 --- a/subscription/client.go +++ b/subscription/client.go @@ -10,8 +10,8 @@ package subscription import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /subscriptions APIs. diff --git a/subscription/client_test.go b/subscription/client_test.go index d2170bbf95..3c2b0186a5 100644 --- a/subscription/client_test.go +++ b/subscription/client_test.go @@ -5,8 +5,8 @@ import ( "time" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestSubscriptionCancel(t *testing.T) { diff --git a/subscriptionitem/client.go b/subscriptionitem/client.go index fc9b2f633a..638e63fa12 100644 --- a/subscriptionitem/client.go +++ b/subscriptionitem/client.go @@ -10,8 +10,8 @@ package subscriptionitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /subscription_items APIs. diff --git a/subscriptionitem/client_test.go b/subscriptionitem/client_test.go index f0306fe61e..a49857d6b5 100644 --- a/subscriptionitem/client_test.go +++ b/subscriptionitem/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestSubscriptionItemDel(t *testing.T) { diff --git a/subscriptionschedule.go b/subscriptionschedule.go index 361fc74745..7573a947dd 100644 --- a/subscriptionschedule.go +++ b/subscriptionschedule.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) // Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time.`prorate_up_front` will bill for all phases within the current billing cycle up front. diff --git a/subscriptionschedule/client.go b/subscriptionschedule/client.go index 88a44ff833..62a5fe80fa 100644 --- a/subscriptionschedule/client.go +++ b/subscriptionschedule/client.go @@ -10,8 +10,8 @@ package subscriptionschedule import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /subscription_schedules APIs. diff --git a/subscriptionschedule/client_test.go b/subscriptionschedule/client_test.go index 3bd684ea6b..331956d37c 100644 --- a/subscriptionschedule/client_test.go +++ b/subscriptionschedule/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestSubscriptionScheduleCancel(t *testing.T) { diff --git a/tax/calculation/client.go b/tax/calculation/client.go index d66144b597..eff7dcef10 100644 --- a/tax/calculation/client.go +++ b/tax/calculation/client.go @@ -10,8 +10,8 @@ package calculation import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /tax/calculations APIs. diff --git a/tax/form/client.go b/tax/form/client.go index eb7604407a..182d3156ac 100644 --- a/tax/form/client.go +++ b/tax/form/client.go @@ -10,8 +10,8 @@ package form import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /tax/forms APIs. diff --git a/tax/registration/client.go b/tax/registration/client.go index f85a908fcd..83a0328f71 100644 --- a/tax/registration/client.go +++ b/tax/registration/client.go @@ -10,8 +10,8 @@ package registration import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /tax/registrations APIs. diff --git a/tax/settings/client.go b/tax/settings/client.go index 30ace62733..24246c3cae 100644 --- a/tax/settings/client.go +++ b/tax/settings/client.go @@ -10,7 +10,7 @@ package settings import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /tax/settings APIs. diff --git a/tax/transaction/client.go b/tax/transaction/client.go index bdafd53e65..fb55824dc1 100644 --- a/tax/transaction/client.go +++ b/tax/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /tax/transactions APIs. diff --git a/tax_registration.go b/tax_registration.go index 56c34a88e2..6d9d92eeff 100644 --- a/tax_registration.go +++ b/tax_registration.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v75/form" +import "github.com/stripe/stripe-go/v76/form" // Type of registration in `country`. type TaxRegistrationCountryOptionsAeType string diff --git a/taxcode/client.go b/taxcode/client.go index 4ab01e198b..3fe848d7a6 100644 --- a/taxcode/client.go +++ b/taxcode/client.go @@ -10,8 +10,8 @@ package taxcode import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /tax_codes APIs. diff --git a/taxcode/client_test.go b/taxcode/client_test.go index 7d27a2c612..ce1da1afe2 100644 --- a/taxcode/client_test.go +++ b/taxcode/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestTaxCodeGet(t *testing.T) { diff --git a/taxid/client.go b/taxid/client.go index 1ce066cb37..8d1fa743b5 100644 --- a/taxid/client.go +++ b/taxid/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /customers/{customer}/tax_ids APIs. diff --git a/taxid/client_test.go b/taxid/client_test.go index f3be1d7396..60871b0461 100644 --- a/taxid/client_test.go +++ b/taxid/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestTaxIDDel(t *testing.T) { diff --git a/taxrate/client.go b/taxrate/client.go index d548c3f665..9317650bb1 100644 --- a/taxrate/client.go +++ b/taxrate/client.go @@ -10,8 +10,8 @@ package taxrate import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /tax_rates APIs. diff --git a/taxrate/client_test.go b/taxrate/client_test.go index 892a99cf1a..89ee9f33b9 100644 --- a/taxrate/client_test.go +++ b/taxrate/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestTaxRateGet(t *testing.T) { diff --git a/terminal/configuration/client.go b/terminal/configuration/client.go index bd0b7ec04a..00d5187c75 100644 --- a/terminal/configuration/client.go +++ b/terminal/configuration/client.go @@ -10,8 +10,8 @@ package configuration import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /terminal/configurations APIs. diff --git a/terminal/connectiontoken/client.go b/terminal/connectiontoken/client.go index 295b3d1af5..8623224a45 100644 --- a/terminal/connectiontoken/client.go +++ b/terminal/connectiontoken/client.go @@ -10,7 +10,7 @@ package connectiontoken import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /terminal/connection_tokens APIs. diff --git a/terminal/connectiontoken/client_test.go b/terminal/connectiontoken/client_test.go index 287c90f9c1..c4ccb3f164 100644 --- a/terminal/connectiontoken/client_test.go +++ b/terminal/connectiontoken/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestTerminalConnectionTokenNew(t *testing.T) { diff --git a/terminal/location/client.go b/terminal/location/client.go index 50ecc3431c..5d0fe778fc 100644 --- a/terminal/location/client.go +++ b/terminal/location/client.go @@ -10,8 +10,8 @@ package location import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /terminal/locations APIs. diff --git a/terminal/location/client_test.go b/terminal/location/client_test.go index 68a2f86956..4fe46cdb91 100644 --- a/terminal/location/client_test.go +++ b/terminal/location/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestTerminalLocationDel(t *testing.T) { diff --git a/terminal/reader/client.go b/terminal/reader/client.go index d27564237f..e605adc78b 100644 --- a/terminal/reader/client.go +++ b/terminal/reader/client.go @@ -10,8 +10,8 @@ package reader import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /terminal/readers APIs. diff --git a/terminal/reader/client_test.go b/terminal/reader/client_test.go index 4e345774b7..89c7457c3d 100644 --- a/terminal/reader/client_test.go +++ b/terminal/reader/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestTerminalReaderDel(t *testing.T) { diff --git a/testhelpers/customer/client.go b/testhelpers/customer/client.go index d81a104f79..57eecbdd84 100644 --- a/testhelpers/customer/client.go +++ b/testhelpers/customer/client.go @@ -10,7 +10,7 @@ package customer import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /customers APIs. diff --git a/testhelpers/issuing/authorization/client.go b/testhelpers/issuing/authorization/client.go index eb10b9c611..010256c48e 100644 --- a/testhelpers/issuing/authorization/client.go +++ b/testhelpers/issuing/authorization/client.go @@ -10,7 +10,7 @@ package authorization import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /issuing/authorizations APIs. diff --git a/testhelpers/issuing/card/client.go b/testhelpers/issuing/card/client.go index c50ba15350..809e416238 100644 --- a/testhelpers/issuing/card/client.go +++ b/testhelpers/issuing/card/client.go @@ -10,7 +10,7 @@ package card import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /issuing/cards APIs. diff --git a/testhelpers/issuing/personalizationdesign/client.go b/testhelpers/issuing/personalizationdesign/client.go index 56f1f2e51d..4f42395d9d 100644 --- a/testhelpers/issuing/personalizationdesign/client.go +++ b/testhelpers/issuing/personalizationdesign/client.go @@ -10,7 +10,7 @@ package personalizationdesign import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /issuing/personalization_designs APIs. diff --git a/testhelpers/issuing/transaction/client.go b/testhelpers/issuing/transaction/client.go index df947fc4e9..21122f733c 100644 --- a/testhelpers/issuing/transaction/client.go +++ b/testhelpers/issuing/transaction/client.go @@ -10,7 +10,7 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /issuing/transactions APIs. diff --git a/testhelpers/refund/client.go b/testhelpers/refund/client.go index 3985904d8e..3f4b418167 100644 --- a/testhelpers/refund/client.go +++ b/testhelpers/refund/client.go @@ -10,7 +10,7 @@ package refund import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /refunds APIs. diff --git a/testhelpers/terminal/reader/client.go b/testhelpers/terminal/reader/client.go index 3786b6f15a..d9610b10fa 100644 --- a/testhelpers/terminal/reader/client.go +++ b/testhelpers/terminal/reader/client.go @@ -10,7 +10,7 @@ package reader import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /terminal/readers APIs. diff --git a/testhelpers/terminal/reader/client_test.go b/testhelpers/terminal/reader/client_test.go index 134267a5ff..0fe82afc2e 100644 --- a/testhelpers/terminal/reader/client_test.go +++ b/testhelpers/terminal/reader/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestTerminalReaderUpdate(t *testing.T) { diff --git a/testhelpers/testclock/client.go b/testhelpers/testclock/client.go index 615026a930..4634c110ce 100644 --- a/testhelpers/testclock/client.go +++ b/testhelpers/testclock/client.go @@ -10,8 +10,8 @@ package testclock import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /test_helpers/test_clocks APIs. diff --git a/testhelpers/treasury/inboundtransfer/client.go b/testhelpers/treasury/inboundtransfer/client.go index d56820e762..8f3d47ed30 100644 --- a/testhelpers/treasury/inboundtransfer/client.go +++ b/testhelpers/treasury/inboundtransfer/client.go @@ -10,7 +10,7 @@ package inboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /treasury/inbound_transfers APIs. diff --git a/testhelpers/treasury/outboundpayment/client.go b/testhelpers/treasury/outboundpayment/client.go index db057ecf0c..333cdb090f 100644 --- a/testhelpers/treasury/outboundpayment/client.go +++ b/testhelpers/treasury/outboundpayment/client.go @@ -10,7 +10,7 @@ package outboundpayment import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /treasury/outbound_payments APIs. diff --git a/testhelpers/treasury/outboundtransfer/client.go b/testhelpers/treasury/outboundtransfer/client.go index 40670e0766..e4112abf1c 100644 --- a/testhelpers/treasury/outboundtransfer/client.go +++ b/testhelpers/treasury/outboundtransfer/client.go @@ -10,7 +10,7 @@ package outboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /treasury/outbound_transfers APIs. diff --git a/testhelpers/treasury/receivedcredit/client.go b/testhelpers/treasury/receivedcredit/client.go index 833af4b758..1950a3525b 100644 --- a/testhelpers/treasury/receivedcredit/client.go +++ b/testhelpers/treasury/receivedcredit/client.go @@ -10,7 +10,7 @@ package receivedcredit import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /treasury/received_credits APIs. diff --git a/testhelpers/treasury/receiveddebit/client.go b/testhelpers/treasury/receiveddebit/client.go index 1335503e8e..ffd792e746 100644 --- a/testhelpers/treasury/receiveddebit/client.go +++ b/testhelpers/treasury/receiveddebit/client.go @@ -10,7 +10,7 @@ package receiveddebit import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /treasury/received_debits APIs. diff --git a/testing/testing.go b/testing/testing.go index 6aa418dab2..2578a2e033 100644 --- a/testing/testing.go +++ b/testing/testing.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" "golang.org/x/net/http2" ) diff --git a/token/client.go b/token/client.go index 00947c9677..2bd6c549e3 100644 --- a/token/client.go +++ b/token/client.go @@ -10,7 +10,7 @@ package token import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /tokens APIs. diff --git a/token/client_test.go b/token/client_test.go index b3c1594e7b..c17b1d9de3 100644 --- a/token/client_test.go +++ b/token/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestTokenGet(t *testing.T) { diff --git a/topup/client.go b/topup/client.go index 988c87c492..89bd596607 100644 --- a/topup/client.go +++ b/topup/client.go @@ -10,8 +10,8 @@ package topup import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /topups APIs. diff --git a/topup/client_test.go b/topup/client_test.go index 1e060ac58e..ec48c27f5c 100644 --- a/topup/client_test.go +++ b/topup/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestTopupCancel(t *testing.T) { diff --git a/transfer/client.go b/transfer/client.go index 844ba3b5dd..933113f0de 100644 --- a/transfer/client.go +++ b/transfer/client.go @@ -10,8 +10,8 @@ package transfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /transfers APIs. diff --git a/transfer/client_test.go b/transfer/client_test.go index 40d103fb2b..f602cd00cb 100644 --- a/transfer/client_test.go +++ b/transfer/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestTransferGet(t *testing.T) { diff --git a/transferreversal/client.go b/transferreversal/client.go index a2d817936d..22b3e5092e 100644 --- a/transferreversal/client.go +++ b/transferreversal/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /transfers/{id}/reversals APIs. diff --git a/transferreversal/client_test.go b/transferreversal/client_test.go index 5b4868f8ce..ddc846543e 100644 --- a/transferreversal/client_test.go +++ b/transferreversal/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestTransferReversalGet(t *testing.T) { diff --git a/treasury/creditreversal/client.go b/treasury/creditreversal/client.go index c267d72862..0ebd3f418a 100644 --- a/treasury/creditreversal/client.go +++ b/treasury/creditreversal/client.go @@ -10,8 +10,8 @@ package creditreversal import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /treasury/credit_reversals APIs. diff --git a/treasury/debitreversal/client.go b/treasury/debitreversal/client.go index cd520400af..eec7b669fc 100644 --- a/treasury/debitreversal/client.go +++ b/treasury/debitreversal/client.go @@ -10,8 +10,8 @@ package debitreversal import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /treasury/debit_reversals APIs. diff --git a/treasury/financialaccount/client.go b/treasury/financialaccount/client.go index db6225f5ec..a07bb583d5 100644 --- a/treasury/financialaccount/client.go +++ b/treasury/financialaccount/client.go @@ -10,8 +10,8 @@ package financialaccount import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /treasury/financial_accounts APIs. diff --git a/treasury/inboundtransfer/client.go b/treasury/inboundtransfer/client.go index 453f530e17..d7e8d2cdba 100644 --- a/treasury/inboundtransfer/client.go +++ b/treasury/inboundtransfer/client.go @@ -10,8 +10,8 @@ package inboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /treasury/inbound_transfers APIs. diff --git a/treasury/outboundpayment/client.go b/treasury/outboundpayment/client.go index 0408d77ec1..31d0295753 100644 --- a/treasury/outboundpayment/client.go +++ b/treasury/outboundpayment/client.go @@ -10,8 +10,8 @@ package outboundpayment import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /treasury/outbound_payments APIs. diff --git a/treasury/outboundtransfer/client.go b/treasury/outboundtransfer/client.go index 15bfdb6b6d..da92daef07 100644 --- a/treasury/outboundtransfer/client.go +++ b/treasury/outboundtransfer/client.go @@ -10,8 +10,8 @@ package outboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /treasury/outbound_transfers APIs. diff --git a/treasury/receivedcredit/client.go b/treasury/receivedcredit/client.go index 74985026e8..b88aa1f78c 100644 --- a/treasury/receivedcredit/client.go +++ b/treasury/receivedcredit/client.go @@ -10,8 +10,8 @@ package receivedcredit import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /treasury/received_credits APIs. diff --git a/treasury/receiveddebit/client.go b/treasury/receiveddebit/client.go index 12f4276190..c7e4d757f8 100644 --- a/treasury/receiveddebit/client.go +++ b/treasury/receiveddebit/client.go @@ -10,8 +10,8 @@ package receiveddebit import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /treasury/received_debits APIs. diff --git a/treasury/transaction/client.go b/treasury/transaction/client.go index 75a0cd7db3..c099578285 100644 --- a/treasury/transaction/client.go +++ b/treasury/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /treasury/transactions APIs. diff --git a/treasury/transactionentry/client.go b/treasury/transactionentry/client.go index 1902119013..0ed10dcd80 100644 --- a/treasury/transactionentry/client.go +++ b/treasury/transactionentry/client.go @@ -10,8 +10,8 @@ package transactionentry import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /treasury/transaction_entries APIs. diff --git a/usagerecord.go b/usagerecord.go index a10404b437..51a9a1b252 100644 --- a/usagerecord.go +++ b/usagerecord.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v75/form" +import "github.com/stripe/stripe-go/v76/form" // Possible values for the action parameter on usage record creation. const ( diff --git a/usagerecord/client.go b/usagerecord/client.go index ec87b515fe..cedb8574ef 100644 --- a/usagerecord/client.go +++ b/usagerecord/client.go @@ -10,7 +10,7 @@ package usagerecord import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" + stripe "github.com/stripe/stripe-go/v76" ) // Client is used to invoke /subscription_items/{subscription_item}/usage_records APIs. diff --git a/usagerecord/client_test.go b/usagerecord/client_test.go index 02021ed97f..441f10abbb 100644 --- a/usagerecord/client_test.go +++ b/usagerecord/client_test.go @@ -5,8 +5,8 @@ import ( "time" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestUsageRecordNew(t *testing.T) { diff --git a/usagerecord_test.go b/usagerecord_test.go index e4bb6d83ec..6b1e1483b4 100644 --- a/usagerecord_test.go +++ b/usagerecord_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v75/form" + "github.com/stripe/stripe-go/v76/form" ) func TestUsageRecordParams_AppendTo(t *testing.T) { diff --git a/usagerecordsummary/client.go b/usagerecordsummary/client.go index 34fcc62f8b..4d59b7a97c 100644 --- a/usagerecordsummary/client.go +++ b/usagerecordsummary/client.go @@ -10,8 +10,8 @@ package usagerecordsummary import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /subscription_items/{subscription_item}/usage_record_summaries APIs. diff --git a/usagerecordsummary/client_test.go b/usagerecordsummary/client_test.go index 268ab3b0ff..425e69676a 100644 --- a/usagerecordsummary/client_test.go +++ b/usagerecordsummary/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestUsageRecordSummaryList(t *testing.T) { diff --git a/webhook/client.go b/webhook/client.go index ca72e7e4f0..30c683288e 100644 --- a/webhook/client.go +++ b/webhook/client.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/stripe/stripe-go/v75" + "github.com/stripe/stripe-go/v76" ) // diff --git a/webhook/client_handler_test.go b/webhook/client_handler_test.go index bdf0f17944..abf2646978 100644 --- a/webhook/client_handler_test.go +++ b/webhook/client_handler_test.go @@ -6,7 +6,7 @@ import ( "log" "net/http" - "github.com/stripe/stripe-go/v75/webhook" + "github.com/stripe/stripe-go/v76/webhook" ) func Example() { diff --git a/webhook/client_test.go b/webhook/client_test.go index 7cfbcbd5bd..17a90aaca2 100644 --- a/webhook/client_test.go +++ b/webhook/client_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/stripe/stripe-go/v75" + "github.com/stripe/stripe-go/v76" ) var testPayloadFormat = `{ diff --git a/webhookendpoint/client.go b/webhookendpoint/client.go index 3ecb10155c..be2e21415e 100644 --- a/webhookendpoint/client.go +++ b/webhookendpoint/client.go @@ -10,8 +10,8 @@ package webhookendpoint import ( "net/http" - stripe "github.com/stripe/stripe-go/v75" - "github.com/stripe/stripe-go/v75/form" + stripe "github.com/stripe/stripe-go/v76" + "github.com/stripe/stripe-go/v76/form" ) // Client is used to invoke /webhook_endpoints APIs. diff --git a/webhookendpoint/client_test.go b/webhookendpoint/client_test.go index 331fc91eb2..9dbeaadeca 100644 --- a/webhookendpoint/client_test.go +++ b/webhookendpoint/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v75" - _ "github.com/stripe/stripe-go/v75/testing" + stripe "github.com/stripe/stripe-go/v76" + _ "github.com/stripe/stripe-go/v76/testing" ) func TestWebhookEndpointDel(t *testing.T) {