From 189941481c86d1c4d652e6e2bf148554b4283475 Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Tue, 29 Oct 2024 14:27:21 -0700 Subject: [PATCH] Bump version to 81.0.0 --- CHANGELOG.md | 31 ++ README.md | 42 +-- VERSION | 2 +- account.go | 2 +- account/client.go | 4 +- account/client_test.go | 4 +- account_test.go | 2 +- accountlink/client.go | 2 +- accountlink/client_test.go | 4 +- accountsession/client.go | 2 +- applepaydomain/client.go | 4 +- applepaydomain/client_test.go | 4 +- applicationfee/client.go | 4 +- applicationfee/client_test.go | 4 +- apps/secret/client.go | 4 +- balance/client.go | 2 +- balance/client_test.go | 2 +- balancetransaction/client.go | 4 +- balancetransaction/client_test.go | 4 +- bankaccount.go | 2 +- bankaccount/client.go | 4 +- bankaccount/client_test.go | 4 +- bankaccount_test.go | 2 +- billing/alert/client.go | 4 +- billing/creditbalancesummary/client.go | 2 +- billing/creditbalancetransaction/client.go | 4 +- billing/creditgrant/client.go | 4 +- billing/meter/client.go | 4 +- billing/meterevent/client.go | 2 +- billing/metereventadjustment/client.go | 2 +- billing/metereventsummary/client.go | 4 +- billingportal/configuration/client.go | 4 +- billingportal/configuration/client_test.go | 4 +- billingportal/session/client.go | 2 +- billingportal/session/client_test.go | 4 +- capability/client.go | 4 +- capability/client_test.go | 4 +- card.go | 2 +- card/client.go | 4 +- card/client_test.go | 4 +- card_test.go | 2 +- cashbalance/client.go | 2 +- charge/client.go | 4 +- charge/client_test.go | 4 +- checkout/session/client.go | 4 +- checkout/session/client_test.go | 4 +- client/api.go | 274 +++++++++--------- climate/order/client.go | 4 +- climate/product/client.go | 4 +- climate/supplier/client.go | 4 +- confirmationtoken/client.go | 2 +- countryspec/client.go | 4 +- countryspec/client_test.go | 4 +- coupon/client.go | 4 +- coupon/client_test.go | 4 +- creditnote/client.go | 4 +- creditnote/client_test.go | 4 +- customer/client.go | 4 +- customer/client_test.go | 4 +- customerbalancetransaction/client.go | 4 +- customerbalancetransaction/client_test.go | 4 +- customercashbalancetransaction/client.go | 4 +- customersession/client.go | 2 +- dispute/client.go | 4 +- dispute/client_test.go | 4 +- entitlements/activeentitlement/client.go | 4 +- entitlements/feature/client.go | 4 +- ephemeralkey/client.go | 2 +- ephemeralkey/client_test.go | 4 +- event/client.go | 4 +- event/client_test.go | 4 +- example/deserialization_test.go | 2 +- example/generated_examples_test.go | 206 ++++++------- .../meter_event_stream/meter_event_stream.go | 4 +- .../thinevent_webhook_handler.go | 8 +- example_test.go | 10 +- feerefund/client.go | 4 +- feerefund/client_test.go | 4 +- file.go | 2 +- file/client.go | 4 +- file/client_test.go | 6 +- filelink.go | 2 +- filelink/client.go | 4 +- filelink/client_test.go | 4 +- filelink_test.go | 2 +- financialconnections/account/client.go | 4 +- financialconnections/session/client.go | 2 +- financialconnections/transaction/client.go | 4 +- forwarding/request/client.go | 4 +- go.mod | 2 +- identity/verificationreport/client.go | 4 +- identity/verificationreport/client_test.go | 4 +- identity/verificationsession/client.go | 4 +- identity/verificationsession/client_test.go | 4 +- invoice.go | 2 +- invoice/client.go | 4 +- invoice/client_test.go | 4 +- invoice_test.go | 2 +- invoiceitem/client.go | 4 +- invoiceitem/client_test.go | 4 +- invoicelineitem/client.go | 2 +- invoicerenderingtemplate/client.go | 4 +- issuing/authorization/client.go | 4 +- issuing/authorization/client_test.go | 4 +- issuing/card/client.go | 4 +- issuing/card/client_test.go | 4 +- issuing/cardholder/client.go | 4 +- issuing/cardholder/client_test.go | 4 +- issuing/dispute/client.go | 4 +- issuing/dispute/client_test.go | 4 +- issuing/personalizationdesign/client.go | 4 +- issuing/physicalbundle/client.go | 4 +- issuing/token/client.go | 4 +- issuing/transaction/client.go | 4 +- issuing/transaction/client_test.go | 4 +- iter.go | 2 +- iter_test.go | 2 +- loginlink/client.go | 2 +- loginlink/client_test.go | 4 +- mandate/client.go | 2 +- mandate/client_test.go | 2 +- oauth/client.go | 4 +- oauth/client_test.go | 4 +- params.go | 2 +- params_test.go | 6 +- paymentintent/client.go | 4 +- paymentintent/client_test.go | 4 +- paymentlink/client.go | 4 +- paymentmethod/client.go | 4 +- paymentmethod/client_test.go | 4 +- paymentmethodconfiguration/client.go | 4 +- paymentmethoddomain/client.go | 4 +- paymentsource.go | 2 +- paymentsource/client.go | 4 +- paymentsource/client_test.go | 4 +- paymentsource_test.go | 2 +- payout/client.go | 4 +- payout/client_test.go | 4 +- person/client.go | 4 +- person/client_test.go | 4 +- plan.go | 2 +- plan/client.go | 4 +- plan/client_test.go | 4 +- plan_test.go | 2 +- price.go | 2 +- price/client.go | 4 +- price/client_test.go | 4 +- price_test.go | 2 +- product.go | 2 +- product/client.go | 4 +- product/client_test.go | 4 +- productfeature/client.go | 4 +- promotioncode/client.go | 4 +- promotioncode/client_test.go | 4 +- quote.go | 2 +- quote/client.go | 4 +- quote/client_test.go | 4 +- quote_test.go | 2 +- radar/earlyfraudwarning/client.go | 4 +- radar/earlyfraudwarning/client_test.go | 4 +- radar/valuelist/client.go | 4 +- radar/valuelist/client_test.go | 4 +- radar/valuelistitem/client.go | 4 +- radar/valuelistitem/client_test.go | 4 +- rawrequest/client.go | 2 +- rawrequest/client_test.go | 4 +- refund/client.go | 4 +- refund/client_test.go | 4 +- reporting/reportrun/client.go | 4 +- reporting/reportrun/client_test.go | 4 +- reporting/reporttype/client.go | 4 +- reporting/reporttype/client_test.go | 4 +- review/client.go | 4 +- review/client_test.go | 4 +- search_iter.go | 2 +- search_iter_test.go | 2 +- search_params_test.go | 6 +- setupattempt/client.go | 4 +- setupattempt/client_test.go | 4 +- setupintent/client.go | 4 +- setupintent/client_test.go | 4 +- shippingrate/client.go | 4 +- sigma/scheduledqueryrun/client.go | 4 +- sigma/scheduledqueryrun/client_test.go | 4 +- source/client.go | 2 +- source/client_test.go | 4 +- sourcetransaction/client.go | 4 +- sourcetransaction/client_test.go | 4 +- stripe.go | 4 +- sub_test.go | 2 +- subschedule_test.go | 2 +- subscription.go | 2 +- subscription/client.go | 4 +- subscription/client_test.go | 4 +- subscriptionitem/client.go | 4 +- subscriptionitem/client_test.go | 4 +- subscriptionschedule.go | 2 +- subscriptionschedule/client.go | 4 +- subscriptionschedule/client_test.go | 4 +- tax/calculation/client.go | 4 +- tax/registration/client.go | 4 +- tax/settings/client.go | 2 +- tax/transaction/client.go | 4 +- tax_registration.go | 2 +- taxcode/client.go | 4 +- taxcode/client_test.go | 4 +- taxid/client.go | 4 +- taxid/client_test.go | 4 +- taxrate/client.go | 4 +- taxrate/client_test.go | 4 +- terminal/configuration/client.go | 4 +- terminal/connectiontoken/client.go | 2 +- terminal/connectiontoken/client_test.go | 4 +- terminal/location/client.go | 4 +- terminal/location/client_test.go | 4 +- terminal/reader/client.go | 4 +- terminal/reader/client_test.go | 4 +- testhelpers/confirmationtoken/client.go | 2 +- testhelpers/customer/client.go | 2 +- testhelpers/issuing/authorization/client.go | 2 +- testhelpers/issuing/card/client.go | 2 +- .../issuing/personalizationdesign/client.go | 2 +- testhelpers/issuing/transaction/client.go | 2 +- testhelpers/refund/client.go | 2 +- testhelpers/terminal/reader/client.go | 2 +- testhelpers/terminal/reader/client_test.go | 4 +- testhelpers/testclock/client.go | 4 +- .../treasury/inboundtransfer/client.go | 2 +- .../treasury/outboundpayment/client.go | 2 +- .../treasury/outboundtransfer/client.go | 2 +- testhelpers/treasury/receivedcredit/client.go | 2 +- testhelpers/treasury/receiveddebit/client.go | 2 +- testing/testing.go | 4 +- token/client.go | 2 +- token/client_test.go | 4 +- topup/client.go | 4 +- topup/client_test.go | 4 +- transfer/client.go | 4 +- transfer/client_test.go | 4 +- transferreversal/client.go | 4 +- transferreversal/client_test.go | 4 +- treasury/creditreversal/client.go | 4 +- treasury/debitreversal/client.go | 4 +- treasury/financialaccount/client.go | 4 +- treasury/inboundtransfer/client.go | 4 +- treasury/outboundpayment/client.go | 4 +- treasury/outboundtransfer/client.go | 4 +- treasury/receivedcredit/client.go | 4 +- treasury/receiveddebit/client.go | 4 +- treasury/transaction/client.go | 4 +- treasury/transactionentry/client.go | 4 +- usagerecord.go | 2 +- usagerecord/client.go | 2 +- usagerecord/client_test.go | 4 +- usagerecord_test.go | 2 +- usagerecordsummary/client.go | 4 +- usagerecordsummary/client_test.go | 4 +- webhook/client.go | 2 +- webhook/client_handler_test.go | 2 +- webhook/client_test.go | 2 +- webhookendpoint/client.go | 4 +- webhookendpoint/client_test.go | 4 +- 262 files changed, 742 insertions(+), 711 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11d8474359..f46fc8872b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## 81.0.0 - 2024-10-29 +* [#1931](https://github.com/stripe/stripe-go/pull/1931) This release changes the pinned API version to `2024-10-28.acacia`. + * Add support for new resource `V2.EventDestinations` + * Add support for `New`, `Retrieve`, `Update`, `List`, `Delete`, `Disable`, `Enable` and `Ping` methods on resource `V2.EventDestinations` + * Add support for `SubmitCard` test helper method on resource `Issuing.Card` + * Add support for `Groups` on `AccountParams` and `Account` + * Add support for `AlmaPayments`, `KakaoPayPayments`, `KrCardPayments`, `NaverPayPayments`, `PaycoPayments`, and `SamsungPayPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` + * Add support for `DisableStripeUserAuthentication` on `AccountSessionComponentsAccountManagementFeaturesParams`, `AccountSessionComponentsAccountManagementFeatures`, `AccountSessionComponentsAccountOnboardingFeaturesParams`, `AccountSessionComponentsAccountOnboardingFeatures`, `AccountSessionComponentsBalancesFeaturesParams`, `AccountSessionComponentsBalancesFeatures`, `AccountSessionComponentsNotificationBannerFeaturesParams`, `AccountSessionComponentsNotificationBannerFeatures`, `AccountSessionComponentsPayoutsFeaturesParams`, and `AccountSessionComponentsPayoutsFeatures` + * Add support for `ScheduleAtPeriodEnd` on `BillingPortalConfigurationFeaturesSubscriptionUpdateParams` and `BillingPortalConfigurationFeaturesSubscriptionUpdate` + * Add support for `Alma` on `ChargePaymentMethodDetails`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationParams`, `PaymentMethodConfiguration`, `PaymentMethodParams`, `PaymentMethod`, `RefundDestinationDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` + * Add support for `KakaoPay` and `KrCard` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` + * Add support for `NaverPay` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` + * Add support for `Payco` and `SamsungPay` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `ConfirmationTokenPaymentMethodDataParams`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` + * Add support for new values `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, and `uz_vat` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, `TaxIdType`, and `TaxTransactionCustomerDetailsTaxIdsType` + * Add support for new values `alma`, `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `ConfirmationTokenPaymentMethodPreviewType` and `PaymentMethodType` + * Add support for `EnhancedEvidence` on `DisputeEvidenceParams` and `DisputeEvidence` + * Add support for `EnhancedEligibilityTypes` on `Dispute` + * Add support for `EnhancedEligibility` on `DisputeEvidenceDetails` + * Add support for new values `issuing_transaction.purchase_details_receipt_updated` and `refund.failed` on enum `EventType` + * Add support for `Metadata` on `ForwardingRequestParams` and `ForwardingRequest` + * Add support for `AutomaticallyFinalizesAt` on `InvoiceParams` + * Add support for new values `jp_credit_transfer`, `kakao_pay`, `kr_card`, `naver_pay`, and `payco` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` + * Add support for new value `alma` on enum `PaymentLinkPaymentMethodTypes` + * Add support for `AmazonPay` on `PaymentMethodDomain` + * Change type of `RefundNextActionDisplayDetails` from `nullable(RefundNextActionDisplayDetails)` to `RefundNextActionDisplayDetails` + * Add support for new value `retail_delivery_fee` on enums `TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationTaxBreakdownTaxRateDetailsTaxType`, `TaxRateTaxType`, and `TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType` + * Add support for `FlatAmount` and `RateType` on `TaxCalculationTaxBreakdownTaxRateDetails` and `TaxRate` + * Add support for `By`, `Cr`, `Ec`, `Ma`, `Md`, `RU`, `Rs`, `Tz`, and `Uz` on `TaxRegistrationCountryOptionsParams` and `TaxRegistrationCountryOptions` + * Add support for new value `state_retail_delivery_fee` on enum `TaxRegistrationCountryOptionsUsType` + * Add support for `Pln` on `TerminalConfigurationTippingParams` and `TerminalConfigurationTipping` + ## 80.2.1 - 2024-10-29 * [#1940](https://github.com/stripe/stripe-go/pull/1940) Update webhook API version validation - Update webhook event processing to accept events from any API version within the supported major release diff --git a/README.md b/README.md index 28ad62eac0..398d891e93 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/v80) +[![Go Reference](https://pkg.go.dev/badge/github.com/stripe/stripe-go)](https://pkg.go.dev/github.com/stripe/stripe-go/v81) [![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/v80" - "github.com/stripe/stripe-go/v80/customer" + "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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/v80 +go get -u github.com/stripe/stripe-go/v81 ``` ## Documentation @@ -123,8 +123,8 @@ To use a key, pass it to `API`'s `Init` function: ```go import ( - "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/client" + "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/client" ) stripe := &client.API{} @@ -145,8 +145,8 @@ import ( "google.golang.org/appengine" "google.golang.org/appengine/urlfetch" - "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/client" + "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/client" ) func handler(w http.ResponseWriter, r *http.Request) { @@ -180,8 +180,8 @@ client. ```go import ( - "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/$resource$" + "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/$resource$" ) // Setup @@ -221,8 +221,8 @@ individual key. ```go import ( - "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/client" + "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/client" ) // Setup @@ -293,8 +293,8 @@ with `MaxNetworkRetries`: ```go import ( - "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/client" + "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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/v80 Backend +mockgen -destination=mocks/backend.go -package=mocks github.com/stripe/stripe-go/v81 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/v80" - "github.com/stripe/stripe-go/v80/account" + "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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/v80@beta +go get -u github.com/stripe/stripe-go/v81@beta ``` > **Note** @@ -566,9 +566,9 @@ import ( "encoding/json" "fmt" - "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" - "github.com/stripe/stripe-go/v80/rawrequest" + "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" + "github.com/stripe/stripe-go/v81/rawrequest" ) func make_raw_request() error { diff --git a/VERSION b/VERSION index 8afe3ff971..6a78467e89 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -80.2.1 +81.0.0 diff --git a/account.go b/account.go index 088eef6f78..58ce96edd7 100644 --- a/account.go +++ b/account.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/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 24464efbf3..f7de5d7f9a 100644 --- a/account/client.go +++ b/account/client.go @@ -10,8 +10,8 @@ package account import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /accounts APIs. diff --git a/account/client_test.go b/account/client_test.go index 2060aead36..babbe92d60 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestAccountDel(t *testing.T) { diff --git a/account_test.go b/account_test.go index 4e7a661602..b67f46f1e6 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestAccountExternalAccountParams_AppendTo(t *testing.T) { diff --git a/accountlink/client.go b/accountlink/client.go index 4a1189ce7c..c9714941b9 100644 --- a/accountlink/client.go +++ b/accountlink/client.go @@ -10,7 +10,7 @@ package accountlink import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /account_links APIs. diff --git a/accountlink/client_test.go b/accountlink/client_test.go index 2d9137a608..2f5dff910c 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestAccountLinkNew(t *testing.T) { diff --git a/accountsession/client.go b/accountsession/client.go index 031188efaf..360bd90e4b 100644 --- a/accountsession/client.go +++ b/accountsession/client.go @@ -10,7 +10,7 @@ package accountsession import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /account_sessions APIs. diff --git a/applepaydomain/client.go b/applepaydomain/client.go index fece725979..47497fcef4 100644 --- a/applepaydomain/client.go +++ b/applepaydomain/client.go @@ -10,8 +10,8 @@ package applepaydomain import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /apple_pay/domains APIs. diff --git a/applepaydomain/client_test.go b/applepaydomain/client_test.go index f40c67fc1a..fd6965e02d 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestApplePayDomainDel(t *testing.T) { diff --git a/applicationfee/client.go b/applicationfee/client.go index a2361339c9..e5e4c4291d 100644 --- a/applicationfee/client.go +++ b/applicationfee/client.go @@ -10,8 +10,8 @@ package applicationfee import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /application_fees APIs. diff --git a/applicationfee/client_test.go b/applicationfee/client_test.go index d69d308827..68216b32da 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestApplicationFeeGet(t *testing.T) { diff --git a/apps/secret/client.go b/apps/secret/client.go index fbfab39a44..84e0b02385 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /apps/secrets APIs. diff --git a/balance/client.go b/balance/client.go index c0f7f9f67e..8cc14ee86b 100644 --- a/balance/client.go +++ b/balance/client.go @@ -10,7 +10,7 @@ package balance import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /balance APIs. diff --git a/balance/client_test.go b/balance/client_test.go index 536db03f9b..0d4b4e22ca 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/v80/testing" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestBalanceGet(t *testing.T) { diff --git a/balancetransaction/client.go b/balancetransaction/client.go index c05c734aca..759519b768 100644 --- a/balancetransaction/client.go +++ b/balancetransaction/client.go @@ -10,8 +10,8 @@ package balancetransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /balance_transactions APIs. diff --git a/balancetransaction/client_test.go b/balancetransaction/client_test.go index 11bb7a348c..27e565edbe 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestBalanceTransactionGet(t *testing.T) { diff --git a/bankaccount.go b/bankaccount.go index 486c99f2b8..a1d39b9fb8 100644 --- a/bankaccount.go +++ b/bankaccount.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" "strconv" ) diff --git a/bankaccount/client.go b/bankaccount/client.go index 8b19dba3ca..1916276038 100644 --- a/bankaccount/client.go +++ b/bankaccount/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke bankaccount related APIs. diff --git a/bankaccount/client_test.go b/bankaccount/client_test.go index e73493c931..22e97c4cda 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestBankAccountDel_ByAccount(t *testing.T) { diff --git a/bankaccount_test.go b/bankaccount_test.go index 2ec4e81e98..ea5a2f8993 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestBankAccount_UnmarshalJSON(t *testing.T) { diff --git a/billing/alert/client.go b/billing/alert/client.go index 1be3aa57a1..e877217c85 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /billing/alerts APIs. diff --git a/billing/creditbalancesummary/client.go b/billing/creditbalancesummary/client.go index a35bd01e82..b41730740e 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /billing/credit_balance_summary APIs. diff --git a/billing/creditbalancetransaction/client.go b/billing/creditbalancetransaction/client.go index d5978fb11f..0cc1fa8923 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /billing/credit_balance_transactions APIs. diff --git a/billing/creditgrant/client.go b/billing/creditgrant/client.go index 7caa455599..3540800bf5 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /billing/credit_grants APIs. diff --git a/billing/meter/client.go b/billing/meter/client.go index 14c1daf7a2..4bbe7ce0de 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /billing/meters APIs. diff --git a/billing/meterevent/client.go b/billing/meterevent/client.go index 9fc450164c..8d95b1ea13 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /billing/meter_events APIs. diff --git a/billing/metereventadjustment/client.go b/billing/metereventadjustment/client.go index e36040be06..4d4318a3c7 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /billing/meter_event_adjustments APIs. diff --git a/billing/metereventsummary/client.go b/billing/metereventsummary/client.go index 48ffc6929a..880706b904 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 67b3d06dde..2091931c5b 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 c4ba53f136..8401db1d04 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestBillingPortalConfigurationGet(t *testing.T) { diff --git a/billingportal/session/client.go b/billingportal/session/client.go index 061589fdec..b86e84e37e 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /billing_portal/sessions APIs. diff --git a/billingportal/session/client_test.go b/billingportal/session/client_test.go index c8770c80f5..13d5b52eed 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestBillingPortalSessionNew(t *testing.T) { diff --git a/capability/client.go b/capability/client.go index daaf6dc01f..7d092a121a 100644 --- a/capability/client.go +++ b/capability/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /accounts/{account}/capabilities APIs. diff --git a/capability/client_test.go b/capability/client_test.go index 8646eff257..fb7e3501a7 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCapabilityGet(t *testing.T) { diff --git a/card.go b/card.go index 9853f5b15d..c10835b4c3 100644 --- a/card.go +++ b/card.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" "strconv" ) diff --git a/card/client.go b/card/client.go index 418a9f499d..bfbf19d580 100644 --- a/card/client.go +++ b/card/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke card related APIs. diff --git a/card/client_test.go b/card/client_test.go index ba870e9c8f..da4ee75ff1 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCardDel(t *testing.T) { diff --git a/card_test.go b/card_test.go index 383cf64b30..c3281092fd 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestCardListParams_AppendTo(t *testing.T) { diff --git a/cashbalance/client.go b/cashbalance/client.go index d12b989175..be48f63aee 100644 --- a/cashbalance/client.go +++ b/cashbalance/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /customers/{customer}/cash_balance APIs. diff --git a/charge/client.go b/charge/client.go index 081640ed10..2be30ba0bd 100644 --- a/charge/client.go +++ b/charge/client.go @@ -10,8 +10,8 @@ package charge import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /charges APIs. diff --git a/charge/client_test.go b/charge/client_test.go index 6ce1ae849c..5f6f608f1e 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestChargeCapture(t *testing.T) { diff --git a/checkout/session/client.go b/checkout/session/client.go index 7658e77423..6c0e3f6196 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /checkout/sessions APIs. diff --git a/checkout/session/client_test.go b/checkout/session/client_test.go index c6164e8d3f..36188deb4b 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCheckoutSessionGet(t *testing.T) { diff --git a/client/api.go b/client/api.go index cae18c77dd..8fffc10c3e 100644 --- a/client/api.go +++ b/client/api.go @@ -8,143 +8,143 @@ package client import ( - 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" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/account" + "github.com/stripe/stripe-go/v81/accountlink" + "github.com/stripe/stripe-go/v81/accountsession" + "github.com/stripe/stripe-go/v81/applepaydomain" + "github.com/stripe/stripe-go/v81/applicationfee" + appssecret "github.com/stripe/stripe-go/v81/apps/secret" + "github.com/stripe/stripe-go/v81/balance" + "github.com/stripe/stripe-go/v81/balancetransaction" + "github.com/stripe/stripe-go/v81/bankaccount" + billingalert "github.com/stripe/stripe-go/v81/billing/alert" + billingcreditbalancesummary "github.com/stripe/stripe-go/v81/billing/creditbalancesummary" + billingcreditbalancetransaction "github.com/stripe/stripe-go/v81/billing/creditbalancetransaction" + billingcreditgrant "github.com/stripe/stripe-go/v81/billing/creditgrant" + billingmeter "github.com/stripe/stripe-go/v81/billing/meter" + billingmeterevent "github.com/stripe/stripe-go/v81/billing/meterevent" + billingmetereventadjustment "github.com/stripe/stripe-go/v81/billing/metereventadjustment" + billingmetereventsummary "github.com/stripe/stripe-go/v81/billing/metereventsummary" + billingportalconfiguration "github.com/stripe/stripe-go/v81/billingportal/configuration" + billingportalsession "github.com/stripe/stripe-go/v81/billingportal/session" + "github.com/stripe/stripe-go/v81/capability" + "github.com/stripe/stripe-go/v81/card" + "github.com/stripe/stripe-go/v81/cashbalance" + "github.com/stripe/stripe-go/v81/charge" + checkoutsession "github.com/stripe/stripe-go/v81/checkout/session" + climateorder "github.com/stripe/stripe-go/v81/climate/order" + climateproduct "github.com/stripe/stripe-go/v81/climate/product" + climatesupplier "github.com/stripe/stripe-go/v81/climate/supplier" + "github.com/stripe/stripe-go/v81/confirmationtoken" + "github.com/stripe/stripe-go/v81/countryspec" + "github.com/stripe/stripe-go/v81/coupon" + "github.com/stripe/stripe-go/v81/creditnote" + "github.com/stripe/stripe-go/v81/customer" + "github.com/stripe/stripe-go/v81/customerbalancetransaction" + "github.com/stripe/stripe-go/v81/customercashbalancetransaction" + "github.com/stripe/stripe-go/v81/customersession" + "github.com/stripe/stripe-go/v81/dispute" + entitlementsactiveentitlement "github.com/stripe/stripe-go/v81/entitlements/activeentitlement" + entitlementsfeature "github.com/stripe/stripe-go/v81/entitlements/feature" + "github.com/stripe/stripe-go/v81/ephemeralkey" + "github.com/stripe/stripe-go/v81/event" + "github.com/stripe/stripe-go/v81/feerefund" + "github.com/stripe/stripe-go/v81/file" + "github.com/stripe/stripe-go/v81/filelink" + financialconnectionsaccount "github.com/stripe/stripe-go/v81/financialconnections/account" + financialconnectionssession "github.com/stripe/stripe-go/v81/financialconnections/session" + financialconnectionstransaction "github.com/stripe/stripe-go/v81/financialconnections/transaction" + forwardingrequest "github.com/stripe/stripe-go/v81/forwarding/request" + identityverificationreport "github.com/stripe/stripe-go/v81/identity/verificationreport" + identityverificationsession "github.com/stripe/stripe-go/v81/identity/verificationsession" + "github.com/stripe/stripe-go/v81/invoice" + "github.com/stripe/stripe-go/v81/invoiceitem" + "github.com/stripe/stripe-go/v81/invoicelineitem" + "github.com/stripe/stripe-go/v81/invoicerenderingtemplate" + issuingauthorization "github.com/stripe/stripe-go/v81/issuing/authorization" + issuingcard "github.com/stripe/stripe-go/v81/issuing/card" + issuingcardholder "github.com/stripe/stripe-go/v81/issuing/cardholder" + issuingdispute "github.com/stripe/stripe-go/v81/issuing/dispute" + issuingpersonalizationdesign "github.com/stripe/stripe-go/v81/issuing/personalizationdesign" + issuingphysicalbundle "github.com/stripe/stripe-go/v81/issuing/physicalbundle" + issuingtoken "github.com/stripe/stripe-go/v81/issuing/token" + issuingtransaction "github.com/stripe/stripe-go/v81/issuing/transaction" + "github.com/stripe/stripe-go/v81/loginlink" + "github.com/stripe/stripe-go/v81/mandate" + "github.com/stripe/stripe-go/v81/oauth" + "github.com/stripe/stripe-go/v81/paymentintent" + "github.com/stripe/stripe-go/v81/paymentlink" + "github.com/stripe/stripe-go/v81/paymentmethod" + "github.com/stripe/stripe-go/v81/paymentmethodconfiguration" + "github.com/stripe/stripe-go/v81/paymentmethoddomain" + "github.com/stripe/stripe-go/v81/paymentsource" + "github.com/stripe/stripe-go/v81/payout" + "github.com/stripe/stripe-go/v81/person" + "github.com/stripe/stripe-go/v81/plan" + "github.com/stripe/stripe-go/v81/price" + "github.com/stripe/stripe-go/v81/product" + "github.com/stripe/stripe-go/v81/productfeature" + "github.com/stripe/stripe-go/v81/promotioncode" + "github.com/stripe/stripe-go/v81/quote" + radarearlyfraudwarning "github.com/stripe/stripe-go/v81/radar/earlyfraudwarning" + radarvaluelist "github.com/stripe/stripe-go/v81/radar/valuelist" + radarvaluelistitem "github.com/stripe/stripe-go/v81/radar/valuelistitem" + "github.com/stripe/stripe-go/v81/refund" + reportingreportrun "github.com/stripe/stripe-go/v81/reporting/reportrun" + reportingreporttype "github.com/stripe/stripe-go/v81/reporting/reporttype" + "github.com/stripe/stripe-go/v81/review" + "github.com/stripe/stripe-go/v81/setupattempt" + "github.com/stripe/stripe-go/v81/setupintent" + "github.com/stripe/stripe-go/v81/shippingrate" + sigmascheduledqueryrun "github.com/stripe/stripe-go/v81/sigma/scheduledqueryrun" + "github.com/stripe/stripe-go/v81/source" + "github.com/stripe/stripe-go/v81/sourcetransaction" + "github.com/stripe/stripe-go/v81/subscription" + "github.com/stripe/stripe-go/v81/subscriptionitem" + "github.com/stripe/stripe-go/v81/subscriptionschedule" + taxcalculation "github.com/stripe/stripe-go/v81/tax/calculation" + taxregistration "github.com/stripe/stripe-go/v81/tax/registration" + taxsettings "github.com/stripe/stripe-go/v81/tax/settings" + taxtransaction "github.com/stripe/stripe-go/v81/tax/transaction" + "github.com/stripe/stripe-go/v81/taxcode" + "github.com/stripe/stripe-go/v81/taxid" + "github.com/stripe/stripe-go/v81/taxrate" + terminalconfiguration "github.com/stripe/stripe-go/v81/terminal/configuration" + terminalconnectiontoken "github.com/stripe/stripe-go/v81/terminal/connectiontoken" + terminallocation "github.com/stripe/stripe-go/v81/terminal/location" + terminalreader "github.com/stripe/stripe-go/v81/terminal/reader" + testhelpersconfirmationtoken "github.com/stripe/stripe-go/v81/testhelpers/confirmationtoken" + testhelperscustomer "github.com/stripe/stripe-go/v81/testhelpers/customer" + testhelpersissuingauthorization "github.com/stripe/stripe-go/v81/testhelpers/issuing/authorization" + testhelpersissuingcard "github.com/stripe/stripe-go/v81/testhelpers/issuing/card" + testhelpersissuingpersonalizationdesign "github.com/stripe/stripe-go/v81/testhelpers/issuing/personalizationdesign" + testhelpersissuingtransaction "github.com/stripe/stripe-go/v81/testhelpers/issuing/transaction" + testhelpersrefund "github.com/stripe/stripe-go/v81/testhelpers/refund" + testhelpersterminalreader "github.com/stripe/stripe-go/v81/testhelpers/terminal/reader" + testhelperstestclock "github.com/stripe/stripe-go/v81/testhelpers/testclock" + testhelperstreasuryinboundtransfer "github.com/stripe/stripe-go/v81/testhelpers/treasury/inboundtransfer" + testhelperstreasuryoutboundpayment "github.com/stripe/stripe-go/v81/testhelpers/treasury/outboundpayment" + testhelperstreasuryoutboundtransfer "github.com/stripe/stripe-go/v81/testhelpers/treasury/outboundtransfer" + testhelperstreasuryreceivedcredit "github.com/stripe/stripe-go/v81/testhelpers/treasury/receivedcredit" + testhelperstreasuryreceiveddebit "github.com/stripe/stripe-go/v81/testhelpers/treasury/receiveddebit" + "github.com/stripe/stripe-go/v81/token" + "github.com/stripe/stripe-go/v81/topup" + "github.com/stripe/stripe-go/v81/transfer" + "github.com/stripe/stripe-go/v81/transferreversal" + treasurycreditreversal "github.com/stripe/stripe-go/v81/treasury/creditreversal" + treasurydebitreversal "github.com/stripe/stripe-go/v81/treasury/debitreversal" + treasuryfinancialaccount "github.com/stripe/stripe-go/v81/treasury/financialaccount" + treasuryinboundtransfer "github.com/stripe/stripe-go/v81/treasury/inboundtransfer" + treasuryoutboundpayment "github.com/stripe/stripe-go/v81/treasury/outboundpayment" + treasuryoutboundtransfer "github.com/stripe/stripe-go/v81/treasury/outboundtransfer" + treasuryreceivedcredit "github.com/stripe/stripe-go/v81/treasury/receivedcredit" + treasuryreceiveddebit "github.com/stripe/stripe-go/v81/treasury/receiveddebit" + treasurytransaction "github.com/stripe/stripe-go/v81/treasury/transaction" + treasurytransactionentry "github.com/stripe/stripe-go/v81/treasury/transactionentry" + "github.com/stripe/stripe-go/v81/usagerecord" + "github.com/stripe/stripe-go/v81/usagerecordsummary" + "github.com/stripe/stripe-go/v81/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 8239eb7783..77da6a6b81 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /climate/orders APIs. diff --git a/climate/product/client.go b/climate/product/client.go index 0e525e9787..6ed801ebae 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /climate/products APIs. diff --git a/climate/supplier/client.go b/climate/supplier/client.go index a8bc34d3b1..c88933705e 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /climate/suppliers APIs. diff --git a/confirmationtoken/client.go b/confirmationtoken/client.go index 89bcea3184..4b8675d4fa 100644 --- a/confirmationtoken/client.go +++ b/confirmationtoken/client.go @@ -10,7 +10,7 @@ package confirmationtoken import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /confirmation_tokens APIs. diff --git a/countryspec/client.go b/countryspec/client.go index 5c383188b7..83581dff82 100644 --- a/countryspec/client.go +++ b/countryspec/client.go @@ -10,8 +10,8 @@ package countryspec import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /country_specs APIs. diff --git a/countryspec/client_test.go b/countryspec/client_test.go index 91e089ae1b..71bb13d108 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCountrySpecGet(t *testing.T) { diff --git a/coupon/client.go b/coupon/client.go index 4c4b0ca840..2549bbe22c 100644 --- a/coupon/client.go +++ b/coupon/client.go @@ -10,8 +10,8 @@ package coupon import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /coupons APIs. diff --git a/coupon/client_test.go b/coupon/client_test.go index e180d6ef36..57267af0b7 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCouponDel(t *testing.T) { diff --git a/creditnote/client.go b/creditnote/client.go index 1b214d430b..9820a80104 100644 --- a/creditnote/client.go +++ b/creditnote/client.go @@ -10,8 +10,8 @@ package creditnote import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /credit_notes APIs. diff --git a/creditnote/client_test.go b/creditnote/client_test.go index 8ee1a87f0b..68c99da61b 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCreditNoteGet(t *testing.T) { diff --git a/customer/client.go b/customer/client.go index e3d207bc50..92d8c29b47 100644 --- a/customer/client.go +++ b/customer/client.go @@ -10,8 +10,8 @@ package customer import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /customers APIs. diff --git a/customer/client_test.go b/customer/client_test.go index bba4ab448d..f68c73240c 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCustomerDel(t *testing.T) { diff --git a/customerbalancetransaction/client.go b/customerbalancetransaction/client.go index 19af671d8b..76097e7cc6 100644 --- a/customerbalancetransaction/client.go +++ b/customerbalancetransaction/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /customers/{customer}/balance_transactions APIs. diff --git a/customerbalancetransaction/client_test.go b/customerbalancetransaction/client_test.go index 08bb76e4ce..9dcb83a31f 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestCustomerBalanceTransactionGet(t *testing.T) { diff --git a/customercashbalancetransaction/client.go b/customercashbalancetransaction/client.go index 16966a2f06..53a567115e 100644 --- a/customercashbalancetransaction/client.go +++ b/customercashbalancetransaction/client.go @@ -10,8 +10,8 @@ package customercashbalancetransaction import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /customers/{customer}/cash_balance_transactions APIs. diff --git a/customersession/client.go b/customersession/client.go index deb6cf9b23..a870597066 100644 --- a/customersession/client.go +++ b/customersession/client.go @@ -10,7 +10,7 @@ package customersession import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /customer_sessions APIs. diff --git a/dispute/client.go b/dispute/client.go index 0f9181ddf1..f0d1e21834 100644 --- a/dispute/client.go +++ b/dispute/client.go @@ -10,8 +10,8 @@ package dispute import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /disputes APIs. diff --git a/dispute/client_test.go b/dispute/client_test.go index fc7e04567f..df6a5bdefd 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestDisputeClose(t *testing.T) { diff --git a/entitlements/activeentitlement/client.go b/entitlements/activeentitlement/client.go index 91a929e25c..4dc1d4aa96 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /entitlements/active_entitlements APIs. diff --git a/entitlements/feature/client.go b/entitlements/feature/client.go index 1771f27f19..436b2e3763 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /entitlements/features APIs. diff --git a/ephemeralkey/client.go b/ephemeralkey/client.go index 9353b438aa..c6a819c94d 100644 --- a/ephemeralkey/client.go +++ b/ephemeralkey/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /ephemeral_keys APIs. diff --git a/ephemeralkey/client_test.go b/ephemeralkey/client_test.go index 776a3608a6..ef93aa69fd 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestEphemeralKeyDel(t *testing.T) { diff --git a/event/client.go b/event/client.go index 2258531fa5..614ba1912a 100644 --- a/event/client.go +++ b/event/client.go @@ -10,8 +10,8 @@ package event import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /events APIs. diff --git a/event/client_test.go b/event/client_test.go index 985cd9a340..362cff00ca 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestEventGet(t *testing.T) { diff --git a/example/deserialization_test.go b/example/deserialization_test.go index a46367e74f..f0b23559ed 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) type APIResource = stripe.APIResource diff --git a/example/generated_examples_test.go b/example/generated_examples_test.go index deddc128af..320fcfaa0f 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/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" + stripe "github.com/stripe/stripe-go/v81" + account "github.com/stripe/stripe-go/v81/account" + accountlink "github.com/stripe/stripe-go/v81/accountlink" + applicationfee "github.com/stripe/stripe-go/v81/applicationfee" + apps_secret "github.com/stripe/stripe-go/v81/apps/secret" + balancetransaction "github.com/stripe/stripe-go/v81/balancetransaction" + billingportal_configuration "github.com/stripe/stripe-go/v81/billingportal/configuration" + billingportal_session "github.com/stripe/stripe-go/v81/billingportal/session" + capability "github.com/stripe/stripe-go/v81/capability" + card "github.com/stripe/stripe-go/v81/card" + cashbalance "github.com/stripe/stripe-go/v81/cashbalance" + charge "github.com/stripe/stripe-go/v81/charge" + checkout_session "github.com/stripe/stripe-go/v81/checkout/session" + countryspec "github.com/stripe/stripe-go/v81/countryspec" + coupon "github.com/stripe/stripe-go/v81/coupon" + customer "github.com/stripe/stripe-go/v81/customer" + customerbalancetransaction "github.com/stripe/stripe-go/v81/customerbalancetransaction" + customercashbalancetransaction "github.com/stripe/stripe-go/v81/customercashbalancetransaction" + customersession "github.com/stripe/stripe-go/v81/customersession" + dispute "github.com/stripe/stripe-go/v81/dispute" + event "github.com/stripe/stripe-go/v81/event" + feerefund "github.com/stripe/stripe-go/v81/feerefund" + financialconnections_account "github.com/stripe/stripe-go/v81/financialconnections/account" + financialconnections_session "github.com/stripe/stripe-go/v81/financialconnections/session" + financialconnections_transaction "github.com/stripe/stripe-go/v81/financialconnections/transaction" + identity_verificationreport "github.com/stripe/stripe-go/v81/identity/verificationreport" + identity_verificationsession "github.com/stripe/stripe-go/v81/identity/verificationsession" + invoice "github.com/stripe/stripe-go/v81/invoice" + invoiceitem "github.com/stripe/stripe-go/v81/invoiceitem" + issuing_authorization "github.com/stripe/stripe-go/v81/issuing/authorization" + issuing_card "github.com/stripe/stripe-go/v81/issuing/card" + issuing_cardholder "github.com/stripe/stripe-go/v81/issuing/cardholder" + issuing_dispute "github.com/stripe/stripe-go/v81/issuing/dispute" + issuing_personalizationdesign "github.com/stripe/stripe-go/v81/issuing/personalizationdesign" + issuing_physicalbundle "github.com/stripe/stripe-go/v81/issuing/physicalbundle" + issuing_transaction "github.com/stripe/stripe-go/v81/issuing/transaction" + loginlink "github.com/stripe/stripe-go/v81/loginlink" + mandate "github.com/stripe/stripe-go/v81/mandate" + paymentintent "github.com/stripe/stripe-go/v81/paymentintent" + paymentlink "github.com/stripe/stripe-go/v81/paymentlink" + paymentmethod "github.com/stripe/stripe-go/v81/paymentmethod" + paymentmethodconfiguration "github.com/stripe/stripe-go/v81/paymentmethodconfiguration" + paymentsource "github.com/stripe/stripe-go/v81/paymentsource" + payout "github.com/stripe/stripe-go/v81/payout" + person "github.com/stripe/stripe-go/v81/person" + plan "github.com/stripe/stripe-go/v81/plan" + price "github.com/stripe/stripe-go/v81/price" + product "github.com/stripe/stripe-go/v81/product" + promotioncode "github.com/stripe/stripe-go/v81/promotioncode" + quote "github.com/stripe/stripe-go/v81/quote" + radar_earlyfraudwarning "github.com/stripe/stripe-go/v81/radar/earlyfraudwarning" + radar_valuelist "github.com/stripe/stripe-go/v81/radar/valuelist" + radar_valuelistitem "github.com/stripe/stripe-go/v81/radar/valuelistitem" + refund "github.com/stripe/stripe-go/v81/refund" + reporting_reportrun "github.com/stripe/stripe-go/v81/reporting/reportrun" + reporting_reporttype "github.com/stripe/stripe-go/v81/reporting/reporttype" + review "github.com/stripe/stripe-go/v81/review" + setupattempt "github.com/stripe/stripe-go/v81/setupattempt" + setupintent "github.com/stripe/stripe-go/v81/setupintent" + shippingrate "github.com/stripe/stripe-go/v81/shippingrate" + sigma_scheduledqueryrun "github.com/stripe/stripe-go/v81/sigma/scheduledqueryrun" + source "github.com/stripe/stripe-go/v81/source" + subscription "github.com/stripe/stripe-go/v81/subscription" + subscriptionitem "github.com/stripe/stripe-go/v81/subscriptionitem" + subscriptionschedule "github.com/stripe/stripe-go/v81/subscriptionschedule" + tax_calculation "github.com/stripe/stripe-go/v81/tax/calculation" + tax_settings "github.com/stripe/stripe-go/v81/tax/settings" + tax_transaction "github.com/stripe/stripe-go/v81/tax/transaction" + taxcode "github.com/stripe/stripe-go/v81/taxcode" + taxid "github.com/stripe/stripe-go/v81/taxid" + taxrate "github.com/stripe/stripe-go/v81/taxrate" + terminal_configuration "github.com/stripe/stripe-go/v81/terminal/configuration" + terminal_connectiontoken "github.com/stripe/stripe-go/v81/terminal/connectiontoken" + terminal_location "github.com/stripe/stripe-go/v81/terminal/location" + terminal_reader "github.com/stripe/stripe-go/v81/terminal/reader" + testhelpers_customer "github.com/stripe/stripe-go/v81/testhelpers/customer" + testhelpers_issuing_authorization "github.com/stripe/stripe-go/v81/testhelpers/issuing/authorization" + testhelpers_issuing_card "github.com/stripe/stripe-go/v81/testhelpers/issuing/card" + testhelpers_issuing_personalizationdesign "github.com/stripe/stripe-go/v81/testhelpers/issuing/personalizationdesign" + testhelpers_issuing_transaction "github.com/stripe/stripe-go/v81/testhelpers/issuing/transaction" + testhelpers_refund "github.com/stripe/stripe-go/v81/testhelpers/refund" + testhelpers_testclock "github.com/stripe/stripe-go/v81/testhelpers/testclock" + testhelpers_treasury_inboundtransfer "github.com/stripe/stripe-go/v81/testhelpers/treasury/inboundtransfer" + testhelpers_treasury_outboundtransfer "github.com/stripe/stripe-go/v81/testhelpers/treasury/outboundtransfer" + testhelpers_treasury_receivedcredit "github.com/stripe/stripe-go/v81/testhelpers/treasury/receivedcredit" + testhelpers_treasury_receiveddebit "github.com/stripe/stripe-go/v81/testhelpers/treasury/receiveddebit" + _ "github.com/stripe/stripe-go/v81/testing" + token "github.com/stripe/stripe-go/v81/token" + topup "github.com/stripe/stripe-go/v81/topup" + transfer "github.com/stripe/stripe-go/v81/transfer" + transferreversal "github.com/stripe/stripe-go/v81/transferreversal" + treasury_creditreversal "github.com/stripe/stripe-go/v81/treasury/creditreversal" + treasury_debitreversal "github.com/stripe/stripe-go/v81/treasury/debitreversal" + treasury_financialaccount "github.com/stripe/stripe-go/v81/treasury/financialaccount" + treasury_inboundtransfer "github.com/stripe/stripe-go/v81/treasury/inboundtransfer" + treasury_outboundpayment "github.com/stripe/stripe-go/v81/treasury/outboundpayment" + treasury_outboundtransfer "github.com/stripe/stripe-go/v81/treasury/outboundtransfer" + treasury_receivedcredit "github.com/stripe/stripe-go/v81/treasury/receivedcredit" + treasury_receiveddebit "github.com/stripe/stripe-go/v81/treasury/receiveddebit" + treasury_transaction "github.com/stripe/stripe-go/v81/treasury/transaction" + treasury_transactionentry "github.com/stripe/stripe-go/v81/treasury/transactionentry" + usagerecord "github.com/stripe/stripe-go/v81/usagerecord" + webhookendpoint "github.com/stripe/stripe-go/v81/webhookendpoint" ) func TestAccountLinksPost(t *testing.T) { diff --git a/example/v2/meter_event_stream/meter_event_stream.go b/example/v2/meter_event_stream/meter_event_stream.go index e231a49ede..80194831cc 100644 --- a/example/v2/meter_event_stream/meter_event_stream.go +++ b/example/v2/meter_event_stream/meter_event_stream.go @@ -18,8 +18,8 @@ import ( "os" "time" - stripe "github.com/stripe/stripe-go/v80" - rawrequest "github.com/stripe/stripe-go/v80/rawrequest" + stripe "github.com/stripe/stripe-go/v81" + rawrequest "github.com/stripe/stripe-go/v81/rawrequest" ) var sessionAuthToken string = "" diff --git a/example/v2/thinevent_webhook_handler/thinevent_webhook_handler.go b/example/v2/thinevent_webhook_handler/thinevent_webhook_handler.go index d76a3bd085..6dfe8f5a40 100644 --- a/example/v2/thinevent_webhook_handler/thinevent_webhook_handler.go +++ b/example/v2/thinevent_webhook_handler/thinevent_webhook_handler.go @@ -18,10 +18,10 @@ import ( "net/http" "os" - "github.com/stripe/stripe-go/v80" - billingMeters "github.com/stripe/stripe-go/v80/billing/meter" - "github.com/stripe/stripe-go/v80/rawrequest" - webhook "github.com/stripe/stripe-go/v80/webhook" + "github.com/stripe/stripe-go/v81" + billingMeters "github.com/stripe/stripe-go/v81/billing/meter" + "github.com/stripe/stripe-go/v81/rawrequest" + webhook "github.com/stripe/stripe-go/v81/webhook" ) var apiKey = "{{API_KEY}}" diff --git a/example_test.go b/example_test.go index 7db27e2a2c..c4fd350ed0 100644 --- a/example_test.go +++ b/example_test.go @@ -3,11 +3,11 @@ package stripe_test import ( "log" - 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" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/charge" + "github.com/stripe/stripe-go/v81/customer" + "github.com/stripe/stripe-go/v81/invoice" + "github.com/stripe/stripe-go/v81/plan" ) func ExampleCharge_new() { diff --git a/feerefund/client.go b/feerefund/client.go index d3ccb7a3b4..72babd48ba 100644 --- a/feerefund/client.go +++ b/feerefund/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /application_fees/{id}/refunds APIs. diff --git a/feerefund/client_test.go b/feerefund/client_test.go index d24fdf4101..68d2760302 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestFeeRefundGet(t *testing.T) { diff --git a/file.go b/file.go index 95f397fb2e..1f7f73289c 100644 --- a/file.go +++ b/file.go @@ -9,7 +9,7 @@ package stripe import ( "bytes" "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" "io" "mime/multipart" "net/url" diff --git a/file/client.go b/file/client.go index a90057e6b6..a125fd0831 100644 --- a/file/client.go +++ b/file/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /files APIs. diff --git a/file/client_test.go b/file/client_test.go index adc0108989..d8fc9f689a 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/v80" - "github.com/stripe/stripe-go/v80/form" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" + _ "github.com/stripe/stripe-go/v81/testing" ) const ( diff --git a/filelink.go b/filelink.go index d0c4e6ca19..1bc091f951 100644 --- a/filelink.go +++ b/filelink.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v80/form" +import "github.com/stripe/stripe-go/v81/form" // Returns a list of file links. type FileLinkListParams struct { diff --git a/filelink/client.go b/filelink/client.go index 5c57fa7d45..3a7dfb00ae 100644 --- a/filelink/client.go +++ b/filelink/client.go @@ -10,8 +10,8 @@ package filelink import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /file_links APIs. diff --git a/filelink/client_test.go b/filelink/client_test.go index 86c2f768b0..ee01937369 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestFileLinkGet(t *testing.T) { diff --git a/filelink_test.go b/filelink_test.go index 6ba5ab376b..a5cbd04aaa 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestFileLinkParams_AppendTo(t *testing.T) { diff --git a/financialconnections/account/client.go b/financialconnections/account/client.go index 80035f1eb4..b722d2e1aa 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /financial_connections/accounts APIs. diff --git a/financialconnections/session/client.go b/financialconnections/session/client.go index d2779f04df..e08cdc7f2d 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /financial_connections/sessions APIs. diff --git a/financialconnections/transaction/client.go b/financialconnections/transaction/client.go index f045fbb9e0..6e4d45d513 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /financial_connections/transactions APIs. diff --git a/forwarding/request/client.go b/forwarding/request/client.go index 19cd14f4c3..ec436eb495 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /forwarding/requests APIs. diff --git a/go.mod b/go.mod index 0e2ad2970d..4fa0fd4f5c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/stripe/stripe-go/v80 +module github.com/stripe/stripe-go/v81 go 1.13 diff --git a/identity/verificationreport/client.go b/identity/verificationreport/client.go index 897a803e85..e3b931df6d 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 5430a5b126..8b6f29a97b 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIdentityVerificationReportGet(t *testing.T) { diff --git a/identity/verificationsession/client.go b/identity/verificationsession/client.go index 695d47871a..913828d471 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 aed06985d2..b80e4287cb 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIdentityVerificationSessionCancel(t *testing.T) { diff --git a/invoice.go b/invoice.go index 1b6e129114..0f64cfae20 100644 --- a/invoice.go +++ b/invoice.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // Type of the account referenced. diff --git a/invoice/client.go b/invoice/client.go index 4788017871..6a9a1e7ff0 100644 --- a/invoice/client.go +++ b/invoice/client.go @@ -10,8 +10,8 @@ package invoice import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /invoices APIs. diff --git a/invoice/client_test.go b/invoice/client_test.go index cd8ff1af92..30f7b0dfe8 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestInvoiceGet(t *testing.T) { diff --git a/invoice_test.go b/invoice_test.go index c16447decc..6d863bf917 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestInvoiceParams_AppendTo(t *testing.T) { diff --git a/invoiceitem/client.go b/invoiceitem/client.go index b5dff6dd31..84cb31b192 100644 --- a/invoiceitem/client.go +++ b/invoiceitem/client.go @@ -10,8 +10,8 @@ package invoiceitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /invoiceitems APIs. diff --git a/invoiceitem/client_test.go b/invoiceitem/client_test.go index 60c7aa5ba7..e48ac5e4f7 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestInvoiceItemDel(t *testing.T) { diff --git a/invoicelineitem/client.go b/invoicelineitem/client.go index 78dbb0fefa..87b8a520cf 100644 --- a/invoicelineitem/client.go +++ b/invoicelineitem/client.go @@ -10,7 +10,7 @@ package invoicelineitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /invoices/{invoice}/lines APIs. diff --git a/invoicerenderingtemplate/client.go b/invoicerenderingtemplate/client.go index 4a0d2a1479..4a9385acfa 100644 --- a/invoicerenderingtemplate/client.go +++ b/invoicerenderingtemplate/client.go @@ -10,8 +10,8 @@ package invoicerenderingtemplate import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /invoice_rendering_templates APIs. diff --git a/issuing/authorization/client.go b/issuing/authorization/client.go index 0c859e9781..2279ea31a5 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/authorizations APIs. diff --git a/issuing/authorization/client_test.go b/issuing/authorization/client_test.go index 8c3132d3ed..852f33b6f0 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIssuingAuthorizationApprove(t *testing.T) { diff --git a/issuing/card/client.go b/issuing/card/client.go index cf04e557f0..97fd7631ff 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/cards APIs. diff --git a/issuing/card/client_test.go b/issuing/card/client_test.go index 72f61d2300..9fd3678dcc 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIssuingCardGet(t *testing.T) { diff --git a/issuing/cardholder/client.go b/issuing/cardholder/client.go index c1d33122be..7b1300a9a4 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/cardholders APIs. diff --git a/issuing/cardholder/client_test.go b/issuing/cardholder/client_test.go index e710862aae..67a30763cd 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIssuingCardholderGet(t *testing.T) { diff --git a/issuing/dispute/client.go b/issuing/dispute/client.go index de349e6f6f..f1350f6feb 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/disputes APIs. diff --git a/issuing/dispute/client_test.go b/issuing/dispute/client_test.go index 02409fa910..e833f4ff1c 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIssuingDisputeGet(t *testing.T) { diff --git a/issuing/personalizationdesign/client.go b/issuing/personalizationdesign/client.go index f44ffb5616..bb03049547 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/personalization_designs APIs. diff --git a/issuing/physicalbundle/client.go b/issuing/physicalbundle/client.go index 0f27bab038..8d1b55de7e 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/physical_bundles APIs. diff --git a/issuing/token/client.go b/issuing/token/client.go index 37c571fd05..f33e8ebec7 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/tokens APIs. diff --git a/issuing/transaction/client.go b/issuing/transaction/client.go index 8ef46eb060..80d218c6e0 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /issuing/transactions APIs. diff --git a/issuing/transaction/client_test.go b/issuing/transaction/client_test.go index f71369ba30..f9cc27bb83 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestIssuingTransactionGet(t *testing.T) { diff --git a/iter.go b/iter.go index 4a4e768263..c2f1417558 100644 --- a/iter.go +++ b/iter.go @@ -3,7 +3,7 @@ package stripe import ( "reflect" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // diff --git a/iter_test.go b/iter_test.go index e4b8d51351..891a92d965 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestIterEmpty(t *testing.T) { diff --git a/loginlink/client.go b/loginlink/client.go index 43b63d261f..6783149471 100644 --- a/loginlink/client.go +++ b/loginlink/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /accounts/{account}/login_links APIs. diff --git a/loginlink/client_test.go b/loginlink/client_test.go index fc2eab8a80..e060555028 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestLoginLinkNew(t *testing.T) { diff --git a/mandate/client.go b/mandate/client.go index c05b028971..38d8419f96 100644 --- a/mandate/client.go +++ b/mandate/client.go @@ -10,7 +10,7 @@ package mandate import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /mandates APIs. diff --git a/mandate/client_test.go b/mandate/client_test.go index 13021dd115..5ae9e1fda8 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/v80/testing" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestMandateMethodGet(t *testing.T) { diff --git a/oauth/client.go b/oauth/client.go index 2877fdc879..b1f22aa102 100644 --- a/oauth/client.go +++ b/oauth/client.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /oauth and related APIs. diff --git a/oauth/client_test.go b/oauth/client_test.go index f12ad91815..75fd890994 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestAuthorizeURL(t *testing.T) { diff --git a/params.go b/params.go index 8ef863961a..4b8b01e195 100644 --- a/params.go +++ b/params.go @@ -9,7 +9,7 @@ import ( "net/url" "time" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // diff --git a/params_test.go b/params_test.go index b9d129a59d..c137c9aca2 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/v80" - "github.com/stripe/stripe-go/v80/form" - . "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" + . "github.com/stripe/stripe-go/v81/testing" ) func TestRangeQueryParamsAppendTo(t *testing.T) { diff --git a/paymentintent/client.go b/paymentintent/client.go index d4a848628e..21aa15ec46 100644 --- a/paymentintent/client.go +++ b/paymentintent/client.go @@ -10,8 +10,8 @@ package paymentintent import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payment_intents APIs. diff --git a/paymentintent/client_test.go b/paymentintent/client_test.go index 4621def778..60c347b683 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPaymentIntentCancel(t *testing.T) { diff --git a/paymentlink/client.go b/paymentlink/client.go index 0a8416d582..99876332b1 100644 --- a/paymentlink/client.go +++ b/paymentlink/client.go @@ -10,8 +10,8 @@ package paymentlink import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payment_links APIs. diff --git a/paymentmethod/client.go b/paymentmethod/client.go index 3abdc7fa5e..2d70b62724 100644 --- a/paymentmethod/client.go +++ b/paymentmethod/client.go @@ -10,8 +10,8 @@ package paymentmethod import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payment_methods APIs. diff --git a/paymentmethod/client_test.go b/paymentmethod/client_test.go index 8649599dba..0bc61f9392 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPaymentMethodAttach(t *testing.T) { diff --git a/paymentmethodconfiguration/client.go b/paymentmethodconfiguration/client.go index db9a48992b..75bca004db 100644 --- a/paymentmethodconfiguration/client.go +++ b/paymentmethodconfiguration/client.go @@ -10,8 +10,8 @@ package paymentmethodconfiguration import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payment_method_configurations APIs. diff --git a/paymentmethoddomain/client.go b/paymentmethoddomain/client.go index 1842bc59ff..b3dfff6834 100644 --- a/paymentmethoddomain/client.go +++ b/paymentmethoddomain/client.go @@ -10,8 +10,8 @@ package paymentmethoddomain import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payment_method_domains APIs. diff --git a/paymentsource.go b/paymentsource.go index 5d73e10886..333cec6516 100644 --- a/paymentsource.go +++ b/paymentsource.go @@ -9,7 +9,7 @@ package stripe import ( "encoding/json" "fmt" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) type PaymentSourceType string diff --git a/paymentsource/client.go b/paymentsource/client.go index 033c74e025..569ff7f97a 100644 --- a/paymentsource/client.go +++ b/paymentsource/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /customers/{customer}/sources APIs. diff --git a/paymentsource/client_test.go b/paymentsource/client_test.go index 66b5eb5c08..deb610c854 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSourceGet(t *testing.T) { diff --git a/paymentsource_test.go b/paymentsource_test.go index defd9408ba..c3a829014b 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestSourceParams_AppendTo(t *testing.T) { diff --git a/payout/client.go b/payout/client.go index f407b5ba2e..139b9d1fd4 100644 --- a/payout/client.go +++ b/payout/client.go @@ -10,8 +10,8 @@ package payout import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /payouts APIs. diff --git a/payout/client_test.go b/payout/client_test.go index eccd430dac..57fc03fbc6 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPayoutCancel(t *testing.T) { diff --git a/person/client.go b/person/client.go index e8d88b8ea2..863a6ad93d 100644 --- a/person/client.go +++ b/person/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /accounts/{account}/persons APIs. diff --git a/person/client_test.go b/person/client_test.go index 717d2f2b4a..3bd023eaeb 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPersonDel(t *testing.T) { diff --git a/plan.go b/plan.go index e98d703c4a..53c701ec6c 100644 --- a/plan.go +++ b/plan.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" "strconv" ) diff --git a/plan/client.go b/plan/client.go index f60a564666..8259b9484f 100644 --- a/plan/client.go +++ b/plan/client.go @@ -10,8 +10,8 @@ package plan import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /plans APIs. diff --git a/plan/client_test.go b/plan/client_test.go index 70179047d9..a83e83f7b0 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPlanDel(t *testing.T) { diff --git a/plan_test.go b/plan_test.go index b15851a19e..59a5fcb837 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestPlan_Unmarshal(t *testing.T) { diff --git a/price.go b/price.go index 35f992d85b..b35cca413e 100644 --- a/price.go +++ b/price.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/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 1c401f4209..0f9114e66c 100644 --- a/price/client.go +++ b/price/client.go @@ -10,8 +10,8 @@ package price import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /prices APIs. diff --git a/price/client_test.go b/price/client_test.go index c9d95bfaca..f3ae5a42a4 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPriceGet(t *testing.T) { diff --git a/price_test.go b/price_test.go index c378f8515d..dd9a196ba5 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestPrice_Unmarshal(t *testing.T) { diff --git a/product.go b/product.go index d85dd83fd9..e096227467 100644 --- a/product.go +++ b/product.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/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 62b7fe1776..9227d48360 100644 --- a/product/client.go +++ b/product/client.go @@ -10,8 +10,8 @@ package product import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /products APIs. diff --git a/product/client_test.go b/product/client_test.go index a6e1623f30..8b3b96423f 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestProductDel(t *testing.T) { diff --git a/productfeature/client.go b/productfeature/client.go index cb039f71ce..74940bbd69 100644 --- a/productfeature/client.go +++ b/productfeature/client.go @@ -10,8 +10,8 @@ package productfeature import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /products/{product}/features APIs. diff --git a/promotioncode/client.go b/promotioncode/client.go index e9fd57df8c..2e6a2d071e 100644 --- a/promotioncode/client.go +++ b/promotioncode/client.go @@ -10,8 +10,8 @@ package promotioncode import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /promotion_codes APIs. diff --git a/promotioncode/client_test.go b/promotioncode/client_test.go index 2e42103803..63296518f1 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestPromotionCodeGet(t *testing.T) { diff --git a/quote.go b/quote.go index 4e4487d10c..6906b23ec6 100644 --- a/quote.go +++ b/quote.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // Type of the account referenced. diff --git a/quote/client.go b/quote/client.go index 18ff81f1d1..9a36dbf303 100644 --- a/quote/client.go +++ b/quote/client.go @@ -10,8 +10,8 @@ package quote import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /quotes APIs. diff --git a/quote/client_test.go b/quote/client_test.go index 71e6b1b6c6..b599d8f5c7 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestQuoteGet(t *testing.T) { diff --git a/quote_test.go b/quote_test.go index 66aad0b030..2fbcc92762 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestQuoteSubscriptionDataParams_AppendTo(t *testing.T) { diff --git a/radar/earlyfraudwarning/client.go b/radar/earlyfraudwarning/client.go index 7d9b7ef9b3..86a6331280 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 53d8e5c9f0..533cd40544 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestRadarEarlyFraudWarningGet(t *testing.T) { diff --git a/radar/valuelist/client.go b/radar/valuelist/client.go index 0b2b393bbd..2b1e7544ab 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 4eecb9ccb2..8090706d92 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestRadarValueListDel(t *testing.T) { diff --git a/radar/valuelistitem/client.go b/radar/valuelistitem/client.go index fde7862a66..a5cedd3c18 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 1c8da4d0c7..f052f4b4c4 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestRadarValueListItemDel(t *testing.T) { diff --git a/rawrequest/client.go b/rawrequest/client.go index 4028f96862..9514a2bf8d 100644 --- a/rawrequest/client.go +++ b/rawrequest/client.go @@ -2,7 +2,7 @@ package rawrequest import ( - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke raw requests against the specified backend diff --git a/rawrequest/client_test.go b/rawrequest/client_test.go index 3b288cf723..e5a3237ae9 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func createTestClient(testServer *httptest.Server) Client { diff --git a/refund/client.go b/refund/client.go index 7961e4d1a4..c7bcfb1680 100644 --- a/refund/client.go +++ b/refund/client.go @@ -10,8 +10,8 @@ package refund import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /refunds APIs. diff --git a/refund/client_test.go b/refund/client_test.go index 95a94df069..485059d4aa 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestRefundGet(t *testing.T) { diff --git a/reporting/reportrun/client.go b/reporting/reportrun/client.go index 957bb2bc8b..4de80b33e1 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 ebc799c268..a0452cc46e 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestReportingReportRunGet(t *testing.T) { diff --git a/reporting/reporttype/client.go b/reporting/reporttype/client.go index b093515094..face867325 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 c3a512f23c..3e7b40f428 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestReportTestGet(t *testing.T) { diff --git a/review/client.go b/review/client.go index 7eadaee790..5b7170d5fc 100644 --- a/review/client.go +++ b/review/client.go @@ -10,8 +10,8 @@ package review import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /reviews APIs. diff --git a/review/client_test.go b/review/client_test.go index 25f164c800..10b064d379 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestReviewApprove(t *testing.T) { diff --git a/search_iter.go b/search_iter.go index 9a67764b1e..be29f051d8 100644 --- a/search_iter.go +++ b/search_iter.go @@ -3,7 +3,7 @@ package stripe import ( "reflect" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // diff --git a/search_iter_test.go b/search_iter_test.go index 5be1f7f131..97d1cf3073 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) var nextPageTestToken = "next_page_test_token" diff --git a/search_params_test.go b/search_params_test.go index c4926f40f0..b0502cca36 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/v80" - "github.com/stripe/stripe-go/v80/form" - . "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" + . "github.com/stripe/stripe-go/v81/testing" ) type testSearchParams struct { diff --git a/setupattempt/client.go b/setupattempt/client.go index a4799b31f2..1dee41c579 100644 --- a/setupattempt/client.go +++ b/setupattempt/client.go @@ -11,8 +11,8 @@ package setupattempt import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /setup_attempts APIs. diff --git a/setupattempt/client_test.go b/setupattempt/client_test.go index 0934c5c5ef..18fb0dc4b5 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSetupAttemptList(t *testing.T) { diff --git a/setupintent/client.go b/setupintent/client.go index d39edd062d..213cec3db3 100644 --- a/setupintent/client.go +++ b/setupintent/client.go @@ -10,8 +10,8 @@ package setupintent import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /setup_intents APIs. diff --git a/setupintent/client_test.go b/setupintent/client_test.go index c6838978b9..a8dabf99b6 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSetupIntentCancel(t *testing.T) { diff --git a/shippingrate/client.go b/shippingrate/client.go index 393d533d4d..10d8317314 100644 --- a/shippingrate/client.go +++ b/shippingrate/client.go @@ -10,8 +10,8 @@ package shippingrate import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /shipping_rates APIs. diff --git a/sigma/scheduledqueryrun/client.go b/sigma/scheduledqueryrun/client.go index 144ddbad28..b172f5de2f 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 fdc956a9b6..0fd60e86f1 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSigmaScheduledQueryRunGet(t *testing.T) { diff --git a/source/client.go b/source/client.go index a326391f50..71a530bbe1 100644 --- a/source/client.go +++ b/source/client.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /sources APIs. diff --git a/source/client_test.go b/source/client_test.go index 49dd7b4da6..805c0cf05e 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSourceGet(t *testing.T) { diff --git a/sourcetransaction/client.go b/sourcetransaction/client.go index 813f035e88..74e3aa10e1 100644 --- a/sourcetransaction/client.go +++ b/sourcetransaction/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /sources/:source_id/transactions APIs. diff --git a/sourcetransaction/client_test.go b/sourcetransaction/client_test.go index dbe952f5f1..ac82d85614 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSourceTransactionList(t *testing.T) { diff --git a/stripe.go b/stripe.go index 98c74b7b35..1e251be796 100644 --- a/stripe.go +++ b/stripe.go @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // @@ -1386,7 +1386,7 @@ func StringSlice(v []string) []*string { // // clientversion is the binding version -const clientversion = "80.2.1" +const clientversion = "81.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 67421854f2..45e4bcd509 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestSubscriptionParams_AppendTo(t *testing.T) { diff --git a/subschedule_test.go b/subschedule_test.go index f94aae6c91..f1e2e59334 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestSubscriptionScheduleParams_AppendTo(t *testing.T) { diff --git a/subscription.go b/subscription.go index 2b86424df3..9b9dd1e4fb 100644 --- a/subscription.go +++ b/subscription.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/form" ) // Type of the account referenced. diff --git a/subscription/client.go b/subscription/client.go index d0d885939f..6c3a4cc9ce 100644 --- a/subscription/client.go +++ b/subscription/client.go @@ -10,8 +10,8 @@ package subscription import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /subscriptions APIs. diff --git a/subscription/client_test.go b/subscription/client_test.go index b89b2a4a8a..9b226718f4 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSubscriptionCancel(t *testing.T) { diff --git a/subscriptionitem/client.go b/subscriptionitem/client.go index f4ee3edc9b..eb99a9223e 100644 --- a/subscriptionitem/client.go +++ b/subscriptionitem/client.go @@ -10,8 +10,8 @@ package subscriptionitem import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /subscription_items APIs. diff --git a/subscriptionitem/client_test.go b/subscriptionitem/client_test.go index 564f023803..0fad7f756f 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSubscriptionItemDel(t *testing.T) { diff --git a/subscriptionschedule.go b/subscriptionschedule.go index 7c40c5aeef..c2ed57a510 100644 --- a/subscriptionschedule.go +++ b/subscriptionschedule.go @@ -8,7 +8,7 @@ package stripe import ( "encoding/json" - "github.com/stripe/stripe-go/v80/form" + "github.com/stripe/stripe-go/v81/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 6791831d0c..442740e610 100644 --- a/subscriptionschedule/client.go +++ b/subscriptionschedule/client.go @@ -10,8 +10,8 @@ package subscriptionschedule import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /subscription_schedules APIs. diff --git a/subscriptionschedule/client_test.go b/subscriptionschedule/client_test.go index 0b7a4d37c8..e8d97a1ca6 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestSubscriptionScheduleCancel(t *testing.T) { diff --git a/tax/calculation/client.go b/tax/calculation/client.go index 93fe938f30..ef1e8b3bf9 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax/calculations APIs. diff --git a/tax/registration/client.go b/tax/registration/client.go index 4e0355cf70..9ca6ab8cee 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax/registrations APIs. diff --git a/tax/settings/client.go b/tax/settings/client.go index d1b2774ff7..61a3ee0a76 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /tax/settings APIs. diff --git a/tax/transaction/client.go b/tax/transaction/client.go index 880b48f4c0..52c6f52079 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax/transactions APIs. diff --git a/tax_registration.go b/tax_registration.go index f5b511068c..da45eaa239 100644 --- a/tax_registration.go +++ b/tax_registration.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v80/form" +import "github.com/stripe/stripe-go/v81/form" // Type of registration in `country`. type TaxRegistrationCountryOptionsAeType string diff --git a/taxcode/client.go b/taxcode/client.go index cd8757bc89..e2262a4fdd 100644 --- a/taxcode/client.go +++ b/taxcode/client.go @@ -10,8 +10,8 @@ package taxcode import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax_codes APIs. diff --git a/taxcode/client_test.go b/taxcode/client_test.go index 4ce99cc187..180b1f5b5a 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTaxCodeGet(t *testing.T) { diff --git a/taxid/client.go b/taxid/client.go index c6996dce35..a974d5ff48 100644 --- a/taxid/client.go +++ b/taxid/client.go @@ -10,8 +10,8 @@ package taxid import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax_ids APIs. diff --git a/taxid/client_test.go b/taxid/client_test.go index 8580308913..24aed374a7 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTaxIDDel(t *testing.T) { diff --git a/taxrate/client.go b/taxrate/client.go index 0d9930ef29..638e4c2803 100644 --- a/taxrate/client.go +++ b/taxrate/client.go @@ -10,8 +10,8 @@ package taxrate import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /tax_rates APIs. diff --git a/taxrate/client_test.go b/taxrate/client_test.go index aae0386cb6..af8e08a453 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTaxRateGet(t *testing.T) { diff --git a/terminal/configuration/client.go b/terminal/configuration/client.go index a729d93a4a..a7cb9deb13 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /terminal/configurations APIs. diff --git a/terminal/connectiontoken/client.go b/terminal/connectiontoken/client.go index 889826a71f..0560a3637b 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /terminal/connection_tokens APIs. diff --git a/terminal/connectiontoken/client_test.go b/terminal/connectiontoken/client_test.go index 8d9c73be4a..a858e922bc 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTerminalConnectionTokenNew(t *testing.T) { diff --git a/terminal/location/client.go b/terminal/location/client.go index 919ecf41cf..922ebf7caa 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /terminal/locations APIs. diff --git a/terminal/location/client_test.go b/terminal/location/client_test.go index 8ba037c445..d865088b56 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTerminalLocationDel(t *testing.T) { diff --git a/terminal/reader/client.go b/terminal/reader/client.go index b768096e0d..ebf7aabc6c 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /terminal/readers APIs. diff --git a/terminal/reader/client_test.go b/terminal/reader/client_test.go index 0c1f9e419b..4f098b502d 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTerminalReaderDel(t *testing.T) { diff --git a/testhelpers/confirmationtoken/client.go b/testhelpers/confirmationtoken/client.go index fa18d6c1ae..390a3c130f 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /confirmation_tokens APIs. diff --git a/testhelpers/customer/client.go b/testhelpers/customer/client.go index fcbd5605f9..fcd8eeb99a 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /customers APIs. diff --git a/testhelpers/issuing/authorization/client.go b/testhelpers/issuing/authorization/client.go index 793a5113fa..3aa469040c 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /issuing/authorizations APIs. diff --git a/testhelpers/issuing/card/client.go b/testhelpers/issuing/card/client.go index fe22758986..7d12259b22 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /issuing/cards APIs. diff --git a/testhelpers/issuing/personalizationdesign/client.go b/testhelpers/issuing/personalizationdesign/client.go index 89b393778c..648d6eb038 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /issuing/personalization_designs APIs. diff --git a/testhelpers/issuing/transaction/client.go b/testhelpers/issuing/transaction/client.go index 60fc3c00df..cfb1ec7acf 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /issuing/transactions APIs. diff --git a/testhelpers/refund/client.go b/testhelpers/refund/client.go index 1d68e99fea..115321332e 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /refunds APIs. diff --git a/testhelpers/terminal/reader/client.go b/testhelpers/terminal/reader/client.go index a50a5372c1..726bd50001 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // 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 fd92dcd1a7..4a97fb9bcd 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTerminalReaderUpdate(t *testing.T) { diff --git a/testhelpers/testclock/client.go b/testhelpers/testclock/client.go index 498c301074..b849b2efff 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 a25c3a273b..13e6400219 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /treasury/inbound_transfers APIs. diff --git a/testhelpers/treasury/outboundpayment/client.go b/testhelpers/treasury/outboundpayment/client.go index 111f6b2763..5592a2642c 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /treasury/outbound_payments APIs. diff --git a/testhelpers/treasury/outboundtransfer/client.go b/testhelpers/treasury/outboundtransfer/client.go index 71f4424eff..9a2d50eef8 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /treasury/outbound_transfers APIs. diff --git a/testhelpers/treasury/receivedcredit/client.go b/testhelpers/treasury/receivedcredit/client.go index df621a80d9..51ad58c95c 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /treasury/received_credits APIs. diff --git a/testhelpers/treasury/receiveddebit/client.go b/testhelpers/treasury/receiveddebit/client.go index 9dcef1685d..d03263b2f9 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/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /treasury/received_debits APIs. diff --git a/testing/testing.go b/testing/testing.go index d723109748..f59c22a124 100644 --- a/testing/testing.go +++ b/testing/testing.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" "golang.org/x/net/http2" ) diff --git a/token/client.go b/token/client.go index f7c26dbe81..bd0bcd0b06 100644 --- a/token/client.go +++ b/token/client.go @@ -10,7 +10,7 @@ package token import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // Client is used to invoke /tokens APIs. diff --git a/token/client_test.go b/token/client_test.go index cb97dc754c..398f268935 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTokenGet(t *testing.T) { diff --git a/topup/client.go b/topup/client.go index 740e004984..bd4453bef5 100644 --- a/topup/client.go +++ b/topup/client.go @@ -10,8 +10,8 @@ package topup import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /topups APIs. diff --git a/topup/client_test.go b/topup/client_test.go index 166838cec0..b5bb39bb4b 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTopupCancel(t *testing.T) { diff --git a/transfer/client.go b/transfer/client.go index 2a42ef040e..51ba46ccc9 100644 --- a/transfer/client.go +++ b/transfer/client.go @@ -10,8 +10,8 @@ package transfer import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /transfers APIs. diff --git a/transfer/client_test.go b/transfer/client_test.go index 5b724aa984..05a20cd9de 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTransferGet(t *testing.T) { diff --git a/transferreversal/client.go b/transferreversal/client.go index 9f286f019e..af0d165021 100644 --- a/transferreversal/client.go +++ b/transferreversal/client.go @@ -11,8 +11,8 @@ import ( "fmt" "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /transfers/{id}/reversals APIs. diff --git a/transferreversal/client_test.go b/transferreversal/client_test.go index 1cd78235d6..9e9a7f7939 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestTransferReversalGet(t *testing.T) { diff --git a/treasury/creditreversal/client.go b/treasury/creditreversal/client.go index 168f1b8e71..2a98186ede 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/credit_reversals APIs. diff --git a/treasury/debitreversal/client.go b/treasury/debitreversal/client.go index e7fe2000a8..e59b905f51 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/debit_reversals APIs. diff --git a/treasury/financialaccount/client.go b/treasury/financialaccount/client.go index 9c82e3eaff..76befd7551 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/financial_accounts APIs. diff --git a/treasury/inboundtransfer/client.go b/treasury/inboundtransfer/client.go index d91947ad44..194d2808fd 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/inbound_transfers APIs. diff --git a/treasury/outboundpayment/client.go b/treasury/outboundpayment/client.go index 1e7f86e449..04236c2eba 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/outbound_payments APIs. diff --git a/treasury/outboundtransfer/client.go b/treasury/outboundtransfer/client.go index c164f9fa75..9a3fcbd580 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/outbound_transfers APIs. diff --git a/treasury/receivedcredit/client.go b/treasury/receivedcredit/client.go index c3ac47ed50..54dffa9b2a 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/received_credits APIs. diff --git a/treasury/receiveddebit/client.go b/treasury/receiveddebit/client.go index b2d369c3ef..a5adc1530f 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/received_debits APIs. diff --git a/treasury/transaction/client.go b/treasury/transaction/client.go index cd5c6f1d69..4c17068387 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/transactions APIs. diff --git a/treasury/transactionentry/client.go b/treasury/transactionentry/client.go index 9399840408..4b7bcc63ed 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/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /treasury/transaction_entries APIs. diff --git a/usagerecord.go b/usagerecord.go index c7a52407e4..482f19307e 100644 --- a/usagerecord.go +++ b/usagerecord.go @@ -6,7 +6,7 @@ package stripe -import "github.com/stripe/stripe-go/v80/form" +import "github.com/stripe/stripe-go/v81/form" // Possible values for the action parameter on usage record creation. const ( diff --git a/usagerecord/client.go b/usagerecord/client.go index 5d7725a278..f0271054d3 100644 --- a/usagerecord/client.go +++ b/usagerecord/client.go @@ -10,7 +10,7 @@ package usagerecord import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" + stripe "github.com/stripe/stripe-go/v81" ) // 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 87aaa3c72e..f8f2d72f59 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestUsageRecordNew(t *testing.T) { diff --git a/usagerecord_test.go b/usagerecord_test.go index ef066d5053..787f54d753 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/v80/form" + "github.com/stripe/stripe-go/v81/form" ) func TestUsageRecordParams_AppendTo(t *testing.T) { diff --git a/usagerecordsummary/client.go b/usagerecordsummary/client.go index 0ec93e58f5..40c5f116bd 100644 --- a/usagerecordsummary/client.go +++ b/usagerecordsummary/client.go @@ -10,8 +10,8 @@ package usagerecordsummary import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/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 887871c427..461e3495e8 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestUsageRecordSummaryList(t *testing.T) { diff --git a/webhook/client.go b/webhook/client.go index 27169f2a1f..9a3af9b138 100644 --- a/webhook/client.go +++ b/webhook/client.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v81" ) // diff --git a/webhook/client_handler_test.go b/webhook/client_handler_test.go index f7a80ec94c..0a6ab19303 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/v80/webhook" + "github.com/stripe/stripe-go/v81/webhook" ) func Example() { diff --git a/webhook/client_test.go b/webhook/client_test.go index accc5dd634..fbc99d6683 100644 --- a/webhook/client_test.go +++ b/webhook/client_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/stripe/stripe-go/v80" + "github.com/stripe/stripe-go/v81" ) var testPayload = []byte(fmt.Sprintf(`{ diff --git a/webhookendpoint/client.go b/webhookendpoint/client.go index 2ee1724467..054553a828 100644 --- a/webhookendpoint/client.go +++ b/webhookendpoint/client.go @@ -10,8 +10,8 @@ package webhookendpoint import ( "net/http" - stripe "github.com/stripe/stripe-go/v80" - "github.com/stripe/stripe-go/v80/form" + stripe "github.com/stripe/stripe-go/v81" + "github.com/stripe/stripe-go/v81/form" ) // Client is used to invoke /webhook_endpoints APIs. diff --git a/webhookendpoint/client_test.go b/webhookendpoint/client_test.go index ea5f746895..3ab3c635d9 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/v80" - _ "github.com/stripe/stripe-go/v80/testing" + stripe "github.com/stripe/stripe-go/v81" + _ "github.com/stripe/stripe-go/v81/testing" ) func TestWebhookEndpointDel(t *testing.T) {