accounts

package
v0.10.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decryptor

type Decryptor interface {
	AccountNumber(organization, customerID, accountID string) (string, error)
}

func NewDecryptor

func NewDecryptor(cfg config.Decryptor, client customers.Client) (Decryptor, error)

type MockDecryptor

type MockDecryptor struct {
	Number string
	Err    error
}

func (*MockDecryptor) AccountNumber

func (d *MockDecryptor) AccountNumber(organization, customerID, accountID string) (string, error)

Jump to

Keyboard shortcuts

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