Account

public struct Account : Codable, Equatable

Budget account model

  • id

    Account id

    Declaration

    Swift

    public let id: String
  • Account name

    Declaration

    Swift

    public let name: String
  • Account type

    Declaration

    Swift

    public let type: String
  • Budget account or not

    Declaration

    Swift

    public let onBudget: Bool
  • Closed account or not

    Declaration

    Swift

    public let closed: Bool
  • Note on the account

    Declaration

    Swift

    public let note: String?
  • Account balance

    Declaration

    Swift

    public let balance: Int
  • Cleared account balance

    Declaration

    Swift

    public let clearedBalance: Int
  • Uncleared account balance

    Declaration

    Swift

    public let unclearedBalance: Int
  • Payee id for transfers

    Declaration

    Swift

    public let transferPayeeId: String
  • Indicates whether the account is linked via direct import

    Declaration

    Swift

    public let directImportLinked: Bool
  • Indicates whether direct import is in an error state

    Declaration

    Swift

    public let directImportInError: Bool
  • Date when account was last reconciled

    Declaration

    Swift

    public let lastReconciledAt: String?
  • Original balance for a debt account

    Declaration

    Swift

    public let debtOriginalBalance: Int?
  • Interest rate at different points in time

    Declaration

    Swift

    public let debtInterestRates: [String : Int]
  • Minimum payment at different points in time

    Declaration

    Swift

    public let debtMinimumPayments: [String : Int]
  • Escrow amount at different points in time

    Declaration

    Swift

    public let debtEscrowAmounts: [String : Int]
  • Deleted account or not

    Declaration

    Swift

    public let deleted: Bool