Skip to content

Commit

Permalink
PAY-1076 Rename imports to PaddleHQ
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieaitken committed Aug 9, 2023
1 parent 125b63b commit 239bb5c
Show file tree
Hide file tree
Showing 180 changed files with 547 additions and 523 deletions.
32 changes: 16 additions & 16 deletions abc/checkout_api.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion abc/checkout_previous_sdk_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion accounts/accounts.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package accounts

import (
"github.com/checkout/checkout-sdk-go/common"
"github.com/PaddleHQ/checkout-sdk-go/common"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions accounts/client.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
8 changes: 4 additions & 4 deletions accounts/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion accounts/common.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion accounts/entities.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion accounts/files.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion accounts/instrument_details.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package accounts

import (
"github.com/checkout/checkout-sdk-go/common"
"github.com/PaddleHQ/checkout-sdk-go/common"
)

type InstrumentDetail string
Expand Down
2 changes: 1 addition & 1 deletion accounts/instruments.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package accounts

import (
"github.com/checkout/checkout-sdk-go/common"
"github.com/PaddleHQ/checkout-sdk-go/common"
)

type InstrumentStatus string
Expand Down
4 changes: 2 additions & 2 deletions accounts/payouts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions apm/ideal/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions apm/ideal/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion apm/ideal/ideal.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
9 changes: 5 additions & 4 deletions apm/klarna/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 5 additions & 5 deletions apm/klarna/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions apm/klarna/klarna.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
7 changes: 4 additions & 3 deletions apm/sepa/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
8 changes: 4 additions & 4 deletions apm/sepa/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion apm/sepa/sepa.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion balances/balances.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 3 additions & 3 deletions balances/client.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
8 changes: 4 additions & 4 deletions balances/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions checkout_sdk_builder.go
Original file line number Diff line number Diff line change
@@ -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{}
Expand Down
6 changes: 3 additions & 3 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion common/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion configuration/default_keys_credentials.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion configuration/oauth_keys_credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"time"

"github.com/checkout/checkout-sdk-go/errors"
"github.com/PaddleHQ/checkout-sdk-go/errors"
)

type (
Expand Down
2 changes: 1 addition & 1 deletion configuration/previous_keys_credentials.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion configuration/sdk_credentials.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion configuration/static_keys_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
7 changes: 4 additions & 3 deletions customers/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading

0 comments on commit 239bb5c

Please sign in to comment.