diff --git a/communicator/MetaDataProvider.go b/communicator/MetaDataProvider.go index e772d34..ab8454b 100644 --- a/communicator/MetaDataProvider.go +++ b/communicator/MetaDataProvider.go @@ -40,7 +40,7 @@ func getPlatformIdentifier() string { } const sdkIdentifier = "GoServerSDK/v" + sdkVersion -const sdkVersion = "2.44.0" +const sdkVersion = "2.45.0" const serverMetaInfoHeader = "X-GCS-ServerMetaInfo" // NewMetaDataProviderWithBuilder creates a MetaDataProvider with the given MetaDataProviderBuilder diff --git a/domain/definitions/FraudResults.go b/domain/definitions/FraudResults.go index 20712da..d0f4709 100644 --- a/domain/definitions/FraudResults.go +++ b/domain/definitions/FraudResults.go @@ -5,8 +5,9 @@ package definitions // FraudResults represents class FraudResults type FraudResults struct { - FraudServiceResult *string `json:"fraudServiceResult,omitempty"` - InAuth *InAuth `json:"inAuth,omitempty"` + FraudServiceResult *string `json:"fraudServiceResult,omitempty"` + InAuth *InAuth `json:"inAuth,omitempty"` + MicrosoftFraudProtection *MicrosoftFraudResults `json:"microsoftFraudProtection,omitempty"` } // NewFraudResults constructs a new FraudResults diff --git a/domain/payment/EInvoicePaymentMethodSpecificOutput.go b/domain/payment/EInvoicePaymentMethodSpecificOutput.go index 81e1668..412c544 100644 --- a/domain/payment/EInvoicePaymentMethodSpecificOutput.go +++ b/domain/payment/EInvoicePaymentMethodSpecificOutput.go @@ -3,8 +3,11 @@ package payment +import "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions" + // EInvoicePaymentMethodSpecificOutput represents class EInvoicePaymentMethodSpecificOutput type EInvoicePaymentMethodSpecificOutput struct { + FraudResults *definitions.FraudResults `json:"fraudResults,omitempty"` PaymentProduct9000SpecificOutput *EInvoicePaymentProduct9000SpecificOutput `json:"paymentProduct9000SpecificOutput,omitempty"` PaymentProductID *int32 `json:"paymentProductId,omitempty"` } diff --git a/domain/payment/SdkDataInput.go b/domain/payment/SdkDataInput.go index 34c9fa8..a2bbfaf 100644 --- a/domain/payment/SdkDataInput.go +++ b/domain/payment/SdkDataInput.go @@ -5,8 +5,6 @@ package payment // SdkDataInput represents class SdkDataInput type SdkDataInput struct { - // Deprecated: No replacement - DeviceInfo *string `json:"deviceInfo,omitempty"` DeviceRenderOptions *DeviceRenderOptions `json:"deviceRenderOptions,omitempty"` SdkAppID *string `json:"sdkAppId,omitempty"` SdkEncryptedData *string `json:"sdkEncryptedData,omitempty"` diff --git a/domain/product/PaymentProduct.go b/domain/product/PaymentProduct.go index c97fe8a..3e96357 100644 --- a/domain/product/PaymentProduct.go +++ b/domain/product/PaymentProduct.go @@ -18,6 +18,7 @@ type PaymentProduct struct { Fields *[]PaymentProductField `json:"fields,omitempty"` FieldsWarning *string `json:"fieldsWarning,omitempty"` ID *int32 `json:"id,omitempty"` + IsAuthenticationSupported *bool `json:"isAuthenticationSupported,omitempty"` IsJavaScriptRequired *bool `json:"isJavaScriptRequired,omitempty"` MaxAmount *int64 `json:"maxAmount,omitempty"` MinAmount *int64 `json:"minAmount,omitempty"` diff --git a/domain/product/PaymentProductResponse.go b/domain/product/PaymentProductResponse.go index 7660793..3447467 100644 --- a/domain/product/PaymentProductResponse.go +++ b/domain/product/PaymentProductResponse.go @@ -18,6 +18,7 @@ type PaymentProductResponse struct { Fields *[]PaymentProductField `json:"fields,omitempty"` FieldsWarning *string `json:"fieldsWarning,omitempty"` ID *int32 `json:"id,omitempty"` + IsAuthenticationSupported *bool `json:"isAuthenticationSupported,omitempty"` IsJavaScriptRequired *bool `json:"isJavaScriptRequired,omitempty"` MaxAmount *int64 `json:"maxAmount,omitempty"` MinAmount *int64 `json:"minAmount,omitempty"`