Documentation
¶
Index ¶
- type AccountResolver
- func (AccountResolver) CreateCustomerAccounts(context.Context, customer.CustomerID) (ledger.CustomerAccounts, error)
- func (AccountResolver) EnsureBusinessAccounts(context.Context, string) (ledger.BusinessAccounts, error)
- func (AccountResolver) GetBusinessAccounts(context.Context, string) (ledger.BusinessAccounts, error)
- func (AccountResolver) GetCustomerAccounts(context.Context, customer.CustomerID) (ledger.CustomerAccounts, error)
- type AccountService
- func (AccountService) CreateAccount(_ context.Context, input ledger.CreateAccountInput) (ledger.Account, error)
- func (AccountService) EnsureSubAccount(_ context.Context, input ledger.CreateSubAccountInput) (ledger.SubAccount, error)
- func (AccountService) GetAccountByID(_ context.Context, id models.NamespacedID) (ledger.Account, error)
- func (AccountService) GetSubAccountByID(_ context.Context, id models.NamespacedID) (ledger.SubAccount, error)
- func (AccountService) ListAccounts(context.Context, ledger.ListAccountsInput) ([]ledger.Account, error)
- func (AccountService) ListSubAccounts(context.Context, ledger.ListSubAccountsInput) ([]ledger.SubAccount, error)
- func (AccountService) LockAccountsForPosting(context.Context, []ledger.Account) error
- type Ledger
- func (Ledger) CommitGroup(context.Context, ledger.TransactionGroupInput) (ledger.TransactionGroup, error)
- func (Ledger) GetAccountBalance(context.Context, ledger.Account, ledger.RouteFilter, ledger.BalanceQuery) (ledger.Balance, error)
- func (Ledger) GetBalanceBuckets(context.Context, ledger.BalanceBucketQuery) ([]ledger.BalanceBucket, error)
- func (Ledger) GetSubAccountBalance(context.Context, ledger.SubAccount, ledger.BalanceQuery) (ledger.Balance, error)
- func (Ledger) GetTransactionGroup(context.Context, models.NamespacedID) (ledger.TransactionGroup, error)
- func (Ledger) ListTransactions(context.Context, ledger.ListTransactionsInput) (ledger.ListTransactionsResult, error)
- type NamespaceHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountResolver ¶
type AccountResolver struct{}
func (AccountResolver) CreateCustomerAccounts ¶
func (AccountResolver) CreateCustomerAccounts(context.Context, customer.CustomerID) (ledger.CustomerAccounts, error)
func (AccountResolver) EnsureBusinessAccounts ¶
func (AccountResolver) EnsureBusinessAccounts(context.Context, string) (ledger.BusinessAccounts, error)
func (AccountResolver) GetBusinessAccounts ¶
func (AccountResolver) GetBusinessAccounts(context.Context, string) (ledger.BusinessAccounts, error)
func (AccountResolver) GetCustomerAccounts ¶
func (AccountResolver) GetCustomerAccounts(context.Context, customer.CustomerID) (ledger.CustomerAccounts, error)
type AccountService ¶
type AccountService struct{}
func (AccountService) CreateAccount ¶
func (AccountService) CreateAccount(_ context.Context, input ledger.CreateAccountInput) (ledger.Account, error)
func (AccountService) EnsureSubAccount ¶
func (AccountService) EnsureSubAccount(_ context.Context, input ledger.CreateSubAccountInput) (ledger.SubAccount, error)
func (AccountService) GetAccountByID ¶
func (AccountService) GetAccountByID(_ context.Context, id models.NamespacedID) (ledger.Account, error)
func (AccountService) GetSubAccountByID ¶
func (AccountService) GetSubAccountByID(_ context.Context, id models.NamespacedID) (ledger.SubAccount, error)
func (AccountService) ListAccounts ¶
func (AccountService) ListAccounts(context.Context, ledger.ListAccountsInput) ([]ledger.Account, error)
func (AccountService) ListSubAccounts ¶
func (AccountService) ListSubAccounts(context.Context, ledger.ListSubAccountsInput) ([]ledger.SubAccount, error)
func (AccountService) LockAccountsForPosting ¶
type Ledger ¶
type Ledger struct{}
func (Ledger) CommitGroup ¶
func (Ledger) CommitGroup(context.Context, ledger.TransactionGroupInput) (ledger.TransactionGroup, error)
func (Ledger) GetAccountBalance ¶
func (Ledger) GetBalanceBuckets ¶
func (Ledger) GetBalanceBuckets(context.Context, ledger.BalanceBucketQuery) ([]ledger.BalanceBucket, error)
func (Ledger) GetSubAccountBalance ¶
func (Ledger) GetSubAccountBalance(context.Context, ledger.SubAccount, ledger.BalanceQuery) (ledger.Balance, error)
func (Ledger) GetTransactionGroup ¶
func (Ledger) GetTransactionGroup(context.Context, models.NamespacedID) (ledger.TransactionGroup, error)
func (Ledger) ListTransactions ¶
func (Ledger) ListTransactions(context.Context, ledger.ListTransactionsInput) (ledger.ListTransactionsResult, error)
type NamespaceHandler ¶
type NamespaceHandler struct{}
func (NamespaceHandler) CreateNamespace ¶
func (NamespaceHandler) CreateNamespace(context.Context, string) error
func (NamespaceHandler) DeleteNamespace ¶
func (NamespaceHandler) DeleteNamespace(context.Context, string) error
Click to show internal directories.
Click to hide internal directories.