Documentation ¶
Index ¶
- func NewSessionCardSource() *sessionCardSource
- func NewSessionIdSource() *sessionIdSource
- func NewSessionNetworkTokenSource() *sessionNetworkTokenSource
- func NewSessionTokenSource() *sessionTokenSource
- type SessionAddress
- type SessionScheme
- type SessionSource
- type SessionSourceInfo
- type SessionSourceType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSessionCardSource ¶
func NewSessionCardSource() *sessionCardSource
func NewSessionIdSource ¶
func NewSessionIdSource() *sessionIdSource
func NewSessionNetworkTokenSource ¶
func NewSessionNetworkTokenSource() *sessionNetworkTokenSource
func NewSessionTokenSource ¶
func NewSessionTokenSource() *sessionTokenSource
Types ¶
type SessionAddress ¶
type SessionScheme ¶
type SessionScheme string
const ( Amex SessionScheme = "amex" CartesBancaires SessionScheme = "cartes_bancaires" Diners SessionScheme = "diners" Jcb SessionScheme = "jcb" Mastercard SessionScheme = "mastercard" Visa SessionScheme = "visa" )
type SessionSource ¶
type SessionSource interface {
GetType() SessionSourceType
}
type SessionSourceInfo ¶
type SessionSourceInfo struct { Type SessionSourceType `json:"type,omitempty"` Scheme SessionScheme `json:"scheme,omitempty"` BillingAddress *SessionAddress `json:"billing_address,omitempty"` HomePhone *common.Phone `json:"home_phone,omitempty"` MobilePhone *common.Phone `json:"mobile_phone,omitempty"` WorkPhone *common.Phone `json:"work_phone,omitempty"` Email string `json:"email,omitempty"` }
type SessionSourceType ¶
type SessionSourceType string
const ( Card SessionSourceType = "card" Id SessionSourceType = "id" Token SessionSourceType = "token" NetworkToken SessionSourceType = "network_token" )
Click to show internal directories.
Click to hide internal directories.