Documentation ¶
Index ¶
- type Checkout
- func (c *Checkout) CheckWebhookKey(keyCode, key string) bool
- func (c *Checkout) RequestPayment(source interface{}, amount uint64, currency string, reference string, ...) *payments.Response
- func (c *Checkout) RequestRefunds(amount uint64, reference string, metadata map[string]string) *payments.RefundsResponse
- type ICheckout
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkout ¶
type Checkout struct {
// contains filtered or unexported fields
}
func NewCheckout ¶
func (*Checkout) CheckWebhookKey ¶
func (*Checkout) RequestPayment ¶
func (*Checkout) RequestRefunds ¶ added in v0.9.16
type ICheckout ¶
type ICheckout interface { CheckWebhookKey(keyCode, key string) bool RequestPayment(source interface{}, amount uint64, currency string, reference string, customer *payments.Customer, metadata map[string]string) *payments.Response RequestRefunds(amount uint64, reference string, metadata map[string]string) *payments.RefundsResponse }
Click to show internal directories.
Click to hide internal directories.