From 3bc2216177a5116cfa252781bf115e08e3eb0dbd Mon Sep 17 00:00:00 2001 From: Ingenico ePayments Date: Fri, 11 Aug 2023 09:42:14 +0200 Subject: [PATCH] Release 2.42.0. --- communicator/MetaDataProvider.go | 2 +- domain/payment/RefundCardMethodSpecificOutput.go | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/communicator/MetaDataProvider.go b/communicator/MetaDataProvider.go index 70d7ab8..0738424 100644 --- a/communicator/MetaDataProvider.go +++ b/communicator/MetaDataProvider.go @@ -40,7 +40,7 @@ func getPlatformIdentifier() string { } const sdkIdentifier = "GoServerSDK/v" + sdkVersion -const sdkVersion = "2.41.0" +const sdkVersion = "2.42.0" const serverMetaInfoHeader = "X-GCS-ServerMetaInfo" // NewMetaDataProviderWithBuilder creates a MetaDataProvider with the given MetaDataProviderBuilder diff --git a/domain/payment/RefundCardMethodSpecificOutput.go b/domain/payment/RefundCardMethodSpecificOutput.go index 40f7b3a..b579909 100644 --- a/domain/payment/RefundCardMethodSpecificOutput.go +++ b/domain/payment/RefundCardMethodSpecificOutput.go @@ -3,12 +3,15 @@ package payment +import "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions" + // RefundCardMethodSpecificOutput represents class RefundCardMethodSpecificOutput type RefundCardMethodSpecificOutput struct { - AuthorisationCode *string `json:"authorisationCode,omitempty"` - RefundProductID *int32 `json:"refundProductId,omitempty"` - TotalAmountPaid *int64 `json:"totalAmountPaid,omitempty"` - TotalAmountRefunded *int64 `json:"totalAmountRefunded,omitempty"` + AuthorisationCode *string `json:"authorisationCode,omitempty"` + Card *definitions.CardEssentials `json:"card,omitempty"` + RefundProductID *int32 `json:"refundProductId,omitempty"` + TotalAmountPaid *int64 `json:"totalAmountPaid,omitempty"` + TotalAmountRefunded *int64 `json:"totalAmountRefunded,omitempty"` } // NewRefundCardMethodSpecificOutput constructs a new RefundCardMethodSpecificOutput