From 239bb5c699ae3e98915c262e38bc5af32a581199 Mon Sep 17 00:00:00 2001 From: Jamie Aitken Date: Wed, 9 Aug 2023 14:42:15 +0100 Subject: [PATCH] PAY-1076 Rename imports to PaddleHQ --- abc/checkout_api.go | 32 +++++++-------- abc/checkout_previous_sdk_builder.go | 2 +- accounts/accounts.go | 2 +- accounts/client.go | 6 +-- accounts/client_test.go | 8 ++-- accounts/common.go | 2 +- accounts/entities.go | 2 +- accounts/files.go | 2 +- accounts/instrument_details.go | 2 +- accounts/instruments.go | 2 +- accounts/payouts.go | 4 +- apm/ideal/client.go | 7 ++-- apm/ideal/client_test.go | 4 +- apm/ideal/ideal.go | 2 +- apm/klarna/client.go | 9 +++-- apm/klarna/client_test.go | 10 ++--- apm/klarna/klarna.go | 4 +- apm/sepa/client.go | 7 ++-- apm/sepa/client_test.go | 8 ++-- apm/sepa/sepa.go | 2 +- balances/balances.go | 2 +- balances/client.go | 6 +-- balances/client_test.go | 8 ++-- checkout_sdk_builder.go | 4 +- client/client.go | 6 +-- common/files.go | 2 +- configuration/configuration.go | 2 +- configuration/default_keys_credentials.go | 2 +- configuration/oauth_keys_credentials.go | 2 +- configuration/previous_keys_credentials.go | 2 +- configuration/sdk_credentials.go | 2 +- configuration/static_keys_builder.go | 2 +- customers/client.go | 7 ++-- customers/client_test.go | 8 ++-- customers/customers.go | 4 +- disputes/client.go | 7 ++-- disputes/client_test.go | 8 ++-- disputes/disputes.go | 2 +- events/abc/client.go | 7 ++-- events/abc/client_test.go | 8 ++-- events/abc/events.go | 6 +-- financial/client.go | 6 +-- financial/client_test.go | 6 +-- financial/financial.go | 2 +- forex/client.go | 6 +-- forex/client_test.go | 8 ++-- forex/forex.go | 2 +- go.mod | 2 +- instruments/abc/client.go | 9 +++-- instruments/abc/client_test.go | 10 ++--- instruments/abc/create.go | 2 +- instruments/abc/get.go | 4 +- instruments/abc/instruments.go | 2 +- instruments/abc/update.go | 2 +- instruments/instruments.go | 2 +- instruments/nas/client.go | 8 ++-- instruments/nas/client_test.go | 8 ++-- instruments/nas/create.go | 2 +- instruments/nas/get.go | 4 +- instruments/nas/instuments.go | 2 +- instruments/nas/update.go | 2 +- issuing/cardholders/cardholders.go | 4 +- issuing/cards/enrollment.go | 2 +- issuing/cards/requests.go | 2 +- issuing/cards/responses.go | 4 +- issuing/client_issuing.go | 14 +++---- issuing/client_issuing_test.go | 18 ++++----- issuing/controls/responses.go | 4 +- issuing/testing/requests.go | 2 +- issuing/testing/responses.go | 2 +- metadata/client.go | 6 +-- metadata/client_test.go | 10 ++--- metadata/metadata.go | 4 +- mocks/client_mock.go | 5 ++- mocks/credentials_mock.go | 2 +- mocks/metadata_mock.go | 2 +- nas/checkout_api.go | 44 ++++++++++----------- nas/checkout_default_sdk_builder.go | 2 +- nas/checkout_oauth_sdk_builder.go | 4 +- payments/abc/client.go | 9 +++-- payments/abc/client_test.go | 12 +++--- payments/abc/destinations.go | 4 +- payments/abc/payments.go | 4 +- payments/abc/source.go | 4 +- payments/abc/sources/apm/apm.go | 4 +- payments/abc/sources/sources.go | 4 +- payments/hosted/client.go | 7 ++-- payments/hosted/client_test.go | 10 ++--- payments/hosted/hosted.go | 4 +- payments/links/client.go | 7 ++-- payments/links/client_test.go | 10 ++--- payments/links/links.go | 4 +- payments/nas/client.go | 8 ++-- payments/nas/client_test.go | 12 +++--- payments/nas/destinations.go | 4 +- payments/nas/payments.go | 6 +-- payments/nas/senders.go | 4 +- payments/nas/source.go | 4 +- payments/nas/sources/apm/apm.go | 5 ++- payments/nas/sources/sources.go | 4 +- payments/payments.go | 2 +- reconciliation/client.go | 7 ++-- reconciliation/client_test.go | 8 ++-- reconciliation/reconciliation.go | 2 +- reports/client.go | 6 +-- reports/reports.go | 2 +- sessions/channels/channels.go | 2 +- sessions/client.go | 8 ++-- sessions/client_test.go | 12 +++--- sessions/session_secret_credentials.go | 4 +- sessions/session_secret_credentials_test.go | 4 +- sessions/sessions_requests.go | 8 ++-- sessions/sessions_responses.go | 6 +-- sessions/sources/session_sources.go | 2 +- sources/client.go | 7 ++-- sources/client_test.go | 8 ++-- sources/sources.go | 2 +- test/accounts_test.go | 12 +++--- test/apm_ideal_test.go | 2 +- test/apm_klarna_test.go | 6 +-- test/balances_test.go | 6 +-- test/configuration_test.go | 4 +- test/customers_previous_test.go | 6 +-- test/customers_test.go | 6 +-- test/disputes_previous_test.go | 14 +++---- test/disputes_test.go | 12 +++--- test/events_test.go | 2 +- test/financial_test.go | 2 +- test/forex_test.go | 6 +-- test/hosted_payments_previous_test.go | 6 +-- test/hosted_payments_test.go | 8 ++-- test/instruments_previous_test.go | 8 ++-- test/instruments_test.go | 8 ++-- test/issuing_base_test.go | 18 ++++----- test/issuing_card_test.go | 6 +-- test/issuing_cardholder_test.go | 4 +- test/issuing_controls_test.go | 4 +- test/issuing_testing_test.go | 6 +-- test/metadata_card_request_test.go | 4 +- test/oauth_sdk_test.go | 11 +++--- test/payment_links_previous_test.go | 6 +-- test/payment_links_test.go | 8 ++-- test/payments_actions_previous_test.go | 2 +- test/payments_actions_test.go | 2 +- test/payments_captures_previous_test.go | 4 +- test/payments_captures_test.go | 4 +- test/payments_payouts_previous_test.go | 6 +-- test/payments_refunds_previous_test.go | 2 +- test/payments_refunds_test.go | 5 ++- test/payments_request_apm_previous_test.go | 10 ++--- test/payments_request_apm_test.go | 10 ++--- test/payments_request_previous_test.go | 11 +++--- test/payments_request_test.go | 11 +++--- test/payments_voids_previous_test.go | 2 +- test/payments_voids_test.go | 4 +- test/reconciliation_test.go | 12 +++--- test/reports_test.go | 6 +-- test/sandbox_test_fixture_test.go | 10 ++--- test/sessions_test.go | 12 +++--- test/sources_test.go | 2 +- test/tokens_previous_test.go | 4 +- test/tokens_test.go | 4 +- test/transfers_test.go | 4 +- test/webhooks_test.go | 7 ++-- test/workflows_test.go | 15 +++---- tokens/client.go | 7 ++-- tokens/client_test.go | 6 +-- tokens/tokens.go | 2 +- transfers/client.go | 6 +-- transfers/client_test.go | 8 ++-- transfers/transfers.go | 2 +- webhooks/abc/client.go | 7 ++-- webhooks/abc/client_test.go | 8 ++-- webhooks/abc/webhooks.go | 3 +- workflows/actions/actions.go | 2 +- workflows/client.go | 14 +++---- workflows/client_test.go | 17 ++++---- workflows/conditions/conditions.go | 2 +- workflows/events/events.go | 2 +- workflows/workflows.go | 6 +-- 180 files changed, 547 insertions(+), 523 deletions(-) diff --git a/abc/checkout_api.go b/abc/checkout_api.go index a261cce..9ed60e3 100644 --- a/abc/checkout_api.go +++ b/abc/checkout_api.go @@ -1,22 +1,22 @@ package abc import ( - "github.com/checkout/checkout-sdk-go/apm/ideal" - "github.com/checkout/checkout-sdk-go/apm/klarna" - "github.com/checkout/checkout-sdk-go/apm/sepa" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/customers" - "github.com/checkout/checkout-sdk-go/disputes" - events "github.com/checkout/checkout-sdk-go/events/abc" - "github.com/checkout/checkout-sdk-go/instruments/abc" - payments "github.com/checkout/checkout-sdk-go/payments/abc" - "github.com/checkout/checkout-sdk-go/payments/hosted" - "github.com/checkout/checkout-sdk-go/payments/links" - "github.com/checkout/checkout-sdk-go/reconciliation" - "github.com/checkout/checkout-sdk-go/sources" - "github.com/checkout/checkout-sdk-go/tokens" - webhooks "github.com/checkout/checkout-sdk-go/webhooks/abc" + "github.com/PaddleHQ/checkout-sdk-go/apm/ideal" + "github.com/PaddleHQ/checkout-sdk-go/apm/klarna" + "github.com/PaddleHQ/checkout-sdk-go/apm/sepa" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/customers" + "github.com/PaddleHQ/checkout-sdk-go/disputes" + events "github.com/PaddleHQ/checkout-sdk-go/events/abc" + "github.com/PaddleHQ/checkout-sdk-go/instruments/abc" + payments "github.com/PaddleHQ/checkout-sdk-go/payments/abc" + "github.com/PaddleHQ/checkout-sdk-go/payments/hosted" + "github.com/PaddleHQ/checkout-sdk-go/payments/links" + "github.com/PaddleHQ/checkout-sdk-go/reconciliation" + "github.com/PaddleHQ/checkout-sdk-go/sources" + "github.com/PaddleHQ/checkout-sdk-go/tokens" + webhooks "github.com/PaddleHQ/checkout-sdk-go/webhooks/abc" ) type Api struct { diff --git a/abc/checkout_previous_sdk_builder.go b/abc/checkout_previous_sdk_builder.go index c54bb2c..4e456a3 100644 --- a/abc/checkout_previous_sdk_builder.go +++ b/abc/checkout_previous_sdk_builder.go @@ -3,7 +3,7 @@ package abc import ( "net/http" - "github.com/checkout/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type CheckoutPreviousSdkBuilder struct { diff --git a/accounts/accounts.go b/accounts/accounts.go index ed41822..0c095e2 100644 --- a/accounts/accounts.go +++ b/accounts/accounts.go @@ -1,7 +1,7 @@ package accounts import ( - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) const ( diff --git a/accounts/client.go b/accounts/client.go index 88237c3..ec069ac 100644 --- a/accounts/client.go +++ b/accounts/client.go @@ -1,9 +1,9 @@ package accounts import ( - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/accounts/client_test.go b/accounts/client_test.go index 13c27a6..f1fd990 100644 --- a/accounts/client_test.go +++ b/accounts/client_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) func TestCreateEntity(t *testing.T) { diff --git a/accounts/common.go b/accounts/common.go index 03c27a0..6971bc1 100644 --- a/accounts/common.go +++ b/accounts/common.go @@ -1,6 +1,6 @@ package accounts -import "github.com/checkout/checkout-sdk-go/common" +import "github.com/PaddleHQ/checkout-sdk-go/common" type BusinessType string diff --git a/accounts/entities.go b/accounts/entities.go index 31da7b2..538b894 100644 --- a/accounts/entities.go +++ b/accounts/entities.go @@ -1,6 +1,6 @@ package accounts -import "github.com/checkout/checkout-sdk-go/common" +import "github.com/PaddleHQ/checkout-sdk-go/common" type ( OnboardEntityRequest struct { diff --git a/accounts/files.go b/accounts/files.go index ce08c29..53c69b1 100644 --- a/accounts/files.go +++ b/accounts/files.go @@ -1,6 +1,6 @@ package accounts -import "github.com/checkout/checkout-sdk-go/common" +import "github.com/PaddleHQ/checkout-sdk-go/common" type File struct { File string diff --git a/accounts/instrument_details.go b/accounts/instrument_details.go index d1c2019..a649251 100644 --- a/accounts/instrument_details.go +++ b/accounts/instrument_details.go @@ -1,7 +1,7 @@ package accounts import ( - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type InstrumentDetail string diff --git a/accounts/instruments.go b/accounts/instruments.go index 3a9b0fd..f09562c 100644 --- a/accounts/instruments.go +++ b/accounts/instruments.go @@ -1,7 +1,7 @@ package accounts import ( - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type InstrumentStatus string diff --git a/accounts/payouts.go b/accounts/payouts.go index 0872d20..03fdaf4 100644 --- a/accounts/payouts.go +++ b/accounts/payouts.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) type Frequency string diff --git a/apm/ideal/client.go b/apm/ideal/client.go index b36eeba..9c0a05f 100644 --- a/apm/ideal/client.go +++ b/apm/ideal/client.go @@ -2,9 +2,10 @@ package ideal import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/apm/ideal/client_test.go b/apm/ideal/client_test.go index e76507a..9ff2f32 100644 --- a/apm/ideal/client_test.go +++ b/apm/ideal/client_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) func TestGetInfo(t *testing.T) { diff --git a/apm/ideal/ideal.go b/apm/ideal/ideal.go index f3e2286..9abecd6 100644 --- a/apm/ideal/ideal.go +++ b/apm/ideal/ideal.go @@ -1,6 +1,6 @@ package ideal -import "github.com/checkout/checkout-sdk-go/common" +import "github.com/PaddleHQ/checkout-sdk-go/common" const ( idealExternalPath = "ideal-external" diff --git a/apm/klarna/client.go b/apm/klarna/client.go index c2885aa..3a1405f 100644 --- a/apm/klarna/client.go +++ b/apm/klarna/client.go @@ -2,10 +2,11 @@ package klarna import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/payments" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type Client struct { diff --git a/apm/klarna/client_test.go b/apm/klarna/client_test.go index 06e6ddd..9dd4258 100644 --- a/apm/klarna/client_test.go +++ b/apm/klarna/client_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) func TestCreateSession(t *testing.T) { diff --git a/apm/klarna/klarna.go b/apm/klarna/klarna.go index e192e05..f340535 100644 --- a/apm/klarna/klarna.go +++ b/apm/klarna/klarna.go @@ -1,8 +1,8 @@ package klarna import ( - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) const ( diff --git a/apm/sepa/client.go b/apm/sepa/client.go index 22c48c1..0931ee7 100644 --- a/apm/sepa/client.go +++ b/apm/sepa/client.go @@ -2,9 +2,10 @@ package sepa import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/apm/sepa/client_test.go b/apm/sepa/client_test.go index 44cd828..0ba0645 100644 --- a/apm/sepa/client_test.go +++ b/apm/sepa/client_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) func TestGetMandate(t *testing.T) { diff --git a/apm/sepa/sepa.go b/apm/sepa/sepa.go index 4266926..e925168 100644 --- a/apm/sepa/sepa.go +++ b/apm/sepa/sepa.go @@ -1,6 +1,6 @@ package sepa -import "github.com/checkout/checkout-sdk-go/common" +import "github.com/PaddleHQ/checkout-sdk-go/common" const ( apmsPath = "apms" diff --git a/balances/balances.go b/balances/balances.go index 69aadda..5aaa14b 100644 --- a/balances/balances.go +++ b/balances/balances.go @@ -1,6 +1,6 @@ package balances -import "github.com/checkout/checkout-sdk-go/common" +import "github.com/PaddleHQ/checkout-sdk-go/common" const ( balances = "balances" diff --git a/balances/client.go b/balances/client.go index e5e6a2d..f64b193 100644 --- a/balances/client.go +++ b/balances/client.go @@ -1,9 +1,9 @@ package balances import ( - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/balances/client_test.go b/balances/client_test.go index bf61bf4..aa5924d 100644 --- a/balances/client_test.go +++ b/balances/client_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) func TestRetrieveEntityBalances(t *testing.T) { diff --git a/checkout_sdk_builder.go b/checkout_sdk_builder.go index f11d9f4..2b7ddf2 100644 --- a/checkout_sdk_builder.go +++ b/checkout_sdk_builder.go @@ -1,8 +1,8 @@ package checkout import ( - "github.com/checkout/checkout-sdk-go/abc" - "github.com/checkout/checkout-sdk-go/nas" + "github.com/PaddleHQ/checkout-sdk-go/abc" + "github.com/PaddleHQ/checkout-sdk-go/nas" ) type CheckoutSdkBuilder struct{} diff --git a/client/client.go b/client/client.go index 171f1b0..b7e6279 100644 --- a/client/client.go +++ b/client/client.go @@ -7,9 +7,9 @@ import ( "io/ioutil" "net/http" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) type HttpClient interface { diff --git a/common/files.go b/common/files.go index fc0a967..f50556d 100644 --- a/common/files.go +++ b/common/files.go @@ -12,7 +12,7 @@ import ( "github.com/gabriel-vasile/mimetype" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) type Purpose string diff --git a/configuration/configuration.go b/configuration/configuration.go index 241d362..2cc9690 100644 --- a/configuration/configuration.go +++ b/configuration/configuration.go @@ -3,7 +3,7 @@ package configuration import ( "net/http" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type Configuration struct { diff --git a/configuration/default_keys_credentials.go b/configuration/default_keys_credentials.go index 8117976..768a2ab 100644 --- a/configuration/default_keys_credentials.go +++ b/configuration/default_keys_credentials.go @@ -1,6 +1,6 @@ package configuration -import "github.com/checkout/checkout-sdk-go/errors" +import "github.com/PaddleHQ/checkout-sdk-go/errors" type DefaultKeysSdkCredentials struct { StaticKeys diff --git a/configuration/oauth_keys_credentials.go b/configuration/oauth_keys_credentials.go index 9bc81fa..dcab74f 100644 --- a/configuration/oauth_keys_credentials.go +++ b/configuration/oauth_keys_credentials.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) type ( diff --git a/configuration/previous_keys_credentials.go b/configuration/previous_keys_credentials.go index b7327bf..1d50440 100644 --- a/configuration/previous_keys_credentials.go +++ b/configuration/previous_keys_credentials.go @@ -1,6 +1,6 @@ package configuration -import "github.com/checkout/checkout-sdk-go/errors" +import "github.com/PaddleHQ/checkout-sdk-go/errors" type PreviousKeysSdkCredentials struct { StaticKeys diff --git a/configuration/sdk_credentials.go b/configuration/sdk_credentials.go index 73fcdd0..6663092 100644 --- a/configuration/sdk_credentials.go +++ b/configuration/sdk_credentials.go @@ -1,6 +1,6 @@ package configuration -import "github.com/checkout/checkout-sdk-go/errors" +import "github.com/PaddleHQ/checkout-sdk-go/errors" type PlatformType string diff --git a/configuration/static_keys_builder.go b/configuration/static_keys_builder.go index 54b3276..330964f 100644 --- a/configuration/static_keys_builder.go +++ b/configuration/static_keys_builder.go @@ -3,7 +3,7 @@ package configuration import ( "regexp" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) type StaticKeysBuilder struct { diff --git a/customers/client.go b/customers/client.go index b7e071a..29e8be8 100644 --- a/customers/client.go +++ b/customers/client.go @@ -2,9 +2,10 @@ package customers import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/customers/client_test.go b/customers/client_test.go index 5d86833..1793732 100644 --- a/customers/client_test.go +++ b/customers/client_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) var ( diff --git a/customers/customers.go b/customers/customers.go index 147b5c3..36f5ea3 100644 --- a/customers/customers.go +++ b/customers/customers.go @@ -1,9 +1,9 @@ package customers import ( - instruments "github.com/checkout/checkout-sdk-go/instruments/nas" + instruments "github.com/PaddleHQ/checkout-sdk-go/instruments/nas" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) const Path = "customers" diff --git a/disputes/client.go b/disputes/client.go index 5dd4c74..2a4fcfd 100644 --- a/disputes/client.go +++ b/disputes/client.go @@ -2,9 +2,10 @@ package disputes import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/disputes/client_test.go b/disputes/client_test.go index fc07efb..6c10dab 100644 --- a/disputes/client_test.go +++ b/disputes/client_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) var ( diff --git a/disputes/disputes.go b/disputes/disputes.go index 6d9bc67..cf8b2ff 100644 --- a/disputes/disputes.go +++ b/disputes/disputes.go @@ -3,7 +3,7 @@ package disputes import ( "time" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) const ( diff --git a/events/abc/client.go b/events/abc/client.go index 0832d81..d5c63b4 100644 --- a/events/abc/client.go +++ b/events/abc/client.go @@ -2,9 +2,10 @@ package abc import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/events/abc/client_test.go b/events/abc/client_test.go index 46dd86f..5e0a11c 100644 --- a/events/abc/client_test.go +++ b/events/abc/client_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) func TestRetrieveAllEventTypes(t *testing.T) { diff --git a/events/abc/events.go b/events/abc/events.go index 68367e1..e96af9d 100644 --- a/events/abc/events.go +++ b/events/abc/events.go @@ -5,9 +5,9 @@ import ( "encoding/json" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/abc" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/abc" ) const ( diff --git a/financial/client.go b/financial/client.go index 241b873..4e84b3c 100644 --- a/financial/client.go +++ b/financial/client.go @@ -1,9 +1,9 @@ package financial import ( - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/financial/client_test.go b/financial/client_test.go index c04e970..55045bc 100644 --- a/financial/client_test.go +++ b/financial/client_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) func TestGetFinancialActions(t *testing.T) { diff --git a/financial/financial.go b/financial/financial.go index 63d67a9..704e6b1 100644 --- a/financial/financial.go +++ b/financial/financial.go @@ -3,7 +3,7 @@ package financial import ( "time" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) const ( diff --git a/forex/client.go b/forex/client.go index a048f15..5d4ce17 100644 --- a/forex/client.go +++ b/forex/client.go @@ -1,9 +1,9 @@ package forex import ( - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/forex/client_test.go b/forex/client_test.go index 71d8f88..ff31330 100644 --- a/forex/client_test.go +++ b/forex/client_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) func TestRequestQuote(t *testing.T) { diff --git a/forex/forex.go b/forex/forex.go index 9d1ae87..f62fc3e 100644 --- a/forex/forex.go +++ b/forex/forex.go @@ -3,7 +3,7 @@ package forex import ( "time" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) const ( diff --git a/go.mod b/go.mod index ceb589f..5322722 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/checkout/checkout-sdk-go +module github.com/PaddleHQ/checkout-sdk-go go 1.14 diff --git a/instruments/abc/client.go b/instruments/abc/client.go index f370ebb..5cabb5d 100644 --- a/instruments/abc/client.go +++ b/instruments/abc/client.go @@ -2,10 +2,11 @@ package abc import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/instruments" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/instruments" ) type Client struct { diff --git a/instruments/abc/client_test.go b/instruments/abc/client_test.go index afc4165..247dd8b 100644 --- a/instruments/abc/client_test.go +++ b/instruments/abc/client_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/instruments" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/instruments" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) var ( diff --git a/instruments/abc/create.go b/instruments/abc/create.go index 188bf67..738a529 100644 --- a/instruments/abc/create.go +++ b/instruments/abc/create.go @@ -1,7 +1,7 @@ package abc import ( - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type ( diff --git a/instruments/abc/get.go b/instruments/abc/get.go index 04528b3..997c3a5 100644 --- a/instruments/abc/get.go +++ b/instruments/abc/get.go @@ -1,8 +1,8 @@ package abc import ( - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/instruments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/instruments" ) type ( diff --git a/instruments/abc/instruments.go b/instruments/abc/instruments.go index f7eda4c..b776eb6 100644 --- a/instruments/abc/instruments.go +++ b/instruments/abc/instruments.go @@ -1,7 +1,7 @@ package abc import ( - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type InstrumentAccountHolder struct { diff --git a/instruments/abc/update.go b/instruments/abc/update.go index 71d2ea9..c0274c8 100644 --- a/instruments/abc/update.go +++ b/instruments/abc/update.go @@ -1,7 +1,7 @@ package abc import ( - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type ( diff --git a/instruments/instruments.go b/instruments/instruments.go index 57d8731..a76eec9 100644 --- a/instruments/instruments.go +++ b/instruments/instruments.go @@ -1,6 +1,6 @@ package instruments -import "github.com/checkout/checkout-sdk-go/common" +import "github.com/PaddleHQ/checkout-sdk-go/common" const Path = "instruments" diff --git a/instruments/nas/client.go b/instruments/nas/client.go index 8c4444f..d6268e8 100644 --- a/instruments/nas/client.go +++ b/instruments/nas/client.go @@ -1,10 +1,10 @@ package nas import ( - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/instruments" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/instruments" ) type Client struct { diff --git a/instruments/nas/client_test.go b/instruments/nas/client_test.go index e3da6f8..c9e56f4 100644 --- a/instruments/nas/client_test.go +++ b/instruments/nas/client_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) const ( diff --git a/instruments/nas/create.go b/instruments/nas/create.go index 659f5fd..05106b6 100644 --- a/instruments/nas/create.go +++ b/instruments/nas/create.go @@ -3,7 +3,7 @@ package nas import ( "encoding/json" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type ( diff --git a/instruments/nas/get.go b/instruments/nas/get.go index 68c843f..e7b9344 100644 --- a/instruments/nas/get.go +++ b/instruments/nas/get.go @@ -3,8 +3,8 @@ package nas import ( "encoding/json" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/instruments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/instruments" ) type QueryBankAccountFormatting struct { diff --git a/instruments/nas/instuments.go b/instruments/nas/instuments.go index 7577a05..f73ec72 100644 --- a/instruments/nas/instuments.go +++ b/instruments/nas/instuments.go @@ -1,7 +1,7 @@ package nas import ( - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type PaymentNetwork string diff --git a/instruments/nas/update.go b/instruments/nas/update.go index f901c2d..81afe30 100644 --- a/instruments/nas/update.go +++ b/instruments/nas/update.go @@ -3,7 +3,7 @@ package nas import ( "encoding/json" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type ( diff --git a/issuing/cardholders/cardholders.go b/issuing/cardholders/cardholders.go index 3ef12d7..3faa4ff 100644 --- a/issuing/cardholders/cardholders.go +++ b/issuing/cardholders/cardholders.go @@ -3,8 +3,8 @@ package issuing import ( "time" - "github.com/checkout/checkout-sdk-go/common" - cards "github.com/checkout/checkout-sdk-go/issuing/cards" + "github.com/PaddleHQ/checkout-sdk-go/common" + cards "github.com/PaddleHQ/checkout-sdk-go/issuing/cards" ) type CardholderType string diff --git a/issuing/cards/enrollment.go b/issuing/cards/enrollment.go index c5400bc..0b88f9e 100644 --- a/issuing/cards/enrollment.go +++ b/issuing/cards/enrollment.go @@ -3,7 +3,7 @@ package issuing import ( "time" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type ( diff --git a/issuing/cards/requests.go b/issuing/cards/requests.go index 43e6448..7dd16e3 100644 --- a/issuing/cards/requests.go +++ b/issuing/cards/requests.go @@ -1,7 +1,7 @@ package issuing import ( - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type LifetimeUnit string diff --git a/issuing/cards/responses.go b/issuing/cards/responses.go index 15cc535..21b7f8c 100644 --- a/issuing/cards/responses.go +++ b/issuing/cards/responses.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) type ( diff --git a/issuing/client_issuing.go b/issuing/client_issuing.go index fea63f1..a5ecd46 100644 --- a/issuing/client_issuing.go +++ b/issuing/client_issuing.go @@ -1,13 +1,13 @@ package issuing import ( - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - cardholders "github.com/checkout/checkout-sdk-go/issuing/cardholders" - cards "github.com/checkout/checkout-sdk-go/issuing/cards" - controls "github.com/checkout/checkout-sdk-go/issuing/controls" - testing "github.com/checkout/checkout-sdk-go/issuing/testing" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + cardholders "github.com/PaddleHQ/checkout-sdk-go/issuing/cardholders" + cards "github.com/PaddleHQ/checkout-sdk-go/issuing/cards" + controls "github.com/PaddleHQ/checkout-sdk-go/issuing/controls" + testing "github.com/PaddleHQ/checkout-sdk-go/issuing/testing" ) const ( diff --git a/issuing/client_issuing_test.go b/issuing/client_issuing_test.go index 438d6cc..54c0a34 100644 --- a/issuing/client_issuing_test.go +++ b/issuing/client_issuing_test.go @@ -8,15 +8,15 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" - - cardholders "github.com/checkout/checkout-sdk-go/issuing/cardholders" - cards "github.com/checkout/checkout-sdk-go/issuing/cards" - controls "github.com/checkout/checkout-sdk-go/issuing/controls" - issuingTesting "github.com/checkout/checkout-sdk-go/issuing/testing" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" + + cardholders "github.com/PaddleHQ/checkout-sdk-go/issuing/cardholders" + cards "github.com/PaddleHQ/checkout-sdk-go/issuing/cards" + controls "github.com/PaddleHQ/checkout-sdk-go/issuing/controls" + issuingTesting "github.com/PaddleHQ/checkout-sdk-go/issuing/testing" ) var ( diff --git a/issuing/controls/responses.go b/issuing/controls/responses.go index f593159..2026dba 100644 --- a/issuing/controls/responses.go +++ b/issuing/controls/responses.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) type ( diff --git a/issuing/testing/requests.go b/issuing/testing/requests.go index cff4f38..29bfd6b 100644 --- a/issuing/testing/requests.go +++ b/issuing/testing/requests.go @@ -1,6 +1,6 @@ package issuing -import "github.com/checkout/checkout-sdk-go/common" +import "github.com/PaddleHQ/checkout-sdk-go/common" type TransactionType string diff --git a/issuing/testing/responses.go b/issuing/testing/responses.go index e017527..6fb4ef2 100644 --- a/issuing/testing/responses.go +++ b/issuing/testing/responses.go @@ -1,6 +1,6 @@ package issuing -import "github.com/checkout/checkout-sdk-go/common" +import "github.com/PaddleHQ/checkout-sdk-go/common" type TransactionStatus string diff --git a/metadata/client.go b/metadata/client.go index 0d23721..a8eef5f 100644 --- a/metadata/client.go +++ b/metadata/client.go @@ -1,9 +1,9 @@ package metadata import ( - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/metadata/client_test.go b/metadata/client_test.go index 9db0159..87c9404 100644 --- a/metadata/client_test.go +++ b/metadata/client_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/metadata/sources" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/metadata/sources" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) func TestRequestQuote(t *testing.T) { diff --git a/metadata/metadata.go b/metadata/metadata.go index 968836a..89975a4 100644 --- a/metadata/metadata.go +++ b/metadata/metadata.go @@ -1,8 +1,8 @@ package metadata import ( - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/metadata/sources" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/metadata/sources" ) const ( diff --git a/mocks/client_mock.go b/mocks/client_mock.go index deec2cf..3975f80 100644 --- a/mocks/client_mock.go +++ b/mocks/client_mock.go @@ -2,10 +2,11 @@ package mocks import ( "context" + "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type ( diff --git a/mocks/credentials_mock.go b/mocks/credentials_mock.go index 7c191c2..e6b0310 100644 --- a/mocks/credentials_mock.go +++ b/mocks/credentials_mock.go @@ -3,7 +3,7 @@ package mocks import ( "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type ( diff --git a/mocks/metadata_mock.go b/mocks/metadata_mock.go index 87928e9..d19c223 100644 --- a/mocks/metadata_mock.go +++ b/mocks/metadata_mock.go @@ -3,7 +3,7 @@ package mocks import ( "net/http" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) var ( diff --git a/nas/checkout_api.go b/nas/checkout_api.go index 67b66ea..42d9367 100644 --- a/nas/checkout_api.go +++ b/nas/checkout_api.go @@ -1,28 +1,28 @@ package nas import ( - "github.com/checkout/checkout-sdk-go/accounts" - "github.com/checkout/checkout-sdk-go/apm/ideal" - "github.com/checkout/checkout-sdk-go/apm/klarna" - "github.com/checkout/checkout-sdk-go/apm/sepa" - "github.com/checkout/checkout-sdk-go/balances" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/customers" - "github.com/checkout/checkout-sdk-go/disputes" - "github.com/checkout/checkout-sdk-go/financial" - "github.com/checkout/checkout-sdk-go/forex" - instruments "github.com/checkout/checkout-sdk-go/instruments/nas" - "github.com/checkout/checkout-sdk-go/issuing" - "github.com/checkout/checkout-sdk-go/metadata" - "github.com/checkout/checkout-sdk-go/payments/hosted" - "github.com/checkout/checkout-sdk-go/payments/links" - payments "github.com/checkout/checkout-sdk-go/payments/nas" - "github.com/checkout/checkout-sdk-go/reports" - "github.com/checkout/checkout-sdk-go/sessions" - "github.com/checkout/checkout-sdk-go/tokens" - "github.com/checkout/checkout-sdk-go/transfers" - "github.com/checkout/checkout-sdk-go/workflows" + "github.com/PaddleHQ/checkout-sdk-go/accounts" + "github.com/PaddleHQ/checkout-sdk-go/apm/ideal" + "github.com/PaddleHQ/checkout-sdk-go/apm/klarna" + "github.com/PaddleHQ/checkout-sdk-go/apm/sepa" + "github.com/PaddleHQ/checkout-sdk-go/balances" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/customers" + "github.com/PaddleHQ/checkout-sdk-go/disputes" + "github.com/PaddleHQ/checkout-sdk-go/financial" + "github.com/PaddleHQ/checkout-sdk-go/forex" + instruments "github.com/PaddleHQ/checkout-sdk-go/instruments/nas" + "github.com/PaddleHQ/checkout-sdk-go/issuing" + "github.com/PaddleHQ/checkout-sdk-go/metadata" + "github.com/PaddleHQ/checkout-sdk-go/payments/hosted" + "github.com/PaddleHQ/checkout-sdk-go/payments/links" + payments "github.com/PaddleHQ/checkout-sdk-go/payments/nas" + "github.com/PaddleHQ/checkout-sdk-go/reports" + "github.com/PaddleHQ/checkout-sdk-go/sessions" + "github.com/PaddleHQ/checkout-sdk-go/tokens" + "github.com/PaddleHQ/checkout-sdk-go/transfers" + "github.com/PaddleHQ/checkout-sdk-go/workflows" ) type Api struct { diff --git a/nas/checkout_default_sdk_builder.go b/nas/checkout_default_sdk_builder.go index 44778c5..3a9d937 100644 --- a/nas/checkout_default_sdk_builder.go +++ b/nas/checkout_default_sdk_builder.go @@ -3,7 +3,7 @@ package nas import ( "net/http" - "github.com/checkout/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type CheckoutDefaultSdkBuilder struct { diff --git a/nas/checkout_oauth_sdk_builder.go b/nas/checkout_oauth_sdk_builder.go index 45c9716..91764cf 100644 --- a/nas/checkout_oauth_sdk_builder.go +++ b/nas/checkout_oauth_sdk_builder.go @@ -3,8 +3,8 @@ package nas import ( "net/http" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) type CheckoutOAuthSdkBuilder struct { diff --git a/payments/abc/client.go b/payments/abc/client.go index ecf9f1c..0988143 100644 --- a/payments/abc/client.go +++ b/payments/abc/client.go @@ -2,10 +2,11 @@ package abc import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/payments" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type Client struct { diff --git a/payments/abc/client_test.go b/payments/abc/client_test.go index 6033821..ea60c90 100644 --- a/payments/abc/client_test.go +++ b/payments/abc/client_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/abc/sources" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/abc/sources" ) var ( diff --git a/payments/abc/destinations.go b/payments/abc/destinations.go index b9f000d..5643bb0 100644 --- a/payments/abc/destinations.go +++ b/payments/abc/destinations.go @@ -3,8 +3,8 @@ package abc import ( "encoding/json" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type ( diff --git a/payments/abc/payments.go b/payments/abc/payments.go index dcb42c1..866aff7 100644 --- a/payments/abc/payments.go +++ b/payments/abc/payments.go @@ -4,8 +4,8 @@ import ( "encoding/json" "time" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) // Request diff --git a/payments/abc/source.go b/payments/abc/source.go index 6177c77..7a4213e 100644 --- a/payments/abc/source.go +++ b/payments/abc/source.go @@ -3,8 +3,8 @@ package abc import ( "encoding/json" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type ( diff --git a/payments/abc/sources/apm/apm.go b/payments/abc/sources/apm/apm.go index d666fa8..5c6f5b9 100644 --- a/payments/abc/sources/apm/apm.go +++ b/payments/abc/sources/apm/apm.go @@ -3,8 +3,8 @@ package apm import ( "time" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type ( diff --git a/payments/abc/sources/sources.go b/payments/abc/sources/sources.go index 76d9515..b95b3f4 100644 --- a/payments/abc/sources/sources.go +++ b/payments/abc/sources/sources.go @@ -1,8 +1,8 @@ package sources import ( - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type ( diff --git a/payments/hosted/client.go b/payments/hosted/client.go index 0bf4925..d4e9921 100644 --- a/payments/hosted/client.go +++ b/payments/hosted/client.go @@ -2,9 +2,10 @@ package hosted import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/payments/hosted/client_test.go b/payments/hosted/client_test.go index 43ae4e1..52e09e8 100644 --- a/payments/hosted/client_test.go +++ b/payments/hosted/client_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) func TestCreateHostedPaymentsPageSession(t *testing.T) { diff --git a/payments/hosted/hosted.go b/payments/hosted/hosted.go index 9ea74f7..a2c5e89 100644 --- a/payments/hosted/hosted.go +++ b/payments/hosted/hosted.go @@ -3,8 +3,8 @@ package hosted import ( "time" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) const HostedPaymentsPath = "hosted-payments" diff --git a/payments/links/client.go b/payments/links/client.go index 4fe8a33..5202597 100644 --- a/payments/links/client.go +++ b/payments/links/client.go @@ -2,9 +2,10 @@ package links import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/payments/links/client_test.go b/payments/links/client_test.go index 62406c8..1817f95 100644 --- a/payments/links/client_test.go +++ b/payments/links/client_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) func TestCreatePaymentLink(t *testing.T) { diff --git a/payments/links/links.go b/payments/links/links.go index 8809f70..3cd1e72 100644 --- a/payments/links/links.go +++ b/payments/links/links.go @@ -3,8 +3,8 @@ package links import ( "time" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) const PaymentLinksPath = "payment-links" diff --git a/payments/nas/client.go b/payments/nas/client.go index bd2fb9a..5ff7226 100644 --- a/payments/nas/client.go +++ b/payments/nas/client.go @@ -3,10 +3,10 @@ package nas import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type Client struct { diff --git a/payments/nas/client_test.go b/payments/nas/client_test.go index f64c5ee..b7506b6 100644 --- a/payments/nas/client_test.go +++ b/payments/nas/client_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/nas/sources" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas/sources" ) var ( diff --git a/payments/nas/destinations.go b/payments/nas/destinations.go index 627065e..aeed444 100644 --- a/payments/nas/destinations.go +++ b/payments/nas/destinations.go @@ -3,8 +3,8 @@ package nas import ( "encoding/json" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type AccountType string diff --git a/payments/nas/payments.go b/payments/nas/payments.go index d1c6860..7e72e33 100644 --- a/payments/nas/payments.go +++ b/payments/nas/payments.go @@ -4,9 +4,9 @@ import ( "encoding/json" "time" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/nas/sources" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas/sources" ) type AuthorizationType string diff --git a/payments/nas/senders.go b/payments/nas/senders.go index 5203e00..625e40d 100644 --- a/payments/nas/senders.go +++ b/payments/nas/senders.go @@ -3,8 +3,8 @@ package nas import ( "encoding/json" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type SenderType string diff --git a/payments/nas/source.go b/payments/nas/source.go index 9863ca3..779616c 100644 --- a/payments/nas/source.go +++ b/payments/nas/source.go @@ -3,8 +3,8 @@ package nas import ( "encoding/json" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type ( diff --git a/payments/nas/sources/apm/apm.go b/payments/nas/sources/apm/apm.go index 3a3422a..85989cb 100644 --- a/payments/nas/sources/apm/apm.go +++ b/payments/nas/sources/apm/apm.go @@ -1,9 +1,10 @@ package apm import ( - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" "time" + + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type BillingPlanType string diff --git a/payments/nas/sources/sources.go b/payments/nas/sources/sources.go index 403d448..93a7096 100644 --- a/payments/nas/sources/sources.go +++ b/payments/nas/sources/sources.go @@ -1,8 +1,8 @@ package sources import ( - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) type ( diff --git a/payments/payments.go b/payments/payments.go index 5af72fa..a9d8c94 100644 --- a/payments/payments.go +++ b/payments/payments.go @@ -3,7 +3,7 @@ package payments import ( "time" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) const PathPayments = "payments" diff --git a/reconciliation/client.go b/reconciliation/client.go index d420eaa..7ef28e1 100644 --- a/reconciliation/client.go +++ b/reconciliation/client.go @@ -2,9 +2,10 @@ package reconciliation import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/reconciliation/client_test.go b/reconciliation/client_test.go index 4c58c49..fdd879c 100644 --- a/reconciliation/client_test.go +++ b/reconciliation/client_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) func TestQueryPaymentsReport(t *testing.T) { diff --git a/reconciliation/reconciliation.go b/reconciliation/reconciliation.go index ec445f2..b49100b 100644 --- a/reconciliation/reconciliation.go +++ b/reconciliation/reconciliation.go @@ -3,7 +3,7 @@ package reconciliation import ( "time" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) const ( diff --git a/reports/client.go b/reports/client.go index 65c3f5b..c4b55ec 100644 --- a/reports/client.go +++ b/reports/client.go @@ -1,9 +1,9 @@ package reports import ( - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/reports/reports.go b/reports/reports.go index 9e8e443..3faf21a 100644 --- a/reports/reports.go +++ b/reports/reports.go @@ -3,7 +3,7 @@ package reports import ( "time" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) const ( diff --git a/sessions/channels/channels.go b/sessions/channels/channels.go index d594095..2d9b436 100644 --- a/sessions/channels/channels.go +++ b/sessions/channels/channels.go @@ -1,7 +1,7 @@ package channels import ( - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type ChannelType string diff --git a/sessions/client.go b/sessions/client.go index 1c8dba5..a5e990a 100644 --- a/sessions/client.go +++ b/sessions/client.go @@ -1,10 +1,10 @@ package sessions import ( - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/sessions/channels" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/sessions/channels" ) type Client struct { diff --git a/sessions/client_test.go b/sessions/client_test.go index a22cb9f..11814a4 100644 --- a/sessions/client_test.go +++ b/sessions/client_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" - "github.com/checkout/checkout-sdk-go/sessions/channels" - "github.com/checkout/checkout-sdk-go/sessions/sources" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/sessions/channels" + "github.com/PaddleHQ/checkout-sdk-go/sessions/sources" ) func TestRequestSession(t *testing.T) { diff --git a/sessions/session_secret_credentials.go b/sessions/session_secret_credentials.go index 52be929..52cff49 100644 --- a/sessions/session_secret_credentials.go +++ b/sessions/session_secret_credentials.go @@ -1,8 +1,8 @@ package sessions import ( - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) type SessionSecretCredentials struct { diff --git a/sessions/session_secret_credentials_test.go b/sessions/session_secret_credentials_test.go index e372abc..42a0f34 100644 --- a/sessions/session_secret_credentials_test.go +++ b/sessions/session_secret_credentials_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) func TestGetAuthorization(t *testing.T) { diff --git a/sessions/sessions_requests.go b/sessions/sessions_requests.go index ffd3c83..08f9feb 100644 --- a/sessions/sessions_requests.go +++ b/sessions/sessions_requests.go @@ -1,10 +1,10 @@ package sessions import ( - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/sessions/channels" - "github.com/checkout/checkout-sdk-go/sessions/completion" - "github.com/checkout/checkout-sdk-go/sessions/sources" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/sessions/channels" + "github.com/PaddleHQ/checkout-sdk-go/sessions/completion" + "github.com/PaddleHQ/checkout-sdk-go/sessions/sources" ) type AuthenticationMethod string diff --git a/sessions/sessions_responses.go b/sessions/sessions_responses.go index b9215d1..8c5b0b8 100644 --- a/sessions/sessions_responses.go +++ b/sessions/sessions_responses.go @@ -3,9 +3,9 @@ package sessions import ( "time" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/sessions/channels" - "github.com/checkout/checkout-sdk-go/sessions/sources" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/sessions/channels" + "github.com/PaddleHQ/checkout-sdk-go/sessions/sources" ) type ChallengeCancelReason string diff --git a/sessions/sources/session_sources.go b/sessions/sources/session_sources.go index 138b030..692472e 100644 --- a/sessions/sources/session_sources.go +++ b/sessions/sources/session_sources.go @@ -1,7 +1,7 @@ package sources import ( - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type SessionSourceType string diff --git a/sources/client.go b/sources/client.go index bf19ba7..7e9d00b 100644 --- a/sources/client.go +++ b/sources/client.go @@ -2,9 +2,10 @@ package sources import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/sources/client_test.go b/sources/client_test.go index aaff06e..01a4e71 100644 --- a/sources/client_test.go +++ b/sources/client_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) var ( diff --git a/sources/sources.go b/sources/sources.go index 09d8b74..6cbe760 100644 --- a/sources/sources.go +++ b/sources/sources.go @@ -1,7 +1,7 @@ package sources import ( - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) const path = "sources" diff --git a/test/accounts_test.go b/test/accounts_test.go index 911958b..ffee3d6 100644 --- a/test/accounts_test.go +++ b/test/accounts_test.go @@ -8,12 +8,12 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go" - "github.com/checkout/checkout-sdk-go/accounts" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/nas" + "github.com/PaddleHQ/checkout-sdk-go" + "github.com/PaddleHQ/checkout-sdk-go/accounts" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/nas" ) var ( diff --git a/test/apm_ideal_test.go b/test/apm_ideal_test.go index e4e5ec6..d9c2f89 100644 --- a/test/apm_ideal_test.go +++ b/test/apm_ideal_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/apm/ideal" + "github.com/PaddleHQ/checkout-sdk-go/apm/ideal" ) /* TODO fix 404 not-found diff --git a/test/apm_klarna_test.go b/test/apm_klarna_test.go index cc41a78..03ad73a 100644 --- a/test/apm_klarna_test.go +++ b/test/apm_klarna_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/apm/klarna" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/apm/klarna" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) func TestCreateCreditSession(t *testing.T) { diff --git a/test/balances_test.go b/test/balances_test.go index cddaa03..2e7cb7b 100644 --- a/test/balances_test.go +++ b/test/balances_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/balances" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/balances" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) func TestRetrieveEntityBalances(t *testing.T) { diff --git a/test/configuration_test.go b/test/configuration_test.go index cd568f1..d7a0aed 100644 --- a/test/configuration_test.go +++ b/test/configuration_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) func TestGetAccessToken(t *testing.T) { diff --git a/test/customers_previous_test.go b/test/customers_previous_test.go index b2bebf3..be2b207 100644 --- a/test/customers_previous_test.go +++ b/test/customers_previous_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/customers" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/customers" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) var ( diff --git a/test/customers_test.go b/test/customers_test.go index 951451d..2b2f610 100644 --- a/test/customers_test.go +++ b/test/customers_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/customers" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/customers" + "github.com/PaddleHQ/checkout-sdk-go/errors" ) var ( diff --git a/test/disputes_previous_test.go b/test/disputes_previous_test.go index a03f18b..d122b34 100644 --- a/test/disputes_previous_test.go +++ b/test/disputes_previous_test.go @@ -9,13 +9,13 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/disputes" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/abc" - "github.com/checkout/checkout-sdk-go/payments/abc/sources" - "github.com/checkout/checkout-sdk-go/tokens" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/disputes" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/abc" + "github.com/PaddleHQ/checkout-sdk-go/payments/abc/sources" + "github.com/PaddleHQ/checkout-sdk-go/tokens" ) var ( diff --git a/test/disputes_test.go b/test/disputes_test.go index 79cb962..de31376 100644 --- a/test/disputes_test.go +++ b/test/disputes_test.go @@ -9,12 +9,12 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/disputes" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/nas" - "github.com/checkout/checkout-sdk-go/payments/nas/sources" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/disputes" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas/sources" ) var ( diff --git a/test/events_test.go b/test/events_test.go index 971bc1a..6e1f9d7 100644 --- a/test/events_test.go +++ b/test/events_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - events "github.com/checkout/checkout-sdk-go/events/abc" + events "github.com/PaddleHQ/checkout-sdk-go/events/abc" ) func TestShouldGetEventTypes(t *testing.T) { diff --git a/test/financial_test.go b/test/financial_test.go index 045097b..74f8ea5 100644 --- a/test/financial_test.go +++ b/test/financial_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/financial" + "github.com/PaddleHQ/checkout-sdk-go/financial" ) func TestGetFinancialActions(t *testing.T) { diff --git a/test/forex_test.go b/test/forex_test.go index be4b891..4bd6626 100644 --- a/test/forex_test.go +++ b/test/forex_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/forex" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/forex" ) func TestRequestQuote(t *testing.T) { diff --git a/test/hosted_payments_previous_test.go b/test/hosted_payments_previous_test.go index a37fe50..3a96da9 100644 --- a/test/hosted_payments_previous_test.go +++ b/test/hosted_payments_previous_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/payments/hosted" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/payments/hosted" ) func TestCreateHostedPaymentsPageSessionPrevious(t *testing.T) { diff --git a/test/hosted_payments_test.go b/test/hosted_payments_test.go index 6e14be4..e90101e 100644 --- a/test/hosted_payments_test.go +++ b/test/hosted_payments_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/hosted" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/hosted" ) func TestCreateHostedPaymentsPageSession(t *testing.T) { diff --git a/test/instruments_previous_test.go b/test/instruments_previous_test.go index 2c652f2..a005d26 100644 --- a/test/instruments_previous_test.go +++ b/test/instruments_previous_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/instruments/abc" - "github.com/checkout/checkout-sdk-go/tokens" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/instruments/abc" + "github.com/PaddleHQ/checkout-sdk-go/tokens" ) var ( diff --git a/test/instruments_test.go b/test/instruments_test.go index 54a811b..fb722c3 100644 --- a/test/instruments_test.go +++ b/test/instruments_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/instruments/nas" - "github.com/checkout/checkout-sdk-go/tokens" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/instruments/nas" + "github.com/PaddleHQ/checkout-sdk-go/tokens" ) var ( diff --git a/test/issuing_base_test.go b/test/issuing_base_test.go index 1092f8a..7f68a2b 100644 --- a/test/issuing_base_test.go +++ b/test/issuing_base_test.go @@ -7,15 +7,15 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - issuingTesting "github.com/checkout/checkout-sdk-go/issuing/testing" - "github.com/checkout/checkout-sdk-go/nas" - - cardholders "github.com/checkout/checkout-sdk-go/issuing/cardholders" - cards "github.com/checkout/checkout-sdk-go/issuing/cards" - controls "github.com/checkout/checkout-sdk-go/issuing/controls" + "github.com/PaddleHQ/checkout-sdk-go" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + issuingTesting "github.com/PaddleHQ/checkout-sdk-go/issuing/testing" + "github.com/PaddleHQ/checkout-sdk-go/nas" + + cardholders "github.com/PaddleHQ/checkout-sdk-go/issuing/cardholders" + cards "github.com/PaddleHQ/checkout-sdk-go/issuing/cards" + controls "github.com/PaddleHQ/checkout-sdk-go/issuing/controls" ) var ( diff --git a/test/issuing_card_test.go b/test/issuing_card_test.go index fdd4b9a..0a72877 100644 --- a/test/issuing_card_test.go +++ b/test/issuing_card_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" - cards "github.com/checkout/checkout-sdk-go/issuing/cards" + cards "github.com/PaddleHQ/checkout-sdk-go/issuing/cards" ) func TestCreateCard(t *testing.T) { diff --git a/test/issuing_cardholder_test.go b/test/issuing_cardholder_test.go index 75e0b6f..2472045 100644 --- a/test/issuing_cardholder_test.go +++ b/test/issuing_cardholder_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/errors" - cardholders "github.com/checkout/checkout-sdk-go/issuing/cardholders" + cardholders "github.com/PaddleHQ/checkout-sdk-go/issuing/cardholders" ) func TestCreateCardholder(t *testing.T) { diff --git a/test/issuing_controls_test.go b/test/issuing_controls_test.go index ff98a3a..2dbb0bc 100644 --- a/test/issuing_controls_test.go +++ b/test/issuing_controls_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" - controls "github.com/checkout/checkout-sdk-go/issuing/controls" + controls "github.com/PaddleHQ/checkout-sdk-go/issuing/controls" ) func TestCreateControl(t *testing.T) { diff --git a/test/issuing_testing_test.go b/test/issuing_testing_test.go index d187147..99c4dd6 100644 --- a/test/issuing_testing_test.go +++ b/test/issuing_testing_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" - issuingTesting "github.com/checkout/checkout-sdk-go/issuing/testing" + issuingTesting "github.com/PaddleHQ/checkout-sdk-go/issuing/testing" ) func TestSimulateAuthorization(t *testing.T) { diff --git a/test/metadata_card_request_test.go b/test/metadata_card_request_test.go index a05c439..b9a9aae 100644 --- a/test/metadata_card_request_test.go +++ b/test/metadata_card_request_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/metadata" - "github.com/checkout/checkout-sdk-go/metadata/sources" + "github.com/PaddleHQ/checkout-sdk-go/metadata" + "github.com/PaddleHQ/checkout-sdk-go/metadata/sources" ) func TestCardMetadataSources(t *testing.T) { diff --git a/test/oauth_sdk_test.go b/test/oauth_sdk_test.go index 1872f06..5cbe9bf 100644 --- a/test/oauth_sdk_test.go +++ b/test/oauth_sdk_test.go @@ -1,16 +1,17 @@ package test import ( - "github.com/checkout/checkout-sdk-go/payments/nas" - "github.com/checkout/checkout-sdk-go/payments/nas/sources" "net/http" "testing" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas/sources" + "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/disputes" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/disputes" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) func TestGetDisputesWithOAuthSdk(t *testing.T) { diff --git a/test/payment_links_previous_test.go b/test/payment_links_previous_test.go index f59b9b1..d32a885 100644 --- a/test/payment_links_previous_test.go +++ b/test/payment_links_previous_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/payments/links" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/payments/links" ) func TestCreatePaymentLinkPrevious(t *testing.T) { diff --git a/test/payment_links_test.go b/test/payment_links_test.go index 31af8b4..40cd04e 100644 --- a/test/payment_links_test.go +++ b/test/payment_links_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/links" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/links" ) func TestCreatePaymentLink(t *testing.T) { diff --git a/test/payments_actions_previous_test.go b/test/payments_actions_previous_test.go index 56b6478..932c56f 100644 --- a/test/payments_actions_previous_test.go +++ b/test/payments_actions_previous_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/payments/abc" + "github.com/PaddleHQ/checkout-sdk-go/payments/abc" ) func TestGetPaymentActionsPrevious(t *testing.T) { diff --git a/test/payments_actions_test.go b/test/payments_actions_test.go index 34a8fb3..6be0fdb 100644 --- a/test/payments_actions_test.go +++ b/test/payments_actions_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/payments/nas" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas" ) func TestGetPaymentActions(t *testing.T) { diff --git a/test/payments_captures_previous_test.go b/test/payments_captures_previous_test.go index 060b225..f547e02 100644 --- a/test/payments_captures_previous_test.go +++ b/test/payments_captures_previous_test.go @@ -6,8 +6,8 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/abc" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/abc" ) func TestCaptureCardPaymentPrevious(t *testing.T) { diff --git a/test/payments_captures_test.go b/test/payments_captures_test.go index 5a58c15..5597997 100644 --- a/test/payments_captures_test.go +++ b/test/payments_captures_test.go @@ -7,8 +7,8 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/nas" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas" ) func TestCaptureCardPayment(t *testing.T) { diff --git a/test/payments_payouts_previous_test.go b/test/payments_payouts_previous_test.go index 2d27dd7..4a96d32 100644 --- a/test/payments_payouts_previous_test.go +++ b/test/payments_payouts_previous_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/abc" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/abc" ) func TestRequestPayoutPrevious(t *testing.T) { diff --git a/test/payments_refunds_previous_test.go b/test/payments_refunds_previous_test.go index bee0c43..19270a4 100644 --- a/test/payments_refunds_previous_test.go +++ b/test/payments_refunds_previous_test.go @@ -6,7 +6,7 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) func TestRefundCardPaymentPrevious(t *testing.T) { diff --git a/test/payments_refunds_test.go b/test/payments_refunds_test.go index 3ba7753..c1afb29 100644 --- a/test/payments_refunds_test.go +++ b/test/payments_refunds_test.go @@ -1,14 +1,15 @@ package test import ( - "github.com/checkout/checkout-sdk-go/payments/nas" "testing" "time" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas" + "github.com/google/uuid" "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) func TestRefundCardPayment(t *testing.T) { diff --git a/test/payments_request_apm_previous_test.go b/test/payments_request_apm_previous_test.go index 9843c49..c20d830 100644 --- a/test/payments_request_apm_previous_test.go +++ b/test/payments_request_apm_previous_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/abc" - "github.com/checkout/checkout-sdk-go/payments/abc/sources/apm" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/abc" + "github.com/PaddleHQ/checkout-sdk-go/payments/abc/sources/apm" ) func TestRequestPaymentsAPMPrevious(t *testing.T) { diff --git a/test/payments_request_apm_test.go b/test/payments_request_apm_test.go index e41afd3..0d8ff3a 100644 --- a/test/payments_request_apm_test.go +++ b/test/payments_request_apm_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/nas" - "github.com/checkout/checkout-sdk-go/payments/nas/sources/apm" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas/sources/apm" ) func TestRequestPaymentsAPM(t *testing.T) { diff --git a/test/payments_request_previous_test.go b/test/payments_request_previous_test.go index af3a766..c4bd3b3 100644 --- a/test/payments_request_previous_test.go +++ b/test/payments_request_previous_test.go @@ -1,14 +1,15 @@ package test import ( + "testing" + "github.com/google/uuid" "github.com/stretchr/testify/assert" - "testing" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/abc" - "github.com/checkout/checkout-sdk-go/payments/abc/sources" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/abc" + "github.com/PaddleHQ/checkout-sdk-go/payments/abc/sources" ) func TestRequestPaymentListPrevious(t *testing.T) { diff --git a/test/payments_request_test.go b/test/payments_request_test.go index 3f36f6b..8964b93 100644 --- a/test/payments_request_test.go +++ b/test/payments_request_test.go @@ -1,15 +1,16 @@ package test import ( - "github.com/google/uuid" "testing" + "github.com/google/uuid" + "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/nas" - "github.com/checkout/checkout-sdk-go/payments/nas/sources" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas/sources" ) func TestRequestPaymentList(t *testing.T) { diff --git a/test/payments_voids_previous_test.go b/test/payments_voids_previous_test.go index fa1f158..3893ae2 100644 --- a/test/payments_voids_previous_test.go +++ b/test/payments_voids_previous_test.go @@ -7,7 +7,7 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments" ) func TestVoidCardPaymentPrevious(t *testing.T) { diff --git a/test/payments_voids_test.go b/test/payments_voids_test.go index fc51b72..9d3db93 100644 --- a/test/payments_voids_test.go +++ b/test/payments_voids_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/payments" - "github.com/checkout/checkout-sdk-go/payments/nas" + "github.com/PaddleHQ/checkout-sdk-go/payments" + "github.com/PaddleHQ/checkout-sdk-go/payments/nas" ) func TestVoidCardPayment(t *testing.T) { diff --git a/test/reconciliation_test.go b/test/reconciliation_test.go index e960b6a..bf155e8 100644 --- a/test/reconciliation_test.go +++ b/test/reconciliation_test.go @@ -8,12 +8,12 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go" - "github.com/checkout/checkout-sdk-go/abc" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/reconciliation" + "github.com/PaddleHQ/checkout-sdk-go" + "github.com/PaddleHQ/checkout-sdk-go/abc" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/reconciliation" ) var ( diff --git a/test/reports_test.go b/test/reports_test.go index 4f4fda5..fb3fd8a 100644 --- a/test/reports_test.go +++ b/test/reports_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/reports" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/reports" ) var ( diff --git a/test/sandbox_test_fixture_test.go b/test/sandbox_test_fixture_test.go index 8cc7a03..510b8bc 100644 --- a/test/sandbox_test_fixture_test.go +++ b/test/sandbox_test_fixture_test.go @@ -6,11 +6,11 @@ import ( "os" "time" - "github.com/checkout/checkout-sdk-go" - "github.com/checkout/checkout-sdk-go/abc" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/nas" + "github.com/PaddleHQ/checkout-sdk-go" + "github.com/PaddleHQ/checkout-sdk-go/abc" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/nas" ) const MaxRetryAttemps = 10 diff --git a/test/sessions_test.go b/test/sessions_test.go index e80537c..172e4e0 100644 --- a/test/sessions_test.go +++ b/test/sessions_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/sessions" - "github.com/checkout/checkout-sdk-go/sessions/channels" - "github.com/checkout/checkout-sdk-go/sessions/completion" - "github.com/checkout/checkout-sdk-go/sessions/sources" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/sessions" + "github.com/PaddleHQ/checkout-sdk-go/sessions/channels" + "github.com/PaddleHQ/checkout-sdk-go/sessions/completion" + "github.com/PaddleHQ/checkout-sdk-go/sessions/sources" ) func TestRequestSession(t *testing.T) { diff --git a/test/sources_test.go b/test/sources_test.go index 8945680..b80fbc3 100644 --- a/test/sources_test.go +++ b/test/sources_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/sources" + "github.com/PaddleHQ/checkout-sdk-go/sources" ) func TestShouldCreateSepaSource(t *testing.T) { diff --git a/test/tokens_previous_test.go b/test/tokens_previous_test.go index af1dc2a..f46543e 100644 --- a/test/tokens_previous_test.go +++ b/test/tokens_previous_test.go @@ -3,11 +3,11 @@ package test import ( "testing" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/tokens" + "github.com/PaddleHQ/checkout-sdk-go/tokens" ) func TestShouldRequestCardTokenPrevious(t *testing.T) { diff --git a/test/tokens_test.go b/test/tokens_test.go index 2d0c1a9..15b8936 100644 --- a/test/tokens_test.go +++ b/test/tokens_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/tokens" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/tokens" ) func TestShouldRequestCardToken(t *testing.T) { diff --git a/test/transfers_test.go b/test/transfers_test.go index a3544f6..759aee4 100644 --- a/test/transfers_test.go +++ b/test/transfers_test.go @@ -8,8 +8,8 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/transfers" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/transfers" ) func TestInitiateTransferOfFounds(t *testing.T) { diff --git a/test/webhooks_test.go b/test/webhooks_test.go index 193cae0..0f08cda 100644 --- a/test/webhooks_test.go +++ b/test/webhooks_test.go @@ -2,14 +2,15 @@ package test import ( "fmt" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" "net/http" "testing" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/stretchr/testify/assert" - webhooks "github.com/checkout/checkout-sdk-go/webhooks/abc" + webhooks "github.com/PaddleHQ/checkout-sdk-go/webhooks/abc" ) func TestRetrieveWebhook(t *testing.T) { diff --git a/test/workflows_test.go b/test/workflows_test.go index 9fb8f52..33f45a3 100644 --- a/test/workflows_test.go +++ b/test/workflows_test.go @@ -2,18 +2,19 @@ package test import ( "fmt" - "github.com/checkout/checkout-sdk-go/workflows/reflows" "net/http" "testing" + "github.com/PaddleHQ/checkout-sdk-go/workflows/reflows" + "github.com/stretchr/testify/assert" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/workflows" - "github.com/checkout/checkout-sdk-go/workflows/actions" - "github.com/checkout/checkout-sdk-go/workflows/conditions" - "github.com/checkout/checkout-sdk-go/workflows/events" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/workflows" + "github.com/PaddleHQ/checkout-sdk-go/workflows/actions" + "github.com/PaddleHQ/checkout-sdk-go/workflows/conditions" + "github.com/PaddleHQ/checkout-sdk-go/workflows/events" ) var ( diff --git a/tokens/client.go b/tokens/client.go index 6878cc9..0e99195 100644 --- a/tokens/client.go +++ b/tokens/client.go @@ -2,9 +2,10 @@ package tokens import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/tokens/client_test.go b/tokens/client_test.go index e062d8b..7c6a071 100644 --- a/tokens/client_test.go +++ b/tokens/client_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) var ( diff --git a/tokens/tokens.go b/tokens/tokens.go index a8955e9..a344c35 100644 --- a/tokens/tokens.go +++ b/tokens/tokens.go @@ -3,7 +3,7 @@ package tokens import ( "time" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) const tokensPath = "tokens" diff --git a/transfers/client.go b/transfers/client.go index e4918b1..40c55fd 100644 --- a/transfers/client.go +++ b/transfers/client.go @@ -1,9 +1,9 @@ package transfers import ( - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/transfers/client_test.go b/transfers/client_test.go index 319f8cf..dbd012c 100644 --- a/transfers/client_test.go +++ b/transfers/client_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) func TestInitiateTransferOfFounds(t *testing.T) { diff --git a/transfers/transfers.go b/transfers/transfers.go index 4fb1e33..4faf3b6 100644 --- a/transfers/transfers.go +++ b/transfers/transfers.go @@ -3,7 +3,7 @@ package transfers import ( "time" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) const ( diff --git a/webhooks/abc/client.go b/webhooks/abc/client.go index 77e1ec8..26e4860 100644 --- a/webhooks/abc/client.go +++ b/webhooks/abc/client.go @@ -2,9 +2,10 @@ package abc import ( "context" - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" + + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" ) type Client struct { diff --git a/webhooks/abc/client_test.go b/webhooks/abc/client_test.go index d2c5f5e..6a33502 100644 --- a/webhooks/abc/client_test.go +++ b/webhooks/abc/client_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" ) func TestClientRetrieveWebhooks(t *testing.T) { diff --git a/webhooks/abc/webhooks.go b/webhooks/abc/webhooks.go index ac60d69..12beb96 100644 --- a/webhooks/abc/webhooks.go +++ b/webhooks/abc/webhooks.go @@ -2,7 +2,8 @@ package abc import ( "encoding/json" - "github.com/checkout/checkout-sdk-go/common" + + "github.com/PaddleHQ/checkout-sdk-go/common" ) const ( diff --git a/workflows/actions/actions.go b/workflows/actions/actions.go index 00c61da..a7d1549 100644 --- a/workflows/actions/actions.go +++ b/workflows/actions/actions.go @@ -3,7 +3,7 @@ package actions import ( "time" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type WorkflowActionType string diff --git a/workflows/client.go b/workflows/client.go index 377b4bd..5d525d5 100644 --- a/workflows/client.go +++ b/workflows/client.go @@ -1,13 +1,13 @@ package workflows import ( - "github.com/checkout/checkout-sdk-go/client" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/workflows/actions" - "github.com/checkout/checkout-sdk-go/workflows/conditions" - "github.com/checkout/checkout-sdk-go/workflows/events" - "github.com/checkout/checkout-sdk-go/workflows/reflows" + "github.com/PaddleHQ/checkout-sdk-go/client" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/workflows/actions" + "github.com/PaddleHQ/checkout-sdk-go/workflows/conditions" + "github.com/PaddleHQ/checkout-sdk-go/workflows/events" + "github.com/PaddleHQ/checkout-sdk-go/workflows/reflows" ) type Client struct { diff --git a/workflows/client_test.go b/workflows/client_test.go index 7db0ce8..151758b 100644 --- a/workflows/client_test.go +++ b/workflows/client_test.go @@ -1,20 +1,21 @@ package workflows import ( - "github.com/checkout/checkout-sdk-go/workflows/reflows" "net/http" "testing" + "github.com/PaddleHQ/checkout-sdk-go/workflows/reflows" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/configuration" - "github.com/checkout/checkout-sdk-go/errors" - "github.com/checkout/checkout-sdk-go/mocks" - "github.com/checkout/checkout-sdk-go/workflows/actions" - "github.com/checkout/checkout-sdk-go/workflows/conditions" - "github.com/checkout/checkout-sdk-go/workflows/events" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/configuration" + "github.com/PaddleHQ/checkout-sdk-go/errors" + "github.com/PaddleHQ/checkout-sdk-go/mocks" + "github.com/PaddleHQ/checkout-sdk-go/workflows/actions" + "github.com/PaddleHQ/checkout-sdk-go/workflows/conditions" + "github.com/PaddleHQ/checkout-sdk-go/workflows/events" ) func TestCreateWorkflow(t *testing.T) { diff --git a/workflows/conditions/conditions.go b/workflows/conditions/conditions.go index c5da652..f7ccfc6 100644 --- a/workflows/conditions/conditions.go +++ b/workflows/conditions/conditions.go @@ -1,6 +1,6 @@ package conditions -import "github.com/checkout/checkout-sdk-go/common" +import "github.com/PaddleHQ/checkout-sdk-go/common" type WorkflowConditionType string diff --git a/workflows/events/events.go b/workflows/events/events.go index 99fed23..186492c 100644 --- a/workflows/events/events.go +++ b/workflows/events/events.go @@ -3,7 +3,7 @@ package events import ( "encoding/json" - "github.com/checkout/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/common" ) type ActionInvocationStatus string diff --git a/workflows/workflows.go b/workflows/workflows.go index 5a13219..fd14b71 100644 --- a/workflows/workflows.go +++ b/workflows/workflows.go @@ -1,9 +1,9 @@ package workflows import ( - "github.com/checkout/checkout-sdk-go/common" - "github.com/checkout/checkout-sdk-go/workflows/actions" - "github.com/checkout/checkout-sdk-go/workflows/conditions" + "github.com/PaddleHQ/checkout-sdk-go/common" + "github.com/PaddleHQ/checkout-sdk-go/workflows/actions" + "github.com/PaddleHQ/checkout-sdk-go/workflows/conditions" ) const (