token

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: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproveRequest

type ApproveRequest struct {
	MandateSignatureDate  *string `json:"mandateSignatureDate,omitempty"`
	MandateSignaturePlace *string `json:"mandateSignaturePlace,omitempty"`
	MandateSigned         *bool   `json:"mandateSigned,omitempty"`
}

ApproveRequest represents class ApproveTokenRequest

func NewApproveRequest

func NewApproveRequest() *ApproveRequest

NewApproveRequest constructs a new ApproveRequest

type Card

type Card struct {
	Alias    *string        `json:"alias,omitempty"`
	Customer *CustomerToken `json:"customer,omitempty"`
	Data     *CardData      `json:"data,omitempty"`
}

Card represents class TokenCard

func NewCard

func NewCard() *Card

NewCard constructs a new Card

type CardData

type CardData struct {
	CardWithoutCvv       *definitions.CardWithoutCvv `json:"cardWithoutCvv,omitempty"`
	FirstTransactionDate *string                     `json:"firstTransactionDate,omitempty"`
	ProviderReference    *string                     `json:"providerReference,omitempty"`
}

CardData represents class TokenCardData

func NewCardData

func NewCardData() *CardData

NewCardData constructs a new CardData

type ContactDetailsToken

type ContactDetailsToken struct {
	EmailAddress     *string `json:"emailAddress,omitempty"`
	EmailMessageType *string `json:"emailMessageType,omitempty"`
}

ContactDetailsToken represents class ContactDetailsToken

func NewContactDetailsToken

func NewContactDetailsToken() *ContactDetailsToken

NewContactDetailsToken constructs a new ContactDetailsToken

type CreateRequest

type CreateRequest struct {
	Card                   *Card                           `json:"card,omitempty"`
	EWallet                *EWallet                        `json:"eWallet,omitempty"`
	EncryptedCustomerInput *string                         `json:"encryptedCustomerInput,omitempty"`
	NonSepaDirectDebit     *NonSepaDirectDebit             `json:"nonSepaDirectDebit,omitempty"`
	PaymentProductID       *int32                          `json:"paymentProductId,omitempty"`
	SepaDirectDebit        *SepaDirectDebitWithoutCreditor `json:"sepaDirectDebit,omitempty"`
}

CreateRequest represents class CreateTokenRequest

func NewCreateRequest

func NewCreateRequest() *CreateRequest

NewCreateRequest constructs a new CreateRequest

type CreateResponse

type CreateResponse struct {
	IsNewToken        *bool   `json:"isNewToken,omitempty"`
	OriginalPaymentID *string `json:"originalPaymentId,omitempty"`
	Token             *string `json:"token,omitempty"`
}

CreateResponse represents class CreateTokenResponse

func NewCreateResponse

func NewCreateResponse() *CreateResponse

NewCreateResponse constructs a new CreateResponse

type Creditor

type Creditor struct {
	AdditionalAddressInfo *string `json:"additionalAddressInfo,omitempty"`
	City                  *string `json:"city,omitempty"`
	CountryCode           *string `json:"countryCode,omitempty"`
	HouseNumber           *string `json:"houseNumber,omitempty"`
	Iban                  *string `json:"iban,omitempty"`
	ID                    *string `json:"id,omitempty"`
	Name                  *string `json:"name,omitempty"`
	ReferenceParty        *string `json:"referenceParty,omitempty"`
	ReferencePartyID      *string `json:"referencePartyId,omitempty"`
	Street                *string `json:"street,omitempty"`
	Zip                   *string `json:"zip,omitempty"`
}

Creditor represents class Creditor

func NewCreditor

func NewCreditor() *Creditor

NewCreditor constructs a new Creditor

type CustomerToken

type CustomerToken struct {
	BillingAddress      *definitions.Address            `json:"billingAddress,omitempty"`
	CompanyInformation  *definitions.CompanyInformation `json:"companyInformation,omitempty"`
	MerchantCustomerID  *string                         `json:"merchantCustomerId,omitempty"`
	PersonalInformation *PersonalInformationToken       `json:"personalInformation,omitempty"`
	// Deprecated: Use companyInformation.vatNumber instead
	VatNumber *string `json:"vatNumber,omitempty"`
}

CustomerToken represents class CustomerToken

func NewCustomerToken

func NewCustomerToken() *CustomerToken

NewCustomerToken constructs a new CustomerToken

type CustomerTokenWithContactDetails

type CustomerTokenWithContactDetails struct {
	BillingAddress      *definitions.Address            `json:"billingAddress,omitempty"`
	CompanyInformation  *definitions.CompanyInformation `json:"companyInformation,omitempty"`
	ContactDetails      *ContactDetailsToken            `json:"contactDetails,omitempty"`
	MerchantCustomerID  *string                         `json:"merchantCustomerId,omitempty"`
	PersonalInformation *PersonalInformationToken       `json:"personalInformation,omitempty"`
	// Deprecated: Use companyInformation.vatNumber instead
	VatNumber *string `json:"vatNumber,omitempty"`
}

CustomerTokenWithContactDetails represents class CustomerTokenWithContactDetails

func NewCustomerTokenWithContactDetails

func NewCustomerTokenWithContactDetails() *CustomerTokenWithContactDetails

NewCustomerTokenWithContactDetails constructs a new CustomerTokenWithContactDetails

type Debtor

type Debtor struct {
	AdditionalAddressInfo *string `json:"additionalAddressInfo,omitempty"`
	City                  *string `json:"city,omitempty"`
	CountryCode           *string `json:"countryCode,omitempty"`
	FirstName             *string `json:"firstName,omitempty"`
	HouseNumber           *string `json:"houseNumber,omitempty"`
	State                 *string `json:"state,omitempty"`
	StateCode             *string `json:"stateCode,omitempty"`
	Street                *string `json:"street,omitempty"`
	Surname               *string `json:"surname,omitempty"`
	SurnamePrefix         *string `json:"surnamePrefix,omitempty"`
	Zip                   *string `json:"zip,omitempty"`
}

Debtor represents class Debtor

func NewDebtor

func NewDebtor() *Debtor

NewDebtor constructs a new Debtor

type EWallet

type EWallet struct {
	Alias    *string        `json:"alias,omitempty"`
	Customer *CustomerToken `json:"customer,omitempty"`
	Data     *EWalletData   `json:"data,omitempty"`
}

EWallet represents class TokenEWallet

func NewEWallet

func NewEWallet() *EWallet

NewEWallet constructs a new EWallet

type EWalletData

type EWalletData struct {
	BillingAgreementID *string `json:"billingAgreementId,omitempty"`
}

EWalletData represents class TokenEWalletData

func NewEWalletData

func NewEWalletData() *EWalletData

NewEWalletData constructs a new EWalletData

type MandateApproval

type MandateApproval struct {
	MandateSignatureDate  *string `json:"mandateSignatureDate,omitempty"`
	MandateSignaturePlace *string `json:"mandateSignaturePlace,omitempty"`
	MandateSigned         *bool   `json:"mandateSigned,omitempty"`
}

MandateApproval represents class MandateApproval

func NewMandateApproval

func NewMandateApproval() *MandateApproval

NewMandateApproval constructs a new MandateApproval

type MandateNonSepaDirectDebit

type MandateNonSepaDirectDebit struct {
	PaymentProduct705SpecificData *NonSepaDirectDebitPaymentProduct705SpecificData `json:"paymentProduct705SpecificData,omitempty"`
	PaymentProduct730SpecificData *NonSepaDirectDebitPaymentProduct730SpecificData `json:"paymentProduct730SpecificData,omitempty"`
}

MandateNonSepaDirectDebit represents class MandateNonSepaDirectDebit

func NewMandateNonSepaDirectDebit

func NewMandateNonSepaDirectDebit() *MandateNonSepaDirectDebit

NewMandateNonSepaDirectDebit constructs a new MandateNonSepaDirectDebit

type MandateSepaDirectDebit

type MandateSepaDirectDebit struct {
	BankAccountIban            *definitions.BankAccountIban `json:"bankAccountIban,omitempty"`
	Creditor                   *Creditor                    `json:"creditor,omitempty"`
	CustomerContractIdentifier *string                      `json:"customerContractIdentifier,omitempty"`
	Debtor                     *Debtor                      `json:"debtor,omitempty"`
	IsRecurring                *bool                        `json:"isRecurring,omitempty"`
	MandateApproval            *MandateApproval             `json:"mandateApproval,omitempty"`
	MandateID                  *string                      `json:"mandateId,omitempty"`
	PreNotification            *string                      `json:"preNotification,omitempty"`
}

MandateSepaDirectDebit represents class MandateSepaDirectDebit

func NewMandateSepaDirectDebit

func NewMandateSepaDirectDebit() *MandateSepaDirectDebit

NewMandateSepaDirectDebit constructs a new MandateSepaDirectDebit

type MandateSepaDirectDebitWithoutCreditor

type MandateSepaDirectDebitWithoutCreditor struct {
	BankAccountIban            *definitions.BankAccountIban `json:"bankAccountIban,omitempty"`
	CustomerContractIdentifier *string                      `json:"customerContractIdentifier,omitempty"`
	Debtor                     *Debtor                      `json:"debtor,omitempty"`
	IsRecurring                *bool                        `json:"isRecurring,omitempty"`
	MandateApproval            *MandateApproval             `json:"mandateApproval,omitempty"`
	PreNotification            *string                      `json:"preNotification,omitempty"`
}

MandateSepaDirectDebitWithoutCreditor represents class MandateSepaDirectDebitWithoutCreditor

func NewMandateSepaDirectDebitWithoutCreditor

func NewMandateSepaDirectDebitWithoutCreditor() *MandateSepaDirectDebitWithoutCreditor

NewMandateSepaDirectDebitWithoutCreditor constructs a new MandateSepaDirectDebitWithoutCreditor

type NonSepaDirectDebit

type NonSepaDirectDebit struct {
	Alias    *string                    `json:"alias,omitempty"`
	Customer *CustomerToken             `json:"customer,omitempty"`
	Mandate  *MandateNonSepaDirectDebit `json:"mandate,omitempty"`
}

NonSepaDirectDebit represents class TokenNonSepaDirectDebit

func NewNonSepaDirectDebit

func NewNonSepaDirectDebit() *NonSepaDirectDebit

NewNonSepaDirectDebit constructs a new NonSepaDirectDebit

type NonSepaDirectDebitPaymentProduct705SpecificData

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

NonSepaDirectDebitPaymentProduct705SpecificData represents class TokenNonSepaDirectDebitPaymentProduct705SpecificData

func NewNonSepaDirectDebitPaymentProduct705SpecificData

func NewNonSepaDirectDebitPaymentProduct705SpecificData() *NonSepaDirectDebitPaymentProduct705SpecificData

NewNonSepaDirectDebitPaymentProduct705SpecificData constructs a new NonSepaDirectDebitPaymentProduct705SpecificData

type NonSepaDirectDebitPaymentProduct730SpecificData

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

NonSepaDirectDebitPaymentProduct730SpecificData represents class TokenNonSepaDirectDebitPaymentProduct730SpecificData

func NewNonSepaDirectDebitPaymentProduct730SpecificData

func NewNonSepaDirectDebitPaymentProduct730SpecificData() *NonSepaDirectDebitPaymentProduct730SpecificData

NewNonSepaDirectDebitPaymentProduct730SpecificData constructs a new NonSepaDirectDebitPaymentProduct730SpecificData

type PersonalInformationToken

type PersonalInformationToken struct {
	Name *PersonalNameToken `json:"name,omitempty"`
}

PersonalInformationToken represents class PersonalInformationToken

func NewPersonalInformationToken

func NewPersonalInformationToken() *PersonalInformationToken

NewPersonalInformationToken constructs a new PersonalInformationToken

type PersonalNameToken

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

PersonalNameToken represents class PersonalNameToken

func NewPersonalNameToken

func NewPersonalNameToken() *PersonalNameToken

NewPersonalNameToken constructs a new PersonalNameToken

type Response

type Response struct {
	Card               *Card               `json:"card,omitempty"`
	EWallet            *EWallet            `json:"eWallet,omitempty"`
	ID                 *string             `json:"id,omitempty"`
	NonSepaDirectDebit *NonSepaDirectDebit `json:"nonSepaDirectDebit,omitempty"`
	OriginalPaymentID  *string             `json:"originalPaymentId,omitempty"`
	PaymentProductID   *int32              `json:"paymentProductId,omitempty"`
	SepaDirectDebit    *SepaDirectDebit    `json:"sepaDirectDebit,omitempty"`
}

Response represents class TokenResponse

func NewResponse

func NewResponse() *Response

NewResponse constructs a new Response

type SepaDirectDebit

type SepaDirectDebit struct {
	Alias    *string                          `json:"alias,omitempty"`
	Customer *CustomerTokenWithContactDetails `json:"customer,omitempty"`
	Mandate  *MandateSepaDirectDebit          `json:"mandate,omitempty"`
}

SepaDirectDebit represents class TokenSepaDirectDebit

func NewSepaDirectDebit

func NewSepaDirectDebit() *SepaDirectDebit

NewSepaDirectDebit constructs a new SepaDirectDebit

type SepaDirectDebitWithoutCreditor

type SepaDirectDebitWithoutCreditor struct {
	Alias    *string                                `json:"alias,omitempty"`
	Customer *CustomerTokenWithContactDetails       `json:"customer,omitempty"`
	Mandate  *MandateSepaDirectDebitWithoutCreditor `json:"mandate,omitempty"`
}

SepaDirectDebitWithoutCreditor represents class TokenSepaDirectDebitWithoutCreditor

func NewSepaDirectDebitWithoutCreditor

func NewSepaDirectDebitWithoutCreditor() *SepaDirectDebitWithoutCreditor

NewSepaDirectDebitWithoutCreditor constructs a new SepaDirectDebitWithoutCreditor

type UpdateRequest

type UpdateRequest struct {
	Card               *Card                           `json:"card,omitempty"`
	EWallet            *EWallet                        `json:"eWallet,omitempty"`
	NonSepaDirectDebit *NonSepaDirectDebit             `json:"nonSepaDirectDebit,omitempty"`
	PaymentProductID   *int32                          `json:"paymentProductId,omitempty"`
	SepaDirectDebit    *SepaDirectDebitWithoutCreditor `json:"sepaDirectDebit,omitempty"`
}

UpdateRequest represents class UpdateTokenRequest

func NewUpdateRequest

func NewUpdateRequest() *UpdateRequest

NewUpdateRequest constructs a new UpdateRequest

Jump to

Keyboard shortcuts

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