Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDepositAmountExceedsMaxSafeInt Account errors // Deprecated: Use account.ErrDepositAmountExceedsMaxSafeInt directly. ErrDepositAmountExceedsMaxSafeInt = account.ErrDepositAmountExceedsMaxSafeInt // Deprecated: Use account.ErrTransactionAmountMustBePositive directly. ErrTransactionAmountMustBePositive = account.ErrTransactionAmountMustBePositive // Deprecated: Use account.ErrInsufficientFunds directly. ErrInsufficientFunds = account.ErrInsufficientFunds // Deprecated: Use account.ErrAccountNotFound directly. ErrAccountNotFound = account.ErrAccountNotFound // Deprecated: Use account.ErrInvalidCurrencyCode directly. ErrInvalidCurrencyCode = common.ErrInvalidCurrencyCode ErrUserUnauthorized = user.ErrUserUnauthorized // Deprecated: Use provider.ErrExchangeRateUnavailable directly. ErrExchangeRateUnavailable = provider.ErrExchangeRateUnavailable // Deprecated: Use provider.ErrUnsupportedCurrencyPair directly. ErrUnsupportedCurrencyPair = provider.ErrUnsupportedCurrencyPair // Deprecated: Use provider.ErrExchangeRateExpired directly. ErrExchangeRateExpired = provider.ErrExchangeRateExpired // Deprecated: Use provider.ErrExchangeRateInvalid directly. ErrExchangeRateInvalid = provider.ErrExchangeRateInvalid )
Error aliases for backward compatibility
Functions ¶
Types ¶
type Account ¶
Account and related Account is an alias for account.Account Deprecated: Use account.Account directly.
type ConversionInfo ¶
type ConversionInfo = provider.ExchangeRate
ExchangeRate is an alias for provider.ExchangeRate Deprecated: Use provider.ExchangeRate directly.
type ExchangeRate
deprecated
type ExchangeRate = provider.ExchangeInfo
Deprecated: Use provider.ExchangeInfo directly.
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.