Structures

The following structures are available globally.

  • Struct with represents just the name of an Account

    See more

    Declaration

    Swift

    public struct AccountName : AccountItem
    extension AccountName: Equatable
    extension AccountName: CustomStringConvertible
    extension AccountName: Hashable
  • Represents an Amount - a number with a commodity

    See more

    Declaration

    Swift

    public struct Amount
    extension Amount: CustomStringConvertible
    extension Amount: MultiCurrencyAmountRepresentable
    extension Amount: Equatable
    extension Amount: Hashable
  • An assert that the balance of a given commodity is correct for the accout at the end of the given day

    See more

    Declaration

    Swift

    public struct Balance
    extension Balance: CustomStringConvertible
    extension Balance: Equatable
  • Custom directive

    See more

    Declaration

    Swift

    public struct Custom
    extension Custom: CustomStringConvertible
    extension Custom: Equatable
    extension Custom: Comparable
  • Event

    See more

    Declaration

    Swift

    public struct Event
    extension Event: CustomStringConvertible
    extension Event: Equatable
    extension Event: Comparable
  • Represents an amout which consists of amouts in multiple currencies

    Tolerance for validation: Half of the last digit of precision provided separately for each currency

    See more

    Declaration

    Swift

    public struct MultiCurrencyAmount
    extension MultiCurrencyAmount: MultiCurrencyAmountRepresentable
    extension MultiCurrencyAmount: Equatable
  • Option to control bahaviour of Beancount

    See more

    Declaration

    Swift

    public struct Option
    extension Option: CustomStringConvertible
    extension Option: Comparable
  • Price of a commodity in another commodity on a given date

    See more

    Declaration

    Swift

    public struct Price
    extension Price: CustomStringConvertible
    extension Price: Equatable
  • Tag

    A Tag is just a String which can be attatched to a Transaction

    See more

    Declaration

    Swift

    public struct Tag
    extension Tag: CustomStringConvertible
    extension Tag: Comparable
    extension Tag: Hashable
  • TransactionMetaData is data which is or can be attatched to an Transaction.

    It consists of date, payee, narration as well as a flag and tags.

    See more

    Declaration

    Swift

    public struct TransactionMetaData
    extension TransactionMetaData: CustomStringConvertible
    extension TransactionMetaData: Equatable
    extension TransactionMetaData: Hashable