Documentation
¶
Index ¶
- type FakeCheckoutClient
- func (c *FakeCheckoutClient) CheckWebhookKey(keyCode, key string) bool
- func (c *FakeCheckoutClient) DeleteCustomerInstrument(instrumentId string) bool
- func (c *FakeCheckoutClient) GetCustomerInstruments(customerId string) *checkout.CustomerResponse
- func (c *FakeCheckoutClient) RequestPayment(source interface{}, amount uint64, currency string, reference string, ...) *payments.Response
- func (c *FakeCheckoutClient) RequestRefunds(amount uint64, reference string, metadata map[string]string) *payments.RefundsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCheckoutClient ¶
func (*FakeCheckoutClient) CheckWebhookKey ¶
func (c *FakeCheckoutClient) CheckWebhookKey(keyCode, key string) bool
func (*FakeCheckoutClient) DeleteCustomerInstrument ¶ added in v0.9.20
func (c *FakeCheckoutClient) DeleteCustomerInstrument(instrumentId string) bool
func (*FakeCheckoutClient) GetCustomerInstruments ¶ added in v0.9.20
func (c *FakeCheckoutClient) GetCustomerInstruments(customerId string) *checkout.CustomerResponse
func (*FakeCheckoutClient) RequestPayment ¶
func (*FakeCheckoutClient) RequestRefunds ¶ added in v0.9.16
func (c *FakeCheckoutClient) RequestRefunds(amount uint64, reference string, metadata map[string]string) *payments.RefundsResponse
Click to show internal directories.
Click to hide internal directories.