diff --git a/CHANGELOG.md b/CHANGELOG.md index c6636e73cd..8f7247ff11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 80.0.0 - 2024-10-01 +* [#1926](https://github.com/stripe/stripe-go/pull/1926) Support for APIs in the new API version 2024-09-30.acacia + + This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-09-30.acacia) and carefully review the API changes before upgrading. + + ### ⚠️ Breaking changes + + * Rename `usage_threshold_config` to `usage_threshold` on `BillingAlertParams` and `BillingAlert` + * Remove support for `filter` on `BillingAlertParams` and `BillingAlert`. Use the filters on the `usage_threshold` instead + * Remove support for `CustomerConsentCollected` on `TerminalReaderProcessSetupIntentParams` + + + ### Additions + * Add support for `CustomUnitAmount` on `ProductDefaultPriceDataParams` + * Add support for `AllowRedisplay` on `TerminalReaderProcessPaymentIntentProcessConfigParams` and `TerminalReaderProcessSetupIntentParams` + * Add support for new value `international_transaction` on enum `TreasuryReceivedCreditFailureCode` + * Add method [RawRequest()](https://github.com/stripe/stripe-go/tree/master?tab=readme-ov-file#custom-requests) that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK. + ## 79.12.0 - 2024-09-18 * [#1919](https://github.com/stripe/stripe-go/pull/1919) Update generated code * Add support for new value `international_transaction` on enum `TreasuryReceivedDebitFailureCode` diff --git a/README.md b/README.md index 4bc55caf50..36a198f343 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Go Stripe -[![Go Reference](https://pkg.go.dev/badge/github.com/stripe/stripe-go)](https://pkg.go.dev/github.com/stripe/stripe-go/v79) +[![Go Reference](https://pkg.go.dev/badge/github.com/stripe/stripe-go)](https://pkg.go.dev/github.com/stripe/stripe-go/v80) [![Build Status](https://github.com/stripe/stripe-go/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/stripe/stripe-go/actions/workflows/ci.yml?query=branch%3Amaster) [![Coverage Status](https://coveralls.io/repos/github/stripe/stripe-go/badge.svg?branch=master)](https://coveralls.io/github/stripe/stripe-go?branch=master) @@ -23,8 +23,8 @@ Then, reference stripe-go in a Go program with `import`: ```go import ( - "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/customer" + "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/customer" ) ``` @@ -34,7 +34,7 @@ toolchain will resolve and fetch the stripe-go module automatically. Alternatively, you can also explicitly `go get` the package into a project: ```bash -go get -u github.com/stripe/stripe-go/v79 +go get -u github.com/stripe/stripe-go/v80 ``` ## Documentation @@ -123,8 +123,8 @@ To use a key, pass it to `API`'s `Init` function: ```go import ( - "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/client" + "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/client" ) stripe := &client.API{} @@ -145,8 +145,8 @@ import ( "google.golang.org/appengine" "google.golang.org/appengine/urlfetch" - "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/client" + "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/client" ) func handler(w http.ResponseWriter, r *http.Request) { @@ -180,8 +180,8 @@ client. ```go import ( - "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/$resource$" + "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/$resource$" ) // Setup @@ -221,8 +221,8 @@ individual key. ```go import ( - "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/client" + "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/client" ) // Setup @@ -293,8 +293,8 @@ with `MaxNetworkRetries`: ```go import ( - "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/client" + "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/client" ) config := &stripe.BackendConfig{ @@ -483,7 +483,7 @@ To mock a Stripe client for a unit tests using [GoMock](https://github.com/golan 1. Generate a `Backend` type mock. ``` -mockgen -destination=mocks/backend.go -package=mocks github.com/stripe/stripe-go/v79 Backend +mockgen -destination=mocks/backend.go -package=mocks github.com/stripe/stripe-go/v80 Backend ``` 2. Use the `Backend` mock to initialize and call methods on the client. @@ -496,8 +496,8 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" - "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/account" + "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/account" ) func UseMockedStripeClient(t *testing.T) { @@ -534,7 +534,7 @@ We would love for you to try these and share feedback with us before these featu To install a beta version of stripe-go use the commit notation of the `go get` command to point to a beta tag: ``` -go get -u github.com/stripe/stripe-go/v79@v77.1.0-beta.1 +go get -u github.com/stripe/stripe-go/v80@v77.1.0-beta.1 ``` > **Note** @@ -566,9 +566,9 @@ import ( "encoding/json" "fmt" - "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" - "github.com/stripe/stripe-go/v79/rawrequest" + "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v80/rawrequest" ) func make_raw_request() error { diff --git a/VERSION b/VERSION index 6e94e17a23..13379305d9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -79.12.0 +80.0.0 diff --git a/account.go b/account.go index edca7192ac..82aa837f20 100644 --- a/account.go +++ b/account.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) // The business type. After you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions), this property is only returned for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. diff --git a/account/client.go b/account/client.go index 633c33ccad..24464efbf3 100644 --- a/account/client.go +++ b/account/client.go @@ -10,8 +10,8 @@ package account import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /accounts APIs. diff --git a/account/client_test.go b/account/client_test.go index a17e8022c9..2060aead36 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestAccountDel(t *testing.T) { diff --git a/account_test.go b/account_test.go index 4c90482c24..4e7a661602 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/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestAccountExternalAccountParams_AppendTo(t *testing.T) { diff --git a/accountlink/client.go b/accountlink/client.go index f376e6fc56..4a1189ce7c 100644 --- a/accountlink/client.go +++ b/accountlink/client.go @@ -10,7 +10,7 @@ package accountlink import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /account_links APIs. diff --git a/accountlink/client_test.go b/accountlink/client_test.go index 0ece7cb544..2d9137a608 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestAccountLinkNew(t *testing.T) { diff --git a/accountsession/client.go b/accountsession/client.go index 8df9f4811d..031188efaf 100644 --- a/accountsession/client.go +++ b/accountsession/client.go @@ -10,7 +10,7 @@ package accountsession import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /account_sessions APIs. diff --git a/applepaydomain/client.go b/applepaydomain/client.go index 17c340f9c9..fece725979 100644 --- a/applepaydomain/client.go +++ b/applepaydomain/client.go @@ -10,8 +10,8 @@ package applepaydomain import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /apple_pay/domains APIs. diff --git a/applepaydomain/client_test.go b/applepaydomain/client_test.go index 3eb0124afa..f40c67fc1a 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestApplePayDomainDel(t *testing.T) { diff --git a/applicationfee/client.go b/applicationfee/client.go index e6e5e4cc84..a2361339c9 100644 --- a/applicationfee/client.go +++ b/applicationfee/client.go @@ -10,8 +10,8 @@ package applicationfee import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /application_fees APIs. diff --git a/applicationfee/client_test.go b/applicationfee/client_test.go index c383df6e3c..d69d308827 100644 --- a/applicationfee/client_test.go +++ b/applicationfee/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestApplicationFeeGet(t *testing.T) { diff --git a/apps/secret/client.go b/apps/secret/client.go index 2c0358c838..fbfab39a44 100644 --- a/apps/secret/client.go +++ b/apps/secret/client.go @@ -10,8 +10,8 @@ package secret import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /apps/secrets APIs. diff --git a/balance/client.go b/balance/client.go index bc54e12519..c0f7f9f67e 100644 --- a/balance/client.go +++ b/balance/client.go @@ -10,7 +10,7 @@ package balance import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /balance APIs. diff --git a/balance/client_test.go b/balance/client_test.go index 00e689304b..536db03f9b 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/v79/testing" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestBalanceGet(t *testing.T) { diff --git a/balancetransaction/client.go b/balancetransaction/client.go index cb49324665..c05c734aca 100644 --- a/balancetransaction/client.go +++ b/balancetransaction/client.go @@ -10,8 +10,8 @@ package balancetransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /balance_transactions APIs. diff --git a/balancetransaction/client_test.go b/balancetransaction/client_test.go index 9121a1a3ec..11bb7a348c 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestBalanceTransactionGet(t *testing.T) { diff --git a/bankaccount.go b/bankaccount.go index b5b7e2d45d..486c99f2b8 100644 --- a/bankaccount.go +++ b/bankaccount.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" "strconv" ) diff --git a/bankaccount/client.go b/bankaccount/client.go index 6ff77431e6..8b19dba3ca 100644 --- a/bankaccount/client.go +++ b/bankaccount/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke bankaccount related APIs. diff --git a/bankaccount/client_test.go b/bankaccount/client_test.go index 0ab008032c..e73493c931 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestBankAccountDel_ByAccount(t *testing.T) { diff --git a/bankaccount_test.go b/bankaccount_test.go index 3a512ba24b..2ec4e81e98 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/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestBankAccount_UnmarshalJSON(t *testing.T) { diff --git a/billing/alert/client.go b/billing/alert/client.go index f0fbddd826..1be3aa57a1 100644 --- a/billing/alert/client.go +++ b/billing/alert/client.go @@ -10,8 +10,8 @@ package alert import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /billing/alerts APIs. diff --git a/billing/creditbalancesummary/client.go b/billing/creditbalancesummary/client.go index 2e3c19b7d3..a35bd01e82 100644 --- a/billing/creditbalancesummary/client.go +++ b/billing/creditbalancesummary/client.go @@ -10,7 +10,7 @@ package creditbalancesummary import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /billing/credit_balance_summary APIs. diff --git a/billing/creditbalancetransaction/client.go b/billing/creditbalancetransaction/client.go index f778d8d455..d5978fb11f 100644 --- a/billing/creditbalancetransaction/client.go +++ b/billing/creditbalancetransaction/client.go @@ -10,8 +10,8 @@ package creditbalancetransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /billing/credit_balance_transactions APIs. diff --git a/billing/creditgrant/client.go b/billing/creditgrant/client.go index 93ae7603af..7caa455599 100644 --- a/billing/creditgrant/client.go +++ b/billing/creditgrant/client.go @@ -10,8 +10,8 @@ package creditgrant import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /billing/credit_grants APIs. diff --git a/billing/meter/client.go b/billing/meter/client.go index b6f588d86a..14c1daf7a2 100644 --- a/billing/meter/client.go +++ b/billing/meter/client.go @@ -10,8 +10,8 @@ package meter import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /billing/meters APIs. diff --git a/billing/meterevent/client.go b/billing/meterevent/client.go index 4013ef1eab..9fc450164c 100644 --- a/billing/meterevent/client.go +++ b/billing/meterevent/client.go @@ -10,7 +10,7 @@ package meterevent import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /billing/meter_events APIs. diff --git a/billing/metereventadjustment/client.go b/billing/metereventadjustment/client.go index 441117f363..e36040be06 100644 --- a/billing/metereventadjustment/client.go +++ b/billing/metereventadjustment/client.go @@ -10,7 +10,7 @@ package metereventadjustment import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /billing/meter_event_adjustments APIs. diff --git a/billing/metereventsummary/client.go b/billing/metereventsummary/client.go index 521f1c2a39..48ffc6929a 100644 --- a/billing/metereventsummary/client.go +++ b/billing/metereventsummary/client.go @@ -10,8 +10,8 @@ package metereventsummary import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /billing/meters/{id}/event_summaries APIs. diff --git a/billingportal/configuration/client.go b/billingportal/configuration/client.go index e38ba2d98f..67b3d06dde 100644 --- a/billingportal/configuration/client.go +++ b/billingportal/configuration/client.go @@ -10,8 +10,8 @@ package configuration import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /billing_portal/configurations APIs. diff --git a/billingportal/configuration/client_test.go b/billingportal/configuration/client_test.go index 0844ae4906..c4ba53f136 100644 --- a/billingportal/configuration/client_test.go +++ b/billingportal/configuration/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestBillingPortalConfigurationGet(t *testing.T) { diff --git a/billingportal/session/client.go b/billingportal/session/client.go index 7ce1a768de..061589fdec 100644 --- a/billingportal/session/client.go +++ b/billingportal/session/client.go @@ -10,7 +10,7 @@ package session import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /billing_portal/sessions APIs. diff --git a/billingportal/session/client_test.go b/billingportal/session/client_test.go index 5987947002..c8770c80f5 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestBillingPortalSessionNew(t *testing.T) { diff --git a/capability/client.go b/capability/client.go index f1b3cbcb1d..daaf6dc01f 100644 --- a/capability/client.go +++ b/capability/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /accounts/{account}/capabilities APIs. diff --git a/capability/client_test.go b/capability/client_test.go index a02267662b..8646eff257 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestCapabilityGet(t *testing.T) { diff --git a/card.go b/card.go index 008c94de12..9853f5b15d 100644 --- a/card.go +++ b/card.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" "strconv" ) diff --git a/card/client.go b/card/client.go index e663312cb7..418a9f499d 100644 --- a/card/client.go +++ b/card/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke card related APIs. diff --git a/card/client_test.go b/card/client_test.go index 86f114ae56..ba870e9c8f 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestCardDel(t *testing.T) { diff --git a/card_test.go b/card_test.go index b5931f75b2..383cf64b30 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/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestCardListParams_AppendTo(t *testing.T) { diff --git a/cashbalance/client.go b/cashbalance/client.go index 5a17c81d2d..d12b989175 100644 --- a/cashbalance/client.go +++ b/cashbalance/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /customers/{customer}/cash_balance APIs. diff --git a/charge/client.go b/charge/client.go index d7b91f3007..081640ed10 100644 --- a/charge/client.go +++ b/charge/client.go @@ -10,8 +10,8 @@ package charge import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /charges APIs. diff --git a/charge/client_test.go b/charge/client_test.go index c34e33dcc1..6ce1ae849c 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestChargeCapture(t *testing.T) { diff --git a/checkout/session/client.go b/checkout/session/client.go index ab5cd47b5b..7658e77423 100644 --- a/checkout/session/client.go +++ b/checkout/session/client.go @@ -10,8 +10,8 @@ package session import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /checkout/sessions APIs. diff --git a/checkout/session/client_test.go b/checkout/session/client_test.go index 09910cc50b..c6164e8d3f 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestCheckoutSessionGet(t *testing.T) { diff --git a/client/api.go b/client/api.go index 8f88fa8c06..cae18c77dd 100644 --- a/client/api.go +++ b/client/api.go @@ -8,143 +8,143 @@ package client import ( - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/account" - "github.com/stripe/stripe-go/v79/accountlink" - "github.com/stripe/stripe-go/v79/accountsession" - "github.com/stripe/stripe-go/v79/applepaydomain" - "github.com/stripe/stripe-go/v79/applicationfee" - appssecret "github.com/stripe/stripe-go/v79/apps/secret" - "github.com/stripe/stripe-go/v79/balance" - "github.com/stripe/stripe-go/v79/balancetransaction" - "github.com/stripe/stripe-go/v79/bankaccount" - billingalert "github.com/stripe/stripe-go/v79/billing/alert" - billingcreditbalancesummary "github.com/stripe/stripe-go/v79/billing/creditbalancesummary" - billingcreditbalancetransaction "github.com/stripe/stripe-go/v79/billing/creditbalancetransaction" - billingcreditgrant "github.com/stripe/stripe-go/v79/billing/creditgrant" - billingmeter "github.com/stripe/stripe-go/v79/billing/meter" - billingmeterevent "github.com/stripe/stripe-go/v79/billing/meterevent" - billingmetereventadjustment "github.com/stripe/stripe-go/v79/billing/metereventadjustment" - billingmetereventsummary "github.com/stripe/stripe-go/v79/billing/metereventsummary" - billingportalconfiguration "github.com/stripe/stripe-go/v79/billingportal/configuration" - billingportalsession "github.com/stripe/stripe-go/v79/billingportal/session" - "github.com/stripe/stripe-go/v79/capability" - "github.com/stripe/stripe-go/v79/card" - "github.com/stripe/stripe-go/v79/cashbalance" - "github.com/stripe/stripe-go/v79/charge" - checkoutsession "github.com/stripe/stripe-go/v79/checkout/session" - climateorder "github.com/stripe/stripe-go/v79/climate/order" - climateproduct "github.com/stripe/stripe-go/v79/climate/product" - climatesupplier "github.com/stripe/stripe-go/v79/climate/supplier" - "github.com/stripe/stripe-go/v79/confirmationtoken" - "github.com/stripe/stripe-go/v79/countryspec" - "github.com/stripe/stripe-go/v79/coupon" - "github.com/stripe/stripe-go/v79/creditnote" - "github.com/stripe/stripe-go/v79/customer" - "github.com/stripe/stripe-go/v79/customerbalancetransaction" - "github.com/stripe/stripe-go/v79/customercashbalancetransaction" - "github.com/stripe/stripe-go/v79/customersession" - "github.com/stripe/stripe-go/v79/dispute" - entitlementsactiveentitlement "github.com/stripe/stripe-go/v79/entitlements/activeentitlement" - entitlementsfeature "github.com/stripe/stripe-go/v79/entitlements/feature" - "github.com/stripe/stripe-go/v79/ephemeralkey" - "github.com/stripe/stripe-go/v79/event" - "github.com/stripe/stripe-go/v79/feerefund" - "github.com/stripe/stripe-go/v79/file" - "github.com/stripe/stripe-go/v79/filelink" - financialconnectionsaccount "github.com/stripe/stripe-go/v79/financialconnections/account" - financialconnectionssession "github.com/stripe/stripe-go/v79/financialconnections/session" - financialconnectionstransaction "github.com/stripe/stripe-go/v79/financialconnections/transaction" - forwardingrequest "github.com/stripe/stripe-go/v79/forwarding/request" - identityverificationreport "github.com/stripe/stripe-go/v79/identity/verificationreport" - identityverificationsession "github.com/stripe/stripe-go/v79/identity/verificationsession" - "github.com/stripe/stripe-go/v79/invoice" - "github.com/stripe/stripe-go/v79/invoiceitem" - "github.com/stripe/stripe-go/v79/invoicelineitem" - "github.com/stripe/stripe-go/v79/invoicerenderingtemplate" - issuingauthorization "github.com/stripe/stripe-go/v79/issuing/authorization" - issuingcard "github.com/stripe/stripe-go/v79/issuing/card" - issuingcardholder "github.com/stripe/stripe-go/v79/issuing/cardholder" - issuingdispute "github.com/stripe/stripe-go/v79/issuing/dispute" - issuingpersonalizationdesign "github.com/stripe/stripe-go/v79/issuing/personalizationdesign" - issuingphysicalbundle "github.com/stripe/stripe-go/v79/issuing/physicalbundle" - issuingtoken "github.com/stripe/stripe-go/v79/issuing/token" - issuingtransaction "github.com/stripe/stripe-go/v79/issuing/transaction" - "github.com/stripe/stripe-go/v79/loginlink" - "github.com/stripe/stripe-go/v79/mandate" - "github.com/stripe/stripe-go/v79/oauth" - "github.com/stripe/stripe-go/v79/paymentintent" - "github.com/stripe/stripe-go/v79/paymentlink" - "github.com/stripe/stripe-go/v79/paymentmethod" - "github.com/stripe/stripe-go/v79/paymentmethodconfiguration" - "github.com/stripe/stripe-go/v79/paymentmethoddomain" - "github.com/stripe/stripe-go/v79/paymentsource" - "github.com/stripe/stripe-go/v79/payout" - "github.com/stripe/stripe-go/v79/person" - "github.com/stripe/stripe-go/v79/plan" - "github.com/stripe/stripe-go/v79/price" - "github.com/stripe/stripe-go/v79/product" - "github.com/stripe/stripe-go/v79/productfeature" - "github.com/stripe/stripe-go/v79/promotioncode" - "github.com/stripe/stripe-go/v79/quote" - radarearlyfraudwarning "github.com/stripe/stripe-go/v79/radar/earlyfraudwarning" - radarvaluelist "github.com/stripe/stripe-go/v79/radar/valuelist" - radarvaluelistitem "github.com/stripe/stripe-go/v79/radar/valuelistitem" - "github.com/stripe/stripe-go/v79/refund" - reportingreportrun "github.com/stripe/stripe-go/v79/reporting/reportrun" - reportingreporttype "github.com/stripe/stripe-go/v79/reporting/reporttype" - "github.com/stripe/stripe-go/v79/review" - "github.com/stripe/stripe-go/v79/setupattempt" - "github.com/stripe/stripe-go/v79/setupintent" - "github.com/stripe/stripe-go/v79/shippingrate" - sigmascheduledqueryrun "github.com/stripe/stripe-go/v79/sigma/scheduledqueryrun" - "github.com/stripe/stripe-go/v79/source" - "github.com/stripe/stripe-go/v79/sourcetransaction" - "github.com/stripe/stripe-go/v79/subscription" - "github.com/stripe/stripe-go/v79/subscriptionitem" - "github.com/stripe/stripe-go/v79/subscriptionschedule" - taxcalculation "github.com/stripe/stripe-go/v79/tax/calculation" - taxregistration "github.com/stripe/stripe-go/v79/tax/registration" - taxsettings "github.com/stripe/stripe-go/v79/tax/settings" - taxtransaction "github.com/stripe/stripe-go/v79/tax/transaction" - "github.com/stripe/stripe-go/v79/taxcode" - "github.com/stripe/stripe-go/v79/taxid" - "github.com/stripe/stripe-go/v79/taxrate" - terminalconfiguration "github.com/stripe/stripe-go/v79/terminal/configuration" - terminalconnectiontoken "github.com/stripe/stripe-go/v79/terminal/connectiontoken" - terminallocation "github.com/stripe/stripe-go/v79/terminal/location" - terminalreader "github.com/stripe/stripe-go/v79/terminal/reader" - testhelpersconfirmationtoken "github.com/stripe/stripe-go/v79/testhelpers/confirmationtoken" - testhelperscustomer "github.com/stripe/stripe-go/v79/testhelpers/customer" - testhelpersissuingauthorization "github.com/stripe/stripe-go/v79/testhelpers/issuing/authorization" - testhelpersissuingcard "github.com/stripe/stripe-go/v79/testhelpers/issuing/card" - testhelpersissuingpersonalizationdesign "github.com/stripe/stripe-go/v79/testhelpers/issuing/personalizationdesign" - testhelpersissuingtransaction "github.com/stripe/stripe-go/v79/testhelpers/issuing/transaction" - testhelpersrefund "github.com/stripe/stripe-go/v79/testhelpers/refund" - testhelpersterminalreader "github.com/stripe/stripe-go/v79/testhelpers/terminal/reader" - testhelperstestclock "github.com/stripe/stripe-go/v79/testhelpers/testclock" - testhelperstreasuryinboundtransfer "github.com/stripe/stripe-go/v79/testhelpers/treasury/inboundtransfer" - testhelperstreasuryoutboundpayment "github.com/stripe/stripe-go/v79/testhelpers/treasury/outboundpayment" - testhelperstreasuryoutboundtransfer "github.com/stripe/stripe-go/v79/testhelpers/treasury/outboundtransfer" - testhelperstreasuryreceivedcredit "github.com/stripe/stripe-go/v79/testhelpers/treasury/receivedcredit" - testhelperstreasuryreceiveddebit "github.com/stripe/stripe-go/v79/testhelpers/treasury/receiveddebit" - "github.com/stripe/stripe-go/v79/token" - "github.com/stripe/stripe-go/v79/topup" - "github.com/stripe/stripe-go/v79/transfer" - "github.com/stripe/stripe-go/v79/transferreversal" - treasurycreditreversal "github.com/stripe/stripe-go/v79/treasury/creditreversal" - treasurydebitreversal "github.com/stripe/stripe-go/v79/treasury/debitreversal" - treasuryfinancialaccount "github.com/stripe/stripe-go/v79/treasury/financialaccount" - treasuryinboundtransfer "github.com/stripe/stripe-go/v79/treasury/inboundtransfer" - treasuryoutboundpayment "github.com/stripe/stripe-go/v79/treasury/outboundpayment" - treasuryoutboundtransfer "github.com/stripe/stripe-go/v79/treasury/outboundtransfer" - treasuryreceivedcredit "github.com/stripe/stripe-go/v79/treasury/receivedcredit" - treasuryreceiveddebit "github.com/stripe/stripe-go/v79/treasury/receiveddebit" - treasurytransaction "github.com/stripe/stripe-go/v79/treasury/transaction" - treasurytransactionentry "github.com/stripe/stripe-go/v79/treasury/transactionentry" - "github.com/stripe/stripe-go/v79/usagerecord" - "github.com/stripe/stripe-go/v79/usagerecordsummary" - "github.com/stripe/stripe-go/v79/webhookendpoint" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/account" + "github.com/stripe/stripe-go/v80/accountlink" + "github.com/stripe/stripe-go/v80/accountsession" + "github.com/stripe/stripe-go/v80/applepaydomain" + "github.com/stripe/stripe-go/v80/applicationfee" + appssecret "github.com/stripe/stripe-go/v80/apps/secret" + "github.com/stripe/stripe-go/v80/balance" + "github.com/stripe/stripe-go/v80/balancetransaction" + "github.com/stripe/stripe-go/v80/bankaccount" + billingalert "github.com/stripe/stripe-go/v80/billing/alert" + billingcreditbalancesummary "github.com/stripe/stripe-go/v80/billing/creditbalancesummary" + billingcreditbalancetransaction "github.com/stripe/stripe-go/v80/billing/creditbalancetransaction" + billingcreditgrant "github.com/stripe/stripe-go/v80/billing/creditgrant" + billingmeter "github.com/stripe/stripe-go/v80/billing/meter" + billingmeterevent "github.com/stripe/stripe-go/v80/billing/meterevent" + billingmetereventadjustment "github.com/stripe/stripe-go/v80/billing/metereventadjustment" + billingmetereventsummary "github.com/stripe/stripe-go/v80/billing/metereventsummary" + billingportalconfiguration "github.com/stripe/stripe-go/v80/billingportal/configuration" + billingportalsession "github.com/stripe/stripe-go/v80/billingportal/session" + "github.com/stripe/stripe-go/v80/capability" + "github.com/stripe/stripe-go/v80/card" + "github.com/stripe/stripe-go/v80/cashbalance" + "github.com/stripe/stripe-go/v80/charge" + checkoutsession "github.com/stripe/stripe-go/v80/checkout/session" + climateorder "github.com/stripe/stripe-go/v80/climate/order" + climateproduct "github.com/stripe/stripe-go/v80/climate/product" + climatesupplier "github.com/stripe/stripe-go/v80/climate/supplier" + "github.com/stripe/stripe-go/v80/confirmationtoken" + "github.com/stripe/stripe-go/v80/countryspec" + "github.com/stripe/stripe-go/v80/coupon" + "github.com/stripe/stripe-go/v80/creditnote" + "github.com/stripe/stripe-go/v80/customer" + "github.com/stripe/stripe-go/v80/customerbalancetransaction" + "github.com/stripe/stripe-go/v80/customercashbalancetransaction" + "github.com/stripe/stripe-go/v80/customersession" + "github.com/stripe/stripe-go/v80/dispute" + entitlementsactiveentitlement "github.com/stripe/stripe-go/v80/entitlements/activeentitlement" + entitlementsfeature "github.com/stripe/stripe-go/v80/entitlements/feature" + "github.com/stripe/stripe-go/v80/ephemeralkey" + "github.com/stripe/stripe-go/v80/event" + "github.com/stripe/stripe-go/v80/feerefund" + "github.com/stripe/stripe-go/v80/file" + "github.com/stripe/stripe-go/v80/filelink" + financialconnectionsaccount "github.com/stripe/stripe-go/v80/financialconnections/account" + financialconnectionssession "github.com/stripe/stripe-go/v80/financialconnections/session" + financialconnectionstransaction "github.com/stripe/stripe-go/v80/financialconnections/transaction" + forwardingrequest "github.com/stripe/stripe-go/v80/forwarding/request" + identityverificationreport "github.com/stripe/stripe-go/v80/identity/verificationreport" + identityverificationsession "github.com/stripe/stripe-go/v80/identity/verificationsession" + "github.com/stripe/stripe-go/v80/invoice" + "github.com/stripe/stripe-go/v80/invoiceitem" + "github.com/stripe/stripe-go/v80/invoicelineitem" + "github.com/stripe/stripe-go/v80/invoicerenderingtemplate" + issuingauthorization "github.com/stripe/stripe-go/v80/issuing/authorization" + issuingcard "github.com/stripe/stripe-go/v80/issuing/card" + issuingcardholder "github.com/stripe/stripe-go/v80/issuing/cardholder" + issuingdispute "github.com/stripe/stripe-go/v80/issuing/dispute" + issuingpersonalizationdesign "github.com/stripe/stripe-go/v80/issuing/personalizationdesign" + issuingphysicalbundle "github.com/stripe/stripe-go/v80/issuing/physicalbundle" + issuingtoken "github.com/stripe/stripe-go/v80/issuing/token" + issuingtransaction "github.com/stripe/stripe-go/v80/issuing/transaction" + "github.com/stripe/stripe-go/v80/loginlink" + "github.com/stripe/stripe-go/v80/mandate" + "github.com/stripe/stripe-go/v80/oauth" + "github.com/stripe/stripe-go/v80/paymentintent" + "github.com/stripe/stripe-go/v80/paymentlink" + "github.com/stripe/stripe-go/v80/paymentmethod" + "github.com/stripe/stripe-go/v80/paymentmethodconfiguration" + "github.com/stripe/stripe-go/v80/paymentmethoddomain" + "github.com/stripe/stripe-go/v80/paymentsource" + "github.com/stripe/stripe-go/v80/payout" + "github.com/stripe/stripe-go/v80/person" + "github.com/stripe/stripe-go/v80/plan" + "github.com/stripe/stripe-go/v80/price" + "github.com/stripe/stripe-go/v80/product" + "github.com/stripe/stripe-go/v80/productfeature" + "github.com/stripe/stripe-go/v80/promotioncode" + "github.com/stripe/stripe-go/v80/quote" + radarearlyfraudwarning "github.com/stripe/stripe-go/v80/radar/earlyfraudwarning" + radarvaluelist "github.com/stripe/stripe-go/v80/radar/valuelist" + radarvaluelistitem "github.com/stripe/stripe-go/v80/radar/valuelistitem" + "github.com/stripe/stripe-go/v80/refund" + reportingreportrun "github.com/stripe/stripe-go/v80/reporting/reportrun" + reportingreporttype "github.com/stripe/stripe-go/v80/reporting/reporttype" + "github.com/stripe/stripe-go/v80/review" + "github.com/stripe/stripe-go/v80/setupattempt" + "github.com/stripe/stripe-go/v80/setupintent" + "github.com/stripe/stripe-go/v80/shippingrate" + sigmascheduledqueryrun "github.com/stripe/stripe-go/v80/sigma/scheduledqueryrun" + "github.com/stripe/stripe-go/v80/source" + "github.com/stripe/stripe-go/v80/sourcetransaction" + "github.com/stripe/stripe-go/v80/subscription" + "github.com/stripe/stripe-go/v80/subscriptionitem" + "github.com/stripe/stripe-go/v80/subscriptionschedule" + taxcalculation "github.com/stripe/stripe-go/v80/tax/calculation" + taxregistration "github.com/stripe/stripe-go/v80/tax/registration" + taxsettings "github.com/stripe/stripe-go/v80/tax/settings" + taxtransaction "github.com/stripe/stripe-go/v80/tax/transaction" + "github.com/stripe/stripe-go/v80/taxcode" + "github.com/stripe/stripe-go/v80/taxid" + "github.com/stripe/stripe-go/v80/taxrate" + terminalconfiguration "github.com/stripe/stripe-go/v80/terminal/configuration" + terminalconnectiontoken "github.com/stripe/stripe-go/v80/terminal/connectiontoken" + terminallocation "github.com/stripe/stripe-go/v80/terminal/location" + terminalreader "github.com/stripe/stripe-go/v80/terminal/reader" + testhelpersconfirmationtoken "github.com/stripe/stripe-go/v80/testhelpers/confirmationtoken" + testhelperscustomer "github.com/stripe/stripe-go/v80/testhelpers/customer" + testhelpersissuingauthorization "github.com/stripe/stripe-go/v80/testhelpers/issuing/authorization" + testhelpersissuingcard "github.com/stripe/stripe-go/v80/testhelpers/issuing/card" + testhelpersissuingpersonalizationdesign "github.com/stripe/stripe-go/v80/testhelpers/issuing/personalizationdesign" + testhelpersissuingtransaction "github.com/stripe/stripe-go/v80/testhelpers/issuing/transaction" + testhelpersrefund "github.com/stripe/stripe-go/v80/testhelpers/refund" + testhelpersterminalreader "github.com/stripe/stripe-go/v80/testhelpers/terminal/reader" + testhelperstestclock "github.com/stripe/stripe-go/v80/testhelpers/testclock" + testhelperstreasuryinboundtransfer "github.com/stripe/stripe-go/v80/testhelpers/treasury/inboundtransfer" + testhelperstreasuryoutboundpayment "github.com/stripe/stripe-go/v80/testhelpers/treasury/outboundpayment" + testhelperstreasuryoutboundtransfer "github.com/stripe/stripe-go/v80/testhelpers/treasury/outboundtransfer" + testhelperstreasuryreceivedcredit "github.com/stripe/stripe-go/v80/testhelpers/treasury/receivedcredit" + testhelperstreasuryreceiveddebit "github.com/stripe/stripe-go/v80/testhelpers/treasury/receiveddebit" + "github.com/stripe/stripe-go/v80/token" + "github.com/stripe/stripe-go/v80/topup" + "github.com/stripe/stripe-go/v80/transfer" + "github.com/stripe/stripe-go/v80/transferreversal" + treasurycreditreversal "github.com/stripe/stripe-go/v80/treasury/creditreversal" + treasurydebitreversal "github.com/stripe/stripe-go/v80/treasury/debitreversal" + treasuryfinancialaccount "github.com/stripe/stripe-go/v80/treasury/financialaccount" + treasuryinboundtransfer "github.com/stripe/stripe-go/v80/treasury/inboundtransfer" + treasuryoutboundpayment "github.com/stripe/stripe-go/v80/treasury/outboundpayment" + treasuryoutboundtransfer "github.com/stripe/stripe-go/v80/treasury/outboundtransfer" + treasuryreceivedcredit "github.com/stripe/stripe-go/v80/treasury/receivedcredit" + treasuryreceiveddebit "github.com/stripe/stripe-go/v80/treasury/receiveddebit" + treasurytransaction "github.com/stripe/stripe-go/v80/treasury/transaction" + treasurytransactionentry "github.com/stripe/stripe-go/v80/treasury/transactionentry" + "github.com/stripe/stripe-go/v80/usagerecord" + "github.com/stripe/stripe-go/v80/usagerecordsummary" + "github.com/stripe/stripe-go/v80/webhookendpoint" ) // API is the Stripe client. It contains all the different resources available. diff --git a/climate/order/client.go b/climate/order/client.go index 3e98c48b44..8239eb7783 100644 --- a/climate/order/client.go +++ b/climate/order/client.go @@ -10,8 +10,8 @@ package order import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /climate/orders APIs. diff --git a/climate/product/client.go b/climate/product/client.go index a63968914d..0e525e9787 100644 --- a/climate/product/client.go +++ b/climate/product/client.go @@ -10,8 +10,8 @@ package product import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /climate/products APIs. diff --git a/climate/supplier/client.go b/climate/supplier/client.go index 40d2e8b151..a8bc34d3b1 100644 --- a/climate/supplier/client.go +++ b/climate/supplier/client.go @@ -10,8 +10,8 @@ package supplier import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /climate/suppliers APIs. diff --git a/confirmationtoken/client.go b/confirmationtoken/client.go index 688c1c38b0..89bcea3184 100644 --- a/confirmationtoken/client.go +++ b/confirmationtoken/client.go @@ -10,7 +10,7 @@ package confirmationtoken import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /confirmation_tokens APIs. diff --git a/countryspec/client.go b/countryspec/client.go index b27f206e15..5c383188b7 100644 --- a/countryspec/client.go +++ b/countryspec/client.go @@ -10,8 +10,8 @@ package countryspec import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /country_specs APIs. diff --git a/countryspec/client_test.go b/countryspec/client_test.go index fed8e870df..91e089ae1b 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestCountrySpecGet(t *testing.T) { diff --git a/coupon/client.go b/coupon/client.go index 2917790942..4c4b0ca840 100644 --- a/coupon/client.go +++ b/coupon/client.go @@ -10,8 +10,8 @@ package coupon import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /coupons APIs. diff --git a/coupon/client_test.go b/coupon/client_test.go index b857001905..e180d6ef36 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestCouponDel(t *testing.T) { diff --git a/creditnote/client.go b/creditnote/client.go index ef94cfbf13..1b214d430b 100644 --- a/creditnote/client.go +++ b/creditnote/client.go @@ -10,8 +10,8 @@ package creditnote import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /credit_notes APIs. diff --git a/creditnote/client_test.go b/creditnote/client_test.go index 8ae4fedb4f..8ee1a87f0b 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestCreditNoteGet(t *testing.T) { diff --git a/customer/client.go b/customer/client.go index b1f6a74eb9..e3d207bc50 100644 --- a/customer/client.go +++ b/customer/client.go @@ -10,8 +10,8 @@ package customer import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /customers APIs. diff --git a/customer/client_test.go b/customer/client_test.go index fadd85da25..bba4ab448d 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestCustomerDel(t *testing.T) { diff --git a/customerbalancetransaction/client.go b/customerbalancetransaction/client.go index 0d24cee545..19af671d8b 100644 --- a/customerbalancetransaction/client.go +++ b/customerbalancetransaction/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /customers/{customer}/balance_transactions APIs. diff --git a/customerbalancetransaction/client_test.go b/customerbalancetransaction/client_test.go index 86d4d487c1..08bb76e4ce 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestCustomerBalanceTransactionGet(t *testing.T) { diff --git a/customercashbalancetransaction/client.go b/customercashbalancetransaction/client.go index 218095c187..16966a2f06 100644 --- a/customercashbalancetransaction/client.go +++ b/customercashbalancetransaction/client.go @@ -10,8 +10,8 @@ package customercashbalancetransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /customers/{customer}/cash_balance_transactions APIs. diff --git a/customersession/client.go b/customersession/client.go index 8a152a5a74..deb6cf9b23 100644 --- a/customersession/client.go +++ b/customersession/client.go @@ -10,7 +10,7 @@ package customersession import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /customer_sessions APIs. diff --git a/dispute/client.go b/dispute/client.go index 665c48799d..0f9181ddf1 100644 --- a/dispute/client.go +++ b/dispute/client.go @@ -10,8 +10,8 @@ package dispute import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /disputes APIs. diff --git a/dispute/client_test.go b/dispute/client_test.go index ea12777c8c..fc7e04567f 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestDisputeClose(t *testing.T) { diff --git a/entitlements/activeentitlement/client.go b/entitlements/activeentitlement/client.go index c41ac56fb1..91a929e25c 100644 --- a/entitlements/activeentitlement/client.go +++ b/entitlements/activeentitlement/client.go @@ -10,8 +10,8 @@ package activeentitlement import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /entitlements/active_entitlements APIs. diff --git a/entitlements/feature/client.go b/entitlements/feature/client.go index cb040d2a15..1771f27f19 100644 --- a/entitlements/feature/client.go +++ b/entitlements/feature/client.go @@ -10,8 +10,8 @@ package feature import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /entitlements/features APIs. diff --git a/ephemeralkey/client.go b/ephemeralkey/client.go index 906152a9fc..9353b438aa 100644 --- a/ephemeralkey/client.go +++ b/ephemeralkey/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /ephemeral_keys APIs. diff --git a/ephemeralkey/client_test.go b/ephemeralkey/client_test.go index 9986b34b88..776a3608a6 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestEphemeralKeyDel(t *testing.T) { diff --git a/event/client.go b/event/client.go index d10e18cbae..2258531fa5 100644 --- a/event/client.go +++ b/event/client.go @@ -10,8 +10,8 @@ package event import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /events APIs. diff --git a/event/client_test.go b/event/client_test.go index ebb9e2d716..985cd9a340 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestEventGet(t *testing.T) { diff --git a/example/deserialization_test.go b/example/deserialization_test.go index eb19c0e4f0..a46367e74f 100644 --- a/example/deserialization_test.go +++ b/example/deserialization_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) type APIResource = stripe.APIResource diff --git a/example/generated_examples_test.go b/example/generated_examples_test.go index 81af6ce890..deddc128af 100644 --- a/example/generated_examples_test.go +++ b/example/generated_examples_test.go @@ -10,109 +10,109 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - account "github.com/stripe/stripe-go/v79/account" - accountlink "github.com/stripe/stripe-go/v79/accountlink" - applicationfee "github.com/stripe/stripe-go/v79/applicationfee" - apps_secret "github.com/stripe/stripe-go/v79/apps/secret" - balancetransaction "github.com/stripe/stripe-go/v79/balancetransaction" - billingportal_configuration "github.com/stripe/stripe-go/v79/billingportal/configuration" - billingportal_session "github.com/stripe/stripe-go/v79/billingportal/session" - capability "github.com/stripe/stripe-go/v79/capability" - card "github.com/stripe/stripe-go/v79/card" - cashbalance "github.com/stripe/stripe-go/v79/cashbalance" - charge "github.com/stripe/stripe-go/v79/charge" - checkout_session "github.com/stripe/stripe-go/v79/checkout/session" - countryspec "github.com/stripe/stripe-go/v79/countryspec" - coupon "github.com/stripe/stripe-go/v79/coupon" - customer "github.com/stripe/stripe-go/v79/customer" - customerbalancetransaction "github.com/stripe/stripe-go/v79/customerbalancetransaction" - customercashbalancetransaction "github.com/stripe/stripe-go/v79/customercashbalancetransaction" - customersession "github.com/stripe/stripe-go/v79/customersession" - dispute "github.com/stripe/stripe-go/v79/dispute" - event "github.com/stripe/stripe-go/v79/event" - feerefund "github.com/stripe/stripe-go/v79/feerefund" - financialconnections_account "github.com/stripe/stripe-go/v79/financialconnections/account" - financialconnections_session "github.com/stripe/stripe-go/v79/financialconnections/session" - financialconnections_transaction "github.com/stripe/stripe-go/v79/financialconnections/transaction" - identity_verificationreport "github.com/stripe/stripe-go/v79/identity/verificationreport" - identity_verificationsession "github.com/stripe/stripe-go/v79/identity/verificationsession" - invoice "github.com/stripe/stripe-go/v79/invoice" - invoiceitem "github.com/stripe/stripe-go/v79/invoiceitem" - issuing_authorization "github.com/stripe/stripe-go/v79/issuing/authorization" - issuing_card "github.com/stripe/stripe-go/v79/issuing/card" - issuing_cardholder "github.com/stripe/stripe-go/v79/issuing/cardholder" - issuing_dispute "github.com/stripe/stripe-go/v79/issuing/dispute" - issuing_personalizationdesign "github.com/stripe/stripe-go/v79/issuing/personalizationdesign" - issuing_physicalbundle "github.com/stripe/stripe-go/v79/issuing/physicalbundle" - issuing_transaction "github.com/stripe/stripe-go/v79/issuing/transaction" - loginlink "github.com/stripe/stripe-go/v79/loginlink" - mandate "github.com/stripe/stripe-go/v79/mandate" - paymentintent "github.com/stripe/stripe-go/v79/paymentintent" - paymentlink "github.com/stripe/stripe-go/v79/paymentlink" - paymentmethod "github.com/stripe/stripe-go/v79/paymentmethod" - paymentmethodconfiguration "github.com/stripe/stripe-go/v79/paymentmethodconfiguration" - paymentsource "github.com/stripe/stripe-go/v79/paymentsource" - payout "github.com/stripe/stripe-go/v79/payout" - person "github.com/stripe/stripe-go/v79/person" - plan "github.com/stripe/stripe-go/v79/plan" - price "github.com/stripe/stripe-go/v79/price" - product "github.com/stripe/stripe-go/v79/product" - promotioncode "github.com/stripe/stripe-go/v79/promotioncode" - quote "github.com/stripe/stripe-go/v79/quote" - radar_earlyfraudwarning "github.com/stripe/stripe-go/v79/radar/earlyfraudwarning" - radar_valuelist "github.com/stripe/stripe-go/v79/radar/valuelist" - radar_valuelistitem "github.com/stripe/stripe-go/v79/radar/valuelistitem" - refund "github.com/stripe/stripe-go/v79/refund" - reporting_reportrun "github.com/stripe/stripe-go/v79/reporting/reportrun" - reporting_reporttype "github.com/stripe/stripe-go/v79/reporting/reporttype" - review "github.com/stripe/stripe-go/v79/review" - setupattempt "github.com/stripe/stripe-go/v79/setupattempt" - setupintent "github.com/stripe/stripe-go/v79/setupintent" - shippingrate "github.com/stripe/stripe-go/v79/shippingrate" - sigma_scheduledqueryrun "github.com/stripe/stripe-go/v79/sigma/scheduledqueryrun" - source "github.com/stripe/stripe-go/v79/source" - subscription "github.com/stripe/stripe-go/v79/subscription" - subscriptionitem "github.com/stripe/stripe-go/v79/subscriptionitem" - subscriptionschedule "github.com/stripe/stripe-go/v79/subscriptionschedule" - tax_calculation "github.com/stripe/stripe-go/v79/tax/calculation" - tax_settings "github.com/stripe/stripe-go/v79/tax/settings" - tax_transaction "github.com/stripe/stripe-go/v79/tax/transaction" - taxcode "github.com/stripe/stripe-go/v79/taxcode" - taxid "github.com/stripe/stripe-go/v79/taxid" - taxrate "github.com/stripe/stripe-go/v79/taxrate" - terminal_configuration "github.com/stripe/stripe-go/v79/terminal/configuration" - terminal_connectiontoken "github.com/stripe/stripe-go/v79/terminal/connectiontoken" - terminal_location "github.com/stripe/stripe-go/v79/terminal/location" - terminal_reader "github.com/stripe/stripe-go/v79/terminal/reader" - testhelpers_customer "github.com/stripe/stripe-go/v79/testhelpers/customer" - testhelpers_issuing_authorization "github.com/stripe/stripe-go/v79/testhelpers/issuing/authorization" - testhelpers_issuing_card "github.com/stripe/stripe-go/v79/testhelpers/issuing/card" - testhelpers_issuing_personalizationdesign "github.com/stripe/stripe-go/v79/testhelpers/issuing/personalizationdesign" - testhelpers_issuing_transaction "github.com/stripe/stripe-go/v79/testhelpers/issuing/transaction" - testhelpers_refund "github.com/stripe/stripe-go/v79/testhelpers/refund" - testhelpers_testclock "github.com/stripe/stripe-go/v79/testhelpers/testclock" - testhelpers_treasury_inboundtransfer "github.com/stripe/stripe-go/v79/testhelpers/treasury/inboundtransfer" - testhelpers_treasury_outboundtransfer "github.com/stripe/stripe-go/v79/testhelpers/treasury/outboundtransfer" - testhelpers_treasury_receivedcredit "github.com/stripe/stripe-go/v79/testhelpers/treasury/receivedcredit" - testhelpers_treasury_receiveddebit "github.com/stripe/stripe-go/v79/testhelpers/treasury/receiveddebit" - _ "github.com/stripe/stripe-go/v79/testing" - token "github.com/stripe/stripe-go/v79/token" - topup "github.com/stripe/stripe-go/v79/topup" - transfer "github.com/stripe/stripe-go/v79/transfer" - transferreversal "github.com/stripe/stripe-go/v79/transferreversal" - treasury_creditreversal "github.com/stripe/stripe-go/v79/treasury/creditreversal" - treasury_debitreversal "github.com/stripe/stripe-go/v79/treasury/debitreversal" - treasury_financialaccount "github.com/stripe/stripe-go/v79/treasury/financialaccount" - treasury_inboundtransfer "github.com/stripe/stripe-go/v79/treasury/inboundtransfer" - treasury_outboundpayment "github.com/stripe/stripe-go/v79/treasury/outboundpayment" - treasury_outboundtransfer "github.com/stripe/stripe-go/v79/treasury/outboundtransfer" - treasury_receivedcredit "github.com/stripe/stripe-go/v79/treasury/receivedcredit" - treasury_receiveddebit "github.com/stripe/stripe-go/v79/treasury/receiveddebit" - treasury_transaction "github.com/stripe/stripe-go/v79/treasury/transaction" - treasury_transactionentry "github.com/stripe/stripe-go/v79/treasury/transactionentry" - usagerecord "github.com/stripe/stripe-go/v79/usagerecord" - webhookendpoint "github.com/stripe/stripe-go/v79/webhookendpoint" + stripe "github.com/stripe/stripe-go/v80" + account "github.com/stripe/stripe-go/v80/account" + accountlink "github.com/stripe/stripe-go/v80/accountlink" + applicationfee "github.com/stripe/stripe-go/v80/applicationfee" + apps_secret "github.com/stripe/stripe-go/v80/apps/secret" + balancetransaction "github.com/stripe/stripe-go/v80/balancetransaction" + billingportal_configuration "github.com/stripe/stripe-go/v80/billingportal/configuration" + billingportal_session "github.com/stripe/stripe-go/v80/billingportal/session" + capability "github.com/stripe/stripe-go/v80/capability" + card "github.com/stripe/stripe-go/v80/card" + cashbalance "github.com/stripe/stripe-go/v80/cashbalance" + charge "github.com/stripe/stripe-go/v80/charge" + checkout_session "github.com/stripe/stripe-go/v80/checkout/session" + countryspec "github.com/stripe/stripe-go/v80/countryspec" + coupon "github.com/stripe/stripe-go/v80/coupon" + customer "github.com/stripe/stripe-go/v80/customer" + customerbalancetransaction "github.com/stripe/stripe-go/v80/customerbalancetransaction" + customercashbalancetransaction "github.com/stripe/stripe-go/v80/customercashbalancetransaction" + customersession "github.com/stripe/stripe-go/v80/customersession" + dispute "github.com/stripe/stripe-go/v80/dispute" + event "github.com/stripe/stripe-go/v80/event" + feerefund "github.com/stripe/stripe-go/v80/feerefund" + financialconnections_account "github.com/stripe/stripe-go/v80/financialconnections/account" + financialconnections_session "github.com/stripe/stripe-go/v80/financialconnections/session" + financialconnections_transaction "github.com/stripe/stripe-go/v80/financialconnections/transaction" + identity_verificationreport "github.com/stripe/stripe-go/v80/identity/verificationreport" + identity_verificationsession "github.com/stripe/stripe-go/v80/identity/verificationsession" + invoice "github.com/stripe/stripe-go/v80/invoice" + invoiceitem "github.com/stripe/stripe-go/v80/invoiceitem" + issuing_authorization "github.com/stripe/stripe-go/v80/issuing/authorization" + issuing_card "github.com/stripe/stripe-go/v80/issuing/card" + issuing_cardholder "github.com/stripe/stripe-go/v80/issuing/cardholder" + issuing_dispute "github.com/stripe/stripe-go/v80/issuing/dispute" + issuing_personalizationdesign "github.com/stripe/stripe-go/v80/issuing/personalizationdesign" + issuing_physicalbundle "github.com/stripe/stripe-go/v80/issuing/physicalbundle" + issuing_transaction "github.com/stripe/stripe-go/v80/issuing/transaction" + loginlink "github.com/stripe/stripe-go/v80/loginlink" + mandate "github.com/stripe/stripe-go/v80/mandate" + paymentintent "github.com/stripe/stripe-go/v80/paymentintent" + paymentlink "github.com/stripe/stripe-go/v80/paymentlink" + paymentmethod "github.com/stripe/stripe-go/v80/paymentmethod" + paymentmethodconfiguration "github.com/stripe/stripe-go/v80/paymentmethodconfiguration" + paymentsource "github.com/stripe/stripe-go/v80/paymentsource" + payout "github.com/stripe/stripe-go/v80/payout" + person "github.com/stripe/stripe-go/v80/person" + plan "github.com/stripe/stripe-go/v80/plan" + price "github.com/stripe/stripe-go/v80/price" + product "github.com/stripe/stripe-go/v80/product" + promotioncode "github.com/stripe/stripe-go/v80/promotioncode" + quote "github.com/stripe/stripe-go/v80/quote" + radar_earlyfraudwarning "github.com/stripe/stripe-go/v80/radar/earlyfraudwarning" + radar_valuelist "github.com/stripe/stripe-go/v80/radar/valuelist" + radar_valuelistitem "github.com/stripe/stripe-go/v80/radar/valuelistitem" + refund "github.com/stripe/stripe-go/v80/refund" + reporting_reportrun "github.com/stripe/stripe-go/v80/reporting/reportrun" + reporting_reporttype "github.com/stripe/stripe-go/v80/reporting/reporttype" + review "github.com/stripe/stripe-go/v80/review" + setupattempt "github.com/stripe/stripe-go/v80/setupattempt" + setupintent "github.com/stripe/stripe-go/v80/setupintent" + shippingrate "github.com/stripe/stripe-go/v80/shippingrate" + sigma_scheduledqueryrun "github.com/stripe/stripe-go/v80/sigma/scheduledqueryrun" + source "github.com/stripe/stripe-go/v80/source" + subscription "github.com/stripe/stripe-go/v80/subscription" + subscriptionitem "github.com/stripe/stripe-go/v80/subscriptionitem" + subscriptionschedule "github.com/stripe/stripe-go/v80/subscriptionschedule" + tax_calculation "github.com/stripe/stripe-go/v80/tax/calculation" + tax_settings "github.com/stripe/stripe-go/v80/tax/settings" + tax_transaction "github.com/stripe/stripe-go/v80/tax/transaction" + taxcode "github.com/stripe/stripe-go/v80/taxcode" + taxid "github.com/stripe/stripe-go/v80/taxid" + taxrate "github.com/stripe/stripe-go/v80/taxrate" + terminal_configuration "github.com/stripe/stripe-go/v80/terminal/configuration" + terminal_connectiontoken "github.com/stripe/stripe-go/v80/terminal/connectiontoken" + terminal_location "github.com/stripe/stripe-go/v80/terminal/location" + terminal_reader "github.com/stripe/stripe-go/v80/terminal/reader" + testhelpers_customer "github.com/stripe/stripe-go/v80/testhelpers/customer" + testhelpers_issuing_authorization "github.com/stripe/stripe-go/v80/testhelpers/issuing/authorization" + testhelpers_issuing_card "github.com/stripe/stripe-go/v80/testhelpers/issuing/card" + testhelpers_issuing_personalizationdesign "github.com/stripe/stripe-go/v80/testhelpers/issuing/personalizationdesign" + testhelpers_issuing_transaction "github.com/stripe/stripe-go/v80/testhelpers/issuing/transaction" + testhelpers_refund "github.com/stripe/stripe-go/v80/testhelpers/refund" + testhelpers_testclock "github.com/stripe/stripe-go/v80/testhelpers/testclock" + testhelpers_treasury_inboundtransfer "github.com/stripe/stripe-go/v80/testhelpers/treasury/inboundtransfer" + testhelpers_treasury_outboundtransfer "github.com/stripe/stripe-go/v80/testhelpers/treasury/outboundtransfer" + testhelpers_treasury_receivedcredit "github.com/stripe/stripe-go/v80/testhelpers/treasury/receivedcredit" + testhelpers_treasury_receiveddebit "github.com/stripe/stripe-go/v80/testhelpers/treasury/receiveddebit" + _ "github.com/stripe/stripe-go/v80/testing" + token "github.com/stripe/stripe-go/v80/token" + topup "github.com/stripe/stripe-go/v80/topup" + transfer "github.com/stripe/stripe-go/v80/transfer" + transferreversal "github.com/stripe/stripe-go/v80/transferreversal" + treasury_creditreversal "github.com/stripe/stripe-go/v80/treasury/creditreversal" + treasury_debitreversal "github.com/stripe/stripe-go/v80/treasury/debitreversal" + treasury_financialaccount "github.com/stripe/stripe-go/v80/treasury/financialaccount" + treasury_inboundtransfer "github.com/stripe/stripe-go/v80/treasury/inboundtransfer" + treasury_outboundpayment "github.com/stripe/stripe-go/v80/treasury/outboundpayment" + treasury_outboundtransfer "github.com/stripe/stripe-go/v80/treasury/outboundtransfer" + treasury_receivedcredit "github.com/stripe/stripe-go/v80/treasury/receivedcredit" + treasury_receiveddebit "github.com/stripe/stripe-go/v80/treasury/receiveddebit" + treasury_transaction "github.com/stripe/stripe-go/v80/treasury/transaction" + treasury_transactionentry "github.com/stripe/stripe-go/v80/treasury/transactionentry" + usagerecord "github.com/stripe/stripe-go/v80/usagerecord" + webhookendpoint "github.com/stripe/stripe-go/v80/webhookendpoint" ) func TestAccountLinksPost(t *testing.T) { diff --git a/example_test.go b/example_test.go index 0e245df77b..7db27e2a2c 100644 --- a/example_test.go +++ b/example_test.go @@ -3,11 +3,11 @@ package stripe_test import ( "log" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/charge" - "github.com/stripe/stripe-go/v79/customer" - "github.com/stripe/stripe-go/v79/invoice" - "github.com/stripe/stripe-go/v79/plan" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/charge" + "github.com/stripe/stripe-go/v80/customer" + "github.com/stripe/stripe-go/v80/invoice" + "github.com/stripe/stripe-go/v80/plan" ) func ExampleCharge_new() { diff --git a/feerefund/client.go b/feerefund/client.go index 263b34e017..d3ccb7a3b4 100644 --- a/feerefund/client.go +++ b/feerefund/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /application_fees/{id}/refunds APIs. diff --git a/feerefund/client_test.go b/feerefund/client_test.go index cf6ce9da64..d24fdf4101 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestFeeRefundGet(t *testing.T) { diff --git a/file.go b/file.go index 771db08c51..95f397fb2e 100644 --- a/file.go +++ b/file.go @@ -9,7 +9,7 @@ package stripe import ( "bytes" "encoding/json" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" "io" "mime/multipart" "net/url" diff --git a/file/client.go b/file/client.go index 15f0ed8c7d..a90057e6b6 100644 --- a/file/client.go +++ b/file/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /files APIs. diff --git a/file/client_test.go b/file/client_test.go index 7b6b266bee..adc0108989 100644 --- a/file/client_test.go +++ b/file/client_test.go @@ -17,9 +17,9 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" + _ "github.com/stripe/stripe-go/v80/testing" ) const ( diff --git a/filelink.go b/filelink.go index ce2a78246e..d0c4e6ca19 100644 --- a/filelink.go +++ b/filelink.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v79/form" +import "github.com/stripe/stripe-go/v80/form" // Returns a list of file links. type FileLinkListParams struct { diff --git a/filelink/client.go b/filelink/client.go index 194cf0d1c5..5c57fa7d45 100644 --- a/filelink/client.go +++ b/filelink/client.go @@ -10,8 +10,8 @@ package filelink import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /file_links APIs. diff --git a/filelink/client_test.go b/filelink/client_test.go index 8474eea100..86c2f768b0 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestFileLinkGet(t *testing.T) { diff --git a/filelink_test.go b/filelink_test.go index 37e14ae49d..6ba5ab376b 100644 --- a/filelink_test.go +++ b/filelink_test.go @@ -4,7 +4,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestFileLinkParams_AppendTo(t *testing.T) { diff --git a/financialconnections/account/client.go b/financialconnections/account/client.go index 29eadbb50b..80035f1eb4 100644 --- a/financialconnections/account/client.go +++ b/financialconnections/account/client.go @@ -10,8 +10,8 @@ package account import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /financial_connections/accounts APIs. diff --git a/financialconnections/session/client.go b/financialconnections/session/client.go index f7a632d777..d2779f04df 100644 --- a/financialconnections/session/client.go +++ b/financialconnections/session/client.go @@ -10,7 +10,7 @@ package session import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /financial_connections/sessions APIs. diff --git a/financialconnections/transaction/client.go b/financialconnections/transaction/client.go index 04304b9eb6..f045fbb9e0 100644 --- a/financialconnections/transaction/client.go +++ b/financialconnections/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /financial_connections/transactions APIs. diff --git a/forwarding/request/client.go b/forwarding/request/client.go index 67d76de22c..19cd14f4c3 100644 --- a/forwarding/request/client.go +++ b/forwarding/request/client.go @@ -10,8 +10,8 @@ package request import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /forwarding/requests APIs. diff --git a/go.mod b/go.mod index 7db085db48..0e2ad2970d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/stripe/stripe-go/v79 +module github.com/stripe/stripe-go/v80 go 1.13 diff --git a/identity/verificationreport/client.go b/identity/verificationreport/client.go index c61e334af9..897a803e85 100644 --- a/identity/verificationreport/client.go +++ b/identity/verificationreport/client.go @@ -10,8 +10,8 @@ package verificationreport import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /identity/verification_reports APIs. diff --git a/identity/verificationreport/client_test.go b/identity/verificationreport/client_test.go index b187be5d2c..5430a5b126 100644 --- a/identity/verificationreport/client_test.go +++ b/identity/verificationreport/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestIdentityVerificationReportGet(t *testing.T) { diff --git a/identity/verificationsession/client.go b/identity/verificationsession/client.go index 99028c8b02..695d47871a 100644 --- a/identity/verificationsession/client.go +++ b/identity/verificationsession/client.go @@ -10,8 +10,8 @@ package verificationsession import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /identity/verification_sessions APIs. diff --git a/identity/verificationsession/client_test.go b/identity/verificationsession/client_test.go index 16f4d9ce76..aed06985d2 100644 --- a/identity/verificationsession/client_test.go +++ b/identity/verificationsession/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestIdentityVerificationSessionCancel(t *testing.T) { diff --git a/invoice.go b/invoice.go index 79290331bb..52399ab030 100644 --- a/invoice.go +++ b/invoice.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) // Type of the account referenced. diff --git a/invoice/client.go b/invoice/client.go index 9d19741470..4788017871 100644 --- a/invoice/client.go +++ b/invoice/client.go @@ -10,8 +10,8 @@ package invoice import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /invoices APIs. diff --git a/invoice/client_test.go b/invoice/client_test.go index dd5e037017..cd8ff1af92 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestInvoiceGet(t *testing.T) { diff --git a/invoice_test.go b/invoice_test.go index ed589f199f..c16447decc 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/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestInvoiceParams_AppendTo(t *testing.T) { diff --git a/invoiceitem/client.go b/invoiceitem/client.go index 9ed5cff474..b5dff6dd31 100644 --- a/invoiceitem/client.go +++ b/invoiceitem/client.go @@ -10,8 +10,8 @@ package invoiceitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /invoiceitems APIs. diff --git a/invoiceitem/client_test.go b/invoiceitem/client_test.go index ef1ed0b0bf..60c7aa5ba7 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestInvoiceItemDel(t *testing.T) { diff --git a/invoicelineitem/client.go b/invoicelineitem/client.go index 4c47f94431..78dbb0fefa 100644 --- a/invoicelineitem/client.go +++ b/invoicelineitem/client.go @@ -10,7 +10,7 @@ package invoicelineitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /invoices/{invoice}/lines APIs. diff --git a/invoicerenderingtemplate/client.go b/invoicerenderingtemplate/client.go index bd77ff5f1a..4a0d2a1479 100644 --- a/invoicerenderingtemplate/client.go +++ b/invoicerenderingtemplate/client.go @@ -10,8 +10,8 @@ package invoicerenderingtemplate import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /invoice_rendering_templates APIs. diff --git a/issuing/authorization/client.go b/issuing/authorization/client.go index ecde49454a..0c859e9781 100644 --- a/issuing/authorization/client.go +++ b/issuing/authorization/client.go @@ -10,8 +10,8 @@ package authorization import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /issuing/authorizations APIs. diff --git a/issuing/authorization/client_test.go b/issuing/authorization/client_test.go index 67749680dc..8c3132d3ed 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestIssuingAuthorizationApprove(t *testing.T) { diff --git a/issuing/card/client.go b/issuing/card/client.go index b2cb7abd7a..cf04e557f0 100644 --- a/issuing/card/client.go +++ b/issuing/card/client.go @@ -10,8 +10,8 @@ package card import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /issuing/cards APIs. diff --git a/issuing/card/client_test.go b/issuing/card/client_test.go index 09a0d0ad12..72f61d2300 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestIssuingCardGet(t *testing.T) { diff --git a/issuing/cardholder/client.go b/issuing/cardholder/client.go index 2bf7cf66ab..c1d33122be 100644 --- a/issuing/cardholder/client.go +++ b/issuing/cardholder/client.go @@ -11,8 +11,8 @@ package cardholder import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /issuing/cardholders APIs. diff --git a/issuing/cardholder/client_test.go b/issuing/cardholder/client_test.go index 73f8e9c381..e710862aae 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestIssuingCardholderGet(t *testing.T) { diff --git a/issuing/dispute/client.go b/issuing/dispute/client.go index a344f7b046..de349e6f6f 100644 --- a/issuing/dispute/client.go +++ b/issuing/dispute/client.go @@ -10,8 +10,8 @@ package dispute import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /issuing/disputes APIs. diff --git a/issuing/dispute/client_test.go b/issuing/dispute/client_test.go index daca59bcc3..02409fa910 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestIssuingDisputeGet(t *testing.T) { diff --git a/issuing/personalizationdesign/client.go b/issuing/personalizationdesign/client.go index ca537ec4da..f44ffb5616 100644 --- a/issuing/personalizationdesign/client.go +++ b/issuing/personalizationdesign/client.go @@ -10,8 +10,8 @@ package personalizationdesign import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /issuing/personalization_designs APIs. diff --git a/issuing/physicalbundle/client.go b/issuing/physicalbundle/client.go index 6d7ed5f685..0f27bab038 100644 --- a/issuing/physicalbundle/client.go +++ b/issuing/physicalbundle/client.go @@ -10,8 +10,8 @@ package physicalbundle import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /issuing/physical_bundles APIs. diff --git a/issuing/token/client.go b/issuing/token/client.go index 4516f9f34d..37c571fd05 100644 --- a/issuing/token/client.go +++ b/issuing/token/client.go @@ -10,8 +10,8 @@ package token import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /issuing/tokens APIs. diff --git a/issuing/transaction/client.go b/issuing/transaction/client.go index ebaa8b3582..8ef46eb060 100644 --- a/issuing/transaction/client.go +++ b/issuing/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /issuing/transactions APIs. diff --git a/issuing/transaction/client_test.go b/issuing/transaction/client_test.go index 4e1a910f7d..f71369ba30 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestIssuingTransactionGet(t *testing.T) { diff --git a/iter.go b/iter.go index 764140024f..4a4e768263 100644 --- a/iter.go +++ b/iter.go @@ -3,7 +3,7 @@ package stripe import ( "reflect" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) // diff --git a/iter_test.go b/iter_test.go index 7a2b59dc38..e4b8d51351 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/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestIterEmpty(t *testing.T) { diff --git a/loginlink/client.go b/loginlink/client.go index b705ff41b4..fd4858aad3 100644 --- a/loginlink/client.go +++ b/loginlink/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /accounts/{account}/login_links APIs. diff --git a/loginlink/client_test.go b/loginlink/client_test.go index 5bec70472e..fc2eab8a80 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestLoginLinkNew(t *testing.T) { diff --git a/mandate/client.go b/mandate/client.go index 858511ce58..c05b028971 100644 --- a/mandate/client.go +++ b/mandate/client.go @@ -10,7 +10,7 @@ package mandate import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /mandates APIs. diff --git a/mandate/client_test.go b/mandate/client_test.go index ab7dd500d5..13021dd115 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/v79/testing" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestMandateMethodGet(t *testing.T) { diff --git a/oauth/client.go b/oauth/client.go index d4c6a5550b..2877fdc879 100644 --- a/oauth/client.go +++ b/oauth/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /oauth and related APIs. diff --git a/oauth/client_test.go b/oauth/client_test.go index e314b94f3d..f12ad91815 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestAuthorizeURL(t *testing.T) { diff --git a/params.go b/params.go index b75ceb354f..8ef863961a 100644 --- a/params.go +++ b/params.go @@ -9,7 +9,7 @@ import ( "net/url" "time" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) // diff --git a/params_test.go b/params_test.go index 81001ddf11..b9d129a59d 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/v79" - "github.com/stripe/stripe-go/v79/form" - . "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" + . "github.com/stripe/stripe-go/v80/testing" ) func TestRangeQueryParamsAppendTo(t *testing.T) { diff --git a/paymentintent/client.go b/paymentintent/client.go index 6d752db23d..d4a848628e 100644 --- a/paymentintent/client.go +++ b/paymentintent/client.go @@ -10,8 +10,8 @@ package paymentintent import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /payment_intents APIs. diff --git a/paymentintent/client_test.go b/paymentintent/client_test.go index 3a9e63c4a7..4621def778 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestPaymentIntentCancel(t *testing.T) { diff --git a/paymentlink/client.go b/paymentlink/client.go index 6eb561f80b..0a8416d582 100644 --- a/paymentlink/client.go +++ b/paymentlink/client.go @@ -10,8 +10,8 @@ package paymentlink import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /payment_links APIs. diff --git a/paymentmethod/client.go b/paymentmethod/client.go index 9be64ecf90..3abdc7fa5e 100644 --- a/paymentmethod/client.go +++ b/paymentmethod/client.go @@ -10,8 +10,8 @@ package paymentmethod import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /payment_methods APIs. diff --git a/paymentmethod/client_test.go b/paymentmethod/client_test.go index be2bb6eba0..8649599dba 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestPaymentMethodAttach(t *testing.T) { diff --git a/paymentmethodconfiguration/client.go b/paymentmethodconfiguration/client.go index ef990f0474..db9a48992b 100644 --- a/paymentmethodconfiguration/client.go +++ b/paymentmethodconfiguration/client.go @@ -10,8 +10,8 @@ package paymentmethodconfiguration import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /payment_method_configurations APIs. diff --git a/paymentmethoddomain/client.go b/paymentmethoddomain/client.go index 5fc4470557..1842bc59ff 100644 --- a/paymentmethoddomain/client.go +++ b/paymentmethoddomain/client.go @@ -10,8 +10,8 @@ package paymentmethoddomain import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /payment_method_domains APIs. diff --git a/paymentsource.go b/paymentsource.go index 174b8b7afc..5d73e10886 100644 --- a/paymentsource.go +++ b/paymentsource.go @@ -9,7 +9,7 @@ package stripe import ( "encoding/json" "fmt" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) type PaymentSourceType string diff --git a/paymentsource/client.go b/paymentsource/client.go index 3de43eb2b0..033c74e025 100644 --- a/paymentsource/client.go +++ b/paymentsource/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /customers/{customer}/sources APIs. diff --git a/paymentsource/client_test.go b/paymentsource/client_test.go index 28b0cf5a42..66b5eb5c08 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestSourceGet(t *testing.T) { diff --git a/paymentsource_test.go b/paymentsource_test.go index c249cd755d..defd9408ba 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/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestSourceParams_AppendTo(t *testing.T) { diff --git a/payout/client.go b/payout/client.go index 46c6e5a8fb..f407b5ba2e 100644 --- a/payout/client.go +++ b/payout/client.go @@ -10,8 +10,8 @@ package payout import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /payouts APIs. diff --git a/payout/client_test.go b/payout/client_test.go index 4a0620b5fd..eccd430dac 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestPayoutCancel(t *testing.T) { diff --git a/person/client.go b/person/client.go index 5146a23f6d..e8d88b8ea2 100644 --- a/person/client.go +++ b/person/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /accounts/{account}/persons APIs. diff --git a/person/client_test.go b/person/client_test.go index d304d4b379..717d2f2b4a 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestPersonDel(t *testing.T) { diff --git a/plan.go b/plan.go index 05a247e273..e98d703c4a 100644 --- a/plan.go +++ b/plan.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" "strconv" ) diff --git a/plan/client.go b/plan/client.go index 7d0f612d4c..f60a564666 100644 --- a/plan/client.go +++ b/plan/client.go @@ -10,8 +10,8 @@ package plan import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /plans APIs. diff --git a/plan/client_test.go b/plan/client_test.go index e44f8d5174..70179047d9 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestPlanDel(t *testing.T) { diff --git a/plan_test.go b/plan_test.go index 289acd0109..b15851a19e 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/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestPlan_Unmarshal(t *testing.T) { diff --git a/price.go b/price.go index 97179ddac6..35f992d85b 100644 --- a/price.go +++ b/price.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) // Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `unit_amount` or `unit_amount_decimal`) will be charged per unit in `quantity` (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes. diff --git a/price/client.go b/price/client.go index 539335c2dc..1c401f4209 100644 --- a/price/client.go +++ b/price/client.go @@ -10,8 +10,8 @@ package price import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /prices APIs. diff --git a/price/client_test.go b/price/client_test.go index ec238b43e3..c9d95bfaca 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestPriceGet(t *testing.T) { diff --git a/price_test.go b/price_test.go index 1dc991fbcd..c378f8515d 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/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestPrice_Unmarshal(t *testing.T) { diff --git a/product.go b/product.go index 955c57dc94..d85dd83fd9 100644 --- a/product.go +++ b/product.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) // The type of the product. The product is either of type `good`, which is eligible for use with Orders and SKUs, or `service`, which is eligible for use with Subscriptions and Plans. diff --git a/product/client.go b/product/client.go index 1179a02bea..62b7fe1776 100644 --- a/product/client.go +++ b/product/client.go @@ -10,8 +10,8 @@ package product import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /products APIs. diff --git a/product/client_test.go b/product/client_test.go index 6d817601cd..a6e1623f30 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestProductDel(t *testing.T) { diff --git a/productfeature/client.go b/productfeature/client.go index c47239feea..cb039f71ce 100644 --- a/productfeature/client.go +++ b/productfeature/client.go @@ -10,8 +10,8 @@ package productfeature import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /products/{product}/features APIs. diff --git a/promotioncode/client.go b/promotioncode/client.go index 766c220d2d..e9fd57df8c 100644 --- a/promotioncode/client.go +++ b/promotioncode/client.go @@ -10,8 +10,8 @@ package promotioncode import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /promotion_codes APIs. diff --git a/promotioncode/client_test.go b/promotioncode/client_test.go index b27a8ed1f1..2e42103803 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestPromotionCodeGet(t *testing.T) { diff --git a/quote.go b/quote.go index 9e03fc5b3f..4e4487d10c 100644 --- a/quote.go +++ b/quote.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) // Type of the account referenced. diff --git a/quote/client.go b/quote/client.go index 912c699937..18ff81f1d1 100644 --- a/quote/client.go +++ b/quote/client.go @@ -10,8 +10,8 @@ package quote import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /quotes APIs. diff --git a/quote/client_test.go b/quote/client_test.go index 25b70557c9..71e6b1b6c6 100644 --- a/quote/client_test.go +++ b/quote/client_test.go @@ -5,8 +5,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestQuoteGet(t *testing.T) { diff --git a/quote_test.go b/quote_test.go index eedb27526b..66aad0b030 100644 --- a/quote_test.go +++ b/quote_test.go @@ -5,7 +5,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestQuoteSubscriptionDataParams_AppendTo(t *testing.T) { diff --git a/radar/earlyfraudwarning/client.go b/radar/earlyfraudwarning/client.go index 303bb37385..7d9b7ef9b3 100644 --- a/radar/earlyfraudwarning/client.go +++ b/radar/earlyfraudwarning/client.go @@ -10,8 +10,8 @@ package earlyfraudwarning import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /radar/early_fraud_warnings APIs. diff --git a/radar/earlyfraudwarning/client_test.go b/radar/earlyfraudwarning/client_test.go index bbfaabf48c..53d8e5c9f0 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestRadarEarlyFraudWarningGet(t *testing.T) { diff --git a/radar/valuelist/client.go b/radar/valuelist/client.go index f6addd36ad..0b2b393bbd 100644 --- a/radar/valuelist/client.go +++ b/radar/valuelist/client.go @@ -10,8 +10,8 @@ package valuelist import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/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 a15072e100..4eecb9ccb2 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestRadarValueListDel(t *testing.T) { diff --git a/radar/valuelistitem/client.go b/radar/valuelistitem/client.go index c0610b5c40..fde7862a66 100644 --- a/radar/valuelistitem/client.go +++ b/radar/valuelistitem/client.go @@ -11,8 +11,8 @@ package valuelistitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/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 80bf54f775..1c8da4d0c7 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestRadarValueListItemDel(t *testing.T) { diff --git a/rawrequest/client.go b/rawrequest/client.go index 2f0904152e..a6430a41a7 100644 --- a/rawrequest/client.go +++ b/rawrequest/client.go @@ -4,7 +4,7 @@ package rawrequest import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) func Get(path string, params *stripe.RawParams) (*stripe.APIResponse, error) { diff --git a/rawrequest/client_test.go b/rawrequest/client_test.go index d4be9fc7cb..243c2b5ef5 100644 --- a/rawrequest/client_test.go +++ b/rawrequest/client_test.go @@ -7,8 +7,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func stubAPIBackend(testServer *httptest.Server) { diff --git a/refund/client.go b/refund/client.go index 60dc3ba7c9..7961e4d1a4 100644 --- a/refund/client.go +++ b/refund/client.go @@ -10,8 +10,8 @@ package refund import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /refunds APIs. diff --git a/refund/client_test.go b/refund/client_test.go index 97bcb0083e..95a94df069 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestRefundGet(t *testing.T) { diff --git a/reporting/reportrun/client.go b/reporting/reportrun/client.go index 445799c1eb..957bb2bc8b 100644 --- a/reporting/reportrun/client.go +++ b/reporting/reportrun/client.go @@ -10,8 +10,8 @@ package reportrun import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/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 6570fca9a3..ebc799c268 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestReportingReportRunGet(t *testing.T) { diff --git a/reporting/reporttype/client.go b/reporting/reporttype/client.go index 6511f5b2a3..b093515094 100644 --- a/reporting/reporttype/client.go +++ b/reporting/reporttype/client.go @@ -10,8 +10,8 @@ package reporttype import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/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 7a2e4b5779..c3a512f23c 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestReportTestGet(t *testing.T) { diff --git a/review/client.go b/review/client.go index fb141e0327..7eadaee790 100644 --- a/review/client.go +++ b/review/client.go @@ -10,8 +10,8 @@ package review import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /reviews APIs. diff --git a/review/client_test.go b/review/client_test.go index 34ce85409c..25f164c800 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestReviewApprove(t *testing.T) { diff --git a/search_iter.go b/search_iter.go index 8d2e4d6670..9a67764b1e 100644 --- a/search_iter.go +++ b/search_iter.go @@ -3,7 +3,7 @@ package stripe import ( "reflect" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) // diff --git a/search_iter_test.go b/search_iter_test.go index 7f6899f06d..5be1f7f131 100644 --- a/search_iter_test.go +++ b/search_iter_test.go @@ -7,7 +7,7 @@ import ( "testing" assert "github.com/stretchr/testify/require" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) var nextPageTestToken = "next_page_test_token" diff --git a/search_params_test.go b/search_params_test.go index 727c64760b..c4926f40f0 100644 --- a/search_params_test.go +++ b/search_params_test.go @@ -5,9 +5,9 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" - . "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" + . "github.com/stripe/stripe-go/v80/testing" ) type testSearchParams struct { diff --git a/setupattempt/client.go b/setupattempt/client.go index dd819c444f..a4799b31f2 100644 --- a/setupattempt/client.go +++ b/setupattempt/client.go @@ -11,8 +11,8 @@ package setupattempt import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /setup_attempts APIs. diff --git a/setupattempt/client_test.go b/setupattempt/client_test.go index 352f56b2c9..0934c5c5ef 100644 --- a/setupattempt/client_test.go +++ b/setupattempt/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestSetupAttemptList(t *testing.T) { diff --git a/setupintent/client.go b/setupintent/client.go index 39a0ab273c..d39edd062d 100644 --- a/setupintent/client.go +++ b/setupintent/client.go @@ -10,8 +10,8 @@ package setupintent import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /setup_intents APIs. diff --git a/setupintent/client_test.go b/setupintent/client_test.go index d68d6311c8..c6838978b9 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestSetupIntentCancel(t *testing.T) { diff --git a/shippingrate/client.go b/shippingrate/client.go index 0948412537..393d533d4d 100644 --- a/shippingrate/client.go +++ b/shippingrate/client.go @@ -10,8 +10,8 @@ package shippingrate import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /shipping_rates APIs. diff --git a/sigma/scheduledqueryrun/client.go b/sigma/scheduledqueryrun/client.go index 5261ab6f01..144ddbad28 100644 --- a/sigma/scheduledqueryrun/client.go +++ b/sigma/scheduledqueryrun/client.go @@ -11,8 +11,8 @@ package scheduledqueryrun import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/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 1723e7ed9f..fdc956a9b6 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestSigmaScheduledQueryRunGet(t *testing.T) { diff --git a/source/client.go b/source/client.go index 74ca9a8d6f..a326391f50 100644 --- a/source/client.go +++ b/source/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /sources APIs. diff --git a/source/client_test.go b/source/client_test.go index 7d291ba18d..49dd7b4da6 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestSourceGet(t *testing.T) { diff --git a/sourcetransaction/client.go b/sourcetransaction/client.go index 6bc1c7c27c..813f035e88 100644 --- a/sourcetransaction/client.go +++ b/sourcetransaction/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /sources/:source_id/transactions APIs. diff --git a/sourcetransaction/client_test.go b/sourcetransaction/client_test.go index cca5b500fd..dbe952f5f1 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestSourceTransactionList(t *testing.T) { diff --git a/stripe.go b/stripe.go index 13d3891245..88bd072e01 100644 --- a/stripe.go +++ b/stripe.go @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) // @@ -1366,7 +1366,7 @@ func StringSlice(v []string) []*string { // // clientversion is the binding version -const clientversion = "79.12.0" +const clientversion = "80.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_test.go b/sub_test.go index 51b23bc740..67421854f2 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/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestSubscriptionParams_AppendTo(t *testing.T) { diff --git a/subschedule_test.go b/subschedule_test.go index 087c230531..f94aae6c91 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/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestSubscriptionScheduleParams_AppendTo(t *testing.T) { diff --git a/subscription.go b/subscription.go index 6fbfddc9e4..14e4fee441 100644 --- a/subscription.go +++ b/subscription.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) // Type of the account referenced. diff --git a/subscription/client.go b/subscription/client.go index ce97ede7db..d0d885939f 100644 --- a/subscription/client.go +++ b/subscription/client.go @@ -10,8 +10,8 @@ package subscription import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /subscriptions APIs. diff --git a/subscription/client_test.go b/subscription/client_test.go index 223338480b..b89b2a4a8a 100644 --- a/subscription/client_test.go +++ b/subscription/client_test.go @@ -5,8 +5,8 @@ import ( "time" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestSubscriptionCancel(t *testing.T) { diff --git a/subscriptionitem/client.go b/subscriptionitem/client.go index 6eae814211..f4ee3edc9b 100644 --- a/subscriptionitem/client.go +++ b/subscriptionitem/client.go @@ -10,8 +10,8 @@ package subscriptionitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /subscription_items APIs. diff --git a/subscriptionitem/client_test.go b/subscriptionitem/client_test.go index 737db765a8..564f023803 100644 --- a/subscriptionitem/client_test.go +++ b/subscriptionitem/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestSubscriptionItemDel(t *testing.T) { diff --git a/subscriptionschedule.go b/subscriptionschedule.go index 592b8a2f60..7c40c5aeef 100644 --- a/subscriptionschedule.go +++ b/subscriptionschedule.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v79/form" + "github.com/stripe/stripe-go/v80/form" ) // Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). diff --git a/subscriptionschedule/client.go b/subscriptionschedule/client.go index 37326f1884..6791831d0c 100644 --- a/subscriptionschedule/client.go +++ b/subscriptionschedule/client.go @@ -10,8 +10,8 @@ package subscriptionschedule import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /subscription_schedules APIs. diff --git a/subscriptionschedule/client_test.go b/subscriptionschedule/client_test.go index 1a310922c0..0b7a4d37c8 100644 --- a/subscriptionschedule/client_test.go +++ b/subscriptionschedule/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestSubscriptionScheduleCancel(t *testing.T) { diff --git a/tax/calculation/client.go b/tax/calculation/client.go index b32f7829de..93fe938f30 100644 --- a/tax/calculation/client.go +++ b/tax/calculation/client.go @@ -10,8 +10,8 @@ package calculation import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /tax/calculations APIs. diff --git a/tax/registration/client.go b/tax/registration/client.go index 247acb7489..4e0355cf70 100644 --- a/tax/registration/client.go +++ b/tax/registration/client.go @@ -10,8 +10,8 @@ package registration import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /tax/registrations APIs. diff --git a/tax/settings/client.go b/tax/settings/client.go index d14dfe8bcc..d1b2774ff7 100644 --- a/tax/settings/client.go +++ b/tax/settings/client.go @@ -10,7 +10,7 @@ package settings import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /tax/settings APIs. diff --git a/tax/transaction/client.go b/tax/transaction/client.go index 13130ba73b..880b48f4c0 100644 --- a/tax/transaction/client.go +++ b/tax/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /tax/transactions APIs. diff --git a/tax_registration.go b/tax_registration.go index 9978bcb9fa..51f3a6c42d 100644 --- a/tax_registration.go +++ b/tax_registration.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v79/form" +import "github.com/stripe/stripe-go/v80/form" // Type of registration in `country`. type TaxRegistrationCountryOptionsAeType string diff --git a/taxcode/client.go b/taxcode/client.go index 776284f95b..cd8757bc89 100644 --- a/taxcode/client.go +++ b/taxcode/client.go @@ -10,8 +10,8 @@ package taxcode import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /tax_codes APIs. diff --git a/taxcode/client_test.go b/taxcode/client_test.go index 2345fcee0d..4ce99cc187 100644 --- a/taxcode/client_test.go +++ b/taxcode/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestTaxCodeGet(t *testing.T) { diff --git a/taxid/client.go b/taxid/client.go index a8cba4143e..c6996dce35 100644 --- a/taxid/client.go +++ b/taxid/client.go @@ -10,8 +10,8 @@ package taxid import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /tax_ids APIs. diff --git a/taxid/client_test.go b/taxid/client_test.go index 206cb3ca81..8580308913 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestTaxIDDel(t *testing.T) { diff --git a/taxrate/client.go b/taxrate/client.go index e9a6268efd..0d9930ef29 100644 --- a/taxrate/client.go +++ b/taxrate/client.go @@ -10,8 +10,8 @@ package taxrate import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /tax_rates APIs. diff --git a/taxrate/client_test.go b/taxrate/client_test.go index fe7815033d..aae0386cb6 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestTaxRateGet(t *testing.T) { diff --git a/terminal/configuration/client.go b/terminal/configuration/client.go index 4441a79adc..a729d93a4a 100644 --- a/terminal/configuration/client.go +++ b/terminal/configuration/client.go @@ -10,8 +10,8 @@ package configuration import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /terminal/configurations APIs. diff --git a/terminal/connectiontoken/client.go b/terminal/connectiontoken/client.go index 230c5683b0..889826a71f 100644 --- a/terminal/connectiontoken/client.go +++ b/terminal/connectiontoken/client.go @@ -10,7 +10,7 @@ package connectiontoken import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /terminal/connection_tokens APIs. diff --git a/terminal/connectiontoken/client_test.go b/terminal/connectiontoken/client_test.go index 3ab9462eff..8d9c73be4a 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestTerminalConnectionTokenNew(t *testing.T) { diff --git a/terminal/location/client.go b/terminal/location/client.go index 3a107b6026..919ecf41cf 100644 --- a/terminal/location/client.go +++ b/terminal/location/client.go @@ -10,8 +10,8 @@ package location import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /terminal/locations APIs. diff --git a/terminal/location/client_test.go b/terminal/location/client_test.go index 8feb985ef2..8ba037c445 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestTerminalLocationDel(t *testing.T) { diff --git a/terminal/reader/client.go b/terminal/reader/client.go index 923db4bb7c..b768096e0d 100644 --- a/terminal/reader/client.go +++ b/terminal/reader/client.go @@ -10,8 +10,8 @@ package reader import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /terminal/readers APIs. diff --git a/terminal/reader/client_test.go b/terminal/reader/client_test.go index ebea223f93..0c1f9e419b 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestTerminalReaderDel(t *testing.T) { diff --git a/testhelpers/confirmationtoken/client.go b/testhelpers/confirmationtoken/client.go index 611ebc85a4..fa18d6c1ae 100644 --- a/testhelpers/confirmationtoken/client.go +++ b/testhelpers/confirmationtoken/client.go @@ -10,7 +10,7 @@ package confirmationtoken import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /confirmation_tokens APIs. diff --git a/testhelpers/customer/client.go b/testhelpers/customer/client.go index 69299f020d..fcbd5605f9 100644 --- a/testhelpers/customer/client.go +++ b/testhelpers/customer/client.go @@ -10,7 +10,7 @@ package customer import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /customers APIs. diff --git a/testhelpers/issuing/authorization/client.go b/testhelpers/issuing/authorization/client.go index 3e4621fb68..793a5113fa 100644 --- a/testhelpers/issuing/authorization/client.go +++ b/testhelpers/issuing/authorization/client.go @@ -10,7 +10,7 @@ package authorization import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /issuing/authorizations APIs. diff --git a/testhelpers/issuing/card/client.go b/testhelpers/issuing/card/client.go index de2eebc91c..0b735c2588 100644 --- a/testhelpers/issuing/card/client.go +++ b/testhelpers/issuing/card/client.go @@ -10,7 +10,7 @@ package card import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /issuing/cards APIs. diff --git a/testhelpers/issuing/personalizationdesign/client.go b/testhelpers/issuing/personalizationdesign/client.go index 49b0c2c5a2..89b393778c 100644 --- a/testhelpers/issuing/personalizationdesign/client.go +++ b/testhelpers/issuing/personalizationdesign/client.go @@ -10,7 +10,7 @@ package personalizationdesign import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /issuing/personalization_designs APIs. diff --git a/testhelpers/issuing/transaction/client.go b/testhelpers/issuing/transaction/client.go index 960a76cd41..60fc3c00df 100644 --- a/testhelpers/issuing/transaction/client.go +++ b/testhelpers/issuing/transaction/client.go @@ -10,7 +10,7 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /issuing/transactions APIs. diff --git a/testhelpers/refund/client.go b/testhelpers/refund/client.go index 49adf69dfc..1d68e99fea 100644 --- a/testhelpers/refund/client.go +++ b/testhelpers/refund/client.go @@ -10,7 +10,7 @@ package refund import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /refunds APIs. diff --git a/testhelpers/terminal/reader/client.go b/testhelpers/terminal/reader/client.go index 7b02a59838..a50a5372c1 100644 --- a/testhelpers/terminal/reader/client.go +++ b/testhelpers/terminal/reader/client.go @@ -10,7 +10,7 @@ package reader import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /terminal/readers APIs. diff --git a/testhelpers/terminal/reader/client_test.go b/testhelpers/terminal/reader/client_test.go index 49c78a4bdb..fd92dcd1a7 100644 --- a/testhelpers/terminal/reader/client_test.go +++ b/testhelpers/terminal/reader/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestTerminalReaderUpdate(t *testing.T) { diff --git a/testhelpers/testclock/client.go b/testhelpers/testclock/client.go index a3d9fe6264..498c301074 100644 --- a/testhelpers/testclock/client.go +++ b/testhelpers/testclock/client.go @@ -10,8 +10,8 @@ package testclock import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /test_helpers/test_clocks APIs. diff --git a/testhelpers/treasury/inboundtransfer/client.go b/testhelpers/treasury/inboundtransfer/client.go index 14c93c9e1d..a25c3a273b 100644 --- a/testhelpers/treasury/inboundtransfer/client.go +++ b/testhelpers/treasury/inboundtransfer/client.go @@ -10,7 +10,7 @@ package inboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /treasury/inbound_transfers APIs. diff --git a/testhelpers/treasury/outboundpayment/client.go b/testhelpers/treasury/outboundpayment/client.go index bdf289eaa8..111f6b2763 100644 --- a/testhelpers/treasury/outboundpayment/client.go +++ b/testhelpers/treasury/outboundpayment/client.go @@ -10,7 +10,7 @@ package outboundpayment import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /treasury/outbound_payments APIs. diff --git a/testhelpers/treasury/outboundtransfer/client.go b/testhelpers/treasury/outboundtransfer/client.go index dc18fe5a4d..71f4424eff 100644 --- a/testhelpers/treasury/outboundtransfer/client.go +++ b/testhelpers/treasury/outboundtransfer/client.go @@ -10,7 +10,7 @@ package outboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /treasury/outbound_transfers APIs. diff --git a/testhelpers/treasury/receivedcredit/client.go b/testhelpers/treasury/receivedcredit/client.go index 8e12706f1c..df621a80d9 100644 --- a/testhelpers/treasury/receivedcredit/client.go +++ b/testhelpers/treasury/receivedcredit/client.go @@ -10,7 +10,7 @@ package receivedcredit import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /treasury/received_credits APIs. diff --git a/testhelpers/treasury/receiveddebit/client.go b/testhelpers/treasury/receiveddebit/client.go index 0ee154dfd8..9dcef1685d 100644 --- a/testhelpers/treasury/receiveddebit/client.go +++ b/testhelpers/treasury/receiveddebit/client.go @@ -10,7 +10,7 @@ package receiveddebit import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /treasury/received_debits APIs. diff --git a/testing/testing.go b/testing/testing.go index f7896162a5..d723109748 100644 --- a/testing/testing.go +++ b/testing/testing.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" "golang.org/x/net/http2" ) diff --git a/token/client.go b/token/client.go index d4617e38bf..a112cd92c7 100644 --- a/token/client.go +++ b/token/client.go @@ -10,7 +10,7 @@ package token import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /tokens APIs. diff --git a/token/client_test.go b/token/client_test.go index ab81f25c45..cb97dc754c 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestTokenGet(t *testing.T) { diff --git a/topup/client.go b/topup/client.go index 5006e4d6cd..740e004984 100644 --- a/topup/client.go +++ b/topup/client.go @@ -10,8 +10,8 @@ package topup import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /topups APIs. diff --git a/topup/client_test.go b/topup/client_test.go index 36d4c66f6c..166838cec0 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestTopupCancel(t *testing.T) { diff --git a/transfer/client.go b/transfer/client.go index 537a79d401..2a42ef040e 100644 --- a/transfer/client.go +++ b/transfer/client.go @@ -10,8 +10,8 @@ package transfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /transfers APIs. diff --git a/transfer/client_test.go b/transfer/client_test.go index 5a63f31bdd..5b724aa984 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestTransferGet(t *testing.T) { diff --git a/transferreversal/client.go b/transferreversal/client.go index 74ac298621..9f286f019e 100644 --- a/transferreversal/client.go +++ b/transferreversal/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /transfers/{id}/reversals APIs. diff --git a/transferreversal/client_test.go b/transferreversal/client_test.go index aec65676b7..1cd78235d6 100644 --- a/transferreversal/client_test.go +++ b/transferreversal/client_test.go @@ -4,8 +4,8 @@ import ( "testing" assert "github.com/stretchr/testify/require" - stripe "github.com/stripe/stripe-go/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestTransferReversalGet(t *testing.T) { diff --git a/treasury/creditreversal/client.go b/treasury/creditreversal/client.go index ed42f57fc3..168f1b8e71 100644 --- a/treasury/creditreversal/client.go +++ b/treasury/creditreversal/client.go @@ -10,8 +10,8 @@ package creditreversal import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /treasury/credit_reversals APIs. diff --git a/treasury/debitreversal/client.go b/treasury/debitreversal/client.go index e157840179..e7fe2000a8 100644 --- a/treasury/debitreversal/client.go +++ b/treasury/debitreversal/client.go @@ -10,8 +10,8 @@ package debitreversal import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /treasury/debit_reversals APIs. diff --git a/treasury/financialaccount/client.go b/treasury/financialaccount/client.go index 6b82af6f9c..9c82e3eaff 100644 --- a/treasury/financialaccount/client.go +++ b/treasury/financialaccount/client.go @@ -10,8 +10,8 @@ package financialaccount import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /treasury/financial_accounts APIs. diff --git a/treasury/inboundtransfer/client.go b/treasury/inboundtransfer/client.go index b4c55529b5..d91947ad44 100644 --- a/treasury/inboundtransfer/client.go +++ b/treasury/inboundtransfer/client.go @@ -10,8 +10,8 @@ package inboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /treasury/inbound_transfers APIs. diff --git a/treasury/outboundpayment/client.go b/treasury/outboundpayment/client.go index b6a47cec75..1e7f86e449 100644 --- a/treasury/outboundpayment/client.go +++ b/treasury/outboundpayment/client.go @@ -10,8 +10,8 @@ package outboundpayment import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /treasury/outbound_payments APIs. diff --git a/treasury/outboundtransfer/client.go b/treasury/outboundtransfer/client.go index 8176f8b78d..c164f9fa75 100644 --- a/treasury/outboundtransfer/client.go +++ b/treasury/outboundtransfer/client.go @@ -10,8 +10,8 @@ package outboundtransfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /treasury/outbound_transfers APIs. diff --git a/treasury/receivedcredit/client.go b/treasury/receivedcredit/client.go index db74273aff..c3ac47ed50 100644 --- a/treasury/receivedcredit/client.go +++ b/treasury/receivedcredit/client.go @@ -10,8 +10,8 @@ package receivedcredit import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /treasury/received_credits APIs. diff --git a/treasury/receiveddebit/client.go b/treasury/receiveddebit/client.go index 20d13dd89c..b2d369c3ef 100644 --- a/treasury/receiveddebit/client.go +++ b/treasury/receiveddebit/client.go @@ -10,8 +10,8 @@ package receiveddebit import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /treasury/received_debits APIs. diff --git a/treasury/transaction/client.go b/treasury/transaction/client.go index 894510421c..cd5c6f1d69 100644 --- a/treasury/transaction/client.go +++ b/treasury/transaction/client.go @@ -10,8 +10,8 @@ package transaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /treasury/transactions APIs. diff --git a/treasury/transactionentry/client.go b/treasury/transactionentry/client.go index 93bd02d423..9399840408 100644 --- a/treasury/transactionentry/client.go +++ b/treasury/transactionentry/client.go @@ -10,8 +10,8 @@ package transactionentry import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /treasury/transaction_entries APIs. diff --git a/usagerecord.go b/usagerecord.go index 6686c90248..c7a52407e4 100644 --- a/usagerecord.go +++ b/usagerecord.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v79/form" +import "github.com/stripe/stripe-go/v80/form" // Possible values for the action parameter on usage record creation. const ( diff --git a/usagerecord/client.go b/usagerecord/client.go index a2f9743582..5d7725a278 100644 --- a/usagerecord/client.go +++ b/usagerecord/client.go @@ -10,7 +10,7 @@ package usagerecord import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" + stripe "github.com/stripe/stripe-go/v80" ) // Client is used to invoke /subscription_items/{subscription_item}/usage_records APIs. diff --git a/usagerecord/client_test.go b/usagerecord/client_test.go index b2a4e17ceb..87aaa3c72e 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestUsageRecordNew(t *testing.T) { diff --git a/usagerecord_test.go b/usagerecord_test.go index 69f87a54ad..ef066d5053 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/v79/form" + "github.com/stripe/stripe-go/v80/form" ) func TestUsageRecordParams_AppendTo(t *testing.T) { diff --git a/usagerecordsummary/client.go b/usagerecordsummary/client.go index a4453cc7a1..0ec93e58f5 100644 --- a/usagerecordsummary/client.go +++ b/usagerecordsummary/client.go @@ -10,8 +10,8 @@ package usagerecordsummary import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /subscription_items/{subscription_item}/usage_record_summaries APIs. diff --git a/usagerecordsummary/client_test.go b/usagerecordsummary/client_test.go index 88212d84bc..887871c427 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestUsageRecordSummaryList(t *testing.T) { diff --git a/webhook/client.go b/webhook/client.go index 9dd56ba7f9..e85232c623 100644 --- a/webhook/client.go +++ b/webhook/client.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/stripe/stripe-go/v79" + "github.com/stripe/stripe-go/v80" ) // diff --git a/webhook/client_handler_test.go b/webhook/client_handler_test.go index 2e8ea08ba6..f7a80ec94c 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/v79/webhook" + "github.com/stripe/stripe-go/v80/webhook" ) func Example() { diff --git a/webhook/client_test.go b/webhook/client_test.go index 9203026952..fd91a08a75 100644 --- a/webhook/client_test.go +++ b/webhook/client_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/stripe/stripe-go/v79" + "github.com/stripe/stripe-go/v80" ) var testPayload = []byte(fmt.Sprintf(`{ diff --git a/webhookendpoint/client.go b/webhookendpoint/client.go index 3d0bf7e0a9..2ee1724467 100644 --- a/webhookendpoint/client.go +++ b/webhookendpoint/client.go @@ -10,8 +10,8 @@ package webhookendpoint import ( "net/http" - stripe "github.com/stripe/stripe-go/v79" - "github.com/stripe/stripe-go/v79/form" + stripe "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v80/form" ) // Client is used to invoke /webhook_endpoints APIs. diff --git a/webhookendpoint/client_test.go b/webhookendpoint/client_test.go index 23f506ee8a..ea5f746895 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/v79" - _ "github.com/stripe/stripe-go/v79/testing" + stripe "github.com/stripe/stripe-go/v80" + _ "github.com/stripe/stripe-go/v80/testing" ) func TestWebhookEndpointDel(t *testing.T) {