Structures
The following structures are available globally.
-
Struct with represents just the name of an Account
See moreDeclaration
Swift
public struct AccountName : AccountItem
extension AccountName: Equatable
extension AccountName: CustomStringConvertible
extension AccountName: Hashable
-
Represents an Amount - a number with a commodity
See moreDeclaration
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 moreDeclaration
Swift
public struct Balance
extension Balance: CustomStringConvertible
extension Balance: Equatable
-
Custom directive
See moreDeclaration
Swift
public struct Custom
extension Custom: CustomStringConvertible
extension Custom: Equatable
extension Custom: Comparable
-
Event
See moreDeclaration
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 moreDeclaration
Swift
public struct MultiCurrencyAmount
extension MultiCurrencyAmount: MultiCurrencyAmountRepresentable
extension MultiCurrencyAmount: Equatable
-
Option to control bahaviour of Beancount
See moreDeclaration
Swift
public struct Option
extension Option: CustomStringConvertible
extension Option: Comparable
-
Price of a commodity in another commodity on a given date
See moreDeclaration
Swift
public struct Price
extension Price: CustomStringConvertible
extension Price: Equatable
-
A Tag is just a
See moreString
which can be attatched to aTransaction
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 moreDeclaration
Swift
public struct TransactionMetaData
extension TransactionMetaData: CustomStringConvertible
extension TransactionMetaData: Equatable
extension TransactionMetaData: Hashable