Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDepositAmountExceedsMaxSafeInt = account.ErrDepositAmountExceedsMaxSafeInt ErrTransactionAmountMustBePositive = account.ErrTransactionAmountMustBePositive ErrInsufficientFunds = account.ErrInsufficientFunds ErrAccountNotFound = account.ErrAccountNotFound ErrInvalidCurrencyCode = common.ErrInvalidCurrencyCode ErrUnsupportedCurrencyPair = money.ErrUnsupportedCurrencyPair ErrExchangeRateExpired = money.ErrExchangeRateExpired ErrExchangeRateInvalid = money.ErrExchangeRateInvalid )
Error aliases for backward compatibility
Functions ¶
This section is empty.
Types ¶
type Account ¶
Account and related Account is an alias for account.Account Deprecated: Use account.Account directly.
type ConversionInfo ¶
type ConversionInfo = common.ConversionInfo
ConversionInfo contains information about currency conversion for a transaction.
type CurrencyConverter ¶
type CurrencyConverter = money.CurrencyConverter
CurrencyConverter and related
type ExchangeRate ¶
type ExchangeRate = money.ExchangeRate
ExchangeRate represents an exchange rate between two currencies.
type Transaction ¶
type Transaction = account.Transaction
Transaction represents a financial transaction in the system. Deprecated: Use account.Transaction directly.
Click to show internal directories.
Click to hide internal directories.