Documentation
¶
Overview ¶
Package basiccard describes data structures and formats, and a simple processing model, to facilitate card-based payments on the Web.
Index ¶
Constants ¶
const Name = "basic-card"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicCardChangeDetails ¶
type BasicCardChangeDetails struct {
BillingAddress *request.PaymentAddress
}
dictionary: BasicCardChangeDetails
func BasicCardChangeDetailsFromJS ¶
func BasicCardChangeDetailsFromJS(value js.Value) *BasicCardChangeDetails
BasicCardChangeDetailsFromJS is allocating a new BasicCardChangeDetails object and copy all values in the value javascript object.
func (*BasicCardChangeDetails) JSValue ¶
func (_this *BasicCardChangeDetails) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type BasicCardErrors ¶
type BasicCardErrors struct { CardNumber string CardholderName string CardSecurityCode string ExpiryMonth string ExpiryYear string BillingAddress *request.AddressErrors }
dictionary: BasicCardErrors
func BasicCardErrorsFromJS ¶
func BasicCardErrorsFromJS(value js.Value) *BasicCardErrors
BasicCardErrorsFromJS is allocating a new BasicCardErrors object and copy all values in the value javascript object.
func (*BasicCardErrors) JSValue ¶
func (_this *BasicCardErrors) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type BasicCardRequest ¶
type BasicCardRequest struct {
SupportedNetworks []string
}
dictionary: BasicCardRequest
func BasicCardRequestFromJS ¶
func BasicCardRequestFromJS(value js.Value) *BasicCardRequest
BasicCardRequestFromJS is allocating a new BasicCardRequest object and copy all values in the value javascript object.
func (*BasicCardRequest) JSValue ¶
func (_this *BasicCardRequest) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type BasicCardResponse ¶
type BasicCardResponse struct { CardNumber string CardholderName string CardSecurityCode string ExpiryMonth string ExpiryYear string BillingAddress *request.PaymentAddress }
dictionary: BasicCardResponse
func BasicCardResponseFromJS ¶
func BasicCardResponseFromJS(value js.Value) *BasicCardResponse
BasicCardResponseFromJS is allocating a new BasicCardResponse object and copy all values in the value javascript object.
func (*BasicCardResponse) JSValue ¶
func (_this *BasicCardResponse) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values