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: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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,omitempty"`
	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 RequestDLocalSource

type RequestDLocalSource 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"`
	BillingAddress *common.Address     `json:"billing_address,omitempty"`
	Phone          *common.Phone       `json:"phone,omitempty"`
}

func NewRequestDLocalSource

func NewRequestDLocalSource() *RequestDLocalSource

type RequestIdSource

type RequestIdSource struct {
	Type              payments.SourceType `json:"type,omitempty"`
	Id                string              `json:"id,omitempty"`
	Cvv               string              `json:"cvv,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"`
	Token          string                    `json:"token,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 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