From d605329a088aeb1df212476a144a4b1310cc9c28 Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Mon, 31 Aug 2020 09:37:57 -0700 Subject: [PATCH] Bump version to 72.0.0 --- CHANGELOG.md | 20 +++ README.md | 24 ++-- 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 +- applepaydomain/client.go | 4 +- applepaydomain/client_test.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/session/client.go | 2 +- billingportal/session/client_test.go | 4 +- capability/client.go | 4 +- capability/client_test.go | 4 +- card.go | 2 +- card/client.go | 4 +- card/client_test.go | 4 +- card_test.go | 2 +- charge/client.go | 4 +- charge/client_test.go | 4 +- charge_test.go | 2 +- checkout/session/client.go | 6 +- checkout/session/client_test.go | 4 +- client/api.go | 146 +++++++++++----------- 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 +- discount/client.go | 2 +- discount/client_test.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_test.go | 10 +- fee/client.go | 4 +- fee/client_test.go | 4 +- feerefund/client.go | 4 +- feerefund/client_test.go | 4 +- file.go | 2 +- file/client.go | 4 +- file/client_test.go | 4 +- filelink/client.go | 4 +- filelink/client_test.go | 4 +- go.mod | 2 +- 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/dispute/client.go | 4 +- issuing/dispute/client_test.go | 4 +- issuing/transaction/client.go | 4 +- issuing/transaction/client_test.go | 4 +- iter.go | 2 +- iter_test.go | 2 +- lineitem/client.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 +- order/client_test.go | 4 +- order_test.go | 2 +- orderreturn/client.go | 4 +- orderreturn/client_test.go | 4 +- params.go | 2 +- params_test.go | 6 +- paymentintent/client.go | 4 +- paymentintent/client_test.go | 4 +- paymentmethod/client.go | 4 +- paymentmethod/client_test.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 +- price.go | 2 +- price/client.go | 4 +- price/client_test.go | 4 +- price_test.go | 2 +- product/client.go | 4 +- product/client_test.go | 4 +- promotioncode/client.go | 4 +- promotioncode/client_test.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 +- reversal/client.go | 4 +- reversal/client_test.go | 4 +- review/client.go | 4 +- review/client_test.go | 4 +- setupintent/client.go | 4 +- setupintent/client_test.go | 4 +- sigma/scheduledqueryrun/client.go | 4 +- sigma/scheduledqueryrun/client_test.go | 4 +- sku/client.go | 4 +- sku/client_test.go | 4 +- source.go | 2 +- source/client.go | 2 +- source/client_test.go | 4 +- source_test.go | 2 +- sourcetransaction/client.go | 4 +- sourcetransaction/client_test.go | 4 +- stripe.go | 4 +- sub.go | 2 +- sub/client.go | 4 +- sub/client_test.go | 4 +- sub_test.go | 2 +- subitem/client.go | 4 +- subitem/client_test.go | 4 +- subschedule.go | 2 +- subschedule/client.go | 4 +- subschedule/client_test.go | 4 +- subschedule_test.go | 2 +- taxid/client.go | 4 +- taxid/client_test.go | 4 +- taxrate/client.go | 4 +- taxrate/client_test.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 +- 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 +- 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 +- webhookendpoint/client.go | 4 +- webhookendpoint/client_test.go | 4 +- 183 files changed, 424 insertions(+), 404 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d56eb1385..1d16a419f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## 72.0.0 - 2020-08-31 +* [#1170](https://github.com/stripe/stripe-go/pull/1170) Multiple API changes + * Move to latest API version `2020-08-27` + * Remove `Prorate` across Billing APIs in favor of `ProrationBehavior` + * Remove `TaxPercent` across Billing APIs in favor of `TaxRate`-related parameters and properties + * Remove `DisplayItems` on Checkout `Session` in favor of `LineItems` + * Remove `FailureURL` and `SuccessURL` on `AccountLink` in favor of `RefreshURL` and `ReturnURL` + * Remove `AccountLinkTypeCustomAccountUpdate ` and `AccountLinkTypeCustomAccountVerification ` on `AccountLink` in favor of `AccountLinkTypeAccountOnboarding ` and `AccountLinkTypeAccountUpdate ` + * Remove `Authenticated` and `Succeeded` on `ChargePaymentMethodDetailsCardThreeDSecure` + * Remove `Plan`, `Quantity`, `TaxPercent` and `TrialEnd` from `Customer` creation or update in favor of the Subscription API + * Rename `Plans` to `Items` on `SubscriptionSchedule` +* [#1171](https://github.com/stripe/stripe-go/pull/1171) Remove multiple deprecated APIs + * Remove support for the `Recipient` API + * Remove support for the `RecipientTransfer` API + * Remove support for the `BitcoinReceiver` API + * Remove support for the `ThreeDSecure` API which has been replaced by PaymentIntent and PaymentMethod + * Remove support for the `ExchangeRate` API which has never shipped publicly and is being reworked +* [#1172](https://github.com/stripe/stripe-go/pull/1172) Properly remove ThreeDSecure class entirely +* [#1173](https://github.com/stripe/stripe-go/pull/1173) Remove deprecated parameters `SavePaymentMethod` and `Source` on `PaymentIntent` + ## 71.48.0 - 2020-08-24 * [#1153](https://github.com/stripe/stripe-go/pull/1153) Add support for `ServiceAgreement` in `AccountTOSAcceptance` on `Account` diff --git a/README.md b/README.md index 839b8e1472..d704443249 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ Then, reference stripe-go in a Go program with `import`: ``` go import ( - "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/customer" + "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/customer" ) ``` @@ -119,8 +119,8 @@ To use a key, pass it to `API`'s `Init` function: ```go import ( - "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/client" + "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/client" ) stripe := &client.API{} @@ -141,8 +141,8 @@ import ( "google.golang.org/appengine" "google.golang.org/appengine/urlfetch" - "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/client" + "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/client" ) func handler(w http.ResponseWriter, r *http.Request) { @@ -176,8 +176,8 @@ client. ```go import ( - "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/$resource$" + "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/$resource$" ) // Setup @@ -216,8 +216,8 @@ individual key. ```go import ( - "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/client" + "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/client" ) // Setup @@ -288,8 +288,8 @@ with `MaxNetworkRetries`: ```go import ( - "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/client" + "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/client" ) config := &stripe.BackendConfig{ diff --git a/VERSION b/VERSION index 50310be26d..7dbe91c294 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -71.48.0 +72.0.0 diff --git a/account.go b/account.go index 4e52f9a8a0..dc98ec202c 100644 --- a/account.go +++ b/account.go @@ -3,7 +3,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // AccountType is the type of an account. diff --git a/account/client.go b/account/client.go index 54b8a7eb4a..953087d501 100644 --- a/account/client.go +++ b/account/client.go @@ -6,8 +6,8 @@ package account import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke APIs related to accounts. diff --git a/account/client_test.go b/account/client_test.go index a0288c00a7..b1fd70e022 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestAccountDel(t *testing.T) { diff --git a/account_test.go b/account_test.go index 3838941e1e..4161994c42 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/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestAccountExternalAccountParams_AppendTo(t *testing.T) { diff --git a/accountlink/client.go b/accountlink/client.go index 930d068931..a3891faffc 100644 --- a/accountlink/client.go +++ b/accountlink/client.go @@ -6,7 +6,7 @@ package accountlink import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Client is used to invoke APIs related to account links. diff --git a/accountlink/client_test.go b/accountlink/client_test.go index 5003e67c6a..d6a9e87778 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestAccountLinkNew(t *testing.T) { diff --git a/applepaydomain/client.go b/applepaydomain/client.go index 056c1329c1..dba3ca67b6 100644 --- a/applepaydomain/client.go +++ b/applepaydomain/client.go @@ -4,8 +4,8 @@ package applepaydomain import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /apple_pay/domains and Apple Pay domain-related APIs. diff --git a/applepaydomain/client_test.go b/applepaydomain/client_test.go index a917700b7e..78d214f040 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestApplePayDomainDel(t *testing.T) { diff --git a/balance/client.go b/balance/client.go index 97fd9484c8..a3b0afa656 100644 --- a/balance/client.go +++ b/balance/client.go @@ -4,7 +4,7 @@ package balance import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Client is used to invoke /balance and transaction-related APIs. diff --git a/balance/client_test.go b/balance/client_test.go index cd802f06ca..54eeb0d5ee 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/v71/testing" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestBalanceGet(t *testing.T) { diff --git a/balancetransaction/client.go b/balancetransaction/client.go index 634f058904..86047d35aa 100644 --- a/balancetransaction/client.go +++ b/balancetransaction/client.go @@ -4,8 +4,8 @@ package balancetransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /balance_transactions APIs. diff --git a/balancetransaction/client_test.go b/balancetransaction/client_test.go index d65d292644..a955e55c49 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestBalanceTransactionGet(t *testing.T) { diff --git a/bankaccount.go b/bankaccount.go index 9bd094611e..0af3ad795e 100644 --- a/bankaccount.go +++ b/bankaccount.go @@ -4,7 +4,7 @@ import ( "encoding/json" "strconv" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // BankAccountStatus is the list of allowed values for the bank account's status. diff --git a/bankaccount/client.go b/bankaccount/client.go index 55d6c3506c..f8119bfa4d 100644 --- a/bankaccount/client.go +++ b/bankaccount/client.go @@ -5,8 +5,8 @@ import ( "errors" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /bank_accounts APIs. diff --git a/bankaccount/client_test.go b/bankaccount/client_test.go index f59b449d52..d6243596c4 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestBankAccountDel_ByAccount(t *testing.T) { diff --git a/bankaccount_test.go b/bankaccount_test.go index 4451309411..5178bd5fa7 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/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestBankAccount_UnmarshalJSON(t *testing.T) { diff --git a/billingportal/session/client.go b/billingportal/session/client.go index 553914b6cb..1a4fe4219b 100644 --- a/billingportal/session/client.go +++ b/billingportal/session/client.go @@ -4,7 +4,7 @@ package session import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Client is used to invoke /billing_portal/sessions APIs. diff --git a/billingportal/session/client_test.go b/billingportal/session/client_test.go index 9bc682f9a9..54b63a7ebf 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestBillingPortalSessionNew(t *testing.T) { diff --git a/capability/client.go b/capability/client.go index b9c2d2c5fa..d615ac3e91 100644 --- a/capability/client.go +++ b/capability/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /accounts/capabilities APIs. diff --git a/capability/client_test.go b/capability/client_test.go index b03ee0670c..6c9ae937b3 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestCapabilityGet(t *testing.T) { diff --git a/card.go b/card.go index 2710247d32..2e68cd6c79 100644 --- a/card.go +++ b/card.go @@ -4,7 +4,7 @@ import ( "encoding/json" "strconv" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // CardAvailablePayoutMethod is a set of available payout methods for the card. diff --git a/card/client.go b/card/client.go index 48de27c0a9..5cf8de11e2 100644 --- a/card/client.go +++ b/card/client.go @@ -5,8 +5,8 @@ import ( "errors" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /cards APIs. diff --git a/card/client_test.go b/card/client_test.go index aa0eae1f57..2f3c28a6cd 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestCardDel(t *testing.T) { diff --git a/card_test.go b/card_test.go index b167cc2399..bd9a1e7561 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/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestCardListParams_AppendTo(t *testing.T) { diff --git a/charge/client.go b/charge/client.go index 91f28883f3..503d0120f5 100644 --- a/charge/client.go +++ b/charge/client.go @@ -6,8 +6,8 @@ package charge import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke APIs related to charges. diff --git a/charge/client_test.go b/charge/client_test.go index c7cbc3696a..acfdef717a 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestChargeCapture(t *testing.T) { diff --git a/charge_test.go b/charge_test.go index 24c67765f0..8d720bd862 100644 --- a/charge_test.go +++ b/charge_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestCharge_UnmarshalJSON(t *testing.T) { diff --git a/checkout/session/client.go b/checkout/session/client.go index 63c111c1bb..d114e8358d 100644 --- a/checkout/session/client.go +++ b/checkout/session/client.go @@ -4,9 +4,9 @@ package session import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" - "github.com/stripe/stripe-go/v71/lineitem" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" + "github.com/stripe/stripe-go/v72/lineitem" ) // Client is used to invoke /checkout_sessions APIs. diff --git a/checkout/session/client_test.go b/checkout/session/client_test.go index 1039454c9e..6d039b5232 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestCheckoutSessionGet(t *testing.T) { diff --git a/client/api.go b/client/api.go index 586913d7c8..f752fdc613 100644 --- a/client/api.go +++ b/client/api.go @@ -2,79 +2,79 @@ package client import ( - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/account" - "github.com/stripe/stripe-go/v71/accountlink" - "github.com/stripe/stripe-go/v71/applepaydomain" - "github.com/stripe/stripe-go/v71/balance" - "github.com/stripe/stripe-go/v71/balancetransaction" - "github.com/stripe/stripe-go/v71/bankaccount" - billingportalsession "github.com/stripe/stripe-go/v71/billingportal/session" - "github.com/stripe/stripe-go/v71/capability" - "github.com/stripe/stripe-go/v71/card" - "github.com/stripe/stripe-go/v71/charge" - checkoutsession "github.com/stripe/stripe-go/v71/checkout/session" - "github.com/stripe/stripe-go/v71/countryspec" - "github.com/stripe/stripe-go/v71/coupon" - "github.com/stripe/stripe-go/v71/creditnote" - "github.com/stripe/stripe-go/v71/customer" - "github.com/stripe/stripe-go/v71/customerbalancetransaction" - "github.com/stripe/stripe-go/v71/discount" - "github.com/stripe/stripe-go/v71/dispute" - "github.com/stripe/stripe-go/v71/ephemeralkey" - "github.com/stripe/stripe-go/v71/event" - "github.com/stripe/stripe-go/v71/fee" - "github.com/stripe/stripe-go/v71/feerefund" - "github.com/stripe/stripe-go/v71/file" - "github.com/stripe/stripe-go/v71/filelink" - "github.com/stripe/stripe-go/v71/invoice" - "github.com/stripe/stripe-go/v71/invoiceitem" - "github.com/stripe/stripe-go/v71/issuing/authorization" - issuingcard "github.com/stripe/stripe-go/v71/issuing/card" - "github.com/stripe/stripe-go/v71/issuing/cardholder" - issuingdispute "github.com/stripe/stripe-go/v71/issuing/dispute" - "github.com/stripe/stripe-go/v71/issuing/transaction" - "github.com/stripe/stripe-go/v71/loginlink" - "github.com/stripe/stripe-go/v71/mandate" - "github.com/stripe/stripe-go/v71/oauth" - "github.com/stripe/stripe-go/v71/order" - "github.com/stripe/stripe-go/v71/orderreturn" - "github.com/stripe/stripe-go/v71/paymentintent" - "github.com/stripe/stripe-go/v71/paymentmethod" - "github.com/stripe/stripe-go/v71/paymentsource" - "github.com/stripe/stripe-go/v71/payout" - "github.com/stripe/stripe-go/v71/person" - "github.com/stripe/stripe-go/v71/plan" - "github.com/stripe/stripe-go/v71/price" - "github.com/stripe/stripe-go/v71/product" - "github.com/stripe/stripe-go/v71/promotioncode" - "github.com/stripe/stripe-go/v71/radar/earlyfraudwarning" - "github.com/stripe/stripe-go/v71/radar/valuelist" - "github.com/stripe/stripe-go/v71/radar/valuelistitem" - "github.com/stripe/stripe-go/v71/refund" - "github.com/stripe/stripe-go/v71/reporting/reportrun" - "github.com/stripe/stripe-go/v71/reporting/reporttype" - "github.com/stripe/stripe-go/v71/reversal" - "github.com/stripe/stripe-go/v71/review" - "github.com/stripe/stripe-go/v71/setupintent" - "github.com/stripe/stripe-go/v71/sigma/scheduledqueryrun" - "github.com/stripe/stripe-go/v71/sku" - "github.com/stripe/stripe-go/v71/source" - "github.com/stripe/stripe-go/v71/sourcetransaction" - "github.com/stripe/stripe-go/v71/sub" - "github.com/stripe/stripe-go/v71/subitem" - "github.com/stripe/stripe-go/v71/subschedule" - "github.com/stripe/stripe-go/v71/taxid" - "github.com/stripe/stripe-go/v71/taxrate" - terminalconnectiontoken "github.com/stripe/stripe-go/v71/terminal/connectiontoken" - terminallocation "github.com/stripe/stripe-go/v71/terminal/location" - terminalreader "github.com/stripe/stripe-go/v71/terminal/reader" - "github.com/stripe/stripe-go/v71/token" - "github.com/stripe/stripe-go/v71/topup" - "github.com/stripe/stripe-go/v71/transfer" - "github.com/stripe/stripe-go/v71/usagerecord" - "github.com/stripe/stripe-go/v71/usagerecordsummary" - "github.com/stripe/stripe-go/v71/webhookendpoint" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/account" + "github.com/stripe/stripe-go/v72/accountlink" + "github.com/stripe/stripe-go/v72/applepaydomain" + "github.com/stripe/stripe-go/v72/balance" + "github.com/stripe/stripe-go/v72/balancetransaction" + "github.com/stripe/stripe-go/v72/bankaccount" + billingportalsession "github.com/stripe/stripe-go/v72/billingportal/session" + "github.com/stripe/stripe-go/v72/capability" + "github.com/stripe/stripe-go/v72/card" + "github.com/stripe/stripe-go/v72/charge" + checkoutsession "github.com/stripe/stripe-go/v72/checkout/session" + "github.com/stripe/stripe-go/v72/countryspec" + "github.com/stripe/stripe-go/v72/coupon" + "github.com/stripe/stripe-go/v72/creditnote" + "github.com/stripe/stripe-go/v72/customer" + "github.com/stripe/stripe-go/v72/customerbalancetransaction" + "github.com/stripe/stripe-go/v72/discount" + "github.com/stripe/stripe-go/v72/dispute" + "github.com/stripe/stripe-go/v72/ephemeralkey" + "github.com/stripe/stripe-go/v72/event" + "github.com/stripe/stripe-go/v72/fee" + "github.com/stripe/stripe-go/v72/feerefund" + "github.com/stripe/stripe-go/v72/file" + "github.com/stripe/stripe-go/v72/filelink" + "github.com/stripe/stripe-go/v72/invoice" + "github.com/stripe/stripe-go/v72/invoiceitem" + "github.com/stripe/stripe-go/v72/issuing/authorization" + issuingcard "github.com/stripe/stripe-go/v72/issuing/card" + "github.com/stripe/stripe-go/v72/issuing/cardholder" + issuingdispute "github.com/stripe/stripe-go/v72/issuing/dispute" + "github.com/stripe/stripe-go/v72/issuing/transaction" + "github.com/stripe/stripe-go/v72/loginlink" + "github.com/stripe/stripe-go/v72/mandate" + "github.com/stripe/stripe-go/v72/oauth" + "github.com/stripe/stripe-go/v72/order" + "github.com/stripe/stripe-go/v72/orderreturn" + "github.com/stripe/stripe-go/v72/paymentintent" + "github.com/stripe/stripe-go/v72/paymentmethod" + "github.com/stripe/stripe-go/v72/paymentsource" + "github.com/stripe/stripe-go/v72/payout" + "github.com/stripe/stripe-go/v72/person" + "github.com/stripe/stripe-go/v72/plan" + "github.com/stripe/stripe-go/v72/price" + "github.com/stripe/stripe-go/v72/product" + "github.com/stripe/stripe-go/v72/promotioncode" + "github.com/stripe/stripe-go/v72/radar/earlyfraudwarning" + "github.com/stripe/stripe-go/v72/radar/valuelist" + "github.com/stripe/stripe-go/v72/radar/valuelistitem" + "github.com/stripe/stripe-go/v72/refund" + "github.com/stripe/stripe-go/v72/reporting/reportrun" + "github.com/stripe/stripe-go/v72/reporting/reporttype" + "github.com/stripe/stripe-go/v72/reversal" + "github.com/stripe/stripe-go/v72/review" + "github.com/stripe/stripe-go/v72/setupintent" + "github.com/stripe/stripe-go/v72/sigma/scheduledqueryrun" + "github.com/stripe/stripe-go/v72/sku" + "github.com/stripe/stripe-go/v72/source" + "github.com/stripe/stripe-go/v72/sourcetransaction" + "github.com/stripe/stripe-go/v72/sub" + "github.com/stripe/stripe-go/v72/subitem" + "github.com/stripe/stripe-go/v72/subschedule" + "github.com/stripe/stripe-go/v72/taxid" + "github.com/stripe/stripe-go/v72/taxrate" + terminalconnectiontoken "github.com/stripe/stripe-go/v72/terminal/connectiontoken" + terminallocation "github.com/stripe/stripe-go/v72/terminal/location" + terminalreader "github.com/stripe/stripe-go/v72/terminal/reader" + "github.com/stripe/stripe-go/v72/token" + "github.com/stripe/stripe-go/v72/topup" + "github.com/stripe/stripe-go/v72/transfer" + "github.com/stripe/stripe-go/v72/usagerecord" + "github.com/stripe/stripe-go/v72/usagerecordsummary" + "github.com/stripe/stripe-go/v72/webhookendpoint" ) // API is the Stripe client. It contains all the different resources available. diff --git a/countryspec/client.go b/countryspec/client.go index c67fc6bb68..cc715486d9 100644 --- a/countryspec/client.go +++ b/countryspec/client.go @@ -4,8 +4,8 @@ package countryspec import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /country_specs and countryspec-related APIs. diff --git a/countryspec/client_test.go b/countryspec/client_test.go index 22d94f0388..b0cc174b81 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestCountrySpecGet(t *testing.T) { diff --git a/coupon/client.go b/coupon/client.go index 02b57418b3..e92fed3d80 100644 --- a/coupon/client.go +++ b/coupon/client.go @@ -4,8 +4,8 @@ package coupon import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /coupons APIs. diff --git a/coupon/client_test.go b/coupon/client_test.go index f19664bcc7..bd3fe9b398 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestCouponDel(t *testing.T) { diff --git a/creditnote/client.go b/creditnote/client.go index d0accd83df..623c06f2bf 100644 --- a/creditnote/client.go +++ b/creditnote/client.go @@ -4,8 +4,8 @@ package creditnote import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is the client used to invoke /credit_notes APIs. diff --git a/creditnote/client_test.go b/creditnote/client_test.go index 226bdb4f33..b14d142b80 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestCreditNoteGet(t *testing.T) { diff --git a/customer/client.go b/customer/client.go index 5dba7e2356..b1387c2d19 100644 --- a/customer/client.go +++ b/customer/client.go @@ -4,8 +4,8 @@ package customer import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /customers APIs. diff --git a/customer/client_test.go b/customer/client_test.go index 2327d8166b..0c11de2749 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestCustomerDel(t *testing.T) { diff --git a/customerbalancetransaction/client.go b/customerbalancetransaction/client.go index 3f2f5d610b..776d67f7c5 100644 --- a/customerbalancetransaction/client.go +++ b/customerbalancetransaction/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /balance_transactions APIs. diff --git a/customerbalancetransaction/client_test.go b/customerbalancetransaction/client_test.go index 7430c103e5..2493e20c29 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestCustomerBalanceTransactionGet(t *testing.T) { diff --git a/discount/client.go b/discount/client.go index 90dadda23d..4c461df792 100644 --- a/discount/client.go +++ b/discount/client.go @@ -4,7 +4,7 @@ package discount import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Client is used to invoke discount-related APIs. diff --git a/discount/client_test.go b/discount/client_test.go index 557edaa40f..0284990513 100644 --- a/discount/client_test.go +++ b/discount/client_test.go @@ -4,7 +4,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - _ "github.com/stripe/stripe-go/v71/testing" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestDiscountDel(t *testing.T) { diff --git a/dispute/client.go b/dispute/client.go index b0465fa2a0..15c75b8bc7 100644 --- a/dispute/client.go +++ b/dispute/client.go @@ -3,8 +3,8 @@ package dispute import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke dispute-related APIs. diff --git a/dispute/client_test.go b/dispute/client_test.go index 747a068660..5a9bfe03dc 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestDisputeClose(t *testing.T) { diff --git a/ephemeralkey/client.go b/ephemeralkey/client.go index 0847202f1a..6fd93224e5 100644 --- a/ephemeralkey/client.go +++ b/ephemeralkey/client.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Client is used to invoke /ephemeral_keys APIs. diff --git a/ephemeralkey/client_test.go b/ephemeralkey/client_test.go index 38ecd3f54d..6e8620078c 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestEphemeralKeyDel(t *testing.T) { diff --git a/event/client.go b/event/client.go index 9490012f11..eadf1f6a68 100644 --- a/event/client.go +++ b/event/client.go @@ -4,8 +4,8 @@ package event import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /events APIs. diff --git a/event/client_test.go b/event/client_test.go index 294d629e36..4858fa4d13 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestEventGet(t *testing.T) { diff --git a/example_test.go b/example_test.go index 3eb30a9e26..8cedb221cc 100644 --- a/example_test.go +++ b/example_test.go @@ -3,11 +3,11 @@ package stripe_test import ( "log" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/charge" - "github.com/stripe/stripe-go/v71/customer" - "github.com/stripe/stripe-go/v71/invoice" - "github.com/stripe/stripe-go/v71/plan" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/charge" + "github.com/stripe/stripe-go/v72/customer" + "github.com/stripe/stripe-go/v72/invoice" + "github.com/stripe/stripe-go/v72/plan" ) func ExampleCharge_new() { diff --git a/fee/client.go b/fee/client.go index 4f658b7b39..6256c88dbc 100644 --- a/fee/client.go +++ b/fee/client.go @@ -4,8 +4,8 @@ package fee import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke application_fees APIs. diff --git a/fee/client_test.go b/fee/client_test.go index 8c2d947cd1..b9714e4065 100644 --- a/fee/client_test.go +++ b/fee/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestApplicationFeeGet(t *testing.T) { diff --git a/feerefund/client.go b/feerefund/client.go index 2be1fa802d..2db619473f 100644 --- a/feerefund/client.go +++ b/feerefund/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /application_fees/refunds APIs. diff --git a/feerefund/client_test.go b/feerefund/client_test.go index c031df87de..f199428d6a 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestFeeRefundGet(t *testing.T) { diff --git a/file.go b/file.go index 0171dfcdb5..853e22f4e5 100644 --- a/file.go +++ b/file.go @@ -8,7 +8,7 @@ import ( "net/url" "path/filepath" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // FilePurpose is the purpose of a particular file. diff --git a/file/client.go b/file/client.go index 42a3b58660..f9051d12bf 100644 --- a/file/client.go +++ b/file/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke file APIs. diff --git a/file/client_test.go b/file/client_test.go index 5851050d76..fc21ba1d95 100644 --- a/file/client_test.go +++ b/file/client_test.go @@ -16,8 +16,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) const ( diff --git a/filelink/client.go b/filelink/client.go index 802712dec6..e490abc575 100644 --- a/filelink/client.go +++ b/filelink/client.go @@ -6,8 +6,8 @@ package filelink import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke APIs related to file links. diff --git a/filelink/client_test.go b/filelink/client_test.go index eec3c0f222..a78199eb9d 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestFileLinkGet(t *testing.T) { diff --git a/go.mod b/go.mod index 9ec6cdcb98..c07c7249ed 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/stripe/stripe-go/v71 +module github.com/stripe/stripe-go/v72 go 1.13 diff --git a/invoice.go b/invoice.go index 7fede7c2fc..c979116609 100644 --- a/invoice.go +++ b/invoice.go @@ -3,7 +3,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // InvoiceLineType is the list of allowed values for the invoice line's type. diff --git a/invoice/client.go b/invoice/client.go index 076a1ba32f..d16e27fb9b 100644 --- a/invoice/client.go +++ b/invoice/client.go @@ -4,8 +4,8 @@ package invoice import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is the client used to invoke /invoices APIs. diff --git a/invoice/client_test.go b/invoice/client_test.go index aaae3991c5..061e614ae4 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestInvoiceGet(t *testing.T) { diff --git a/invoice_test.go b/invoice_test.go index c25f47520e..59d442f677 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/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestInvoiceParams_AppendTo(t *testing.T) { diff --git a/invoiceitem/client.go b/invoiceitem/client.go index 2cff48fb44..b7d7c49b1f 100644 --- a/invoiceitem/client.go +++ b/invoiceitem/client.go @@ -4,8 +4,8 @@ package invoiceitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /invoiceitems APIs. diff --git a/invoiceitem/client_test.go b/invoiceitem/client_test.go index 35ccb67b96..17b8e6d6e2 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestInvoiceItemDel(t *testing.T) { diff --git a/issuing/authorization/client.go b/issuing/authorization/client.go index e4cb389bca..9e36acb8d5 100644 --- a/issuing/authorization/client.go +++ b/issuing/authorization/client.go @@ -6,8 +6,8 @@ package authorization import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /issuing/authorizations APIs. diff --git a/issuing/authorization/client_test.go b/issuing/authorization/client_test.go index 5c2fefaebb..6d8c0b27c8 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestIssuingAuthorizationApprove(t *testing.T) { diff --git a/issuing/card/client.go b/issuing/card/client.go index ced99dd477..c43d4aeba5 100644 --- a/issuing/card/client.go +++ b/issuing/card/client.go @@ -6,8 +6,8 @@ package card import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /issuing/cards APIs. diff --git a/issuing/card/client_test.go b/issuing/card/client_test.go index 95eb38f15f..e847577777 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestIssuingCardGet(t *testing.T) { diff --git a/issuing/cardholder/client.go b/issuing/cardholder/client.go index b9aca15d02..fc3c0f46c0 100644 --- a/issuing/cardholder/client.go +++ b/issuing/cardholder/client.go @@ -6,8 +6,8 @@ package cardholder import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /issuing/cardholders APIs. diff --git a/issuing/cardholder/client_test.go b/issuing/cardholder/client_test.go index 8773014f28..27ea93cb4e 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestIssuingCardholderGet(t *testing.T) { diff --git a/issuing/dispute/client.go b/issuing/dispute/client.go index 6c4ce10310..35abb65ae7 100644 --- a/issuing/dispute/client.go +++ b/issuing/dispute/client.go @@ -6,8 +6,8 @@ package dispute import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /issuing/disputes APIs. diff --git a/issuing/dispute/client_test.go b/issuing/dispute/client_test.go index f3b1501da9..5f4daec290 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestIssuingDisputeGet(t *testing.T) { diff --git a/issuing/transaction/client.go b/issuing/transaction/client.go index 945151f37b..a94adfb384 100644 --- a/issuing/transaction/client.go +++ b/issuing/transaction/client.go @@ -6,8 +6,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /issuing/transactions APIs. diff --git a/issuing/transaction/client_test.go b/issuing/transaction/client_test.go index 7f2b0ab0d0..0439ee23fe 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestIssuingTransactionGet(t *testing.T) { diff --git a/iter.go b/iter.go index 3b35d1f3bc..1dd69efb1d 100644 --- a/iter.go +++ b/iter.go @@ -3,7 +3,7 @@ package stripe import ( "reflect" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // diff --git a/iter_test.go b/iter_test.go index b1101eac8c..d8608c22cd 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/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestIterEmpty(t *testing.T) { diff --git a/lineitem/client.go b/lineitem/client.go index 7a5cc10b87..68cdb01507 100644 --- a/lineitem/client.go +++ b/lineitem/client.go @@ -2,7 +2,7 @@ package lineitem import ( - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Iter is an iterator for line items across various resources. diff --git a/loginlink/client.go b/loginlink/client.go index 7129077556..71eaf6b125 100644 --- a/loginlink/client.go +++ b/loginlink/client.go @@ -5,7 +5,7 @@ import ( "errors" "net/http" - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Client is used to invoke /login_links APIs. diff --git a/loginlink/client_test.go b/loginlink/client_test.go index 577be9be2b..58656b1258 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestLoginLinkNew(t *testing.T) { diff --git a/mandate/client.go b/mandate/client.go index cdc9c8fb4f..b3c6d9da1b 100644 --- a/mandate/client.go +++ b/mandate/client.go @@ -4,7 +4,7 @@ package mandate import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Client is used to invoke mandates APIs. diff --git a/mandate/client_test.go b/mandate/client_test.go index b430a82bf8..774f393731 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/v71/testing" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestMandateMethodGet(t *testing.T) { diff --git a/oauth/client.go b/oauth/client.go index 4d6f66df1e..e39111e909 100644 --- a/oauth/client.go +++ b/oauth/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /oauth and related APIs. diff --git a/oauth/client_test.go b/oauth/client_test.go index 13e766f559..fcb2283566 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestAuthorizeURL(t *testing.T) { diff --git a/order/client.go b/order/client.go index d1e1d74e1f..98fff7b3c3 100644 --- a/order/client.go +++ b/order/client.go @@ -3,8 +3,8 @@ package order import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /orders APIs. diff --git a/order/client_test.go b/order/client_test.go index 45442799a7..652f94a33c 100644 --- a/order/client_test.go +++ b/order/client_test.go @@ -8,8 +8,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestOrderGet(t *testing.T) { diff --git a/order_test.go b/order_test.go index 90016aad9f..3049379f0d 100644 --- a/order_test.go +++ b/order_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestOrder_UnmarshalJSON(t *testing.T) { diff --git a/orderreturn/client.go b/orderreturn/client.go index 46989393aa..55748f7f17 100644 --- a/orderreturn/client.go +++ b/orderreturn/client.go @@ -3,8 +3,8 @@ package orderreturn import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /orders APIs. diff --git a/orderreturn/client_test.go b/orderreturn/client_test.go index c9a74935fb..c3d3327f52 100644 --- a/orderreturn/client_test.go +++ b/orderreturn/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestOrderReturnGet(t *testing.T) { diff --git a/params.go b/params.go index 68f7e4d3ba..036860ba8c 100644 --- a/params.go +++ b/params.go @@ -9,7 +9,7 @@ import ( "net/url" "time" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // diff --git a/params_test.go b/params_test.go index 22e367d6df..264ce0ab26 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/v71" - "github.com/stripe/stripe-go/v71/form" - . "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" + . "github.com/stripe/stripe-go/v72/testing" ) func TestRangeQueryParamsAppendTo(t *testing.T) { diff --git a/paymentintent/client.go b/paymentintent/client.go index bed0e6533f..9278b15025 100644 --- a/paymentintent/client.go +++ b/paymentintent/client.go @@ -6,8 +6,8 @@ package paymentintent import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke APIs related to payment intents. diff --git a/paymentintent/client_test.go b/paymentintent/client_test.go index d9cafa243b..1d96250f12 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestPaymentIntentCancel(t *testing.T) { diff --git a/paymentmethod/client.go b/paymentmethod/client.go index 685cba6acd..3168348635 100644 --- a/paymentmethod/client.go +++ b/paymentmethod/client.go @@ -4,8 +4,8 @@ package paymentmethod import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke pms APIs. diff --git a/paymentmethod/client_test.go b/paymentmethod/client_test.go index f295e6f9f3..386d730e87 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestPaymentMethodAttach(t *testing.T) { diff --git a/paymentsource.go b/paymentsource.go index 6c2f72d635..a2341e0a2e 100644 --- a/paymentsource.go +++ b/paymentsource.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // PaymentSourceType consts represent valid payment sources. diff --git a/paymentsource/client.go b/paymentsource/client.go index c2d1faffdc..257528f81b 100644 --- a/paymentsource/client.go +++ b/paymentsource/client.go @@ -5,8 +5,8 @@ import ( "errors" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /sources APIs. diff --git a/paymentsource/client_test.go b/paymentsource/client_test.go index b917030ba0..a1f7421e43 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestSourceGet(t *testing.T) { diff --git a/paymentsource_test.go b/paymentsource_test.go index 0c10727939..0e67820ecc 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/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestSourceParams_AppendTo(t *testing.T) { diff --git a/payout/client.go b/payout/client.go index f29c9fdd81..ccfcbb62dc 100644 --- a/payout/client.go +++ b/payout/client.go @@ -4,8 +4,8 @@ package payout import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /payouts APIs. diff --git a/payout/client_test.go b/payout/client_test.go index 9507a2e1b2..baea875ae8 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestPayoutCancel(t *testing.T) { diff --git a/person/client.go b/person/client.go index 7fc4a7290d..0d96a19d24 100644 --- a/person/client.go +++ b/person/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /accounts/persons APIs. diff --git a/person/client_test.go b/person/client_test.go index 6ac505f38a..e4e95e520c 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestPersonDel(t *testing.T) { diff --git a/plan.go b/plan.go index 91e2f4f6d4..3fba38b50a 100644 --- a/plan.go +++ b/plan.go @@ -4,7 +4,7 @@ import ( "encoding/json" "strconv" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // PlanInterval is the list of allowed values for a plan's interval. diff --git a/plan/client.go b/plan/client.go index fb5e859a67..13348aeff3 100644 --- a/plan/client.go +++ b/plan/client.go @@ -4,8 +4,8 @@ package plan import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /plans APIs. diff --git a/plan/client_test.go b/plan/client_test.go index d0da39d76b..9058339a2d 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestPlanDel(t *testing.T) { diff --git a/plan_test.go b/plan_test.go index cbb0b7ee2c..587c3e0c05 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/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestPlan_Unmarshal(t *testing.T) { diff --git a/price.go b/price.go index 79ad26223f..532c9d5e8f 100644 --- a/price.go +++ b/price.go @@ -4,7 +4,7 @@ import ( "encoding/json" "strconv" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // PriceBillingScheme is the list of allowed values for a price's billing scheme. diff --git a/price/client.go b/price/client.go index bb7db83c03..710261c9d9 100644 --- a/price/client.go +++ b/price/client.go @@ -4,8 +4,8 @@ package price import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /prices APIs. diff --git a/price/client_test.go b/price/client_test.go index 3453ed0f9a..4cd0db367e 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestPriceGet(t *testing.T) { diff --git a/price_test.go b/price_test.go index 988317b8db..0481cf8ceb 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/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestPrice_Unmarshal(t *testing.T) { diff --git a/product/client.go b/product/client.go index 39632f3904..ce5e48de18 100644 --- a/product/client.go +++ b/product/client.go @@ -3,8 +3,8 @@ package product import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /products APIs. diff --git a/product/client_test.go b/product/client_test.go index 054396b007..8206af228a 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestProductDel(t *testing.T) { diff --git a/promotioncode/client.go b/promotioncode/client.go index 0ef75dd538..b15acf1241 100644 --- a/promotioncode/client.go +++ b/promotioncode/client.go @@ -4,8 +4,8 @@ package promotioncode import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /promotion_codes APIs. diff --git a/promotioncode/client_test.go b/promotioncode/client_test.go index 150e2730c9..6b8f3f5c87 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestPromotionCodeGet(t *testing.T) { diff --git a/radar/earlyfraudwarning/client.go b/radar/earlyfraudwarning/client.go index 9a9fee6bf1..a9e3f39297 100644 --- a/radar/earlyfraudwarning/client.go +++ b/radar/earlyfraudwarning/client.go @@ -7,8 +7,8 @@ package earlyfraudwarning import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to interact with the /radar/early_fraud_warnings API. diff --git a/radar/earlyfraudwarning/client_test.go b/radar/earlyfraudwarning/client_test.go index 4e81464ba3..0cb9f0b20b 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestRadarEarlyFraudWarningGet(t *testing.T) { diff --git a/radar/valuelist/client.go b/radar/valuelist/client.go index 2d592bd785..41567bc22e 100644 --- a/radar/valuelist/client.go +++ b/radar/valuelist/client.go @@ -6,8 +6,8 @@ package valuelist import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/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 a0f2aa1e4f..cf5017a383 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestRadarValueListDel(t *testing.T) { diff --git a/radar/valuelistitem/client.go b/radar/valuelistitem/client.go index 85a1d36c97..a376ddf01a 100644 --- a/radar/valuelistitem/client.go +++ b/radar/valuelistitem/client.go @@ -6,8 +6,8 @@ package valuelistitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/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 9d0b495f28..a617626853 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestRadarValueListItemDel(t *testing.T) { diff --git a/refund/client.go b/refund/client.go index 74e566364b..d7cf1747c3 100644 --- a/refund/client.go +++ b/refund/client.go @@ -4,8 +4,8 @@ package refund import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /refunds APIs. diff --git a/refund/client_test.go b/refund/client_test.go index 29bd971f22..fb5824a613 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestRefundGet(t *testing.T) { diff --git a/reporting/reportrun/client.go b/reporting/reportrun/client.go index 49e07c4fd8..d5f0360299 100644 --- a/reporting/reportrun/client.go +++ b/reporting/reportrun/client.go @@ -6,8 +6,8 @@ package reportrun import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/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 0591b8927f..d92bfef964 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestReportRunGet(t *testing.T) { diff --git a/reporting/reporttype/client.go b/reporting/reporttype/client.go index 7203fae618..ce8db89271 100644 --- a/reporting/reporttype/client.go +++ b/reporting/reporttype/client.go @@ -6,8 +6,8 @@ package reporttype import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/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 76565a882d..d98f6eb392 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestReportTestGet(t *testing.T) { diff --git a/reversal/client.go b/reversal/client.go index 17d22b2e33..3dee6f7aaa 100644 --- a/reversal/client.go +++ b/reversal/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /transfers/reversals APIs. diff --git a/reversal/client_test.go b/reversal/client_test.go index 43a60023da..72e5da8690 100644 --- a/reversal/client_test.go +++ b/reversal/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestReversalGet(t *testing.T) { diff --git a/review/client.go b/review/client.go index 6346b401f9..e28a5c342e 100644 --- a/review/client.go +++ b/review/client.go @@ -4,8 +4,8 @@ package review import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /reviews APIs. diff --git a/review/client_test.go b/review/client_test.go index dc637e5008..aab51ba564 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestReviewApprove(t *testing.T) { diff --git a/setupintent/client.go b/setupintent/client.go index 7a87fc8526..ca6b2edb24 100644 --- a/setupintent/client.go +++ b/setupintent/client.go @@ -6,8 +6,8 @@ package setupintent import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke APIs related to setup intents. diff --git a/setupintent/client_test.go b/setupintent/client_test.go index 5539806f4e..cafb742f7a 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestSetupIntentCancel(t *testing.T) { diff --git a/sigma/scheduledqueryrun/client.go b/sigma/scheduledqueryrun/client.go index adfbea7dbb..eddae0bc64 100644 --- a/sigma/scheduledqueryrun/client.go +++ b/sigma/scheduledqueryrun/client.go @@ -6,8 +6,8 @@ package scheduledqueryrun import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/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 15dbace276..7e2366156a 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestSigmaScheduledQueryRunGet(t *testing.T) { diff --git a/sku/client.go b/sku/client.go index 33eeaf2a59..f4a48150b6 100644 --- a/sku/client.go +++ b/sku/client.go @@ -3,8 +3,8 @@ package sku import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /skus APIs. diff --git a/sku/client_test.go b/sku/client_test.go index 9b8d223876..423255b3cc 100644 --- a/sku/client_test.go +++ b/sku/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestSKUDel(t *testing.T) { diff --git a/source.go b/source.go index 3ef88a4b29..0206424e94 100644 --- a/source.go +++ b/source.go @@ -3,7 +3,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // SourceCodeVerificationFlowStatus represents the possible statuses of a code verification flow. diff --git a/source/client.go b/source/client.go index 52a9aea15e..4deac2305d 100644 --- a/source/client.go +++ b/source/client.go @@ -4,7 +4,7 @@ import ( "errors" "net/http" - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Client is used to invoke /sources APIs. diff --git a/source/client_test.go b/source/client_test.go index dfd9faacfc..acc5e51797 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestSourceGet(t *testing.T) { diff --git a/source_test.go b/source_test.go index 51d4991f82..84ebdcfb91 100644 --- a/source_test.go +++ b/source_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestSourceObjectParams_AppendTo(t *testing.T) { diff --git a/sourcetransaction/client.go b/sourcetransaction/client.go index 3802433113..597a1aaf9f 100644 --- a/sourcetransaction/client.go +++ b/sourcetransaction/client.go @@ -5,8 +5,8 @@ import ( "errors" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /sources/:source_id/transactions APIs. diff --git a/sourcetransaction/client_test.go b/sourcetransaction/client_test.go index 272095172c..e513280087 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestSourceTransactionList(t *testing.T) { diff --git a/stripe.go b/stripe.go index ee72fb8c77..227fb88089 100644 --- a/stripe.go +++ b/stripe.go @@ -19,7 +19,7 @@ import ( "sync" "time" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // @@ -994,7 +994,7 @@ func StringSlice(v []string) []*string { const apiURL = "https://api.stripe.com" // clientversion is the binding version -const clientversion = "71.48.0" +const clientversion = "72.0.0" // defaultHTTPTimeout is the default timeout on the http.Client used by the library. // This is chosen to be consistent with the other Stripe language libraries and diff --git a/sub.go b/sub.go index dcc9cfca23..87b14c1683 100644 --- a/sub.go +++ b/sub.go @@ -3,7 +3,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // SubscriptionStatus is the list of allowed values for the subscription's status. diff --git a/sub/client.go b/sub/client.go index 25946a6d8c..4a2a7a7e60 100644 --- a/sub/client.go +++ b/sub/client.go @@ -4,8 +4,8 @@ package sub import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /subscriptions APIs. diff --git a/sub/client_test.go b/sub/client_test.go index 65595ea887..23792fcbf3 100644 --- a/sub/client_test.go +++ b/sub/client_test.go @@ -5,8 +5,8 @@ import ( "time" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestSubscriptionCancel(t *testing.T) { diff --git a/sub_test.go b/sub_test.go index e9823e4cca..e508ec6f5d 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/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestSubscriptionParams_AppendTo(t *testing.T) { diff --git a/subitem/client.go b/subitem/client.go index 8e4547ebe3..2863c57d84 100644 --- a/subitem/client.go +++ b/subitem/client.go @@ -4,8 +4,8 @@ package subitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /subscriptions APIs. diff --git a/subitem/client_test.go b/subitem/client_test.go index 33fc3d5a5a..8b43eaa156 100644 --- a/subitem/client_test.go +++ b/subitem/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestSubscriptionItemDel(t *testing.T) { diff --git a/subschedule.go b/subschedule.go index c8fec38395..506ee6f2c0 100644 --- a/subschedule.go +++ b/subschedule.go @@ -3,7 +3,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v71/form" + "github.com/stripe/stripe-go/v72/form" ) // SubscriptionScheduleEndBehavior describe what happens to a schedule when it ends. diff --git a/subschedule/client.go b/subschedule/client.go index e364a21e1b..8938e98b17 100644 --- a/subschedule/client.go +++ b/subschedule/client.go @@ -4,8 +4,8 @@ package subschedule import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /subscription_schedules APIs. diff --git a/subschedule/client_test.go b/subschedule/client_test.go index 1f7486367a..75f1ac340b 100644 --- a/subschedule/client_test.go +++ b/subschedule/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestSubscriptionScheduleCancel(t *testing.T) { diff --git a/subschedule_test.go b/subschedule_test.go index 438d324bea..175ec76cf4 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/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestSubscriptionScheduleParams_AppendTo(t *testing.T) { diff --git a/taxid/client.go b/taxid/client.go index 8401ba6acd..0c91311bc0 100644 --- a/taxid/client.go +++ b/taxid/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /tax_ids APIs. diff --git a/taxid/client_test.go b/taxid/client_test.go index d7eb327867..2396fdd634 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestTaxIDDel(t *testing.T) { diff --git a/taxrate/client.go b/taxrate/client.go index 4716470c2f..071686e0a7 100644 --- a/taxrate/client.go +++ b/taxrate/client.go @@ -4,8 +4,8 @@ package taxrate import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /tax_rates APIs. diff --git a/taxrate/client_test.go b/taxrate/client_test.go index c911b92317..81eb11bc87 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestTaxRateGet(t *testing.T) { diff --git a/terminal/connectiontoken/client.go b/terminal/connectiontoken/client.go index 5019a8fa60..e0403dc85c 100644 --- a/terminal/connectiontoken/client.go +++ b/terminal/connectiontoken/client.go @@ -4,7 +4,7 @@ package connectiontoken import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Client is used to invoke /terminal/connection_tokens APIs. diff --git a/terminal/connectiontoken/client_test.go b/terminal/connectiontoken/client_test.go index b6891e318f..435523385c 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestTerminalConnectionTokenNew(t *testing.T) { diff --git a/terminal/location/client.go b/terminal/location/client.go index 3029e6f551..10ab4ef46b 100644 --- a/terminal/location/client.go +++ b/terminal/location/client.go @@ -4,8 +4,8 @@ package location import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invokte /terminal/locations APIs diff --git a/terminal/location/client_test.go b/terminal/location/client_test.go index 6d14676485..a2944ee416 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestTerminalLocationDel(t *testing.T) { diff --git a/terminal/reader/client.go b/terminal/reader/client.go index 58101ecf04..697431c047 100644 --- a/terminal/reader/client.go +++ b/terminal/reader/client.go @@ -4,8 +4,8 @@ package reader import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /terminal/readers APIs. diff --git a/terminal/reader/client_test.go b/terminal/reader/client_test.go index d6b2ed292a..4ff8bc05ee 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestTerminalReaderDel(t *testing.T) { diff --git a/testing/testing.go b/testing/testing.go index 48c1b4c65b..b5aa1538a2 100644 --- a/testing/testing.go +++ b/testing/testing.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" "golang.org/x/net/http2" ) diff --git a/token/client.go b/token/client.go index d1c826165a..2c73cb67e8 100644 --- a/token/client.go +++ b/token/client.go @@ -4,7 +4,7 @@ package token import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Client is used to invoke /tokens APIs. diff --git a/token/client_test.go b/token/client_test.go index d21f0f2416..088e16cd80 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestTokenGet(t *testing.T) { diff --git a/topup/client.go b/topup/client.go index 1d6e1c517e..709b8fb4d8 100644 --- a/topup/client.go +++ b/topup/client.go @@ -3,8 +3,8 @@ package topup import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /topups APIs. diff --git a/topup/client_test.go b/topup/client_test.go index e4ed77cd59..86467008e8 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestTopupCancel(t *testing.T) { diff --git a/transfer/client.go b/transfer/client.go index 3416f2c330..8c8c5b7066 100644 --- a/transfer/client.go +++ b/transfer/client.go @@ -4,8 +4,8 @@ package transfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /transfers APIs. diff --git a/transfer/client_test.go b/transfer/client_test.go index 177ddc8681..771dd4265e 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestTransferGet(t *testing.T) { diff --git a/usagerecord/client.go b/usagerecord/client.go index cbb73f6174..76ad16d714 100644 --- a/usagerecord/client.go +++ b/usagerecord/client.go @@ -4,7 +4,7 @@ package usagerecord import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" + stripe "github.com/stripe/stripe-go/v72" ) // Client is used to invoke APIs related to usage records. diff --git a/usagerecord/client_test.go b/usagerecord/client_test.go index 8c295b5efd..63e5013e21 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestUsageRecordNew(t *testing.T) { diff --git a/usagerecord_test.go b/usagerecord_test.go index 92866d205c..941bb3db32 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/v71/form" + "github.com/stripe/stripe-go/v72/form" ) func TestUsageRecordParams_AppendTo(t *testing.T) { diff --git a/usagerecordsummary/client.go b/usagerecordsummary/client.go index 8a89164a4d..7335798052 100644 --- a/usagerecordsummary/client.go +++ b/usagerecordsummary/client.go @@ -4,8 +4,8 @@ package usagerecordsummary import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke APIs related to usage record summaries. diff --git a/usagerecordsummary/client_test.go b/usagerecordsummary/client_test.go index c505050bf3..e1ea84b850 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestUsageRecordSummaryList(t *testing.T) { diff --git a/webhook/client.go b/webhook/client.go index a6c8a82d48..7eb768fbb3 100644 --- a/webhook/client.go +++ b/webhook/client.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/stripe/stripe-go/v71" + "github.com/stripe/stripe-go/v72" ) // diff --git a/webhook/client_handler_test.go b/webhook/client_handler_test.go index 712378f5c8..247ced5755 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/v71/webhook" + "github.com/stripe/stripe-go/v72/webhook" ) func Example() { diff --git a/webhookendpoint/client.go b/webhookendpoint/client.go index ac431df55e..fdf9e2ba0d 100644 --- a/webhookendpoint/client.go +++ b/webhookendpoint/client.go @@ -4,8 +4,8 @@ package webhookendpoint import ( "net/http" - stripe "github.com/stripe/stripe-go/v71" - "github.com/stripe/stripe-go/v71/form" + stripe "github.com/stripe/stripe-go/v72" + "github.com/stripe/stripe-go/v72/form" ) // Client is used to invoke /webhook_endpoints APIs. diff --git a/webhookendpoint/client_test.go b/webhookendpoint/client_test.go index f09066847a..05a36839e6 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/v71" - _ "github.com/stripe/stripe-go/v71/testing" + stripe "github.com/stripe/stripe-go/v72" + _ "github.com/stripe/stripe-go/v72/testing" ) func TestWebhookEndpointDel(t *testing.T) {