Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountHolder ¶
type AccountHolder struct {
BillingAddress *common.Address `json:"billing_address,omitempty"`
Phone *common.Phone `json:"phone,omitempty"`
}
AccountHolder -
type Client ¶
type Client struct {
API checkout.HTTPClient
}
Client ...
type Instrument ¶
type Instrument struct {
Type string `json:"type" binding:"required"`
Token string `json:"token" binding:"required"`
}
Instrument -
type InstrumentResponse ¶
type InstrumentResponse struct {
Type string `json:"type" binding:"required"`
Fingerprint string `json:"fingerprint,omitempty"`
}
InstrumentResponse -
type Response ¶
type Response struct {
StatusResponse *checkout.StatusResponse `json:"api_response,omitempty"`
Source *payments.SourceResponse `json:"source,omitempty"`
InstrumentResponse *InstrumentResponse `json:"instrument_response,omitempty"`
}
Response -
Click to show internal directories.
Click to hide internal directories.