Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.9.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCheckoutClient

type FakeCheckoutClient struct {
	mock.Mock
}

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 (c *FakeCheckoutClient) RequestPayment(source interface{}, amount uint64, currency string, reference string, customer *payments.Customer, metadata map[string]string) *payments.Response

func (*FakeCheckoutClient) RequestRefunds added in v0.9.16

func (c *FakeCheckoutClient) RequestRefunds(amount uint64, reference string, metadata map[string]string) *payments.RefundsResponse

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL