Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PayoutRequestSource ¶
type PayoutRequestSource struct { Type payments.SourceType `json:"type,omitempty"` Id string `json:"id,omitempty"` Amount int `json:"amount,omitempty"` }
func NewPayoutRequestSource ¶
func NewPayoutRequestSource() *PayoutRequestSource
type RequestBankAccountSource ¶
type RequestBankAccountSource struct { Type payments.SourceType `json:"type,omitempty"` PaymentMethod string `json:"payment_method,omitempty"` AccountType string `json:"account_type,omitempty"` Country common.Country `json:"country,omitempty"` AccountNumber string `json:"account_number,omitempty"` BankCode string `json:"bank_code,omitempty"` AccountHolder common.AccountHolder `json:"account_holder,omitempty"` }
func NewRequestBankAccountSource ¶
func NewRequestBankAccountSource() *RequestBankAccountSource
type RequestCardSource ¶
type RequestCardSource struct { Type payments.SourceType `json:"type,omitempty"` Number string `json:"number,omitempty"` ExpiryMonth int `json:"expiry_month,omitempty"` ExpiryYear int `json:"expiry_year,omitempty"` Name string `json:"name,omitempty"` Cvv string `json:"cvv,omitempty"` Stored bool `json:"stored"` StoreForFutureUse bool `json:"store_for_future_use,omitempty"` BillingAddress *common.Address `json:"billing_address,omitempty"` Phone *common.Phone `json:"phone,omitempty"` }
func NewRequestCardSource ¶
func NewRequestCardSource() *RequestCardSource
type RequestCustomerSource ¶
type RequestCustomerSource struct { Type payments.SourceType `json:"type,omitempty"` Id string `json:"number,omitempty"` }
func NewRequestCustomerSource ¶
func NewRequestCustomerSource() *RequestCustomerSource
type RequestIdSource ¶
type RequestIdSource struct { Type payments.SourceType `json:"type,omitempty"` Id string `json:"id,omitempty"` Cvv string `json:"cvv,omitempty"` PaymentMethod string `json:"payment_method,omitempty"` Stored *bool `json:"stored,omitempty"` StoreForFutureUse *bool `json:"storeForFutureUse,omitempty"` }
func NewRequestIdSource ¶
func NewRequestIdSource() *RequestIdSource
type RequestNetworkTokenSource ¶
type RequestNetworkTokenSource struct { Type payments.SourceType `json:"type,omitempty"` ExpiryMonth int `json:"expiry_month,omitempty"` ExpiryYear int `json:"expiry_year,omitempty"` TokenType payments.NetworkTokenType `json:"token_type,omitempty"` Cryptogram string `json:"cryptogram,omitempty"` Eci string `json:"eci,omitempty"` Stored bool `json:"stored"` Name string `json:"name,omitempty"` Cvv string `json:"cvv,omitempty"` BillingAddress *common.Address `json:"billing_address,omitempty"` Phone *common.Phone `json:"phone,omitempty"` }
func NewRequestNetworkTokenSource ¶
func NewRequestNetworkTokenSource() *RequestNetworkTokenSource
type RequestProviderTokenSource ¶
type RequestProviderTokenSource struct { Type payments.SourceType `json:"type,omitempty"` PaymentMethod string `json:"payment_method,omitempty"` Token string `json:"token,omitempty"` AccountHolder *common.AccountHolder `json:"account_holder,omitempty"` }
func NewRequestProviderTokenSource ¶
func NewRequestProviderTokenSource() *RequestProviderTokenSource
type RequestTokenSource ¶
type RequestTokenSource struct { Type payments.SourceType `json:"type,omitempty"` Token string `json:"token,omitempty"` BillingAddress *common.Address `json:"billing_address,omitempty"` Phone *common.Phone `json:"phone,omitempty"` Stored *bool `json:"stored,omitempty"` StoreForFutureUse bool `json:"store_for_future_use,omitempty"` }
func NewRequestTokenSource ¶
func NewRequestTokenSource() *RequestTokenSource
Click to show internal directories.
Click to hide internal directories.