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

Commit

Permalink
Release 2.40.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments committed Jun 28, 2023
1 parent 7e7e309 commit 3353582
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 11 deletions.
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 = "2.39.0"
const sdkVersion = "2.40.0"
const serverMetaInfoHeader = "X-GCS-ServerMetaInfo"

// NewMetaDataProviderWithBuilder creates a MetaDataProvider with the given MetaDataProviderBuilder
Expand Down
1 change: 1 addition & 0 deletions domain/hostedcheckout/CreatedPaymentOutput.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import "github.com/Ingenico-ePayments/connect-sdk-go/domain/payment"
// CreatedPaymentOutput represents class CreatedPaymentOutput
type CreatedPaymentOutput struct {
DisplayedData *DisplayedData `json:"displayedData,omitempty"`
IsCheckedRememberMe *bool `json:"isCheckedRememberMe,omitempty"`
Payment *payment.Payment `json:"payment,omitempty"`
PaymentCreationReferences *payment.CreationReferences `json:"paymentCreationReferences,omitempty"`
// Deprecated: Use Payment.statusOutput.statusCategory instead
Expand Down
1 change: 1 addition & 0 deletions domain/payment/CreationOutput.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ package payment
type CreationOutput struct {
AdditionalReference *string `json:"additionalReference,omitempty"`
ExternalReference *string `json:"externalReference,omitempty"`
IsCheckedRememberMe *bool `json:"isCheckedRememberMe,omitempty"`
IsNewToken *bool `json:"isNewToken,omitempty"`
Token *string `json:"token,omitempty"`
TokenizationSucceeded *bool `json:"tokenizationSucceeded,omitempty"`
Expand Down
1 change: 1 addition & 0 deletions domain/payment/References.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type References struct {
MerchantReference *string `json:"merchantReference,omitempty"`
PaymentReference *string `json:"paymentReference,omitempty"`
ProviderID *string `json:"providerId,omitempty"`
ProviderMerchantID *string `json:"providerMerchantId,omitempty"`
ProviderReference *string `json:"providerReference,omitempty"`
ReferenceOrigPayment *string `json:"referenceOrigPayment,omitempty"`
}
Expand Down
1 change: 1 addition & 0 deletions domain/payment/SchemeTokenData.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package payment

// SchemeTokenData represents class SchemeTokenData
type SchemeTokenData struct {
CardholderName *string `json:"cardholderName,omitempty"`
Cryptogram *string `json:"cryptogram,omitempty"`
Eci *string `json:"eci,omitempty"`
NetworkToken *string `json:"networkToken,omitempty"`
Expand Down
24 changes: 14 additions & 10 deletions domain/payment/StatusOutput.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@

package payment

import "github.com/Ingenico-ePayments/connect-sdk-go/domain/errors"
import (
"github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions"
"github.com/Ingenico-ePayments/connect-sdk-go/domain/errors"
)

// StatusOutput represents class PaymentStatusOutput
type StatusOutput struct {
Errors *[]errors.APIError `json:"errors,omitempty"`
IsAuthorized *bool `json:"isAuthorized,omitempty"`
IsCancellable *bool `json:"isCancellable,omitempty"`
IsRefundable *bool `json:"isRefundable,omitempty"`
IsRetriable *bool `json:"isRetriable,omitempty"`
StatusCategory *string `json:"statusCategory,omitempty"`
StatusCode *int32 `json:"statusCode,omitempty"`
StatusCodeChangeDateTime *string `json:"statusCodeChangeDateTime,omitempty"`
ThreeDSecureStatus *string `json:"threeDSecureStatus,omitempty"`
Errors *[]errors.APIError `json:"errors,omitempty"`
IsAuthorized *bool `json:"isAuthorized,omitempty"`
IsCancellable *bool `json:"isCancellable,omitempty"`
IsRefundable *bool `json:"isRefundable,omitempty"`
IsRetriable *bool `json:"isRetriable,omitempty"`
ProviderRawOutput *[]definitions.KeyValuePair `json:"providerRawOutput,omitempty"`
StatusCategory *string `json:"statusCategory,omitempty"`
StatusCode *int32 `json:"statusCode,omitempty"`
StatusCodeChangeDateTime *string `json:"statusCodeChangeDateTime,omitempty"`
ThreeDSecureStatus *string `json:"threeDSecureStatus,omitempty"`
}

// NewStatusOutput constructs a new StatusOutput
Expand Down

0 comments on commit 3353582

Please sign in to comment.