TransactionDetail
public struct TransactionDetail : Codable, Equatable, Sendable
Detailed model of a transaction
-
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: ClearedStatus -
Whether or not the transaction has been approved
Declaration
Swift
public let approved: Bool -
Flag color
Declaration
Swift
public let flagColor: FlagColor? -
The customized name of a flag
Declaration
Swift
public let flagName: 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? -
Import payee name
Declaration
Swift
public let importPayeeName: String? -
Original name of the import payee
Declaration
Swift
public let importPayeeNameOriginal: String? -
If the transaction is for a loan, etc
Declaration
Swift
public let debtTransactionType: 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]
View on GitHub