testutils

package
v1.0.0-beta.230 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnyEntryInput

type AnyEntryInput struct {
	Address             ledger.PostingAddress
	AmountValue         alpacadecimal.Decimal
	IdentityKeyValue    string
	SchemaVersionValue  ledger.EntrySchemaVersion
	SourceChargeIDValue *string
	SpendChargeIDValue  *string
	AnnotationsValue    models.Annotations
}

func (*AnyEntryInput) Amount

func (a *AnyEntryInput) Amount() alpacadecimal.Decimal

func (*AnyEntryInput) Annotations

func (a *AnyEntryInput) Annotations() models.Annotations

func (*AnyEntryInput) IdentityKey

func (a *AnyEntryInput) IdentityKey() string

func (*AnyEntryInput) PostingAddress

func (a *AnyEntryInput) PostingAddress() ledger.PostingAddress

func (*AnyEntryInput) SchemaVersion

func (a *AnyEntryInput) SchemaVersion() ledger.EntrySchemaVersion

func (*AnyEntryInput) SourceChargeID

func (a *AnyEntryInput) SourceChargeID() *string

func (*AnyEntryInput) SpendChargeID

func (a *AnyEntryInput) SpendChargeID() *string

type AnyTransactionGroupInput

type AnyTransactionGroupInput struct {
	NamespaceValue     string
	TransactionsValues []*AnyTransactionInput
	AnnotationsValue   models.Annotations
}

func (*AnyTransactionGroupInput) Annotations

func (a *AnyTransactionGroupInput) Annotations() models.Annotations

func (*AnyTransactionGroupInput) Namespace

func (a *AnyTransactionGroupInput) Namespace() string

func (*AnyTransactionGroupInput) Transactions

func (a *AnyTransactionGroupInput) Transactions() []ledger.TransactionInput

type AnyTransactionInput

type AnyTransactionInput struct {
	BookedAtValue     time.Time
	EntryInputsValues []*AnyEntryInput
	AnnotationsValue  models.Annotations
}

func (*AnyTransactionInput) Annotations

func (a *AnyTransactionInput) Annotations() models.Annotations

func (*AnyTransactionInput) AsGroupInput

func (a *AnyTransactionInput) AsGroupInput(namespace string, annotations models.Annotations) ledger.TransactionGroupInput

func (*AnyTransactionInput) BookedAt

func (a *AnyTransactionInput) BookedAt() time.Time

func (*AnyTransactionInput) EntryInputs

func (a *AnyTransactionInput) EntryInputs() []ledger.EntryInput

Jump to

Keyboard shortcuts

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