Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge upstream and update generated code for v482
Browse files Browse the repository at this point in the history
stripe-openapi[bot] committed Aug 24, 2023
2 parents 7c23ea5 + d43de36 commit 3107156
Showing 139 changed files with 448 additions and 439 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 75.2.0 - 2023-08-24
* [#1718](https://github.com/stripe/stripe-go/pull/1718) Update generated code
* Add support for `Retention` on `BillingPortalSessionFlowDataSubscriptionCancelParams` and `BillingPortalSessionFlowSubscriptionCancel`
* Add support for `Prefetch` on `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnections`, `FinancialConnectionsSessionParams`, `FinancialConnectionsSession`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections`
* Add support for `PaymentMethodDetails` on `Dispute`
* Add support for `BalanceTransaction ` on `CustomerCashBalanceTransaction.AdjustedForOverdraft`
* [#1717](https://github.com/stripe/stripe-go/pull/1717) Replace import placeholder before running formatting
* [#1716](https://github.com/stripe/stripe-go/pull/1716) Replace version placeholder with an actual version during format

## 75.1.0 - 2023-08-17
* [#1713](https://github.com/stripe/stripe-go/pull/1713) Update generated code
* Add support for `FlatAmount` on `TaxTransactionCreateReversalParams`
2 changes: 1 addition & 1 deletion account.go
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ package stripe

import (
"encoding/json"
"github.com/stripe/stripe-go/v75/form"
"github.com/stripe/stripe-go/v74/form"
)

// The business type.
4 changes: 2 additions & 2 deletions account/client.go
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ package account
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke /accounts APIs.
2 changes: 1 addition & 1 deletion accountlink/client.go
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ package accountlink
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
stripe "github.com/stripe/stripe-go/v74"
)

// Client is used to invoke /account_links APIs.
2 changes: 1 addition & 1 deletion accountsession/client.go
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ package accountsession
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
stripe "github.com/stripe/stripe-go/v74"
)

// Client is used to invoke /account_sessions APIs.
4 changes: 2 additions & 2 deletions applepaydomain/client.go
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ package applepaydomain
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke /apple_pay/domains APIs.
4 changes: 2 additions & 2 deletions applicationfee/client.go
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ package applicationfee
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke /application_fees APIs.
4 changes: 2 additions & 2 deletions apps/secret/client.go
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ package secret
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke /apps/secrets APIs.
2 changes: 1 addition & 1 deletion balance/client.go
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ package balance
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
stripe "github.com/stripe/stripe-go/v74"
)

// Client is used to invoke /balance APIs.
4 changes: 2 additions & 2 deletions balancetransaction/client.go
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ package balancetransaction
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke /balance_transactions APIs.
2 changes: 1 addition & 1 deletion bankaccount.go
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ package stripe

import (
"encoding/json"
"github.com/stripe/stripe-go/v75/form"
"github.com/stripe/stripe-go/v74/form"
"strconv"
)

4 changes: 2 additions & 2 deletions bankaccount/client.go
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@ import (
"fmt"
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke bankaccount related APIs.
4 changes: 2 additions & 2 deletions billingportal/configuration/client.go
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ package configuration
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke /billing_portal/configurations APIs.
2 changes: 1 addition & 1 deletion billingportal/session/client.go
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ package session
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
stripe "github.com/stripe/stripe-go/v74"
)

// Client is used to invoke /billing_portal/sessions APIs.
4 changes: 2 additions & 2 deletions capability/client.go
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@ import (
"fmt"
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke /accounts/{account}/capabilities APIs.
4 changes: 2 additions & 2 deletions capital/financingoffer/client.go
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ package financingoffer
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke /capital/financing_offers APIs.
2 changes: 1 addition & 1 deletion capital/financingsummary/client.go
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ package financingsummary
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
stripe "github.com/stripe/stripe-go/v74"
)

// Client is used to invoke /capital/financing_summary APIs.
4 changes: 2 additions & 2 deletions capital/financingtransaction/client.go
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ package financingtransaction
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke /capital/financing_transactions APIs.
2 changes: 1 addition & 1 deletion card.go
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ package stripe

import (
"encoding/json"
"github.com/stripe/stripe-go/v75/form"
"github.com/stripe/stripe-go/v74/form"
"strconv"
)

4 changes: 2 additions & 2 deletions card/client.go
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@ import (
"fmt"
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke card related APIs.
2 changes: 1 addition & 1 deletion cashbalance/client.go
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ import (
"fmt"
"net/http"

stripe "github.com/stripe/stripe-go/v75"
stripe "github.com/stripe/stripe-go/v74"
)

// Client is used to invoke /customers/{customer}/cash_balance APIs.
4 changes: 2 additions & 2 deletions charge/client.go
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ package charge
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke /charges APIs.
4 changes: 2 additions & 2 deletions checkout/session/client.go
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ package session
import (
"net/http"

stripe "github.com/stripe/stripe-go/v75"
"github.com/stripe/stripe-go/v75/form"
stripe "github.com/stripe/stripe-go/v74"
"github.com/stripe/stripe-go/v74/form"
)

// Client is used to invoke /checkout/sessions APIs.
Loading

0 comments on commit 3107156

Please sign in to comment.