domain

package
v1.1.0 Latest Latest
Warning

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

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

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
	ErrUserUnauthorized                = user.ErrUserUnauthorized

	ErrExchangeRateUnavailable = money.ErrExchangeRateUnavailable
	ErrUnsupportedCurrencyPair = money.ErrUnsupportedCurrencyPair
	ErrExchangeRateExpired     = money.ErrExchangeRateExpired
	ErrExchangeRateInvalid     = money.ErrExchangeRateInvalid
)

Error aliases for backward compatibility

Functions

This section is empty.

Types

type Account

type Account = account.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.

type User

type User = user.User

User and related

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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