Skip to content

Commit

Permalink
Merge pull request #25 from processout/feat/update-go-error-refs
Browse files Browse the repository at this point in the history
feat: update errors refs and docs from v4 to v5
  • Loading branch information
szymon-mysiak-cko authored Feb 18, 2025
2 parents 1a0c319 + 90b856c commit 8a47415
Show file tree
Hide file tree
Showing 73 changed files with 75 additions and 75 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# ProcessOut Go

[![GoDoc](https://godoc.org/gopkg.in/processout.v4?status.svg)](https://godoc.org/gopkg.in/processout.v4)
[![GoDoc](https://godoc.org/gopkg.in/processout.v5?status.svg)](https://godoc.org/gopkg.in/processout.v5)

## Installation

```sh
go get gopkg.in/processout.v4
go get gopkg.in/processout.v5
```

## Versioning

Versioning is done using gopkg.in, available at `gopkg.in/processout.v4`.
Versioning is done using gopkg.in, available at `gopkg.in/processout.v5`.
2 changes: 1 addition & 1 deletion activity.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Activity represents the Activity API object
Expand Down
2 changes: 1 addition & 1 deletion addon.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Addon represents the Addon API object
Expand Down
2 changes: 1 addition & 1 deletion alternative_merchant_certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// AlternativeMerchantCertificate represents the AlternativeMerchantCertificate API object
Expand Down
2 changes: 1 addition & 1 deletion api_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// APIVersion represents the APIVersion API object
Expand Down
2 changes: 1 addition & 1 deletion apple_pay_alternative_merchant_certificates.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// ApplePayAlternativeMerchantCertificates represents the ApplePayAlternativeMerchantCertificates API object
Expand Down
2 changes: 1 addition & 1 deletion balance.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Balance represents the Balance API object
Expand Down
2 changes: 1 addition & 1 deletion balances.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Balances represents the Balances API object
Expand Down
2 changes: 1 addition & 1 deletion card.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Card represents the Card API object
Expand Down
2 changes: 1 addition & 1 deletion card_contact.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// CardContact represents the CardContact API object
Expand Down
2 changes: 1 addition & 1 deletion card_create_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// CardCreateRequest represents the CardCreateRequest API object
Expand Down
2 changes: 1 addition & 1 deletion card_information.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// CardInformation represents the CardInformation API object
Expand Down
2 changes: 1 addition & 1 deletion card_shipping.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// CardShipping represents the CardShipping API object
Expand Down
2 changes: 1 addition & 1 deletion card_update_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// CardUpdateRequest represents the CardUpdateRequest API object
Expand Down
2 changes: 1 addition & 1 deletion category_error_codes.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// CategoryErrorCodes represents the CategoryErrorCodes API object
Expand Down
2 changes: 1 addition & 1 deletion coupon.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Coupon represents the Coupon API object
Expand Down
2 changes: 1 addition & 1 deletion customer.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Customer represents the Customer API object
Expand Down
2 changes: 1 addition & 1 deletion customer_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// CustomerAction represents the CustomerAction API object
Expand Down
2 changes: 1 addition & 1 deletion customer_phone.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// CustomerPhone represents the CustomerPhone API object
Expand Down
2 changes: 1 addition & 1 deletion device.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Device represents the Device API object
Expand Down
2 changes: 1 addition & 1 deletion discount.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Discount represents the Discount API object
Expand Down
2 changes: 1 addition & 1 deletion dunning_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// DunningAction represents the DunningAction API object
Expand Down
2 changes: 1 addition & 1 deletion error_codes.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// ErrorCodes represents the ErrorCodes API object
Expand Down
2 changes: 1 addition & 1 deletion event.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Event represents the Event API object
Expand Down
2 changes: 1 addition & 1 deletion export_layout.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// ExportLayout represents the ExportLayout API object
Expand Down
2 changes: 1 addition & 1 deletion export_layout_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// ExportLayoutConfiguration represents the ExportLayoutConfiguration API object
Expand Down
2 changes: 1 addition & 1 deletion export_layout_configuration_amount.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// ExportLayoutConfigurationAmount represents the ExportLayoutConfigurationAmount API object
Expand Down
2 changes: 1 addition & 1 deletion export_layout_configuration_column.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// ExportLayoutConfigurationColumn represents the ExportLayoutConfigurationColumn API object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// ExportLayoutConfigurationConfigurationOptionsAmount represents the ExportLayoutConfigurationConfigurationOptionsAmount API object
Expand Down
2 changes: 1 addition & 1 deletion export_layout_configuration_configuration_options_time.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// ExportLayoutConfigurationConfigurationOptionsTime represents the ExportLayoutConfigurationConfigurationOptionsTime API object
Expand Down
2 changes: 1 addition & 1 deletion export_layout_configuration_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// ExportLayoutConfigurationOptions represents the ExportLayoutConfigurationOptions API object
Expand Down
2 changes: 1 addition & 1 deletion export_layout_configuration_time.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// ExportLayoutConfigurationTime represents the ExportLayoutConfigurationTime API object
Expand Down
2 changes: 1 addition & 1 deletion external_three_ds.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// ExternalThreeDS represents the ExternalThreeDS API object
Expand Down
2 changes: 1 addition & 1 deletion gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Gateway represents the Gateway API object
Expand Down
2 changes: 1 addition & 1 deletion gateway_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// GatewayConfiguration represents the GatewayConfiguration API object
Expand Down
2 changes: 1 addition & 1 deletion invoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// Invoice represents the Invoice API object
Expand Down
2 changes: 1 addition & 1 deletion invoice_billing.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// InvoiceBilling represents the InvoiceBilling API object
Expand Down
2 changes: 1 addition & 1 deletion invoice_detail.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// InvoiceDetail represents the InvoiceDetail API object
Expand Down
2 changes: 1 addition & 1 deletion invoice_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// InvoiceDevice represents the InvoiceDevice API object
Expand Down
2 changes: 1 addition & 1 deletion invoice_external_fraud_tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// InvoiceExternalFraudTools represents the InvoiceExternalFraudTools API object
Expand Down
2 changes: 1 addition & 1 deletion invoice_risk.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// InvoiceRisk represents the InvoiceRisk API object
Expand Down
2 changes: 1 addition & 1 deletion invoice_shipping.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// InvoiceShipping represents the InvoiceShipping API object
Expand Down
2 changes: 1 addition & 1 deletion invoice_shipping_phone.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"gopkg.in/processout.v4/errors"
"gopkg.in/processout.v5/errors"
)

// InvoiceShippingPhone represents the InvoiceShippingPhone API object
Expand Down
Loading

0 comments on commit 8a47415

Please sign in to comment.