webapi: github.com/gowebapi/webapi/payment/basiccard Index | Files

package basiccard

import "github.com/gowebapi/webapi/payment/basiccard"

Package basiccard describes data structures and formats, and a simple processing model, to facilitate card-based payments on the Web.

Index

Package Files

basiccard.go doc.go

Constants

const Name = "basic-card"

type BasicCardChangeDetails Uses

type BasicCardChangeDetails struct {
    BillingAddress *request.PaymentAddress
}

dictionary: BasicCardChangeDetails

func BasicCardChangeDetailsFromJS Uses

func BasicCardChangeDetailsFromJS(value js.Wrapper) *BasicCardChangeDetails

BasicCardChangeDetailsFromJS is allocating a new BasicCardChangeDetails object and copy all values from input javascript object

func (*BasicCardChangeDetails) JSValue Uses

func (_this *BasicCardChangeDetails) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type BasicCardErrors Uses

type BasicCardErrors struct {
    CardNumber       string
    CardholderName   string
    CardSecurityCode string
    ExpiryMonth      string
    ExpiryYear       string
    BillingAddress   *request.AddressErrors
}

dictionary: BasicCardErrors

func BasicCardErrorsFromJS Uses

func BasicCardErrorsFromJS(value js.Wrapper) *BasicCardErrors

BasicCardErrorsFromJS is allocating a new BasicCardErrors object and copy all values from input javascript object

func (*BasicCardErrors) JSValue Uses

func (_this *BasicCardErrors) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type BasicCardRequest Uses

type BasicCardRequest struct {
    SupportedNetworks []string
}

dictionary: BasicCardRequest

func BasicCardRequestFromJS Uses

func BasicCardRequestFromJS(value js.Wrapper) *BasicCardRequest

BasicCardRequestFromJS is allocating a new BasicCardRequest object and copy all values from input javascript object

func (*BasicCardRequest) JSValue Uses

func (_this *BasicCardRequest) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type BasicCardResponse Uses

type BasicCardResponse struct {
    CardNumber       string
    CardholderName   string
    CardSecurityCode string
    ExpiryMonth      string
    ExpiryYear       string
    BillingAddress   *request.PaymentAddress
}

dictionary: BasicCardResponse

func BasicCardResponseFromJS Uses

func BasicCardResponseFromJS(value js.Wrapper) *BasicCardResponse

BasicCardResponseFromJS is allocating a new BasicCardResponse object and copy all values from input javascript object

func (*BasicCardResponse) JSValue Uses

func (_this *BasicCardResponse) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

func (u *Union) JSValue() js.Value

Package basiccard imports 2 packages (graph). Updated 2019-08-24. Refresh now. Tools for package owners.