params

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ValidationFailedContinue ValidationFailedOption = "CONTINUE"
	ValidationFailedBreak    ValidationFailedOption = "BREAK"
	NotificationInterval10   NotificationInterval   = 10
	NotificationInterval20   NotificationInterval   = 20
	NotificationInterval50   NotificationInterval   = 50
	NotificationInterval100  NotificationInterval   = 100

	CurrencyNGN Currency = "NGN"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowedPaymentSourcesParam

type AllowedPaymentSourcesParam struct {
	BankAccounts []struct {
		AccountNumber string `json:"accountNumber, omitempty"`
		BankCode      string `json:"bankCode, omitempty"`
	} `json:"bankAccounts, omitempty"`

	AccountNames []string `json:"accountNames, omitempty"`
}

type BulkTransferParam

type BulkTransferParam struct {
	Title                string                 `json:"title"`
	BatchReference       string                 `json:"batchReference"`
	Narration            string                 `json:"narration"`
	WalletId             string                 `json:"walletId"`
	OnValidationFailure  ValidationFailedOption `json:"onValidationFailure"`
	NotificationInterval NotificationInterval   `json:"notificationInterval"`
	TransactionList      []SingleTransferParam  `json:"transactionList"`
}

type Currency

type Currency string

type IncomeSplitConfigParam

type IncomeSplitConfigParam struct {
	SubAccountCode  string  `json:"subAccountCode, omitempty"`
	FeePercentage   float64 `json:"feePercentage, omitempty"`
	SplitPercentage float64 `json:"splitPercentage, omitempty"`
	FeeBearer       bool    `json:"feeBearer, omitempty"`
}

type NotificationInterval

type NotificationInterval int

type ReserveAccountParam

type ReserveAccountParam struct {
	AccountReference      string   `json:"accountReference, omitempty"`
	AccountName           string   `json:"accountName, omitempty"`
	CurrencyCode          Currency `json:"currencyCode, omitempty"`
	ContractCode          string   `json:"contractCode, omitempty"`
	CustomerEmail         string   `json:"customerEmail, omitempty"`
	CustomerName          string   `json:"customerName, omitempty"`
	RestrictPaymentSource bool     `json:"restrictPaymentSource, omitempty"`

	AllowedPaymentSources AllowedPaymentSourcesParam
	// contains filtered or unexported fields
}

type SingleTransferParam

type SingleTransferParam struct {
	Amount        float64  `json:"amount"`
	Reference     string   `json:"reference"`
	Narration     string   `json:"narration"`
	BankCode      string   `json:"bankCode"`
	AccountNumber string   `json:"accountNumber"`
	Currency      Currency `json:"currency"`
	WalletId      string   `json:"walletId,omitempty"`
}

type ValidationFailedOption

type ValidationFailedOption string

Jump to

Keyboard shortcuts

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