Skip to content

Commit

Permalink
Bump version to 78.2.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-stripe committed Apr 11, 2024
1 parent 4b88b34 commit fb93fe3
Show file tree
Hide file tree
Showing 270 changed files with 726 additions and 717 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 78.2.0-beta.1 - 2024-04-11
* [#1843](https://github.com/stripe/stripe-go/pull/1843) Update generated code for beta
* Add support for `Get` method on resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
* Add support for `Fees`, `Losses`, `RequirementCollection`, and `StripeDashboard` on `AccountControllerParams`
* Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enum `OrderTaxDetailsTaxIdsType`
* Add support for `HostedVoucherURL` on `PaymentIntentNextActionMultibancoDisplayDetails`
* Add support for `Toggles` on `TerminalReaderActionCollectInputsInputs` and `TerminalReaderCollectInputsInputsParams`
* Add support for `Email`, `Numeric`, `Phone`, and `Text` on `TerminalReaderActionCollectInputsInputs`

## 78.1.0 - 2024-04-11
* [#1846](https://github.com/stripe/stripe-go/pull/1846) Update generated code
* Add support for `AccountManagement` and `NotificationBanner` on `AccountSessionComponentsParams` and `AccountSessionComponents`
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,8 @@ If you would like to send a request to an undocumented API (for example you are

```go
import (
"github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
"github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

// Form-encode request params
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
76.25.0-beta.1
78.2.0-beta.1
2 changes: 1 addition & 1 deletion account.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package stripe

import (
"encoding/json"
"github.com/stripe/stripe-go/v76/form"
"github.com/stripe/stripe-go/v78/form"
)

// The business type. Once you create an [Account Link](https://stripe.com/docs/api/account_links) or [Account Session](https://stripe.com/docs/api/account_sessions), this property is only returned for Custom accounts.
Expand Down
4 changes: 2 additions & 2 deletions account/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package account
import (
"net/http"

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

// Client is used to invoke /accounts APIs.
Expand Down
4 changes: 2 additions & 2 deletions account/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
stripe "github.com/stripe/stripe-go/v76"
_ "github.com/stripe/stripe-go/v76/testing"
stripe "github.com/stripe/stripe-go/v78"
_ "github.com/stripe/stripe-go/v78/testing"
)

func TestAccountDel(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
"github.com/stripe/stripe-go/v76/form"
"github.com/stripe/stripe-go/v78/form"
)

func TestAccountExternalAccountParams_AppendTo(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion accountlink/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package accountlink
import (
"net/http"

stripe "github.com/stripe/stripe-go/v76"
stripe "github.com/stripe/stripe-go/v78"
)

// Client is used to invoke /account_links APIs.
Expand Down
4 changes: 2 additions & 2 deletions accountlink/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
stripe "github.com/stripe/stripe-go/v76"
_ "github.com/stripe/stripe-go/v76/testing"
stripe "github.com/stripe/stripe-go/v78"
_ "github.com/stripe/stripe-go/v78/testing"
)

func TestAccountLinkNew(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions accountnotice/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package accountnotice
import (
"net/http"

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

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

stripe "github.com/stripe/stripe-go/v76"
stripe "github.com/stripe/stripe-go/v78"
)

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

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

// Client is used to invoke /apple_pay/domains APIs.
Expand Down
4 changes: 2 additions & 2 deletions applepaydomain/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
stripe "github.com/stripe/stripe-go/v76"
_ "github.com/stripe/stripe-go/v76/testing"
stripe "github.com/stripe/stripe-go/v78"
_ "github.com/stripe/stripe-go/v78/testing"
)

func TestApplePayDomainDel(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions applicationfee/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package applicationfee
import (
"net/http"

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

// Client is used to invoke /application_fees APIs.
Expand Down
4 changes: 2 additions & 2 deletions applicationfee/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
stripe "github.com/stripe/stripe-go/v76"
_ "github.com/stripe/stripe-go/v76/testing"
stripe "github.com/stripe/stripe-go/v78"
_ "github.com/stripe/stripe-go/v78/testing"
)

func TestApplicationFeeGet(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions apps/secret/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package secret
import (
"net/http"

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

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

stripe "github.com/stripe/stripe-go/v76"
stripe "github.com/stripe/stripe-go/v78"
)

// Client is used to invoke /balance APIs.
Expand Down
2 changes: 1 addition & 1 deletion balance/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
_ "github.com/stripe/stripe-go/v76/testing"
_ "github.com/stripe/stripe-go/v78/testing"
)

func TestBalanceGet(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions balancetransaction/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package balancetransaction
import (
"net/http"

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

// Client is used to invoke /balance_transactions APIs.
Expand Down
4 changes: 2 additions & 2 deletions balancetransaction/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
stripe "github.com/stripe/stripe-go/v76"
_ "github.com/stripe/stripe-go/v76/testing"
stripe "github.com/stripe/stripe-go/v78"
_ "github.com/stripe/stripe-go/v78/testing"
)

func TestBalanceTransactionGet(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion bankaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package stripe

import (
"encoding/json"
"github.com/stripe/stripe-go/v76/form"
"github.com/stripe/stripe-go/v78/form"
"strconv"
)

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

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

// Client is used to invoke bankaccount related APIs.
Expand Down
4 changes: 2 additions & 2 deletions bankaccount/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
stripe "github.com/stripe/stripe-go/v76"
_ "github.com/stripe/stripe-go/v76/testing"
stripe "github.com/stripe/stripe-go/v78"
_ "github.com/stripe/stripe-go/v78/testing"
)

func TestBankAccountDel_ByAccount(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion bankaccount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
"github.com/stripe/stripe-go/v76/form"
"github.com/stripe/stripe-go/v78/form"
)

func TestBankAccount_UnmarshalJSON(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions billing/meter/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package meter
import (
"net/http"

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

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

stripe "github.com/stripe/stripe-go/v76"
stripe "github.com/stripe/stripe-go/v78"
)

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

stripe "github.com/stripe/stripe-go/v76"
stripe "github.com/stripe/stripe-go/v78"
)

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

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

// Client is used to invoke /billing/meters/{id}/event_summaries APIs.
Expand Down
4 changes: 2 additions & 2 deletions billingportal/configuration/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package configuration
import (
"net/http"

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

// Client is used to invoke /billing_portal/configurations APIs.
Expand Down
4 changes: 2 additions & 2 deletions billingportal/configuration/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
stripe "github.com/stripe/stripe-go/v76"
_ "github.com/stripe/stripe-go/v76/testing"
stripe "github.com/stripe/stripe-go/v78"
_ "github.com/stripe/stripe-go/v78/testing"
)

func TestBillingPortalConfigurationGet(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion billingportal/session/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package session
import (
"net/http"

stripe "github.com/stripe/stripe-go/v76"
stripe "github.com/stripe/stripe-go/v78"
)

// Client is used to invoke /billing_portal/sessions APIs.
Expand Down
4 changes: 2 additions & 2 deletions billingportal/session/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
stripe "github.com/stripe/stripe-go/v76"
_ "github.com/stripe/stripe-go/v76/testing"
stripe "github.com/stripe/stripe-go/v78"
_ "github.com/stripe/stripe-go/v78/testing"
)

func TestBillingPortalSessionNew(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions capability/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"fmt"
"net/http"

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

// Client is used to invoke /accounts/{account}/capabilities APIs.
Expand Down
4 changes: 2 additions & 2 deletions capability/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"

assert "github.com/stretchr/testify/require"
stripe "github.com/stripe/stripe-go/v76"
_ "github.com/stripe/stripe-go/v76/testing"
stripe "github.com/stripe/stripe-go/v78"
_ "github.com/stripe/stripe-go/v78/testing"
)

func TestCapabilityGet(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions capital/financingoffer/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ package financingoffer
import (
"net/http"

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

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

stripe "github.com/stripe/stripe-go/v76"
stripe "github.com/stripe/stripe-go/v78"
)

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

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

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

import (
"encoding/json"
"github.com/stripe/stripe-go/v76/form"
"github.com/stripe/stripe-go/v78/form"
"strconv"
)

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

stripe "github.com/stripe/stripe-go/v76"
"github.com/stripe/stripe-go/v76/form"
stripe "github.com/stripe/stripe-go/v78"
"github.com/stripe/stripe-go/v78/form"
)

// Client is used to invoke card related APIs.
Expand Down
Loading

0 comments on commit fb93fe3

Please sign in to comment.