Skip to content

Commit

Permalink
Fix major version not bumped
Browse files Browse the repository at this point in the history
  • Loading branch information
jillingk committed Jun 24, 2024
1 parent f3e8c04 commit 40a7d1f
Show file tree
Hide file tree
Showing 1,171 changed files with 1,259 additions and 1,259 deletions.
30 changes: 15 additions & 15 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The library supports all webhooks under the following model directories:
You can use go modules to add our library to your project

```bash
go get github.com/adyen/adyen-go-api-library/v9@v10.3.0
go get github.com/adyen/adyen-go-api-library/v10@v10.3.0
```

## Usage examples
Expand All @@ -78,9 +78,9 @@ go get github.com/adyen/adyen-go-api-library/[email protected]
```go
import (
"context"
"github.com/adyen/adyen-go-api-library/v9/src/checkout"
"github.com/adyen/adyen-go-api-library/v9/src/common"
"github.com/adyen/adyen-go-api-library/v9/src/adyen"
"github.com/adyen/adyen-go-api-library/v10/src/checkout"
"github.com/adyen/adyen-go-api-library/v10/src/common"
"github.com/adyen/adyen-go-api-library/v10/src/adyen"
)

client := adyen.NewClient(&common.Config{
Expand All @@ -100,9 +100,9 @@ res, httpRes, err := service.PaymentsApi.PaymentMethods(context.Background(), re

```go
import (
"github.com/adyen/adyen-go-api-library/v9/src/checkout"
"github.com/adyen/adyen-go-api-library/v9/src/common"
"github.com/adyen/adyen-go-api-library/v9/src/adyen"
"github.com/adyen/adyen-go-api-library/v10/src/checkout"
"github.com/adyen/adyen-go-api-library/v10/src/common"
"github.com/adyen/adyen-go-api-library/v10/src/adyen"
)

client := adyen.NewClient(&common.Config{
Expand All @@ -123,9 +123,9 @@ res, httpRes, err := service.PaymentsApi.PaymentMethods(context.Background(), re

```go
import (
"github.com/adyen/adyen-go-api-library/v9/src/recurring"
"github.com/adyen/adyen-go-api-library/v9/src/common"
"github.com/adyen/adyen-go-api-library/v9/src/adyen"
"github.com/adyen/adyen-go-api-library/v10/src/recurring"
"github.com/adyen/adyen-go-api-library/v10/src/common"
"github.com/adyen/adyen-go-api-library/v10/src/adyen"
)

client := adyen.NewClient(&common.Config{
Expand Down Expand Up @@ -153,7 +153,7 @@ In some setups you might need to unmarshal JSON strings to request objects. For
```go
import (
"encoding/json"
"github.com/adyen/adyen-go-api-library/v9/src/checkout"
"github.com/adyen/adyen-go-api-library/v10/src/checkout"
)
paymentRequest := checkout.PaymentRequest{}
error := json.Unmarshal([]byte("YOUR_JSON_STRING"), &paymentRequest)
Expand All @@ -164,7 +164,7 @@ error := json.Unmarshal([]byte("YOUR_JSON_STRING"), &paymentRequest)

```go
import (
"github.com/adyen/adyen-go-api-library/v9/src/webhook"
"github.com/adyen/adyen-go-api-library/v10/src/webhook"
)

msg, err := webhook.HandleRequest(`{"live": "false", "notificationItems": []}`)
Expand All @@ -174,9 +174,9 @@ msg, err := webhook.HandleRequest(`{"live": "false", "notificationItems": []}`)

```go
import (
"github.com/adyen/adyen-go-api-library/v9/src/common"
"github.com/adyen/adyen-go-api-library/v9/src/checkout"
"github.com/adyen/adyen-go-api-library/v9/src/adyen"
"github.com/adyen/adyen-go-api-library/v10/src/common"
"github.com/adyen/adyen-go-api-library/v10/src/checkout"
"github.com/adyen/adyen-go-api-library/v10/src/adyen"
)

client := adyen.NewClient(&common.Config{
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/adyen/adyen-go-api-library/v9
module github.com/adyen/adyen-go-api-library/v10

go 1.13

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ package main
import (
"fmt"

"github.com/adyen/adyen-go-api-library/v9/src/adyen"
"github.com/adyen/adyen-go-api-library/v9/src/common"
"github.com/adyen/adyen-go-api-library/v10/src/adyen"
"github.com/adyen/adyen-go-api-library/v10/src/common"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"strings"
"testing"

"github.com/adyen/adyen-go-api-library/v9/src/adyen"
"github.com/adyen/adyen-go-api-library/v9/src/checkout"
"github.com/adyen/adyen-go-api-library/v9/src/common"
"github.com/adyen/adyen-go-api-library/v10/src/adyen"
"github.com/adyen/adyen-go-api-library/v10/src/checkout"
"github.com/adyen/adyen-go-api-library/v10/src/common"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion src/acswebhook/model_amount.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/acswebhook/model_authentication_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/acswebhook/model_authentication_notification_data.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/acswebhook/model_challenge_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/acswebhook/model_purchase_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/acswebhook/model_resource.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 20 additions & 20 deletions src/adyen/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ import (
"fmt"
"net/http"

"github.com/adyen/adyen-go-api-library/v9/src/dataprotection"

"github.com/adyen/adyen-go-api-library/v9/src/balancecontrol"
"github.com/adyen/adyen-go-api-library/v9/src/balanceplatform"
"github.com/adyen/adyen-go-api-library/v9/src/binlookup"
"github.com/adyen/adyen-go-api-library/v9/src/checkout"
"github.com/adyen/adyen-go-api-library/v9/src/common"
"github.com/adyen/adyen-go-api-library/v9/src/disputes"
"github.com/adyen/adyen-go-api-library/v9/src/legalentity"
"github.com/adyen/adyen-go-api-library/v9/src/management"
"github.com/adyen/adyen-go-api-library/v9/src/payments"
"github.com/adyen/adyen-go-api-library/v9/src/payout"
"github.com/adyen/adyen-go-api-library/v9/src/platformsaccount"
"github.com/adyen/adyen-go-api-library/v9/src/platformsfund"
"github.com/adyen/adyen-go-api-library/v9/src/platformshostedonboardingpage"
"github.com/adyen/adyen-go-api-library/v9/src/platformsnotificationconfiguration"
"github.com/adyen/adyen-go-api-library/v9/src/posterminalmanagement"
"github.com/adyen/adyen-go-api-library/v9/src/recurring"
"github.com/adyen/adyen-go-api-library/v9/src/storedvalue"
"github.com/adyen/adyen-go-api-library/v9/src/transfers"
"github.com/adyen/adyen-go-api-library/v10/src/dataprotection"

"github.com/adyen/adyen-go-api-library/v10/src/balancecontrol"
"github.com/adyen/adyen-go-api-library/v10/src/balanceplatform"
"github.com/adyen/adyen-go-api-library/v10/src/binlookup"
"github.com/adyen/adyen-go-api-library/v10/src/checkout"
"github.com/adyen/adyen-go-api-library/v10/src/common"
"github.com/adyen/adyen-go-api-library/v10/src/disputes"
"github.com/adyen/adyen-go-api-library/v10/src/legalentity"
"github.com/adyen/adyen-go-api-library/v10/src/management"
"github.com/adyen/adyen-go-api-library/v10/src/payments"
"github.com/adyen/adyen-go-api-library/v10/src/payout"
"github.com/adyen/adyen-go-api-library/v10/src/platformsaccount"
"github.com/adyen/adyen-go-api-library/v10/src/platformsfund"
"github.com/adyen/adyen-go-api-library/v10/src/platformshostedonboardingpage"
"github.com/adyen/adyen-go-api-library/v10/src/platformsnotificationconfiguration"
"github.com/adyen/adyen-go-api-library/v10/src/posterminalmanagement"
"github.com/adyen/adyen-go-api-library/v10/src/recurring"
"github.com/adyen/adyen-go-api-library/v10/src/storedvalue"
"github.com/adyen/adyen-go-api-library/v10/src/transfers"
)

// Constants used for the client API
Expand Down
6 changes: 3 additions & 3 deletions src/adyen/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"testing"
"time"

"github.com/adyen/adyen-go-api-library/v9/src/checkout"
"github.com/adyen/adyen-go-api-library/v9/src/common"
"github.com/adyen/adyen-go-api-library/v9/src/recurring"
"github.com/adyen/adyen-go-api-library/v10/src/checkout"
"github.com/adyen/adyen-go-api-library/v10/src/common"
"github.com/adyen/adyen-go-api-library/v10/src/recurring"
"github.com/joho/godotenv"

"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion src/balancecontrol/api_general.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balancecontrol/model_amount.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balancecontrol/model_balance_transfer_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balancecontrol/model_balance_transfer_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_account_holders.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_balance_accounts.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_bank_account_validation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_card_orders.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_grant_accounts.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_grant_offers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_manage_card_pin.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_manage_sca_devices.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_network_tokens.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_payment_instrument_groups.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_payment_instruments.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_pin_functionality.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/balanceplatform/api_platform.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 40a7d1f

Please sign in to comment.