Documentation ¶
Index ¶
- type IntermediaryClient
- func (ic *IntermediaryClient) ExecutePayment(payerName, payeeName model.UserAlias, amount api.Amount) (api.Amount, api.Error)
- func (ic *IntermediaryClient) GetBalance(customer model.UserAlias) (api.Amount, api.Error)
- func (ic *IntermediaryClient) Withdraw(customer model.UserAlias, amount api.Amount) (api.Amount, api.Error)
- type Provider
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntermediaryClient ¶
type IntermediaryClient struct {
// contains filtered or unexported fields
}
func NewIntermediaryClient ¶
func NewIntermediaryClient(userProvider Provider, logger logging.ILogger, config model.IntermediaryConfig) *IntermediaryClient
func (*IntermediaryClient) ExecutePayment ¶
func (*IntermediaryClient) GetBalance ¶
Click to show internal directories.
Click to hide internal directories.