paygate

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Ping() error

	GetMicroDeposits(accountID, organization string) (*client.MicroDeposits, error)
	InitiateMicroDeposits(organization string, destination client.Destination) error
}

func NewClient

func NewClient(logger log.Logger, endpoint string, debug bool) Client

type MockClient

type MockClient struct {
	Micro *client.MicroDeposits
	Err   error
}

func (*MockClient) GetMicroDeposits

func (c *MockClient) GetMicroDeposits(accountID, organization string) (*client.MicroDeposits, error)

func (*MockClient) InitiateMicroDeposits

func (c *MockClient) InitiateMicroDeposits(organization string, destination client.Destination) error

func (*MockClient) Ping

func (c *MockClient) Ping() error

Jump to

Keyboard shortcuts

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