Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Release 1.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ingenico ePayments committed Mar 9, 2017
1 parent f77c418 commit 24c18db
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion communicator/MetaDataProvider.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func getPlatformIdentifier() string {
}

const sdkIdentifier = "GoServerSDK/v" + sdkVersion
const sdkVersion = "1.1.0"
const sdkVersion = "1.2.0"
const serverMetaInfoHeader = "X-GCS-ServerMetaInfo"

// NewMetaDataProviderWithBuilder creates a MetaDataProvider with the given MetaDataProviderBuilder
Expand Down
2 changes: 2 additions & 0 deletions domain/errors/APIError.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ package errors
// APIError represents class APIError
// Documentation can be found at https://developer.globalcollect.com/documentation/api/server/#schema_APIError
type APIError struct {
Category *string `json:"category,omitempty"`
Code *string `json:"code,omitempty"`
HTTPStatusCode *int32 `json:"httpStatusCode,omitempty"`
ID *string `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
PropertyName *string `json:"propertyName,omitempty"`
RequestID *string `json:"requestId,omitempty"`
Expand Down
1 change: 1 addition & 0 deletions domain/payment/CardPaymentMethodSpecificInput.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ type CardPaymentMethodSpecificInput struct {
SkipAuthentication *bool `json:"skipAuthentication,omitempty"`
SkipFraudService *bool `json:"skipFraudService,omitempty"`
Token *string `json:"token,omitempty"`
Tokenize *bool `json:"tokenize,omitempty"`
}

// NewCardPaymentMethodSpecificInput constructs a new CardPaymentMethodSpecificInput
Expand Down
1 change: 1 addition & 0 deletions domain/payment/CardPaymentMethodSpecificInputBase.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ type CardPaymentMethodSpecificInputBase struct {
SkipAuthentication *bool `json:"skipAuthentication,omitempty"`
SkipFraudService *bool `json:"skipFraudService,omitempty"`
Token *string `json:"token,omitempty"`
Tokenize *bool `json:"tokenize,omitempty"`
}

// NewCardPaymentMethodSpecificInputBase constructs a new CardPaymentMethodSpecificInputBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ type NonSepaDirectDebitPaymentMethodSpecificInput struct {
PaymentProductID *int32 `json:"paymentProductId,omitempty"`
RecurringPaymentSequenceIndicator *string `json:"recurringPaymentSequenceIndicator,omitempty"`
Token *string `json:"token,omitempty"`
Tokenize *bool `json:"tokenize,omitempty"`
}

// NewNonSepaDirectDebitPaymentMethodSpecificInput constructs a new NonSepaDirectDebitPaymentMethodSpecificInput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ type SepaDirectDebitPaymentMethodSpecificInput struct {
PaymentProductID *int32 `json:"paymentProductId,omitempty"`
RecurringPaymentSequenceIndicator *string `json:"recurringPaymentSequenceIndicator,omitempty"`
Token *string `json:"token,omitempty"`
Tokenize *bool `json:"tokenize,omitempty"`
}

// NewSepaDirectDebitPaymentMethodSpecificInput constructs a new SepaDirectDebitPaymentMethodSpecificInput
Expand Down

0 comments on commit 24c18db

Please sign in to comment.