pub struct Attributes {Show 13 fields
pub status: TransactionStatusEnum,
pub raw_text: Option<String>,
pub description: String,
pub message: Option<String>,
pub is_categorizable: bool,
pub hold_info: Option<HoldInfoObject>,
pub round_up: Option<RoundUpObject>,
pub cashback: Option<CashBackObject>,
pub amount: MoneyObject,
pub foreign_amount: Option<MoneyObject>,
pub card_purchase_method: Option<CardPurchaseMethodObject>,
pub settled_at: Option<String>,
pub created_at: String,
}Fields§
§status: TransactionStatusEnumThe current processing status of this transaction, according to whether
or not this transaction has settled or is still held. Possible values:
HELD, SETTLED
raw_text: Option<String>The original, unprocessed text of the transaction. This is often not a perfect indicator of the actual merchant, but it is useful for reconciliation purposes in some cases.
description: StringA short description for this transaction. Usually the merchant name for purchases.
message: Option<String>Attached message for this transaction, such as a payment message, or a transfer note.
is_categorizable: boolBoolean flag set to true on transactions that support the use of categories.
hold_info: Option<HoldInfoObject>If this transaction is currently in the HELD status, or was ever in
the HELD status, the amount and foreignAmount of the transaction
while HELD.
round_up: Option<RoundUpObject>Details of how this transaction was rounded-up. If no Round Up was
applied this field will be null.
cashback: Option<CashBackObject>If all or part of this transaction was instantly reimbursed in the form of cashback, details of the reimbursement.
amount: MoneyObjectThe amount of this transaction in Australian dollars. For transactions
that were once HELD but are now SETTLED, refer to the holdInfo
field for the original amount the transaction was HELD at.
foreign_amount: Option<MoneyObject>The foreign currency amount of this transaction. This field will be
null for domestic transactions. The amount was converted to the AUD
amount reflected in the amount of this transaction. Refer to the
holdInfo field for the original foreignAmount the transaction was
HELD at.
card_purchase_method: Option<CardPurchaseMethodObject>Information about the card used for this transaction, if applicable.
settled_at: Option<String>The date-time at which this transaction settled. This field will be
null for transactions that are currently in the HELD status.
created_at: StringThe date-time at which this transaction was first encountered.