package
0.0.0-20220808152607-72b452d43e2a
Repository: https://github.com/jlucktay/rest-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Constants

DefaultLimit is the default limit on the number of Payments returned by ReadAll.

# Structs

AlreadyExistsError is returned when a Payment with a given ID exists.
BeneficiaryParty details the party being credited from the payment transaction.
ChargesInformation describes the charges involved with processing the payment transaction.
DebtorParty details the party being debited for the payment transaction.
Fx describes the foreign exchange details salient to the payment transaction.
NotFoundError is returned when a Payment with a given ID cannot be found.
OffsetOutOfBoundsError is returned when the 'offset' parameter inside a ReadAllOptions struct exceeds the number of elements available in PaymentStorage.
Payment is the top-level struct of a payment record containing transaction details.
ReadAllOptions is a config struct for supplying optional parameters to ReadAll.
SenderCharges stores the currency and amount charged to the payment sender.
SponsorParty details the party sponsoring the payment transaction.

# Interfaces

PaymentStorage allows storage, retrieval, updating, and deletion of Payment structs.