mocks

package
v0.9.19 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: GPL-3.0 Imports: 2 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) 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