payment

package
v0.0.0-...-1f8cd32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: BSD-3-Clause, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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"`
}

AccountFundingRecipient represents class AccountFundingRecipient

func NewAccountFundingRecipient

func NewAccountFundingRecipient() *AccountFundingRecipient

NewAccountFundingRecipient constructs a new AccountFundingRecipient

type AccountOnFile

type AccountOnFile struct {
	CreateDate                                    *string `json:"createDate,omitempty"`
	NumberOfCardOnFileCreationAttemptsLast24Hours *int32  `json:"numberOfCardOnFileCreationAttemptsLast24Hours,omitempty"`
}

AccountOnFile represents class PaymentAccountOnFile

func NewAccountOnFile

func NewAccountOnFile() *AccountOnFile

NewAccountOnFile constructs a new AccountOnFile

type AdditionalOrderInput

type AdditionalOrderInput struct {
	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"`
	// 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"`
}

AdditionalOrderInput represents class AdditionalOrderInput

func NewAdditionalOrderInput

func NewAdditionalOrderInput() *AdditionalOrderInput

NewAdditionalOrderInput constructs a new AdditionalOrderInput

type AddressPersonal

type AddressPersonal struct {
	AdditionalInfo *string       `json:"additionalInfo,omitempty"`
	City           *string       `json:"city,omitempty"`
	CountryCode    *string       `json:"countryCode,omitempty"`
	HouseNumber    *string       `json:"houseNumber,omitempty"`
	Name           *PersonalName `json:"name,omitempty"`
	State          *string       `json:"state,omitempty"`
	StateCode      *string       `json:"stateCode,omitempty"`
	Street         *string       `json:"street,omitempty"`
	Zip            *string       `json:"zip,omitempty"`
}

AddressPersonal represents class AddressPersonal

func NewAddressPersonal

func NewAddressPersonal() *AddressPersonal

NewAddressPersonal constructs a new AddressPersonal

type AfrName

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

AfrName represents class AfrName

func NewAfrName

func NewAfrName() *AfrName

NewAfrName constructs a new AfrName

type AmountBreakdown

type AmountBreakdown struct {
	Amount *int64  `json:"amount,omitempty"`
	Type   *string `json:"type,omitempty"`
}

AmountBreakdown represents class AmountBreakdown

func NewAmountBreakdown

func NewAmountBreakdown() *AmountBreakdown

NewAmountBreakdown constructs a new AmountBreakdown

type ApprovalResponse

type ApprovalResponse struct {
	CardPaymentMethodSpecificOutput   *ApprovePaymentCardPaymentMethodSpecificOutput   `json:"cardPaymentMethodSpecificOutput,omitempty"`
	MobilePaymentMethodSpecificOutput *ApprovePaymentMobilePaymentMethodSpecificOutput `json:"mobilePaymentMethodSpecificOutput,omitempty"`
	Payment                           *Payment                                         `json:"payment,omitempty"`
	// Deprecated: Use cardPaymentMethodSpecificOutput instead
	PaymentMethodSpecificOutput *ApprovePaymentCardPaymentMethodSpecificOutput `json:"paymentMethodSpecificOutput,omitempty"`
}

ApprovalResponse represents class PaymentApprovalResponse

func NewApprovalResponse

func NewApprovalResponse() *ApprovalResponse

NewApprovalResponse constructs a new ApprovalResponse

type ApprovePaymentCardPaymentMethodSpecificOutput

type ApprovePaymentCardPaymentMethodSpecificOutput struct {
	VoidResponseID *string `json:"voidResponseId,omitempty"`
}

ApprovePaymentCardPaymentMethodSpecificOutput represents class ApprovePaymentCardPaymentMethodSpecificOutput

func NewApprovePaymentCardPaymentMethodSpecificOutput

func NewApprovePaymentCardPaymentMethodSpecificOutput() *ApprovePaymentCardPaymentMethodSpecificOutput

NewApprovePaymentCardPaymentMethodSpecificOutput constructs a new ApprovePaymentCardPaymentMethodSpecificOutput

type ApprovePaymentMobilePaymentMethodSpecificOutput

type ApprovePaymentMobilePaymentMethodSpecificOutput struct {
	VoidResponseID *string `json:"voidResponseId,omitempty"`
}

ApprovePaymentMobilePaymentMethodSpecificOutput represents class ApprovePaymentMobilePaymentMethodSpecificOutput

func NewApprovePaymentMobilePaymentMethodSpecificOutput

func NewApprovePaymentMobilePaymentMethodSpecificOutput() *ApprovePaymentMobilePaymentMethodSpecificOutput

NewApprovePaymentMobilePaymentMethodSpecificOutput constructs a new ApprovePaymentMobilePaymentMethodSpecificOutput

type ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput

type ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput struct {
	DateCollect *string `json:"dateCollect,omitempty"`
	Token       *string `json:"token,omitempty"`
}

ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput represents class ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput

func NewApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput

func NewApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput() *ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput

NewApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput constructs a new ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput

type ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput

type ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput struct {
	DateCollect *string `json:"dateCollect,omitempty"`
	Token       *string `json:"token,omitempty"`
}

ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput represents class ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput

func NewApprovePaymentSepaDirectDebitPaymentMethodSpecificInput

func NewApprovePaymentSepaDirectDebitPaymentMethodSpecificInput() *ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput

NewApprovePaymentSepaDirectDebitPaymentMethodSpecificInput constructs a new ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput

type ApproveRequest

type ApproveRequest struct {
	Amount                                    *int64                                                      `json:"amount,omitempty"`
	DirectDebitPaymentMethodSpecificInput     *ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput `json:"directDebitPaymentMethodSpecificInput,omitempty"`
	Order                                     *OrderApprovePayment                                        `json:"order,omitempty"`
	SepaDirectDebitPaymentMethodSpecificInput *ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput    `json:"sepaDirectDebitPaymentMethodSpecificInput,omitempty"`
}

ApproveRequest represents class ApprovePaymentRequest

func NewApproveRequest

func NewApproveRequest() *ApproveRequest

NewApproveRequest constructs a new ApproveRequest

type BankTransferPaymentMethodSpecificInput

type BankTransferPaymentMethodSpecificInput struct {
	AdditionalReference *string `json:"additionalReference,omitempty"`
	PaymentProductID    *int32  `json:"paymentProductId,omitempty"`
}

BankTransferPaymentMethodSpecificInput represents class BankTransferPaymentMethodSpecificInput

func NewBankTransferPaymentMethodSpecificInput

func NewBankTransferPaymentMethodSpecificInput() *BankTransferPaymentMethodSpecificInput

NewBankTransferPaymentMethodSpecificInput constructs a new BankTransferPaymentMethodSpecificInput

type BankTransferPaymentMethodSpecificInputBase

type BankTransferPaymentMethodSpecificInputBase struct {
	AdditionalReference *string `json:"additionalReference,omitempty"`
	PaymentProductID    *int32  `json:"paymentProductId,omitempty"`
}

BankTransferPaymentMethodSpecificInputBase represents class BankTransferPaymentMethodSpecificInputBase

func NewBankTransferPaymentMethodSpecificInputBase

func NewBankTransferPaymentMethodSpecificInputBase() *BankTransferPaymentMethodSpecificInputBase

NewBankTransferPaymentMethodSpecificInputBase constructs a new BankTransferPaymentMethodSpecificInputBase

type BankTransferPaymentMethodSpecificOutput

type BankTransferPaymentMethodSpecificOutput struct {
	FraudResults     *definitions.FraudResults `json:"fraudResults,omitempty"`
	PaymentProductID *int32                    `json:"paymentProductId,omitempty"`
}

BankTransferPaymentMethodSpecificOutput represents class BankTransferPaymentMethodSpecificOutput

func NewBankTransferPaymentMethodSpecificOutput

func NewBankTransferPaymentMethodSpecificOutput() *BankTransferPaymentMethodSpecificOutput

NewBankTransferPaymentMethodSpecificOutput constructs a new BankTransferPaymentMethodSpecificOutput

type BrowserData

type BrowserData struct {
	ColorDepth        *int32  `json:"colorDepth,omitempty"`
	InnerHeight       *string `json:"innerHeight,omitempty"`
	InnerWidth        *string `json:"innerWidth,omitempty"`
	JavaEnabled       *bool   `json:"javaEnabled,omitempty"`
	JavaScriptEnabled *bool   `json:"javaScriptEnabled,omitempty"`
	ScreenHeight      *string `json:"screenHeight,omitempty"`
	ScreenWidth       *string `json:"screenWidth,omitempty"`
}

BrowserData represents class BrowserData

func NewBrowserData

func NewBrowserData() *BrowserData

NewBrowserData constructs a new BrowserData

type CancelApprovalPaymentResponse

type CancelApprovalPaymentResponse struct {
	Payment *Payment `json:"payment,omitempty"`
}

CancelApprovalPaymentResponse represents class CancelApprovalPaymentResponse

func NewCancelApprovalPaymentResponse

func NewCancelApprovalPaymentResponse() *CancelApprovalPaymentResponse

NewCancelApprovalPaymentResponse constructs a new CancelApprovalPaymentResponse

type CancelPaymentCardPaymentMethodSpecificOutput

type CancelPaymentCardPaymentMethodSpecificOutput struct {
	VoidResponseID *string `json:"voidResponseId,omitempty"`
}

CancelPaymentCardPaymentMethodSpecificOutput represents class CancelPaymentCardPaymentMethodSpecificOutput

func NewCancelPaymentCardPaymentMethodSpecificOutput

func NewCancelPaymentCardPaymentMethodSpecificOutput() *CancelPaymentCardPaymentMethodSpecificOutput

NewCancelPaymentCardPaymentMethodSpecificOutput constructs a new CancelPaymentCardPaymentMethodSpecificOutput

type CancelPaymentMobilePaymentMethodSpecificOutput

type CancelPaymentMobilePaymentMethodSpecificOutput struct {
	VoidResponseID *string `json:"voidResponseId,omitempty"`
}

CancelPaymentMobilePaymentMethodSpecificOutput represents class CancelPaymentMobilePaymentMethodSpecificOutput

func NewCancelPaymentMobilePaymentMethodSpecificOutput

func NewCancelPaymentMobilePaymentMethodSpecificOutput() *CancelPaymentMobilePaymentMethodSpecificOutput

NewCancelPaymentMobilePaymentMethodSpecificOutput constructs a new CancelPaymentMobilePaymentMethodSpecificOutput

type CancelResponse

type CancelResponse struct {
	CardPaymentMethodSpecificOutput   *CancelPaymentCardPaymentMethodSpecificOutput   `json:"cardPaymentMethodSpecificOutput,omitempty"`
	MobilePaymentMethodSpecificOutput *CancelPaymentMobilePaymentMethodSpecificOutput `json:"mobilePaymentMethodSpecificOutput,omitempty"`
	Payment                           *Payment                                        `json:"payment,omitempty"`
}

CancelResponse represents class CancelPaymentResponse

func NewCancelResponse

func NewCancelResponse() *CancelResponse

NewCancelResponse constructs a new CancelResponse

type CapturePaymentRequest

type CapturePaymentRequest struct {
	Amount  *int64 `json:"amount,omitempty"`
	IsFinal *bool  `json:"isFinal,omitempty"`
}

CapturePaymentRequest represents class CapturePaymentRequest

func NewCapturePaymentRequest

func NewCapturePaymentRequest() *CapturePaymentRequest

NewCapturePaymentRequest constructs a new CapturePaymentRequest

type CardPaymentMethodSpecificInput

type CardPaymentMethodSpecificInput struct {
	AcquirerPromotionCode *string           `json:"acquirerPromotionCode,omitempty"`
	AuthorizationMode     *string           `json:"authorizationMode,omitempty"`
	Card                  *definitions.Card `json:"card,omitempty"`
	CustomerReference     *string           `json:"customerReference,omitempty"`
	// Deprecated: Use threeDSecure.externalCardholderAuthenticationData instead
	ExternalCardholderAuthenticationData *ExternalCardholderAuthenticationData `json:"externalCardholderAuthenticationData,omitempty"`
	InitialSchemeTransactionID           *string                               `json:"initialSchemeTransactionId,omitempty"`
	IsRecurring                          *bool                                 `json:"isRecurring,omitempty"`
	MerchantInitiatedReasonIndicator     *string                               `json:"merchantInitiatedReasonIndicator,omitempty"`
	NetworkTokenData                     *SchemeTokenData                      `json:"networkTokenData,omitempty"`
	PaymentProductID                     *int32                                `json:"paymentProductId,omitempty"`
	Recurring                            *CardRecurrenceDetails                `json:"recurring,omitempty"`
	// Deprecated: Use recurring.recurringPaymentSequenceIndicator instead
	RecurringPaymentSequenceIndicator *string `json:"recurringPaymentSequenceIndicator,omitempty"`
	RequiresApproval                  *bool   `json:"requiresApproval,omitempty"`
	// Deprecated: Use threeDSecure.redirectionData.returnUrl instead
	ReturnURL *string `json:"returnUrl,omitempty"`
	// Deprecated: Use threeDSecure.skipAuthentication instead
	SkipAuthentication *bool         `json:"skipAuthentication,omitempty"`
	SkipFraudService   *bool         `json:"skipFraudService,omitempty"`
	ThreeDSecure       *ThreeDSecure `json:"threeDSecure,omitempty"`
	Token              *string       `json:"token,omitempty"`
	Tokenize           *bool         `json:"tokenize,omitempty"`
	TransactionChannel *string       `json:"transactionChannel,omitempty"`
	// Deprecated: Use unscheduledCardOnFileSequenceIndicator instead
	UnscheduledCardOnFileIndicator         *string `json:"unscheduledCardOnFileIndicator,omitempty"`
	UnscheduledCardOnFileRequestor         *string `json:"unscheduledCardOnFileRequestor,omitempty"`
	UnscheduledCardOnFileSequenceIndicator *string `json:"unscheduledCardOnFileSequenceIndicator,omitempty"`
}

CardPaymentMethodSpecificInput represents class CardPaymentMethodSpecificInput

func NewCardPaymentMethodSpecificInput

func NewCardPaymentMethodSpecificInput() *CardPaymentMethodSpecificInput

NewCardPaymentMethodSpecificInput constructs a new CardPaymentMethodSpecificInput

type CardPaymentMethodSpecificInputBase

type CardPaymentMethodSpecificInputBase struct {
	AcquirerPromotionCode      *string                `json:"acquirerPromotionCode,omitempty"`
	AuthorizationMode          *string                `json:"authorizationMode,omitempty"`
	CustomerReference          *string                `json:"customerReference,omitempty"`
	InitialSchemeTransactionID *string                `json:"initialSchemeTransactionId,omitempty"`
	PaymentProductID           *int32                 `json:"paymentProductId,omitempty"`
	Recurring                  *CardRecurrenceDetails `json:"recurring,omitempty"`
	// Deprecated: Use recurring.recurringPaymentSequenceIndicator instead
	RecurringPaymentSequenceIndicator *string `json:"recurringPaymentSequenceIndicator,omitempty"`
	RequiresApproval                  *bool   `json:"requiresApproval,omitempty"`
	// Deprecated: Use threeDSecure.skipAuthentication instead
	SkipAuthentication *bool             `json:"skipAuthentication,omitempty"`
	SkipFraudService   *bool             `json:"skipFraudService,omitempty"`
	ThreeDSecure       *ThreeDSecureBase `json:"threeDSecure,omitempty"`
	Token              *string           `json:"token,omitempty"`
	Tokenize           *bool             `json:"tokenize,omitempty"`
	TransactionChannel *string           `json:"transactionChannel,omitempty"`
	// Deprecated: Use unscheduledCardOnFileSequenceIndicator instead
	UnscheduledCardOnFileIndicator         *string `json:"unscheduledCardOnFileIndicator,omitempty"`
	UnscheduledCardOnFileRequestor         *string `json:"unscheduledCardOnFileRequestor,omitempty"`
	UnscheduledCardOnFileSequenceIndicator *string `json:"unscheduledCardOnFileSequenceIndicator,omitempty"`
}

CardPaymentMethodSpecificInputBase represents class CardPaymentMethodSpecificInputBase

func NewCardPaymentMethodSpecificInputBase

func NewCardPaymentMethodSpecificInputBase() *CardPaymentMethodSpecificInputBase

NewCardPaymentMethodSpecificInputBase constructs a new CardPaymentMethodSpecificInputBase

type CardPaymentMethodSpecificOutput

type CardPaymentMethodSpecificOutput struct {
	AuthorisationCode          *string                       `json:"authorisationCode,omitempty"`
	Card                       *definitions.CardEssentials   `json:"card,omitempty"`
	FraudResults               *definitions.CardFraudResults `json:"fraudResults,omitempty"`
	InitialSchemeTransactionID *string                       `json:"initialSchemeTransactionId,omitempty"`
	PaymentProductID           *int32                        `json:"paymentProductId,omitempty"`
	SchemeTransactionID        *string                       `json:"schemeTransactionId,omitempty"`
	ThreeDSecureResults        *ThreeDSecureResults          `json:"threeDSecureResults,omitempty"`
	Token                      *string                       `json:"token,omitempty"`
}

CardPaymentMethodSpecificOutput represents class CardPaymentMethodSpecificOutput

func NewCardPaymentMethodSpecificOutput

func NewCardPaymentMethodSpecificOutput() *CardPaymentMethodSpecificOutput

NewCardPaymentMethodSpecificOutput constructs a new CardPaymentMethodSpecificOutput

type CardRecurrenceDetails

type CardRecurrenceDetails struct {
	EndDate                           *string `json:"endDate,omitempty"`
	MinFrequency                      *int32  `json:"minFrequency,omitempty"`
	RecurringPaymentSequenceIndicator *string `json:"recurringPaymentSequenceIndicator,omitempty"`
}

CardRecurrenceDetails represents class CardRecurrenceDetails

func NewCardRecurrenceDetails

func NewCardRecurrenceDetails() *CardRecurrenceDetails

NewCardRecurrenceDetails constructs a new CardRecurrenceDetails

type CashPaymentMethodSpecificInput

type CashPaymentMethodSpecificInput struct {
	// Deprecated: No replacement
	PaymentProduct1503SpecificInput *CashPaymentProduct1503SpecificInput `json:"paymentProduct1503SpecificInput,omitempty"`
	PaymentProduct1504SpecificInput *CashPaymentProduct1504SpecificInput `json:"paymentProduct1504SpecificInput,omitempty"`
	PaymentProduct1521SpecificInput *CashPaymentProduct1521SpecificInput `json:"paymentProduct1521SpecificInput,omitempty"`
	PaymentProduct1522SpecificInput *CashPaymentProduct1522SpecificInput `json:"paymentProduct1522SpecificInput,omitempty"`
	PaymentProduct1523SpecificInput *CashPaymentProduct1523SpecificInput `json:"paymentProduct1523SpecificInput,omitempty"`
	PaymentProduct1524SpecificInput *CashPaymentProduct1524SpecificInput `json:"paymentProduct1524SpecificInput,omitempty"`
	PaymentProduct1526SpecificInput *CashPaymentProduct1526SpecificInput `json:"paymentProduct1526SpecificInput,omitempty"`
	PaymentProductID                *int32                               `json:"paymentProductId,omitempty"`
}

CashPaymentMethodSpecificInput represents class CashPaymentMethodSpecificInput

func NewCashPaymentMethodSpecificInput

func NewCashPaymentMethodSpecificInput() *CashPaymentMethodSpecificInput

NewCashPaymentMethodSpecificInput constructs a new CashPaymentMethodSpecificInput

type CashPaymentMethodSpecificInputBase

type CashPaymentMethodSpecificInputBase struct {
	PaymentProductID *int32 `json:"paymentProductId,omitempty"`
}

CashPaymentMethodSpecificInputBase represents class CashPaymentMethodSpecificInputBase

func NewCashPaymentMethodSpecificInputBase

func NewCashPaymentMethodSpecificInputBase() *CashPaymentMethodSpecificInputBase

NewCashPaymentMethodSpecificInputBase constructs a new CashPaymentMethodSpecificInputBase

type CashPaymentMethodSpecificOutput

type CashPaymentMethodSpecificOutput struct {
	FraudResults     *definitions.FraudResults `json:"fraudResults,omitempty"`
	PaymentProductID *int32                    `json:"paymentProductId,omitempty"`
}

CashPaymentMethodSpecificOutput represents class CashPaymentMethodSpecificOutput

func NewCashPaymentMethodSpecificOutput

func NewCashPaymentMethodSpecificOutput() *CashPaymentMethodSpecificOutput

NewCashPaymentMethodSpecificOutput constructs a new CashPaymentMethodSpecificOutput

type CashPaymentProduct1503SpecificInput deprecated

type CashPaymentProduct1503SpecificInput struct {
	// Deprecated: No replacement, since Boleto Bancario no longer needs a return URL
	ReturnURL *string `json:"returnUrl,omitempty"`
}

CashPaymentProduct1503SpecificInput represents class CashPaymentProduct1503SpecificInput

Deprecated: No replacement

func NewCashPaymentProduct1503SpecificInput

func NewCashPaymentProduct1503SpecificInput() *CashPaymentProduct1503SpecificInput

NewCashPaymentProduct1503SpecificInput constructs a new CashPaymentProduct1503SpecificInput

type CashPaymentProduct1504SpecificInput

type CashPaymentProduct1504SpecificInput struct {
	ReturnURL *string `json:"returnUrl,omitempty"`
}

CashPaymentProduct1504SpecificInput represents class CashPaymentProduct1504SpecificInput

func NewCashPaymentProduct1504SpecificInput

func NewCashPaymentProduct1504SpecificInput() *CashPaymentProduct1504SpecificInput

NewCashPaymentProduct1504SpecificInput constructs a new CashPaymentProduct1504SpecificInput

type CashPaymentProduct1521SpecificInput

type CashPaymentProduct1521SpecificInput struct {
	ReturnURL *string `json:"returnUrl,omitempty"`
}

CashPaymentProduct1521SpecificInput represents class CashPaymentProduct1521SpecificInput

func NewCashPaymentProduct1521SpecificInput

func NewCashPaymentProduct1521SpecificInput() *CashPaymentProduct1521SpecificInput

NewCashPaymentProduct1521SpecificInput constructs a new CashPaymentProduct1521SpecificInput

type CashPaymentProduct1522SpecificInput

type CashPaymentProduct1522SpecificInput struct {
	ReturnURL *string `json:"returnUrl,omitempty"`
}

CashPaymentProduct1522SpecificInput represents class CashPaymentProduct1522SpecificInput

func NewCashPaymentProduct1522SpecificInput

func NewCashPaymentProduct1522SpecificInput() *CashPaymentProduct1522SpecificInput

NewCashPaymentProduct1522SpecificInput constructs a new CashPaymentProduct1522SpecificInput

type CashPaymentProduct1523SpecificInput

type CashPaymentProduct1523SpecificInput struct {
	ReturnURL *string `json:"returnUrl,omitempty"`
}

CashPaymentProduct1523SpecificInput represents class CashPaymentProduct1523SpecificInput

func NewCashPaymentProduct1523SpecificInput

func NewCashPaymentProduct1523SpecificInput() *CashPaymentProduct1523SpecificInput

NewCashPaymentProduct1523SpecificInput constructs a new CashPaymentProduct1523SpecificInput

type CashPaymentProduct1524SpecificInput

type CashPaymentProduct1524SpecificInput struct {
	ReturnURL *string `json:"returnUrl,omitempty"`
}

CashPaymentProduct1524SpecificInput represents class CashPaymentProduct1524SpecificInput

func NewCashPaymentProduct1524SpecificInput

func NewCashPaymentProduct1524SpecificInput() *CashPaymentProduct1524SpecificInput

NewCashPaymentProduct1524SpecificInput constructs a new CashPaymentProduct1524SpecificInput

type CashPaymentProduct1526SpecificInput

type CashPaymentProduct1526SpecificInput struct {
	ReturnURL *string `json:"returnUrl,omitempty"`
}

CashPaymentProduct1526SpecificInput represents class CashPaymentProduct1526SpecificInput

func NewCashPaymentProduct1526SpecificInput

func NewCashPaymentProduct1526SpecificInput() *CashPaymentProduct1526SpecificInput

NewCashPaymentProduct1526SpecificInput constructs a new CashPaymentProduct1526SpecificInput

type CompletePaymentCardPaymentMethodSpecificInput

type CompletePaymentCardPaymentMethodSpecificInput struct {
	Card *definitions.CardWithoutCvv `json:"card,omitempty"`
}

CompletePaymentCardPaymentMethodSpecificInput represents class CompletePaymentCardPaymentMethodSpecificInput

func NewCompletePaymentCardPaymentMethodSpecificInput

func NewCompletePaymentCardPaymentMethodSpecificInput() *CompletePaymentCardPaymentMethodSpecificInput

NewCompletePaymentCardPaymentMethodSpecificInput constructs a new CompletePaymentCardPaymentMethodSpecificInput

type CompletePaymentRequest

type CompletePaymentRequest struct {
	CardPaymentMethodSpecificInput *CompletePaymentCardPaymentMethodSpecificInput `json:"cardPaymentMethodSpecificInput,omitempty"`
	Merchant                       *Merchant                                      `json:"merchant,omitempty"`
	Order                          *Order                                         `json:"order,omitempty"`
}

CompletePaymentRequest represents class CompletePaymentRequest

func NewCompletePaymentRequest

func NewCompletePaymentRequest() *CompletePaymentRequest

NewCompletePaymentRequest constructs a new CompletePaymentRequest

type CompletePaymentResponse

type CompletePaymentResponse struct {
	CreationOutput *CreationOutput `json:"creationOutput,omitempty"`
	MerchantAction *MerchantAction `json:"merchantAction,omitempty"`
	Payment        *Payment        `json:"payment,omitempty"`
}

CompletePaymentResponse represents class CompletePaymentResponse

func NewCompletePaymentResponse

func NewCompletePaymentResponse() *CompletePaymentResponse

NewCompletePaymentResponse constructs a new CompletePaymentResponse

type ContactDetails

type ContactDetails struct {
	EmailAddress      *string `json:"emailAddress,omitempty"`
	EmailMessageType  *string `json:"emailMessageType,omitempty"`
	FaxNumber         *string `json:"faxNumber,omitempty"`
	MobilePhoneNumber *string `json:"mobilePhoneNumber,omitempty"`
	PhoneNumber       *string `json:"phoneNumber,omitempty"`
	WorkPhoneNumber   *string `json:"workPhoneNumber,omitempty"`
}

ContactDetails represents class ContactDetails

func NewContactDetails

func NewContactDetails() *ContactDetails

NewContactDetails constructs a new ContactDetails

type CreateRequest

type CreateRequest struct {
	BankTransferPaymentMethodSpecificInput    *BankTransferPaymentMethodSpecificInput       `json:"bankTransferPaymentMethodSpecificInput,omitempty"`
	CardPaymentMethodSpecificInput            *CardPaymentMethodSpecificInput               `json:"cardPaymentMethodSpecificInput,omitempty"`
	CashPaymentMethodSpecificInput            *CashPaymentMethodSpecificInput               `json:"cashPaymentMethodSpecificInput,omitempty"`
	DirectDebitPaymentMethodSpecificInput     *NonSepaDirectDebitPaymentMethodSpecificInput `json:"directDebitPaymentMethodSpecificInput,omitempty"`
	EInvoicePaymentMethodSpecificInput        *EInvoicePaymentMethodSpecificInput           `json:"eInvoicePaymentMethodSpecificInput,omitempty"`
	EncryptedCustomerInput                    *string                                       `json:"encryptedCustomerInput,omitempty"`
	FraudFields                               *definitions.FraudFields                      `json:"fraudFields,omitempty"`
	InvoicePaymentMethodSpecificInput         *InvoicePaymentMethodSpecificInput            `json:"invoicePaymentMethodSpecificInput,omitempty"`
	Merchant                                  *Merchant                                     `json:"merchant,omitempty"`
	MobilePaymentMethodSpecificInput          *MobilePaymentMethodSpecificInput             `json:"mobilePaymentMethodSpecificInput,omitempty"`
	Order                                     *Order                                        `json:"order,omitempty"`
	RedirectPaymentMethodSpecificInput        *RedirectPaymentMethodSpecificInput           `json:"redirectPaymentMethodSpecificInput,omitempty"`
	SepaDirectDebitPaymentMethodSpecificInput *SepaDirectDebitPaymentMethodSpecificInput    `json:"sepaDirectDebitPaymentMethodSpecificInput,omitempty"`
}

CreateRequest represents class CreatePaymentRequest

func NewCreateRequest

func NewCreateRequest() *CreateRequest

NewCreateRequest constructs a new CreateRequest

type CreateResponse

type CreateResponse struct {
	CreationOutput *CreationOutput `json:"creationOutput,omitempty"`
	MerchantAction *MerchantAction `json:"merchantAction,omitempty"`
	Payment        *Payment        `json:"payment,omitempty"`
}

CreateResponse represents class CreatePaymentResponse

func NewCreateResponse

func NewCreateResponse() *CreateResponse

NewCreateResponse constructs a new CreateResponse

type CreateResult

type CreateResult struct {
	CreationOutput *CreationOutput `json:"creationOutput,omitempty"`
	MerchantAction *MerchantAction `json:"merchantAction,omitempty"`
	Payment        *Payment        `json:"payment,omitempty"`
}

CreateResult represents class CreatePaymentResult

func NewCreateResult

func NewCreateResult() *CreateResult

NewCreateResult constructs a new CreateResult

type CreationOutput

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"`
}

CreationOutput represents class PaymentCreationOutput

func NewCreationOutput

func NewCreationOutput() *CreationOutput

NewCreationOutput constructs a new CreationOutput

type CreationReferences

type CreationReferences struct {
	AdditionalReference *string `json:"additionalReference,omitempty"`
	ExternalReference   *string `json:"externalReference,omitempty"`
}

CreationReferences represents class PaymentCreationReferences

func NewCreationReferences

func NewCreationReferences() *CreationReferences

NewCreationReferences constructs a new CreationReferences

type Customer

type Customer struct {
	Account             *CustomerAccount                `json:"account,omitempty"`
	AccountType         *string                         `json:"accountType,omitempty"`
	BillingAddress      *definitions.Address            `json:"billingAddress,omitempty"`
	CompanyInformation  *definitions.CompanyInformation `json:"companyInformation,omitempty"`
	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"`
	PersonalInformation *PersonalInformation            `json:"personalInformation,omitempty"`
	// Deprecated: Use Order.shipping.address instead
	ShippingAddress *AddressPersonal `json:"shippingAddress,omitempty"`
	// Deprecated: Use companyInformation.vatNumber instead
	VatNumber *string `json:"vatNumber,omitempty"`
}

Customer represents class Customer

func NewCustomer

func NewCustomer() *Customer

NewCustomer constructs a new Customer

type CustomerAccount

type CustomerAccount struct {
	Authentication                *CustomerAccountAuthentication `json:"authentication,omitempty"`
	ChangeDate                    *string                        `json:"changeDate,omitempty"`
	ChangedDuringCheckout         *bool                          `json:"changedDuringCheckout,omitempty"`
	CreateDate                    *string                        `json:"createDate,omitempty"`
	HadSuspiciousActivity         *bool                          `json:"hadSuspiciousActivity,omitempty"`
	HasForgottenPassword          *bool                          `json:"hasForgottenPassword,omitempty"`
	HasPassword                   *bool                          `json:"hasPassword,omitempty"`
	PasswordChangeDate            *string                        `json:"passwordChangeDate,omitempty"`
	PasswordChangedDuringCheckout *bool                          `json:"passwordChangedDuringCheckout,omitempty"`
	PaymentAccountOnFile          *AccountOnFile                 `json:"paymentAccountOnFile,omitempty"`
	PaymentAccountOnFileType      *string                        `json:"paymentAccountOnFileType,omitempty"`
	PaymentActivity               *CustomerPaymentActivity       `json:"paymentActivity,omitempty"`
}

CustomerAccount represents class CustomerAccount

func NewCustomerAccount

func NewCustomerAccount() *CustomerAccount

NewCustomerAccount constructs a new CustomerAccount

type CustomerAccountAuthentication

type CustomerAccountAuthentication struct {
	Data         *string `json:"data,omitempty"`
	Method       *string `json:"method,omitempty"`
	UtcTimestamp *string `json:"utcTimestamp,omitempty"`
}

CustomerAccountAuthentication represents class CustomerAccountAuthentication

func NewCustomerAccountAuthentication

func NewCustomerAccountAuthentication() *CustomerAccountAuthentication

NewCustomerAccountAuthentication constructs a new CustomerAccountAuthentication

type CustomerApprovePayment

type CustomerApprovePayment struct {
	AccountType *string `json:"accountType,omitempty"`
}

CustomerApprovePayment represents class CustomerApprovePayment

func NewCustomerApprovePayment

func NewCustomerApprovePayment() *CustomerApprovePayment

NewCustomerApprovePayment constructs a new CustomerApprovePayment

type CustomerDevice

type CustomerDevice struct {
	AcceptHeader                   *string      `json:"acceptHeader,omitempty"`
	BrowserData                    *BrowserData `json:"browserData,omitempty"`
	DefaultFormFill                *string      `json:"defaultFormFill,omitempty"`
	DeviceFingerprintTransactionID *string      `json:"deviceFingerprintTransactionId,omitempty"`
	IPAddress                      *string      `json:"ipAddress,omitempty"`
	Locale                         *string      `json:"locale,omitempty"`
	TimezoneOffsetUtcMinutes       *string      `json:"timezoneOffsetUtcMinutes,omitempty"`
	UserAgent                      *string      `json:"userAgent,omitempty"`
}

CustomerDevice represents class CustomerDevice

func NewCustomerDevice

func NewCustomerDevice() *CustomerDevice

NewCustomerDevice constructs a new CustomerDevice

type CustomerPaymentActivity

type CustomerPaymentActivity struct {
	NumberOfPaymentAttemptsLast24Hours *int32 `json:"numberOfPaymentAttemptsLast24Hours,omitempty"`
	NumberOfPaymentAttemptsLastYear    *int32 `json:"numberOfPaymentAttemptsLastYear,omitempty"`
	NumberOfPurchasesLast6Months       *int32 `json:"numberOfPurchasesLast6Months,omitempty"`
}

CustomerPaymentActivity represents class CustomerPaymentActivity

func NewCustomerPaymentActivity

func NewCustomerPaymentActivity() *CustomerPaymentActivity

NewCustomerPaymentActivity constructs a new CustomerPaymentActivity

type DecryptedPaymentData

type DecryptedPaymentData struct {
	// Deprecated: Use decryptedPaymentData.paymentMethod instead
	AuthMethod     *string `json:"authMethod,omitempty"`
	CardholderName *string `json:"cardholderName,omitempty"`
	Cryptogram     *string `json:"cryptogram,omitempty"`
	Dpan           *string `json:"dpan,omitempty"`
	Eci            *int32  `json:"eci,omitempty"`
	ExpiryDate     *string `json:"expiryDate,omitempty"`
	Pan            *string `json:"pan,omitempty"`
	PaymentMethod  *string `json:"paymentMethod,omitempty"`
}

DecryptedPaymentData represents class DecryptedPaymentData

func NewDecryptedPaymentData

func NewDecryptedPaymentData() *DecryptedPaymentData

NewDecryptedPaymentData constructs a new DecryptedPaymentData

type DeviceFingerprintDetails

type DeviceFingerprintDetails struct {
	PaymentID                  *string `json:"paymentId,omitempty"`
	RawDeviceFingerprintOutput *string `json:"rawDeviceFingerprintOutput,omitempty"`
}

DeviceFingerprintDetails represents class DeviceFingerprintDetails

func NewDeviceFingerprintDetails

func NewDeviceFingerprintDetails() *DeviceFingerprintDetails

NewDeviceFingerprintDetails constructs a new DeviceFingerprintDetails

type DeviceRenderOptions

type DeviceRenderOptions struct {
	SdkInterface *string `json:"sdkInterface,omitempty"`
	// Deprecated: Use deviceRenderOptions.sdkUiTypes instead
	SdkUIType  *string   `json:"sdkUiType,omitempty"`
	SdkUITypes *[]string `json:"sdkUiTypes,omitempty"`
}

DeviceRenderOptions represents class DeviceRenderOptions

func NewDeviceRenderOptions

func NewDeviceRenderOptions() *DeviceRenderOptions

NewDeviceRenderOptions constructs a new DeviceRenderOptions

type EInvoicePaymentMethodSpecificInput

type EInvoicePaymentMethodSpecificInput struct {
	AcceptedTermsAndConditions      *bool                                    `json:"acceptedTermsAndConditions,omitempty"`
	PaymentProduct9000SpecificInput *EInvoicePaymentProduct9000SpecificInput `json:"paymentProduct9000SpecificInput,omitempty"`
	PaymentProductID                *int32                                   `json:"paymentProductId,omitempty"`
	RequiresApproval                *bool                                    `json:"requiresApproval,omitempty"`
}

EInvoicePaymentMethodSpecificInput represents class EInvoicePaymentMethodSpecificInput

func NewEInvoicePaymentMethodSpecificInput

func NewEInvoicePaymentMethodSpecificInput() *EInvoicePaymentMethodSpecificInput

NewEInvoicePaymentMethodSpecificInput constructs a new EInvoicePaymentMethodSpecificInput

type EInvoicePaymentMethodSpecificInputBase

type EInvoicePaymentMethodSpecificInputBase struct {
	PaymentProductID *int32 `json:"paymentProductId,omitempty"`
	RequiresApproval *bool  `json:"requiresApproval,omitempty"`
}

EInvoicePaymentMethodSpecificInputBase represents class EInvoicePaymentMethodSpecificInputBase

func NewEInvoicePaymentMethodSpecificInputBase

func NewEInvoicePaymentMethodSpecificInputBase() *EInvoicePaymentMethodSpecificInputBase

NewEInvoicePaymentMethodSpecificInputBase constructs a new EInvoicePaymentMethodSpecificInputBase

type EInvoicePaymentMethodSpecificOutput

type EInvoicePaymentMethodSpecificOutput struct {
	FraudResults                     *definitions.FraudResults                 `json:"fraudResults,omitempty"`
	PaymentProduct9000SpecificOutput *EInvoicePaymentProduct9000SpecificOutput `json:"paymentProduct9000SpecificOutput,omitempty"`
	PaymentProductID                 *int32                                    `json:"paymentProductId,omitempty"`
}

EInvoicePaymentMethodSpecificOutput represents class EInvoicePaymentMethodSpecificOutput

func NewEInvoicePaymentMethodSpecificOutput

func NewEInvoicePaymentMethodSpecificOutput() *EInvoicePaymentMethodSpecificOutput

NewEInvoicePaymentMethodSpecificOutput constructs a new EInvoicePaymentMethodSpecificOutput

type EInvoicePaymentProduct9000SpecificInput

type EInvoicePaymentProduct9000SpecificInput struct {
	BankAccountIban *definitions.BankAccountIban `json:"bankAccountIban,omitempty"`
	InstallmentID   *string                      `json:"installmentId,omitempty"`
}

EInvoicePaymentProduct9000SpecificInput represents class EInvoicePaymentProduct9000SpecificInput

func NewEInvoicePaymentProduct9000SpecificInput

func NewEInvoicePaymentProduct9000SpecificInput() *EInvoicePaymentProduct9000SpecificInput

NewEInvoicePaymentProduct9000SpecificInput constructs a new EInvoicePaymentProduct9000SpecificInput

type EInvoicePaymentProduct9000SpecificOutput

type EInvoicePaymentProduct9000SpecificOutput struct {
	InstallmentID *string `json:"installmentId,omitempty"`
}

EInvoicePaymentProduct9000SpecificOutput represents class EInvoicePaymentProduct9000SpecificOutput

func NewEInvoicePaymentProduct9000SpecificOutput

func NewEInvoicePaymentProduct9000SpecificOutput() *EInvoicePaymentProduct9000SpecificOutput

NewEInvoicePaymentProduct9000SpecificOutput constructs a new EInvoicePaymentProduct9000SpecificOutput

type ErrorResponse

type ErrorResponse struct {
	ErrorID       *string            `json:"errorId,omitempty"`
	Errors        *[]errors.APIError `json:"errors,omitempty"`
	PaymentResult *CreateResult      `json:"paymentResult,omitempty"`
}

ErrorResponse represents class PaymentErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse constructs a new ErrorResponse

type ExemptionOutput

type ExemptionOutput struct {
	ExemptionRaised          *string `json:"exemptionRaised,omitempty"`
	ExemptionRejectionReason *string `json:"exemptionRejectionReason,omitempty"`
	ExemptionRequest         *string `json:"exemptionRequest,omitempty"`
}

ExemptionOutput represents class ExemptionOutput

func NewExemptionOutput

func NewExemptionOutput() *ExemptionOutput

NewExemptionOutput constructs a new ExemptionOutput

type ExternalCardholderAuthenticationData

type ExternalCardholderAuthenticationData struct {
	AcsTransactionID             *string `json:"acsTransactionId,omitempty"`
	AppliedExemption             *string `json:"appliedExemption,omitempty"`
	Cavv                         *string `json:"cavv,omitempty"`
	CavvAlgorithm                *string `json:"cavvAlgorithm,omitempty"`
	DirectoryServerTransactionID *string `json:"directoryServerTransactionId,omitempty"`
	Eci                          *int32  `json:"eci,omitempty"`
	SchemeRiskScore              *int32  `json:"schemeRiskScore,omitempty"`
	ThreeDSecureVersion          *string `json:"threeDSecureVersion,omitempty"`
	// Deprecated: No replacement
	ThreeDServerTransactionID *string `json:"threeDServerTransactionId,omitempty"`
	ValidationResult          *string `json:"validationResult,omitempty"`
	Xid                       *string `json:"xid,omitempty"`
}

ExternalCardholderAuthenticationData represents class ExternalCardholderAuthenticationData

func NewExternalCardholderAuthenticationData

func NewExternalCardholderAuthenticationData() *ExternalCardholderAuthenticationData

NewExternalCardholderAuthenticationData constructs a new ExternalCardholderAuthenticationData

type FindResponse

type FindResponse struct {
	Limit      *int32     `json:"limit,omitempty"`
	Offset     *int32     `json:"offset,omitempty"`
	Payments   *[]Payment `json:"payments,omitempty"`
	TotalCount *int32     `json:"totalCount,omitempty"`
}

FindResponse represents class FindPaymentsResponse

func NewFindResponse

func NewFindResponse() *FindResponse

NewFindResponse constructs a new FindResponse

type GPayThreeDSecure

type GPayThreeDSecure struct {
	ChallengeCanvasSize *string          `json:"challengeCanvasSize,omitempty"`
	ChallengeIndicator  *string          `json:"challengeIndicator,omitempty"`
	ExemptionRequest    *string          `json:"exemptionRequest,omitempty"`
	RedirectionData     *RedirectionData `json:"redirectionData,omitempty"`
	SkipAuthentication  *bool            `json:"skipAuthentication,omitempty"`
}

GPayThreeDSecure represents class GPayThreeDSecure

func NewGPayThreeDSecure

func NewGPayThreeDSecure() *GPayThreeDSecure

NewGPayThreeDSecure constructs a new GPayThreeDSecure

type GiftCardPurchase

type GiftCardPurchase struct {
	AmountOfMoney     *definitions.AmountOfMoney `json:"amountOfMoney,omitempty"`
	NumberOfGiftCards *int32                     `json:"numberOfGiftCards,omitempty"`
}

GiftCardPurchase represents class GiftCardPurchase

func NewGiftCardPurchase

func NewGiftCardPurchase() *GiftCardPurchase

NewGiftCardPurchase constructs a new GiftCardPurchase

type HostedCheckoutSpecificOutput

type HostedCheckoutSpecificOutput struct {
	HostedCheckoutID *string `json:"hostedCheckoutId,omitempty"`
	Variant          *string `json:"variant,omitempty"`
}

HostedCheckoutSpecificOutput represents class HostedCheckoutSpecificOutput

func NewHostedCheckoutSpecificOutput

func NewHostedCheckoutSpecificOutput() *HostedCheckoutSpecificOutput

NewHostedCheckoutSpecificOutput constructs a new HostedCheckoutSpecificOutput

type Installments

type Installments struct {
	AmountOfMoneyPerInstallment *definitions.AmountOfMoney `json:"amountOfMoneyPerInstallment,omitempty"`
	AmountOfMoneyTotal          *definitions.AmountOfMoney `json:"amountOfMoneyTotal,omitempty"`
	FrequencyOfInstallments     *string                    `json:"frequencyOfInstallments,omitempty"`
	InstallmentPlanCode         *int32                     `json:"installmentPlanCode,omitempty"`
	InterestRate                *string                    `json:"interestRate,omitempty"`
	NumberOfInstallments        *int64                     `json:"numberOfInstallments,omitempty"`
}

Installments represents class Installments

func NewInstallments

func NewInstallments() *Installments

NewInstallments constructs a new Installments

type InvoicePaymentMethodSpecificInput

type InvoicePaymentMethodSpecificInput struct {
	AdditionalReference *string `json:"additionalReference,omitempty"`
	PaymentProductID    *int32  `json:"paymentProductId,omitempty"`
}

InvoicePaymentMethodSpecificInput represents class InvoicePaymentMethodSpecificInput

func NewInvoicePaymentMethodSpecificInput

func NewInvoicePaymentMethodSpecificInput() *InvoicePaymentMethodSpecificInput

NewInvoicePaymentMethodSpecificInput constructs a new InvoicePaymentMethodSpecificInput

type InvoicePaymentMethodSpecificOutput

type InvoicePaymentMethodSpecificOutput struct {
	FraudResults     *definitions.FraudResults `json:"fraudResults,omitempty"`
	PaymentProductID *int32                    `json:"paymentProductId,omitempty"`
}

InvoicePaymentMethodSpecificOutput represents class InvoicePaymentMethodSpecificOutput

func NewInvoicePaymentMethodSpecificOutput

func NewInvoicePaymentMethodSpecificOutput() *InvoicePaymentMethodSpecificOutput

NewInvoicePaymentMethodSpecificOutput constructs a new InvoicePaymentMethodSpecificOutput

type Level3SummaryData deprecated

type Level3SummaryData struct {
	// Deprecated: Use ShoppingCart.amountBreakdown with type DISCOUNT instead
	DiscountAmount *int64 `json:"discountAmount,omitempty"`
	// Deprecated: Use ShoppingCart.amountBreakdown with type DUTY instead
	DutyAmount *int64 `json:"dutyAmount,omitempty"`
	// Deprecated: Use ShoppingCart.amountBreakdown with type SHIPPING instead
	ShippingAmount *int64 `json:"shippingAmount,omitempty"`
}

Level3SummaryData represents class Level3SummaryData

Deprecated: Use ShoppingCart.amountBreakdown instead

func NewLevel3SummaryData

func NewLevel3SummaryData() *Level3SummaryData

NewLevel3SummaryData constructs a new Level3SummaryData

type LineItem

type LineItem struct {
	AmountOfMoney *definitions.AmountOfMoney `json:"amountOfMoney,omitempty"`
	InvoiceData   *LineItemInvoiceData       `json:"invoiceData,omitempty"`
	// Deprecated: Use orderLineDetails instead
	Level3InterchangeInformation *LineItemLevel3InterchangeInformation `json:"level3InterchangeInformation,omitempty"`
	OrderLineDetails             *OrderLineDetails                     `json:"orderLineDetails,omitempty"`
}

LineItem represents class LineItem

func NewLineItem

func NewLineItem() *LineItem

NewLineItem constructs a new LineItem

type LineItemInvoiceData

type LineItemInvoiceData struct {
	Description        *string `json:"description,omitempty"`
	MerchantLinenumber *string `json:"merchantLinenumber,omitempty"`
	MerchantPagenumber *string `json:"merchantPagenumber,omitempty"`
	NrOfItems          *string `json:"nrOfItems,omitempty"`
	PricePerItem       *int64  `json:"pricePerItem,omitempty"`
}

LineItemInvoiceData represents class LineItemInvoiceData

func NewLineItemInvoiceData

func NewLineItemInvoiceData() *LineItemInvoiceData

NewLineItemInvoiceData constructs a new LineItemInvoiceData

type LineItemLevel3InterchangeInformation

type LineItemLevel3InterchangeInformation struct {
	DiscountAmount  *int64  `json:"discountAmount,omitempty"`
	LineAmountTotal *int64  `json:"lineAmountTotal,omitempty"`
	ProductCode     *string `json:"productCode,omitempty"`
	ProductPrice    *int64  `json:"productPrice,omitempty"`
	ProductType     *string `json:"productType,omitempty"`
	Quantity        *int64  `json:"quantity,omitempty"`
	TaxAmount       *int64  `json:"taxAmount,omitempty"`
	Unit            *string `json:"unit,omitempty"`
}

LineItemLevel3InterchangeInformation represents class LineItemLevel3InterchangeInformation

func NewLineItemLevel3InterchangeInformation

func NewLineItemLevel3InterchangeInformation() *LineItemLevel3InterchangeInformation

NewLineItemLevel3InterchangeInformation constructs a new LineItemLevel3InterchangeInformation

type LoanRecipient deprecated

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"`
}

LoanRecipient represents class LoanRecipient

Deprecated: No replacement

func NewLoanRecipient

func NewLoanRecipient() *LoanRecipient

NewLoanRecipient constructs a new LoanRecipient

type Merchant

type Merchant struct {
	ConfigurationID   *string `json:"configurationId,omitempty"`
	ContactWebsiteURL *string `json:"contactWebsiteUrl,omitempty"`
	Seller            *Seller `json:"seller,omitempty"`
	WebsiteURL        *string `json:"websiteUrl,omitempty"`
}

Merchant represents class Merchant

func NewMerchant

func NewMerchant() *Merchant

NewMerchant constructs a new Merchant

type MerchantAction

type MerchantAction struct {
	ActionType                            *string                                `json:"actionType,omitempty"`
	FormFields                            *[]product.PaymentProductField         `json:"formFields,omitempty"`
	MobileThreeDSecureChallengeParameters *MobileThreeDSecureChallengeParameters `json:"mobileThreeDSecureChallengeParameters,omitempty"`
	RedirectData                          *RedirectData                          `json:"redirectData,omitempty"`
	RenderingData                         *string                                `json:"renderingData,omitempty"`
	ShowData                              *[]definitions.KeyValuePair            `json:"showData,omitempty"`
	ThirdPartyData                        *ThirdPartyData                        `json:"thirdPartyData,omitempty"`
}

MerchantAction represents class MerchantAction

func NewMerchantAction

func NewMerchantAction() *MerchantAction

NewMerchantAction constructs a new MerchantAction

type MobilePaymentData

type MobilePaymentData struct {
	Dpan       *string `json:"dpan,omitempty"`
	ExpiryDate *string `json:"expiryDate,omitempty"`
}

MobilePaymentData represents class MobilePaymentData

func NewMobilePaymentData

func NewMobilePaymentData() *MobilePaymentData

NewMobilePaymentData constructs a new MobilePaymentData

type MobilePaymentMethodSpecificInput

type MobilePaymentMethodSpecificInput struct {
	AuthorizationMode              *string                               `json:"authorizationMode,omitempty"`
	CustomerReference              *string                               `json:"customerReference,omitempty"`
	DecryptedPaymentData           *DecryptedPaymentData                 `json:"decryptedPaymentData,omitempty"`
	EncryptedPaymentData           *string                               `json:"encryptedPaymentData,omitempty"`
	PaymentProduct320SpecificInput *MobilePaymentProduct320SpecificInput `json:"paymentProduct320SpecificInput,omitempty"`
	PaymentProductID               *int32                                `json:"paymentProductId,omitempty"`
	RequiresApproval               *bool                                 `json:"requiresApproval,omitempty"`
	SkipFraudService               *bool                                 `json:"skipFraudService,omitempty"`
}

MobilePaymentMethodSpecificInput represents class MobilePaymentMethodSpecificInput

func NewMobilePaymentMethodSpecificInput

func NewMobilePaymentMethodSpecificInput() *MobilePaymentMethodSpecificInput

NewMobilePaymentMethodSpecificInput constructs a new MobilePaymentMethodSpecificInput

type MobilePaymentMethodSpecificOutput

type MobilePaymentMethodSpecificOutput struct {
	AuthorisationCode   *string                       `json:"authorisationCode,omitempty"`
	FraudResults        *definitions.CardFraudResults `json:"fraudResults,omitempty"`
	Network             *string                       `json:"network,omitempty"`
	PaymentData         *MobilePaymentData            `json:"paymentData,omitempty"`
	PaymentProductID    *int32                        `json:"paymentProductId,omitempty"`
	ThreeDSecureResults *ThreeDSecureResults          `json:"threeDSecureResults,omitempty"`
}

MobilePaymentMethodSpecificOutput represents class MobilePaymentMethodSpecificOutput

func NewMobilePaymentMethodSpecificOutput

func NewMobilePaymentMethodSpecificOutput() *MobilePaymentMethodSpecificOutput

NewMobilePaymentMethodSpecificOutput constructs a new MobilePaymentMethodSpecificOutput

type MobilePaymentProduct320SpecificInput

type MobilePaymentProduct320SpecificInput struct {
	CardholderName *string           `json:"cardholderName,omitempty"`
	ThreeDSecure   *GPayThreeDSecure `json:"threeDSecure,omitempty"`
}

MobilePaymentProduct320SpecificInput represents class MobilePaymentProduct320SpecificInput

func NewMobilePaymentProduct320SpecificInput

func NewMobilePaymentProduct320SpecificInput() *MobilePaymentProduct320SpecificInput

NewMobilePaymentProduct320SpecificInput constructs a new MobilePaymentProduct320SpecificInput

type MobileThreeDSecureChallengeParameters

type MobileThreeDSecureChallengeParameters struct {
	AcsReferenceNumber        *string `json:"acsReferenceNumber,omitempty"`
	AcsSignedContent          *string `json:"acsSignedContent,omitempty"`
	AcsTransactionID          *string `json:"acsTransactionId,omitempty"`
	ThreeDServerTransactionID *string `json:"threeDServerTransactionId,omitempty"`
}

MobileThreeDSecureChallengeParameters represents class MobileThreeDSecureChallengeParameters

func NewMobileThreeDSecureChallengeParameters

func NewMobileThreeDSecureChallengeParameters() *MobileThreeDSecureChallengeParameters

NewMobileThreeDSecureChallengeParameters constructs a new MobileThreeDSecureChallengeParameters

type NonSepaDirectDebitPaymentMethodSpecificInput

type NonSepaDirectDebitPaymentMethodSpecificInput struct {
	DateCollect                       *string                                           `json:"dateCollect,omitempty"`
	DirectDebitText                   *string                                           `json:"directDebitText,omitempty"`
	IsRecurring                       *bool                                             `json:"isRecurring,omitempty"`
	PaymentProduct705SpecificInput    *NonSepaDirectDebitPaymentProduct705SpecificInput `json:"paymentProduct705SpecificInput,omitempty"`
	PaymentProduct730SpecificInput    *NonSepaDirectDebitPaymentProduct730SpecificInput `json:"paymentProduct730SpecificInput,omitempty"`
	PaymentProductID                  *int32                                            `json:"paymentProductId,omitempty"`
	RecurringPaymentSequenceIndicator *string                                           `json:"recurringPaymentSequenceIndicator,omitempty"`
	RequiresApproval                  *bool                                             `json:"requiresApproval,omitempty"`
	Token                             *string                                           `json:"token,omitempty"`
	Tokenize                          *bool                                             `json:"tokenize,omitempty"`
}

NonSepaDirectDebitPaymentMethodSpecificInput represents class NonSepaDirectDebitPaymentMethodSpecificInput

func NewNonSepaDirectDebitPaymentMethodSpecificInput

func NewNonSepaDirectDebitPaymentMethodSpecificInput() *NonSepaDirectDebitPaymentMethodSpecificInput

NewNonSepaDirectDebitPaymentMethodSpecificInput constructs a new NonSepaDirectDebitPaymentMethodSpecificInput

type NonSepaDirectDebitPaymentMethodSpecificOutput

type NonSepaDirectDebitPaymentMethodSpecificOutput struct {
	FraudResults     *definitions.FraudResults `json:"fraudResults,omitempty"`
	PaymentProductID *int32                    `json:"paymentProductId,omitempty"`
}

NonSepaDirectDebitPaymentMethodSpecificOutput represents class NonSepaDirectDebitPaymentMethodSpecificOutput

func NewNonSepaDirectDebitPaymentMethodSpecificOutput

func NewNonSepaDirectDebitPaymentMethodSpecificOutput() *NonSepaDirectDebitPaymentMethodSpecificOutput

NewNonSepaDirectDebitPaymentMethodSpecificOutput constructs a new NonSepaDirectDebitPaymentMethodSpecificOutput

type NonSepaDirectDebitPaymentProduct705SpecificInput

type NonSepaDirectDebitPaymentProduct705SpecificInput struct {
	AuthorisationID *string                      `json:"authorisationId,omitempty"`
	BankAccountBban *definitions.BankAccountBban `json:"bankAccountBban,omitempty"`
	TransactionType *string                      `json:"transactionType,omitempty"`
}

NonSepaDirectDebitPaymentProduct705SpecificInput represents class NonSepaDirectDebitPaymentProduct705SpecificInput

func NewNonSepaDirectDebitPaymentProduct705SpecificInput

func NewNonSepaDirectDebitPaymentProduct705SpecificInput() *NonSepaDirectDebitPaymentProduct705SpecificInput

NewNonSepaDirectDebitPaymentProduct705SpecificInput constructs a new NonSepaDirectDebitPaymentProduct705SpecificInput

type NonSepaDirectDebitPaymentProduct730SpecificInput

type NonSepaDirectDebitPaymentProduct730SpecificInput struct {
	BankAccountBban *definitions.BankAccountBban `json:"bankAccountBban,omitempty"`
}

NonSepaDirectDebitPaymentProduct730SpecificInput represents class NonSepaDirectDebitPaymentProduct730SpecificInput

func NewNonSepaDirectDebitPaymentProduct730SpecificInput

func NewNonSepaDirectDebitPaymentProduct730SpecificInput() *NonSepaDirectDebitPaymentProduct730SpecificInput

NewNonSepaDirectDebitPaymentProduct730SpecificInput constructs a new NonSepaDirectDebitPaymentProduct730SpecificInput

type Order

type Order struct {
	AdditionalInput *AdditionalOrderInput      `json:"additionalInput,omitempty"`
	AmountOfMoney   *definitions.AmountOfMoney `json:"amountOfMoney,omitempty"`
	Customer        *Customer                  `json:"customer,omitempty"`
	// Deprecated: Use shoppingCart.items instead
	Items      *[]LineItem      `json:"items,omitempty"`
	References *OrderReferences `json:"references,omitempty"`
	// Deprecated: Use Merchant.seller instead
	Seller       *Seller       `json:"seller,omitempty"`
	Shipping     *Shipping     `json:"shipping,omitempty"`
	ShoppingCart *ShoppingCart `json:"shoppingCart,omitempty"`
}

Order represents class Order

func NewOrder

func NewOrder() *Order

NewOrder constructs a new Order

type OrderApprovePayment

type OrderApprovePayment struct {
	AdditionalInput *definitions.AdditionalOrderInputAirlineData `json:"additionalInput,omitempty"`
	Customer        *CustomerApprovePayment                      `json:"customer,omitempty"`
	References      *OrderReferencesApprovePayment               `json:"references,omitempty"`
}

OrderApprovePayment represents class OrderApprovePayment

func NewOrderApprovePayment

func NewOrderApprovePayment() *OrderApprovePayment

NewOrderApprovePayment constructs a new OrderApprovePayment

type OrderInvoiceData

type OrderInvoiceData struct {
	AdditionalData *string   `json:"additionalData,omitempty"`
	InvoiceDate    *string   `json:"invoiceDate,omitempty"`
	InvoiceNumber  *string   `json:"invoiceNumber,omitempty"`
	TextQualifiers *[]string `json:"textQualifiers,omitempty"`
}

OrderInvoiceData represents class OrderInvoiceData

func NewOrderInvoiceData

func NewOrderInvoiceData() *OrderInvoiceData

NewOrderInvoiceData constructs a new OrderInvoiceData

type OrderLineDetails

type OrderLineDetails struct {
	DiscountAmount          *int64  `json:"discountAmount,omitempty"`
	GoogleProductCategoryID *int64  `json:"googleProductCategoryId,omitempty"`
	LineAmountTotal         *int64  `json:"lineAmountTotal,omitempty"`
	ProductCategory         *string `json:"productCategory,omitempty"`
	ProductCode             *string `json:"productCode,omitempty"`
	ProductName             *string `json:"productName,omitempty"`
	ProductPrice            *int64  `json:"productPrice,omitempty"`
	ProductSku              *string `json:"productSku,omitempty"`
	ProductType             *string `json:"productType,omitempty"`
	Quantity                *int64  `json:"quantity,omitempty"`
	TaxAmount               *int64  `json:"taxAmount,omitempty"`
	Unit                    *string `json:"unit,omitempty"`
}

OrderLineDetails represents class OrderLineDetails

func NewOrderLineDetails

func NewOrderLineDetails() *OrderLineDetails

NewOrderLineDetails constructs a new OrderLineDetails

type OrderOutput

type OrderOutput struct {
	AmountOfMoney *definitions.AmountOfMoney `json:"amountOfMoney,omitempty"`
	References    *References                `json:"references,omitempty"`
}

OrderOutput represents class OrderOutput

func NewOrderOutput

func NewOrderOutput() *OrderOutput

NewOrderOutput constructs a new OrderOutput

type OrderReferences

type OrderReferences struct {
	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"`
}

OrderReferences represents class OrderReferences

func NewOrderReferences

func NewOrderReferences() *OrderReferences

NewOrderReferences constructs a new OrderReferences

type OrderReferencesApprovePayment

type OrderReferencesApprovePayment struct {
	MerchantReference *string `json:"merchantReference,omitempty"`
}

OrderReferencesApprovePayment represents class OrderReferencesApprovePayment

func NewOrderReferencesApprovePayment

func NewOrderReferencesApprovePayment() *OrderReferencesApprovePayment

NewOrderReferencesApprovePayment constructs a new OrderReferencesApprovePayment

type OrderTypeInformation

type OrderTypeInformation struct {
	FundingType     *string `json:"fundingType,omitempty"`
	PurchaseType    *string `json:"purchaseType,omitempty"`
	TransactionType *string `json:"transactionType,omitempty"`
	UsageType       *string `json:"usageType,omitempty"`
}

OrderTypeInformation represents class OrderTypeInformation

func NewOrderTypeInformation

func NewOrderTypeInformation() *OrderTypeInformation

NewOrderTypeInformation constructs a new OrderTypeInformation

type Output

type Output struct {
	AmountOfMoney                              *definitions.AmountOfMoney                     `json:"amountOfMoney,omitempty"`
	AmountPaid                                 *int64                                         `json:"amountPaid,omitempty"`
	AmountReversed                             *int64                                         `json:"amountReversed,omitempty"`
	BankTransferPaymentMethodSpecificOutput    *BankTransferPaymentMethodSpecificOutput       `json:"bankTransferPaymentMethodSpecificOutput,omitempty"`
	CardPaymentMethodSpecificOutput            *CardPaymentMethodSpecificOutput               `json:"cardPaymentMethodSpecificOutput,omitempty"`
	CashPaymentMethodSpecificOutput            *CashPaymentMethodSpecificOutput               `json:"cashPaymentMethodSpecificOutput,omitempty"`
	DirectDebitPaymentMethodSpecificOutput     *NonSepaDirectDebitPaymentMethodSpecificOutput `json:"directDebitPaymentMethodSpecificOutput,omitempty"`
	EInvoicePaymentMethodSpecificOutput        *EInvoicePaymentMethodSpecificOutput           `json:"eInvoicePaymentMethodSpecificOutput,omitempty"`
	InvoicePaymentMethodSpecificOutput         *InvoicePaymentMethodSpecificOutput            `json:"invoicePaymentMethodSpecificOutput,omitempty"`
	MobilePaymentMethodSpecificOutput          *MobilePaymentMethodSpecificOutput             `json:"mobilePaymentMethodSpecificOutput,omitempty"`
	PaymentMethod                              *string                                        `json:"paymentMethod,omitempty"`
	RedirectPaymentMethodSpecificOutput        *RedirectPaymentMethodSpecificOutput           `json:"redirectPaymentMethodSpecificOutput,omitempty"`
	References                                 *References                                    `json:"references,omitempty"`
	ReversalReason                             *string                                        `json:"reversalReason,omitempty"`
	SepaDirectDebitPaymentMethodSpecificOutput *SepaDirectDebitPaymentMethodSpecificOutput    `json:"sepaDirectDebitPaymentMethodSpecificOutput,omitempty"`
}

Output represents class PaymentOutput

func NewOutput

func NewOutput() *Output

NewOutput constructs a new Output

type Payment

type Payment struct {
	HostedCheckoutSpecificOutput *HostedCheckoutSpecificOutput `json:"hostedCheckoutSpecificOutput,omitempty"`
	ID                           *string                       `json:"id,omitempty"`
	PaymentOutput                *Output                       `json:"paymentOutput,omitempty"`
	Status                       *string                       `json:"status,omitempty"`
	StatusOutput                 *StatusOutput                 `json:"statusOutput,omitempty"`
}

Payment represents class Payment

func NewPayment

func NewPayment() *Payment

NewPayment constructs a new Payment

type PersonalIdentification

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

PersonalIdentification represents class PersonalIdentification

func NewPersonalIdentification

func NewPersonalIdentification() *PersonalIdentification

NewPersonalIdentification constructs a new PersonalIdentification

type PersonalInformation

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

PersonalInformation represents class PersonalInformation

func NewPersonalInformation

func NewPersonalInformation() *PersonalInformation

NewPersonalInformation constructs a new PersonalInformation

type PersonalName

type PersonalName struct {
	FirstName     *string `json:"firstName,omitempty"`
	Surname       *string `json:"surname,omitempty"`
	SurnamePrefix *string `json:"surnamePrefix,omitempty"`
	Title         *string `json:"title,omitempty"`
}

PersonalName represents class PersonalName

func NewPersonalName

func NewPersonalName() *PersonalName

NewPersonalName constructs a new PersonalName

type Product3201SpecificOutput

type Product3201SpecificOutput struct {
	Card *definitions.CardEssentials `json:"card,omitempty"`
}

Product3201SpecificOutput represents class PaymentProduct3201SpecificOutput

func NewProduct3201SpecificOutput

func NewProduct3201SpecificOutput() *Product3201SpecificOutput

NewProduct3201SpecificOutput constructs a new Product3201SpecificOutput

type Product771SpecificOutput

type Product771SpecificOutput struct {
	MandateReference *string `json:"mandateReference,omitempty"`
}

Product771SpecificOutput represents class PaymentProduct771SpecificOutput

func NewProduct771SpecificOutput

func NewProduct771SpecificOutput() *Product771SpecificOutput

NewProduct771SpecificOutput constructs a new Product771SpecificOutput

type Product806SpecificOutput

type Product806SpecificOutput struct {
	BillingAddress  *definitions.Address `json:"billingAddress,omitempty"`
	CustomerAccount *TrustlyBankAccount  `json:"customerAccount,omitempty"`
}

Product806SpecificOutput represents class PaymentProduct806SpecificOutput

func NewProduct806SpecificOutput

func NewProduct806SpecificOutput() *Product806SpecificOutput

NewProduct806SpecificOutput constructs a new Product806SpecificOutput

type Product836SpecificOutput

type Product836SpecificOutput struct {
	SecurityIndicator *string `json:"securityIndicator,omitempty"`
}

Product836SpecificOutput represents class PaymentProduct836SpecificOutput

func NewProduct836SpecificOutput

func NewProduct836SpecificOutput() *Product836SpecificOutput

NewProduct836SpecificOutput constructs a new Product836SpecificOutput

type Product840CustomerAccount

type Product840CustomerAccount struct {
	AccountID             *string `json:"accountId,omitempty"`
	BillingAgreementID    *string `json:"billingAgreementId,omitempty"`
	CompanyName           *string `json:"companyName,omitempty"`
	ContactPhone          *string `json:"contactPhone,omitempty"`
	CountryCode           *string `json:"countryCode,omitempty"`
	CustomerAccountStatus *string `json:"customerAccountStatus,omitempty"`
	CustomerAddressStatus *string `json:"customerAddressStatus,omitempty"`
	FirstName             *string `json:"firstName,omitempty"`
	PayerID               *string `json:"payerId,omitempty"`
	Surname               *string `json:"surname,omitempty"`
}

Product840CustomerAccount represents class PaymentProduct840CustomerAccount

func NewProduct840CustomerAccount

func NewProduct840CustomerAccount() *Product840CustomerAccount

NewProduct840CustomerAccount constructs a new Product840CustomerAccount

type Product840SpecificOutput

type Product840SpecificOutput struct {
	BillingAddress        *definitions.Address       `json:"billingAddress,omitempty"`
	CustomerAccount       *Product840CustomerAccount `json:"customerAccount,omitempty"`
	CustomerAddress       *definitions.Address       `json:"customerAddress,omitempty"`
	ProtectionEligibility *ProtectionEligibility     `json:"protectionEligibility,omitempty"`
}

Product840SpecificOutput represents class PaymentProduct840SpecificOutput

func NewProduct840SpecificOutput

func NewProduct840SpecificOutput() *Product840SpecificOutput

NewProduct840SpecificOutput constructs a new Product840SpecificOutput

type Product863ThirdPartyData

type Product863ThirdPartyData struct {
	AppID       *string `json:"appId,omitempty"`
	NonceStr    *string `json:"nonceStr,omitempty"`
	PackageSign *string `json:"packageSign,omitempty"`
	PaySign     *string `json:"paySign,omitempty"`
	PrepayID    *string `json:"prepayId,omitempty"`
	SignType    *string `json:"signType,omitempty"`
	TimeStamp   *string `json:"timeStamp,omitempty"`
}

Product863ThirdPartyData represents class PaymentProduct863ThirdPartyData

func NewProduct863ThirdPartyData

func NewProduct863ThirdPartyData() *Product863ThirdPartyData

NewProduct863ThirdPartyData constructs a new Product863ThirdPartyData

type ProtectionEligibility

type ProtectionEligibility struct {
	Eligibility *string `json:"eligibility,omitempty"`
	Type        *string `json:"type,omitempty"`
}

ProtectionEligibility represents class ProtectionEligibility

func NewProtectionEligibility

func NewProtectionEligibility() *ProtectionEligibility

NewProtectionEligibility constructs a new ProtectionEligibility

type RedirectData

type RedirectData struct {
	RETURNMAC   *string `json:"RETURNMAC,omitempty"`
	RedirectURL *string `json:"redirectURL,omitempty"`
}

RedirectData represents class RedirectData

func NewRedirectData

func NewRedirectData() *RedirectData

NewRedirectData constructs a new RedirectData

type RedirectPaymentMethodSpecificInput

type RedirectPaymentMethodSpecificInput struct {
	ExpirationPeriod                  *int32                                   `json:"expirationPeriod,omitempty"`
	IsRecurring                       *bool                                    `json:"isRecurring,omitempty"`
	PaymentProduct4101SpecificInput   *RedirectPaymentProduct4101SpecificInput `json:"paymentProduct4101SpecificInput,omitempty"`
	PaymentProduct809SpecificInput    *RedirectPaymentProduct809SpecificInput  `json:"paymentProduct809SpecificInput,omitempty"`
	PaymentProduct816SpecificInput    *RedirectPaymentProduct816SpecificInput  `json:"paymentProduct816SpecificInput,omitempty"`
	PaymentProduct840SpecificInput    *RedirectPaymentProduct840SpecificInput  `json:"paymentProduct840SpecificInput,omitempty"`
	PaymentProduct861SpecificInput    *RedirectPaymentProduct861SpecificInput  `json:"paymentProduct861SpecificInput,omitempty"`
	PaymentProduct863SpecificInput    *RedirectPaymentProduct863SpecificInput  `json:"paymentProduct863SpecificInput,omitempty"`
	PaymentProduct869SpecificInput    *RedirectPaymentProduct869SpecificInput  `json:"paymentProduct869SpecificInput,omitempty"`
	PaymentProduct882SpecificInput    *RedirectPaymentProduct882SpecificInput  `json:"paymentProduct882SpecificInput,omitempty"`
	PaymentProductID                  *int32                                   `json:"paymentProductId,omitempty"`
	RecurringPaymentSequenceIndicator *string                                  `json:"recurringPaymentSequenceIndicator,omitempty"`
	RedirectionData                   *RedirectionData                         `json:"redirectionData,omitempty"`
	RequiresApproval                  *bool                                    `json:"requiresApproval,omitempty"`
	// Deprecated: Use redirectionData.returnUrl instead
	ReturnURL *string `json:"returnUrl,omitempty"`
	Token     *string `json:"token,omitempty"`
	Tokenize  *bool   `json:"tokenize,omitempty"`
}

RedirectPaymentMethodSpecificInput represents class RedirectPaymentMethodSpecificInput

func NewRedirectPaymentMethodSpecificInput

func NewRedirectPaymentMethodSpecificInput() *RedirectPaymentMethodSpecificInput

NewRedirectPaymentMethodSpecificInput constructs a new RedirectPaymentMethodSpecificInput

type RedirectPaymentMethodSpecificInputBase

type RedirectPaymentMethodSpecificInputBase struct {
	ExpirationPeriod                  *int32                                       `json:"expirationPeriod,omitempty"`
	PaymentProduct4101SpecificInput   *RedirectPaymentProduct4101SpecificInputBase `json:"paymentProduct4101SpecificInput,omitempty"`
	PaymentProduct840SpecificInput    *RedirectPaymentProduct840SpecificInputBase  `json:"paymentProduct840SpecificInput,omitempty"`
	PaymentProductID                  *int32                                       `json:"paymentProductId,omitempty"`
	RecurringPaymentSequenceIndicator *string                                      `json:"recurringPaymentSequenceIndicator,omitempty"`
	RequiresApproval                  *bool                                        `json:"requiresApproval,omitempty"`
	Token                             *string                                      `json:"token,omitempty"`
	Tokenize                          *bool                                        `json:"tokenize,omitempty"`
}

RedirectPaymentMethodSpecificInputBase represents class RedirectPaymentMethodSpecificInputBase

func NewRedirectPaymentMethodSpecificInputBase

func NewRedirectPaymentMethodSpecificInputBase() *RedirectPaymentMethodSpecificInputBase

NewRedirectPaymentMethodSpecificInputBase constructs a new RedirectPaymentMethodSpecificInputBase

type RedirectPaymentMethodSpecificOutput

type RedirectPaymentMethodSpecificOutput struct {
	BankAccountBban                  *definitions.BankAccountBban `json:"bankAccountBban,omitempty"`
	BankAccountIban                  *definitions.BankAccountIban `json:"bankAccountIban,omitempty"`
	Bic                              *string                      `json:"bic,omitempty"`
	FraudResults                     *definitions.FraudResults    `json:"fraudResults,omitempty"`
	PaymentProduct3201SpecificOutput *Product3201SpecificOutput   `json:"paymentProduct3201SpecificOutput,omitempty"`
	PaymentProduct806SpecificOutput  *Product806SpecificOutput    `json:"paymentProduct806SpecificOutput,omitempty"`
	PaymentProduct836SpecificOutput  *Product836SpecificOutput    `json:"paymentProduct836SpecificOutput,omitempty"`
	PaymentProduct840SpecificOutput  *Product840SpecificOutput    `json:"paymentProduct840SpecificOutput,omitempty"`
	PaymentProductID                 *int32                       `json:"paymentProductId,omitempty"`
	Token                            *string                      `json:"token,omitempty"`
}

RedirectPaymentMethodSpecificOutput represents class RedirectPaymentMethodSpecificOutput

func NewRedirectPaymentMethodSpecificOutput

func NewRedirectPaymentMethodSpecificOutput() *RedirectPaymentMethodSpecificOutput

NewRedirectPaymentMethodSpecificOutput constructs a new RedirectPaymentMethodSpecificOutput

type RedirectPaymentProduct4101SpecificInput

type RedirectPaymentProduct4101SpecificInput struct {
	DisplayName           *string `json:"displayName,omitempty"`
	IntegrationType       *string `json:"integrationType,omitempty"`
	VirtualPaymentAddress *string `json:"virtualPaymentAddress,omitempty"`
}

RedirectPaymentProduct4101SpecificInput represents class RedirectPaymentProduct4101SpecificInput

func NewRedirectPaymentProduct4101SpecificInput

func NewRedirectPaymentProduct4101SpecificInput() *RedirectPaymentProduct4101SpecificInput

NewRedirectPaymentProduct4101SpecificInput constructs a new RedirectPaymentProduct4101SpecificInput

type RedirectPaymentProduct4101SpecificInputBase

type RedirectPaymentProduct4101SpecificInputBase struct {
	DisplayName *string `json:"displayName,omitempty"`
}

RedirectPaymentProduct4101SpecificInputBase represents class RedirectPaymentProduct4101SpecificInputBase

func NewRedirectPaymentProduct4101SpecificInputBase

func NewRedirectPaymentProduct4101SpecificInputBase() *RedirectPaymentProduct4101SpecificInputBase

NewRedirectPaymentProduct4101SpecificInputBase constructs a new RedirectPaymentProduct4101SpecificInputBase

type RedirectPaymentProduct809SpecificInput

type RedirectPaymentProduct809SpecificInput struct {
	// Deprecated: Use RedirectPaymentMethodSpecificInput.expirationPeriod instead
	ExpirationPeriod *string `json:"expirationPeriod,omitempty"`
	IssuerID         *string `json:"issuerId,omitempty"`
}

RedirectPaymentProduct809SpecificInput represents class RedirectPaymentProduct809SpecificInput

func NewRedirectPaymentProduct809SpecificInput

func NewRedirectPaymentProduct809SpecificInput() *RedirectPaymentProduct809SpecificInput

NewRedirectPaymentProduct809SpecificInput constructs a new RedirectPaymentProduct809SpecificInput

type RedirectPaymentProduct816SpecificInput

type RedirectPaymentProduct816SpecificInput struct {
	BankAccountIban *definitions.BankAccountIban `json:"bankAccountIban,omitempty"`
}

RedirectPaymentProduct816SpecificInput represents class RedirectPaymentProduct816SpecificInput

func NewRedirectPaymentProduct816SpecificInput

func NewRedirectPaymentProduct816SpecificInput() *RedirectPaymentProduct816SpecificInput

NewRedirectPaymentProduct816SpecificInput constructs a new RedirectPaymentProduct816SpecificInput

type RedirectPaymentProduct840SpecificInput

type RedirectPaymentProduct840SpecificInput struct {
	AddressSelectionAtPayPal *bool `json:"addressSelectionAtPayPal,omitempty"`
	// Deprecated: Use Order.references.descriptor instead
	Custom     *string `json:"custom,omitempty"`
	IsShortcut *bool   `json:"isShortcut,omitempty"`
}

RedirectPaymentProduct840SpecificInput represents class RedirectPaymentProduct840SpecificInput

func NewRedirectPaymentProduct840SpecificInput

func NewRedirectPaymentProduct840SpecificInput() *RedirectPaymentProduct840SpecificInput

NewRedirectPaymentProduct840SpecificInput constructs a new RedirectPaymentProduct840SpecificInput

type RedirectPaymentProduct840SpecificInputBase

type RedirectPaymentProduct840SpecificInputBase struct {
	AddressSelectionAtPayPal *bool `json:"addressSelectionAtPayPal,omitempty"`
}

RedirectPaymentProduct840SpecificInputBase represents class RedirectPaymentProduct840SpecificInputBase

func NewRedirectPaymentProduct840SpecificInputBase

func NewRedirectPaymentProduct840SpecificInputBase() *RedirectPaymentProduct840SpecificInputBase

NewRedirectPaymentProduct840SpecificInputBase constructs a new RedirectPaymentProduct840SpecificInputBase

type RedirectPaymentProduct861SpecificInput

type RedirectPaymentProduct861SpecificInput struct {
	MobileDevice *bool `json:"mobileDevice,omitempty"`
}

RedirectPaymentProduct861SpecificInput represents class RedirectPaymentProduct861SpecificInput

func NewRedirectPaymentProduct861SpecificInput

func NewRedirectPaymentProduct861SpecificInput() *RedirectPaymentProduct861SpecificInput

NewRedirectPaymentProduct861SpecificInput constructs a new RedirectPaymentProduct861SpecificInput

type RedirectPaymentProduct863SpecificInput

type RedirectPaymentProduct863SpecificInput struct {
	IntegrationType *string `json:"integrationType,omitempty"`
	OpenID          *string `json:"openId,omitempty"`
}

RedirectPaymentProduct863SpecificInput represents class RedirectPaymentProduct863SpecificInput

func NewRedirectPaymentProduct863SpecificInput

func NewRedirectPaymentProduct863SpecificInput() *RedirectPaymentProduct863SpecificInput

NewRedirectPaymentProduct863SpecificInput constructs a new RedirectPaymentProduct863SpecificInput

type RedirectPaymentProduct869SpecificInput

type RedirectPaymentProduct869SpecificInput struct {
	IssuerID         *string `json:"issuerId,omitempty"`
	ResidentIDName   *string `json:"residentIdName,omitempty"`
	ResidentIDNumber *string `json:"residentIdNumber,omitempty"`
}

RedirectPaymentProduct869SpecificInput represents class RedirectPaymentProduct869SpecificInput

func NewRedirectPaymentProduct869SpecificInput

func NewRedirectPaymentProduct869SpecificInput() *RedirectPaymentProduct869SpecificInput

NewRedirectPaymentProduct869SpecificInput constructs a new RedirectPaymentProduct869SpecificInput

type RedirectPaymentProduct882SpecificInput

type RedirectPaymentProduct882SpecificInput struct {
	IssuerID *string `json:"issuerId,omitempty"`
}

RedirectPaymentProduct882SpecificInput represents class RedirectPaymentProduct882SpecificInput

func NewRedirectPaymentProduct882SpecificInput

func NewRedirectPaymentProduct882SpecificInput() *RedirectPaymentProduct882SpecificInput

NewRedirectPaymentProduct882SpecificInput constructs a new RedirectPaymentProduct882SpecificInput

type RedirectionData

type RedirectionData struct {
	ReturnURL *string `json:"returnUrl,omitempty"`
	Variant   *string `json:"variant,omitempty"`
}

RedirectionData represents class RedirectionData

func NewRedirectionData

func NewRedirectionData() *RedirectionData

NewRedirectionData constructs a new RedirectionData

type References

type References struct {
	MerchantOrderID      *int64  `json:"merchantOrderId,omitempty"`
	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"`
}

References represents class PaymentReferences

func NewReferences

func NewReferences() *References

NewReferences constructs a new References

type RefundBankMethodSpecificOutput

type RefundBankMethodSpecificOutput struct {
	RefundProductID     *int32 `json:"refundProductId,omitempty"`
	TotalAmountPaid     *int64 `json:"totalAmountPaid,omitempty"`
	TotalAmountRefunded *int64 `json:"totalAmountRefunded,omitempty"`
}

RefundBankMethodSpecificOutput represents class RefundBankMethodSpecificOutput

func NewRefundBankMethodSpecificOutput

func NewRefundBankMethodSpecificOutput() *RefundBankMethodSpecificOutput

NewRefundBankMethodSpecificOutput constructs a new RefundBankMethodSpecificOutput

type RefundCardMethodSpecificOutput

type RefundCardMethodSpecificOutput struct {
	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"`
}

RefundCardMethodSpecificOutput represents class RefundCardMethodSpecificOutput

func NewRefundCardMethodSpecificOutput

func NewRefundCardMethodSpecificOutput() *RefundCardMethodSpecificOutput

NewRefundCardMethodSpecificOutput constructs a new RefundCardMethodSpecificOutput

type RefundCashMethodSpecificOutput

type RefundCashMethodSpecificOutput struct {
	RefundProductID     *int32 `json:"refundProductId,omitempty"`
	TotalAmountPaid     *int64 `json:"totalAmountPaid,omitempty"`
	TotalAmountRefunded *int64 `json:"totalAmountRefunded,omitempty"`
}

RefundCashMethodSpecificOutput represents class RefundCashMethodSpecificOutput

func NewRefundCashMethodSpecificOutput

func NewRefundCashMethodSpecificOutput() *RefundCashMethodSpecificOutput

NewRefundCashMethodSpecificOutput constructs a new RefundCashMethodSpecificOutput

type RefundEInvoiceMethodSpecificOutput

type RefundEInvoiceMethodSpecificOutput struct {
	RefundProductID     *int32 `json:"refundProductId,omitempty"`
	TotalAmountPaid     *int64 `json:"totalAmountPaid,omitempty"`
	TotalAmountRefunded *int64 `json:"totalAmountRefunded,omitempty"`
}

RefundEInvoiceMethodSpecificOutput represents class RefundEInvoiceMethodSpecificOutput

func NewRefundEInvoiceMethodSpecificOutput

func NewRefundEInvoiceMethodSpecificOutput() *RefundEInvoiceMethodSpecificOutput

NewRefundEInvoiceMethodSpecificOutput constructs a new RefundEInvoiceMethodSpecificOutput

type RefundEWalletMethodSpecificOutput

type RefundEWalletMethodSpecificOutput struct {
	PaymentProduct840SpecificOutput *RefundPaymentProduct840SpecificOutput `json:"paymentProduct840SpecificOutput,omitempty"`
	RefundProductID                 *int32                                 `json:"refundProductId,omitempty"`
	TotalAmountPaid                 *int64                                 `json:"totalAmountPaid,omitempty"`
	TotalAmountRefunded             *int64                                 `json:"totalAmountRefunded,omitempty"`
}

RefundEWalletMethodSpecificOutput represents class RefundEWalletMethodSpecificOutput

func NewRefundEWalletMethodSpecificOutput

func NewRefundEWalletMethodSpecificOutput() *RefundEWalletMethodSpecificOutput

NewRefundEWalletMethodSpecificOutput constructs a new RefundEWalletMethodSpecificOutput

type RefundMobileMethodSpecificOutput

type RefundMobileMethodSpecificOutput struct {
	Network             *string `json:"network,omitempty"`
	RefundProductID     *int32  `json:"refundProductId,omitempty"`
	TotalAmountPaid     *int64  `json:"totalAmountPaid,omitempty"`
	TotalAmountRefunded *int64  `json:"totalAmountRefunded,omitempty"`
}

RefundMobileMethodSpecificOutput represents class RefundMobileMethodSpecificOutput

func NewRefundMobileMethodSpecificOutput

func NewRefundMobileMethodSpecificOutput() *RefundMobileMethodSpecificOutput

NewRefundMobileMethodSpecificOutput constructs a new RefundMobileMethodSpecificOutput

type RefundOutput

type RefundOutput struct {
	AmountOfMoney                      *definitions.AmountOfMoney          `json:"amountOfMoney,omitempty"`
	AmountPaid                         *int64                              `json:"amountPaid,omitempty"`
	BankRefundMethodSpecificOutput     *RefundBankMethodSpecificOutput     `json:"bankRefundMethodSpecificOutput,omitempty"`
	CardRefundMethodSpecificOutput     *RefundCardMethodSpecificOutput     `json:"cardRefundMethodSpecificOutput,omitempty"`
	CashRefundMethodSpecificOutput     *RefundCashMethodSpecificOutput     `json:"cashRefundMethodSpecificOutput,omitempty"`
	EInvoiceRefundMethodSpecificOutput *RefundEInvoiceMethodSpecificOutput `json:"eInvoiceRefundMethodSpecificOutput,omitempty"`
	EWalletRefundMethodSpecificOutput  *RefundEWalletMethodSpecificOutput  `json:"eWalletRefundMethodSpecificOutput,omitempty"`
	MobileRefundMethodSpecificOutput   *RefundMobileMethodSpecificOutput   `json:"mobileRefundMethodSpecificOutput,omitempty"`
	PaymentMethod                      *string                             `json:"paymentMethod,omitempty"`
	References                         *References                         `json:"references,omitempty"`
}

RefundOutput represents class RefundOutput

func NewRefundOutput

func NewRefundOutput() *RefundOutput

NewRefundOutput constructs a new RefundOutput

type RefundPaymentProduct840CustomerAccount

type RefundPaymentProduct840CustomerAccount struct {
	CustomerAccountStatus *string `json:"customerAccountStatus,omitempty"`
	CustomerAddressStatus *string `json:"customerAddressStatus,omitempty"`
	PayerID               *string `json:"payerId,omitempty"`
}

RefundPaymentProduct840CustomerAccount represents class RefundPaymentProduct840CustomerAccount

func NewRefundPaymentProduct840CustomerAccount

func NewRefundPaymentProduct840CustomerAccount() *RefundPaymentProduct840CustomerAccount

NewRefundPaymentProduct840CustomerAccount constructs a new RefundPaymentProduct840CustomerAccount

type RefundPaymentProduct840SpecificOutput

type RefundPaymentProduct840SpecificOutput struct {
	CustomerAccount *RefundPaymentProduct840CustomerAccount `json:"customerAccount,omitempty"`
}

RefundPaymentProduct840SpecificOutput represents class RefundPaymentProduct840SpecificOutput

func NewRefundPaymentProduct840SpecificOutput

func NewRefundPaymentProduct840SpecificOutput() *RefundPaymentProduct840SpecificOutput

NewRefundPaymentProduct840SpecificOutput constructs a new RefundPaymentProduct840SpecificOutput

type Response

type Response struct {
	HostedCheckoutSpecificOutput *HostedCheckoutSpecificOutput `json:"hostedCheckoutSpecificOutput,omitempty"`
	ID                           *string                       `json:"id,omitempty"`
	PaymentOutput                *Output                       `json:"paymentOutput,omitempty"`
	Status                       *string                       `json:"status,omitempty"`
	StatusOutput                 *StatusOutput                 `json:"statusOutput,omitempty"`
}

Response represents class PaymentResponse

func NewResponse

func NewResponse() *Response

NewResponse constructs a new Response

type SchemeTokenData

type SchemeTokenData struct {
	CardholderName  *string `json:"cardholderName,omitempty"`
	Cryptogram      *string `json:"cryptogram,omitempty"`
	Eci             *string `json:"eci,omitempty"`
	NetworkToken    *string `json:"networkToken,omitempty"`
	TokenExpiryDate *string `json:"tokenExpiryDate,omitempty"`
}

SchemeTokenData represents class SchemeTokenData

func NewSchemeTokenData

func NewSchemeTokenData() *SchemeTokenData

NewSchemeTokenData constructs a new SchemeTokenData

type SdkDataInput

type SdkDataInput struct {
	DeviceRenderOptions   *DeviceRenderOptions `json:"deviceRenderOptions,omitempty"`
	SdkAppID              *string              `json:"sdkAppId,omitempty"`
	SdkEncryptedData      *string              `json:"sdkEncryptedData,omitempty"`
	SdkEphemeralPublicKey *string              `json:"sdkEphemeralPublicKey,omitempty"`
	SdkMaxTimeout         *string              `json:"sdkMaxTimeout,omitempty"`
	SdkReferenceNumber    *string              `json:"sdkReferenceNumber,omitempty"`
	SdkTransactionID      *string              `json:"sdkTransactionId,omitempty"`
}

SdkDataInput represents class SdkDataInput

func NewSdkDataInput

func NewSdkDataInput() *SdkDataInput

NewSdkDataInput constructs a new SdkDataInput

type SdkDataOutput

type SdkDataOutput struct {
	SdkTransactionID *string `json:"sdkTransactionId,omitempty"`
}

SdkDataOutput represents class SdkDataOutput

func NewSdkDataOutput

func NewSdkDataOutput() *SdkDataOutput

NewSdkDataOutput constructs a new SdkDataOutput

type Seller

type Seller struct {
	Address             *definitions.Address `json:"address,omitempty"`
	ChannelCode         *string              `json:"channelCode,omitempty"`
	Description         *string              `json:"description,omitempty"`
	ExternalReferenceID *string              `json:"externalReferenceId,omitempty"`
	Geocode             *string              `json:"geocode,omitempty"`
	ID                  *string              `json:"id,omitempty"`
	InvoiceNumber       *string              `json:"invoiceNumber,omitempty"`
	IsForeignRetailer   *bool                `json:"isForeignRetailer,omitempty"`
	Mcc                 *string              `json:"mcc,omitempty"`
	Name                *string              `json:"name,omitempty"`
	PhoneNumber         *string              `json:"phoneNumber,omitempty"`
	Type                *string              `json:"type,omitempty"`
}

Seller represents class Seller

func NewSeller

func NewSeller() *Seller

NewSeller constructs a new Seller

type SepaDirectDebitPaymentMethodSpecificInput

type SepaDirectDebitPaymentMethodSpecificInput struct {
	DateCollect                       *string                                        `json:"dateCollect,omitempty"`
	DirectDebitText                   *string                                        `json:"directDebitText,omitempty"`
	IsRecurring                       *bool                                          `json:"isRecurring,omitempty"`
	PaymentProduct771SpecificInput    *SepaDirectDebitPaymentProduct771SpecificInput `json:"paymentProduct771SpecificInput,omitempty"`
	PaymentProductID                  *int32                                         `json:"paymentProductId,omitempty"`
	RecurringPaymentSequenceIndicator *string                                        `json:"recurringPaymentSequenceIndicator,omitempty"`
	RequiresApproval                  *bool                                          `json:"requiresApproval,omitempty"`
	Token                             *string                                        `json:"token,omitempty"`
	Tokenize                          *bool                                          `json:"tokenize,omitempty"`
}

SepaDirectDebitPaymentMethodSpecificInput represents class SepaDirectDebitPaymentMethodSpecificInput

func NewSepaDirectDebitPaymentMethodSpecificInput

func NewSepaDirectDebitPaymentMethodSpecificInput() *SepaDirectDebitPaymentMethodSpecificInput

NewSepaDirectDebitPaymentMethodSpecificInput constructs a new SepaDirectDebitPaymentMethodSpecificInput

type SepaDirectDebitPaymentMethodSpecificInputBase

type SepaDirectDebitPaymentMethodSpecificInputBase struct {
	PaymentProduct771SpecificInput *SepaDirectDebitPaymentProduct771SpecificInputBase `json:"paymentProduct771SpecificInput,omitempty"`
	PaymentProductID               *int32                                             `json:"paymentProductId,omitempty"`
}

SepaDirectDebitPaymentMethodSpecificInputBase represents class SepaDirectDebitPaymentMethodSpecificInputBase

func NewSepaDirectDebitPaymentMethodSpecificInputBase

func NewSepaDirectDebitPaymentMethodSpecificInputBase() *SepaDirectDebitPaymentMethodSpecificInputBase

NewSepaDirectDebitPaymentMethodSpecificInputBase constructs a new SepaDirectDebitPaymentMethodSpecificInputBase

type SepaDirectDebitPaymentMethodSpecificOutput

type SepaDirectDebitPaymentMethodSpecificOutput struct {
	FraudResults                    *definitions.FraudResults `json:"fraudResults,omitempty"`
	PaymentProduct771SpecificOutput *Product771SpecificOutput `json:"paymentProduct771SpecificOutput,omitempty"`
	PaymentProductID                *int32                    `json:"paymentProductId,omitempty"`
	Token                           *string                   `json:"token,omitempty"`
}

SepaDirectDebitPaymentMethodSpecificOutput represents class SepaDirectDebitPaymentMethodSpecificOutput

func NewSepaDirectDebitPaymentMethodSpecificOutput

func NewSepaDirectDebitPaymentMethodSpecificOutput() *SepaDirectDebitPaymentMethodSpecificOutput

NewSepaDirectDebitPaymentMethodSpecificOutput constructs a new SepaDirectDebitPaymentMethodSpecificOutput

type SepaDirectDebitPaymentProduct771SpecificInput

type SepaDirectDebitPaymentProduct771SpecificInput struct {
	ExistingUniqueMandateReference *string                              `json:"existingUniqueMandateReference,omitempty"`
	Mandate                        *mandates.CreateMandateWithReturnURL `json:"mandate,omitempty"`
	// Deprecated: Use existingUniqueMandateReference or mandate.uniqueMandateReference instead
	MandateReference *string `json:"mandateReference,omitempty"`
}

SepaDirectDebitPaymentProduct771SpecificInput represents class SepaDirectDebitPaymentProduct771SpecificInput

func NewSepaDirectDebitPaymentProduct771SpecificInput

func NewSepaDirectDebitPaymentProduct771SpecificInput() *SepaDirectDebitPaymentProduct771SpecificInput

NewSepaDirectDebitPaymentProduct771SpecificInput constructs a new SepaDirectDebitPaymentProduct771SpecificInput

type SepaDirectDebitPaymentProduct771SpecificInputBase

type SepaDirectDebitPaymentProduct771SpecificInputBase struct {
	ExistingUniqueMandateReference *string                     `json:"existingUniqueMandateReference,omitempty"`
	Mandate                        *mandates.CreateMandateBase `json:"mandate,omitempty"`
	// Deprecated: Use existingUniqueMandateReference or mandate.uniqueMandateReference instead
	MandateReference *string `json:"mandateReference,omitempty"`
}

SepaDirectDebitPaymentProduct771SpecificInputBase represents class SepaDirectDebitPaymentProduct771SpecificInputBase

func NewSepaDirectDebitPaymentProduct771SpecificInputBase

func NewSepaDirectDebitPaymentProduct771SpecificInputBase() *SepaDirectDebitPaymentProduct771SpecificInputBase

NewSepaDirectDebitPaymentProduct771SpecificInputBase constructs a new SepaDirectDebitPaymentProduct771SpecificInputBase

type Shipping

type Shipping struct {
	Address          *AddressPersonal `json:"address,omitempty"`
	AddressIndicator *string          `json:"addressIndicator,omitempty"`
	Comments         *string          `json:"comments,omitempty"`
	EmailAddress     *string          `json:"emailAddress,omitempty"`
	FirstUsageDate   *string          `json:"firstUsageDate,omitempty"`
	IsFirstUsage     *bool            `json:"isFirstUsage,omitempty"`
	TrackingNumber   *string          `json:"trackingNumber,omitempty"`
	Type             *string          `json:"type,omitempty"`
}

Shipping represents class Shipping

func NewShipping

func NewShipping() *Shipping

NewShipping constructs a new Shipping

type ShoppingCart

type ShoppingCart struct {
	AmountBreakdown              *[]AmountBreakdown `json:"amountBreakdown,omitempty"`
	GiftCardPurchase             *GiftCardPurchase  `json:"giftCardPurchase,omitempty"`
	IsPreOrder                   *bool              `json:"isPreOrder,omitempty"`
	Items                        *[]LineItem        `json:"items,omitempty"`
	PreOrderItemAvailabilityDate *string            `json:"preOrderItemAvailabilityDate,omitempty"`
	ReOrderIndicator             *bool              `json:"reOrderIndicator,omitempty"`
}

ShoppingCart represents class ShoppingCart

func NewShoppingCart

func NewShoppingCart() *ShoppingCart

NewShoppingCart constructs a new ShoppingCart

type StatusOutput

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"`
	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"`
}

StatusOutput represents class PaymentStatusOutput

func NewStatusOutput

func NewStatusOutput() *StatusOutput

NewStatusOutput constructs a new StatusOutput

type ThirdPartyData

type ThirdPartyData struct {
	PaymentProduct863 *Product863ThirdPartyData `json:"paymentProduct863,omitempty"`
}

ThirdPartyData represents class ThirdPartyData

func NewThirdPartyData

func NewThirdPartyData() *ThirdPartyData

NewThirdPartyData constructs a new ThirdPartyData

type ThirdPartyStatusResponse

type ThirdPartyStatusResponse struct {
	ThirdPartyStatus *string `json:"thirdPartyStatus,omitempty"`
}

ThirdPartyStatusResponse represents class ThirdPartyStatusResponse

func NewThirdPartyStatusResponse

func NewThirdPartyStatusResponse() *ThirdPartyStatusResponse

NewThirdPartyStatusResponse constructs a new ThirdPartyStatusResponse

type ThreeDSecure

type ThreeDSecure struct {
	AuthenticationAmount                 *definitions.AmountOfMoney            `json:"authenticationAmount,omitempty"`
	AuthenticationFlow                   *string                               `json:"authenticationFlow,omitempty"`
	ChallengeCanvasSize                  *string                               `json:"challengeCanvasSize,omitempty"`
	ChallengeIndicator                   *string                               `json:"challengeIndicator,omitempty"`
	ExemptionRequest                     *string                               `json:"exemptionRequest,omitempty"`
	ExternalCardholderAuthenticationData *ExternalCardholderAuthenticationData `json:"externalCardholderAuthenticationData,omitempty"`
	PriorThreeDSecureData                *ThreeDSecureData                     `json:"priorThreeDSecureData,omitempty"`
	RedirectionData                      *RedirectionData                      `json:"redirectionData,omitempty"`
	SdkData                              *SdkDataInput                         `json:"sdkData,omitempty"`
	SkipAuthentication                   *bool                                 `json:"skipAuthentication,omitempty"`
	TransactionRiskLevel                 *string                               `json:"transactionRiskLevel,omitempty"`
}

ThreeDSecure represents class ThreeDSecure

func NewThreeDSecure

func NewThreeDSecure() *ThreeDSecure

NewThreeDSecure constructs a new ThreeDSecure

type ThreeDSecureBase

type ThreeDSecureBase struct {
	AuthenticationAmount  *definitions.AmountOfMoney `json:"authenticationAmount,omitempty"`
	AuthenticationFlow    *string                    `json:"authenticationFlow,omitempty"`
	ChallengeCanvasSize   *string                    `json:"challengeCanvasSize,omitempty"`
	ChallengeIndicator    *string                    `json:"challengeIndicator,omitempty"`
	ExemptionRequest      *string                    `json:"exemptionRequest,omitempty"`
	PriorThreeDSecureData *ThreeDSecureData          `json:"priorThreeDSecureData,omitempty"`
	SdkData               *SdkDataInput              `json:"sdkData,omitempty"`
	SkipAuthentication    *bool                      `json:"skipAuthentication,omitempty"`
	TransactionRiskLevel  *string                    `json:"transactionRiskLevel,omitempty"`
}

ThreeDSecureBase represents class ThreeDSecureBase

func NewThreeDSecureBase

func NewThreeDSecureBase() *ThreeDSecureBase

NewThreeDSecureBase constructs a new ThreeDSecureBase

type ThreeDSecureData

type ThreeDSecureData struct {
	AcsTransactionID *string `json:"acsTransactionId,omitempty"`
	Method           *string `json:"method,omitempty"`
	UtcTimestamp     *string `json:"utcTimestamp,omitempty"`
}

ThreeDSecureData represents class ThreeDSecureData

func NewThreeDSecureData

func NewThreeDSecureData() *ThreeDSecureData

NewThreeDSecureData constructs a new ThreeDSecureData

type ThreeDSecureResults

type ThreeDSecureResults struct {
	AcsTransactionID             *string                    `json:"acsTransactionId,omitempty"`
	AppliedExemption             *string                    `json:"appliedExemption,omitempty"`
	AuthenticationAmount         *definitions.AmountOfMoney `json:"authenticationAmount,omitempty"`
	Cavv                         *string                    `json:"cavv,omitempty"`
	DirectoryServerTransactionID *string                    `json:"directoryServerTransactionId,omitempty"`
	Eci                          *string                    `json:"eci,omitempty"`
	ExemptionOutput              *ExemptionOutput           `json:"exemptionOutput,omitempty"`
	SchemeRiskScore              *int32                     `json:"schemeRiskScore,omitempty"`
	SdkData                      *SdkDataOutput             `json:"sdkData,omitempty"`
	ThreeDSecureData             *ThreeDSecureData          `json:"threeDSecureData,omitempty"`
	ThreeDSecureVersion          *string                    `json:"threeDSecureVersion,omitempty"`
	ThreeDServerTransactionID    *string                    `json:"threeDServerTransactionId,omitempty"`
	Xid                          *string                    `json:"xid,omitempty"`
}

ThreeDSecureResults represents class ThreeDSecureResults

func NewThreeDSecureResults

func NewThreeDSecureResults() *ThreeDSecureResults

NewThreeDSecureResults constructs a new ThreeDSecureResults

type TokenizeRequest

type TokenizeRequest struct {
	Alias *string `json:"alias,omitempty"`
}

TokenizeRequest represents class TokenizePaymentRequest

func NewTokenizeRequest

func NewTokenizeRequest() *TokenizeRequest

NewTokenizeRequest constructs a new TokenizeRequest

type TrustlyBankAccount

type TrustlyBankAccount struct {
	AccountLastDigits          *string `json:"accountLastDigits,omitempty"`
	BankName                   *string `json:"bankName,omitempty"`
	Clearinghouse              *string `json:"clearinghouse,omitempty"`
	PersonIdentificationNumber *string `json:"personIdentificationNumber,omitempty"`
}

TrustlyBankAccount represents class TrustlyBankAccount

func NewTrustlyBankAccount

func NewTrustlyBankAccount() *TrustlyBankAccount

NewTrustlyBankAccount constructs a new TrustlyBankAccount

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL