Documentation ¶
Index ¶
- type BlueSnap
- func (b *BlueSnap) CreateTransaction(shopperId string, amount float64) (string, error)
- func (b *BlueSnap) CreateVaultedShopper(bsCardToken, bsSecurityToken, expMonth, expYear string, cardType string, ...) (string, error)
- func (b *BlueSnap) GetCards(shopperId string) (c *CardList, err error)
- func (b *BlueSnap) Init()
- type Card
- type CardList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlueSnap ¶
type BlueSnap struct { STOREID string BSAPIUSER string BSAPIPASS string BSENDPOINT string BSPRODUCTID string Test bool }
func (*BlueSnap) CreateTransaction ¶
func (*BlueSnap) CreateVaultedShopper ¶
type Card ¶
type Card struct { ID string `json:"id"` Month uint8 `json:"exp_month"` Year uint16 `json:"exp_year"` Fingerprint string `json:"fingerprint"` LastFour string `json:"last4"` Brand string `json:"brand"` City string `json:"address_city"` Country string `json:"address_country"` Address1 string `json:"address_line1"` Address2 string `json:"address_line2"` State string `json:"address_state"` Zip string `json:"address_zip"` CardCountry string `json:"country"` Name string `json:"name"` DynLastFour string `json:"dynamic_last4"` Deleted bool `json:"deleted"` }
Click to show internal directories.
Click to hide internal directories.