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

Commit

Permalink
Release 2.41.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments committed Jul 14, 2023
1 parent 3353582 commit 6c24080
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 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.40.0"
const sdkVersion = "2.41.0"
const serverMetaInfoHeader = "X-GCS-ServerMetaInfo"

// NewMetaDataProviderWithBuilder creates a MetaDataProvider with the given MetaDataProviderBuilder
Expand Down
6 changes: 5 additions & 1 deletion domain/capture/StatusOutput.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@

package capture

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

// StatusOutput represents class CaptureStatusOutput
type StatusOutput struct {
StatusCode *int32 `json:"statusCode,omitempty"`
IsRetriable *bool `json:"isRetriable,omitempty"`
ProviderRawOutput *[]definitions.KeyValuePair `json:"providerRawOutput,omitempty"`
StatusCode *int32 `json:"statusCode,omitempty"`
}

// NewStatusOutput constructs a new StatusOutput
Expand Down
2 changes: 2 additions & 0 deletions domain/definitions/OrderStatusOutput.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import "github.com/Ingenico-ePayments/connect-sdk-go/domain/errors"
type OrderStatusOutput struct {
Errors *[]errors.APIError `json:"errors,omitempty"`
IsCancellable *bool `json:"isCancellable,omitempty"`
IsRetriable *bool `json:"isRetriable,omitempty"`
ProviderRawOutput *[]KeyValuePair `json:"providerRawOutput,omitempty"`
StatusCategory *string `json:"statusCategory,omitempty"`
StatusCode *int32 `json:"statusCode,omitempty"`
StatusCodeChangeDateTime *string `json:"statusCodeChangeDateTime,omitempty"`
Expand Down
10 changes: 6 additions & 4 deletions domain/payment/OrderReferences.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ package payment

// OrderReferences represents class OrderReferences
type OrderReferences struct {
Descriptor *string `json:"descriptor,omitempty"`
InvoiceData *OrderInvoiceData `json:"invoiceData,omitempty"`
MerchantOrderID *int64 `json:"merchantOrderId,omitempty"`
MerchantReference *string `json:"merchantReference,omitempty"`
Descriptor *string `json:"descriptor,omitempty"`
InvoiceData *OrderInvoiceData `json:"invoiceData,omitempty"`
MerchantOrderID *int64 `json:"merchantOrderId,omitempty"`
MerchantReference *string `json:"merchantReference,omitempty"`
ProviderID *string `json:"providerId,omitempty"`
ProviderMerchantID *string `json:"providerMerchantId,omitempty"`
}

// NewOrderReferences constructs a new OrderReferences
Expand Down
7 changes: 4 additions & 3 deletions domain/payment/RefundCardMethodSpecificOutput.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ package payment

// RefundCardMethodSpecificOutput represents class RefundCardMethodSpecificOutput
type RefundCardMethodSpecificOutput struct {
RefundProductID *int32 `json:"refundProductId,omitempty"`
TotalAmountPaid *int64 `json:"totalAmountPaid,omitempty"`
TotalAmountRefunded *int64 `json:"totalAmountRefunded,omitempty"`
AuthorisationCode *string `json:"authorisationCode,omitempty"`
RefundProductID *int32 `json:"refundProductId,omitempty"`
TotalAmountPaid *int64 `json:"totalAmountPaid,omitempty"`
TotalAmountRefunded *int64 `json:"totalAmountRefunded,omitempty"`
}

// NewRefundCardMethodSpecificOutput constructs a new RefundCardMethodSpecificOutput
Expand Down

0 comments on commit 6c24080

Please sign in to comment.