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

Commit

Permalink
Release 2.44.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments committed Oct 26, 2023
1 parent af4dd34 commit 04caf26
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 12 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.43.0"
const sdkVersion = "2.44.0"
const serverMetaInfoHeader = "X-GCS-ServerMetaInfo"

// NewMetaDataProviderWithBuilder creates a MetaDataProvider with the given MetaDataProviderBuilder
Expand Down
21 changes: 21 additions & 0 deletions domain/payment/AccountFundingRecipient.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// This class was auto-generated from the API references found at
// https://epayments-api.developer-ingenico.com/s2sapi/v1/

package payment

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

// AccountFundingRecipient represents class AccountFundingRecipient
type AccountFundingRecipient struct {
AccountNumber *string `json:"accountNumber,omitempty"`
AccountNumberType *string `json:"accountNumberType,omitempty"`
Address *definitions.Address `json:"address,omitempty"`
DateOfBirth *string `json:"dateOfBirth,omitempty"`
Name *AfrName `json:"name,omitempty"`
PartialPan *string `json:"partialPan,omitempty"`
}

// NewAccountFundingRecipient constructs a new AccountFundingRecipient
func NewAccountFundingRecipient() *AccountFundingRecipient {
return &AccountFundingRecipient{}
}
18 changes: 10 additions & 8 deletions domain/payment/AdditionalOrderInput.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ import "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions"

// AdditionalOrderInput represents class AdditionalOrderInput
type AdditionalOrderInput struct {
AirlineData *definitions.AirlineData `json:"airlineData,omitempty"`
Installments *Installments `json:"installments,omitempty"`
AccountFundingRecipient *AccountFundingRecipient `json:"accountFundingRecipient,omitempty"`
AirlineData *definitions.AirlineData `json:"airlineData,omitempty"`
Installments *Installments `json:"installments,omitempty"`
// Deprecated: Use Order.shoppingCart.amountBreakdown instead
Level3SummaryData *Level3SummaryData `json:"level3SummaryData,omitempty"`
LoanRecipient *LoanRecipient `json:"loanRecipient,omitempty"`
LodgingData *definitions.LodgingData `json:"lodgingData,omitempty"`
Level3SummaryData *Level3SummaryData `json:"level3SummaryData,omitempty"`
// Deprecated: No replacement
LoanRecipient *LoanRecipient `json:"loanRecipient,omitempty"`
LodgingData *definitions.LodgingData `json:"lodgingData,omitempty"`
// Deprecated: Use installments.numberOfInstallments instead
NumberOfInstallments *int64 `json:"numberOfInstallments,omitempty"`
OrderDate *string `json:"orderDate,omitempty"`
TypeInformation *OrderTypeInformation `json:"typeInformation,omitempty"`
NumberOfInstallments *int64 `json:"numberOfInstallments,omitempty"`
OrderDate *string `json:"orderDate,omitempty"`
TypeInformation *OrderTypeInformation `json:"typeInformation,omitempty"`
}

// NewAdditionalOrderInput constructs a new AdditionalOrderInput
Expand Down
15 changes: 15 additions & 0 deletions domain/payment/AfrName.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// This class was auto-generated from the API references found at
// https://epayments-api.developer-ingenico.com/s2sapi/v1/

package payment

// AfrName represents class AfrName
type AfrName struct {
FirstName *string `json:"firstName,omitempty"`
Surname *string `json:"surname,omitempty"`
}

// NewAfrName constructs a new AfrName
func NewAfrName() *AfrName {
return &AfrName{}
}
1 change: 1 addition & 0 deletions domain/payment/Customer.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ type Customer struct {
ContactDetails *ContactDetails `json:"contactDetails,omitempty"`
Device *CustomerDevice `json:"device,omitempty"`
FiscalNumber *string `json:"fiscalNumber,omitempty"`
IsCompany *bool `json:"isCompany,omitempty"`
IsPreviousCustomer *bool `json:"isPreviousCustomer,omitempty"`
Locale *string `json:"locale,omitempty"`
MerchantCustomerID *string `json:"merchantCustomerId,omitempty"`
Expand Down
7 changes: 7 additions & 0 deletions domain/payment/LoanRecipient.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@
package payment

// LoanRecipient represents class LoanRecipient
//
// Deprecated: No replacement
type LoanRecipient struct {
// Deprecated: No replacement
AccountNumber *string `json:"accountNumber,omitempty"`
// Deprecated: No replacement
DateOfBirth *string `json:"dateOfBirth,omitempty"`
// Deprecated: No replacement
PartialPan *string `json:"partialPan,omitempty"`
// Deprecated: No replacement
Surname *string `json:"surname,omitempty"`
// Deprecated: No replacement
Zip *string `json:"zip,omitempty"`
}

Expand Down
1 change: 1 addition & 0 deletions domain/payment/OrderTypeInformation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package payment

// OrderTypeInformation represents class OrderTypeInformation
type OrderTypeInformation struct {
FundingType *string `json:"fundingType,omitempty"`
PurchaseType *string `json:"purchaseType,omitempty"`
TransactionType *string `json:"transactionType,omitempty"`
UsageType *string `json:"usageType,omitempty"`
Expand Down
16 changes: 16 additions & 0 deletions domain/payment/PersonalIdentification.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// This class was auto-generated from the API references found at
// https://epayments-api.developer-ingenico.com/s2sapi/v1/

package payment

// PersonalIdentification represents class PersonalIdentification
type PersonalIdentification struct {
IDIssuingCountryCode *string `json:"idIssuingCountryCode,omitempty"`
IDType *string `json:"idType,omitempty"`
IDValue *string `json:"idValue,omitempty"`
}

// NewPersonalIdentification constructs a new PersonalIdentification
func NewPersonalIdentification() *PersonalIdentification {
return &PersonalIdentification{}
}
7 changes: 4 additions & 3 deletions domain/payment/PersonalInformation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ package payment

// PersonalInformation represents class PersonalInformation
type PersonalInformation struct {
DateOfBirth *string `json:"dateOfBirth,omitempty"`
Gender *string `json:"gender,omitempty"`
Name *PersonalName `json:"name,omitempty"`
DateOfBirth *string `json:"dateOfBirth,omitempty"`
Gender *string `json:"gender,omitempty"`
Identification *PersonalIdentification `json:"identification,omitempty"`
Name *PersonalName `json:"name,omitempty"`
}

// NewPersonalInformation constructs a new PersonalInformation
Expand Down

0 comments on commit 04caf26

Please sign in to comment.