TransactionDetail

public struct TransactionDetail : Codable, Equatable

Detailed model of a transaction

  • id

    Transaction id

    Declaration

    Swift

    public let id: String
  • Transaction date

    Declaration

    Swift

    public let date: String
  • Amount of the transaction in milliunits

    Declaration

    Swift

    public let amount: Int
  • Transaction memo

    Declaration

    Swift

    public let memo: String?
  • Whether or not the transaction has been cleared

    Declaration

    Swift

    public let cleared: String
  • Whether or not the transaction has been approved

    Declaration

    Swift

    public let approved: Bool
  • Flag color

    Declaration

    Swift

    public let flagColor: String?
  • Id of the account this transaction belongs to

    Declaration

    Swift

    public let accountId: String
  • Name of the account this transaction belongs to

    Declaration

    Swift

    public let accountName: String
  • Payee id

    Declaration

    Swift

    public let payeeId: String?
  • Payee name

    Declaration

    Swift

    public let payeeName: String?
  • Category id

    Declaration

    Swift

    public let categoryId: String?
  • Category name

    Declaration

    Swift

    public let categoryName: String?
  • If it’s a transfer transaction, the transfer account id

    Declaration

    Swift

    public let transferAccountId: String?
  • If it’s a transfer transaction, the id of the transfer

    Declaration

    Swift

    public let transferTransactionId: String?
  • If it’s an imported transaction, the id of the matched transaction

    Declaration

    Swift

    public let matchedTransactionId: String?
  • Import id

    Declaration

    Swift

    public let importId: String?
  • Whether or not the transaction has been deleted

    Declaration

    Swift

    public let deleted: Bool
  • Sub transactions belonging to this transaction

    Declaration

    Swift

    public let subtransactions: [SubTransaction]