HybridTransaction
public struct HybridTransaction : Codable, Equatable, Sendable
Undocumented
-
Transaction type
Declaration
Swift
public let type: String -
Id of the parent transaction
Declaration
Swift
public let parentTransactionId: String? -
Transaction id
Declaration
Swift
public let id: String -
Transaction date
Declaration
Swift
public let date: String -
Transaction amount
Declaration
Swift
public let amount: Int -
Transaction amount formatted in the plan currency
Declaration
Swift
public let amountFormatted: String? -
Transaction amount as a decimal currency amount
Declaration
Swift
public let amountCurrency: Decimal? -
Transaction memo
Declaration
Swift
public let memo: String? -
Whether or not the transaction is cleared
Declaration
Swift
public let cleared: ClearedStatus -
Where or not the transaction is approved
Declaration
Swift
public let approved: Bool -
Flag color
Declaration
Swift
public let flagColor: FlagColor? -
Flag name
Declaration
Swift
public let flagName: String? -
Account id
Declaration
Swift
public let accountId: String -
Account name
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? -
Transfer account id
Declaration
Swift
public let transferAccountId: String? -
Transfer transaction id
Declaration
Swift
public let transferTransactionId: String? -
Matched transaction id
Declaration
Swift
public let matchedTransactionId: String? -
Import id
Declaration
Swift
public let importId: String? -
If the transaction was imported, the payee name that was used when importing and before applying any payee rename rules
Declaration
Swift
public let importPayeeName: String? -
If the transaction was imported, the original payee name as it appeared on the statement
Declaration
Swift
public let importPayeeNameOriginal: String? -
If the transaction is a debt/loan account transaction, the type of transaction
Declaration
Swift
public let debtTransactionType: DebtTransactionType? -
Whether or not the transaction is deleted
Declaration
Swift
public let deleted: Bool -
init(type:parentTransactionId: id: date: amount: amountFormatted: amountCurrency: memo: cleared: approved: flagColor: flagName: accountId: accountName: payeeId: payeeName: categoryId: categoryName: transferAccountId: transferTransactionId: matchedTransactionId: importId: importPayeeName: importPayeeNameOriginal: debtTransactionType: deleted: ) Undocumented
Declaration
Swift
public init( type: String, parentTransactionId: String?, id: String, date: String, amount: Int, amountFormatted: String?, amountCurrency: Decimal?, memo: String?, cleared: ClearedStatus, approved: Bool, flagColor: FlagColor?, flagName: String?, accountId: String, accountName: String, payeeId: String?, payeeName: String?, categoryId: String?, categoryName: String?, transferAccountId: String?, transferTransactionId: String?, matchedTransactionId: String?, importId: String?, importPayeeName: String?, importPayeeNameOriginal: String?, debtTransactionType: DebtTransactionType?, deleted: Bool )
View on GitHub