sources

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 2 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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