originalTransactionDescription
TypeScriptget originalTransactionDescription(): stringSwift declarationlet originalTransactionDescription: StringThe unmodified description of the transaction.
struct · iOS 17.4+ · SDK 27.1
struct TransactionA structure that represents a transaction relating to a specific financial account. This can include transactions such as a deposit to or a withdrawn from bank account, a credit card transaction.
get originalTransactionDescription(): stringSwift declarationlet originalTransactionDescription: StringThe unmodified description of the transaction.
get postedDate(): (globalThis.Date) | nullSwift declarationlet postedDate: Date?The date and time that the transaction was posted to the account. If not provided, use ``transactionDate`` as `postedDate`.
get merchantName(): (string) | nullSwift declarationlet merchantName: String?The name of the merchant, if present.
get transactionDate(): globalThis.DateSwift declarationlet transactionDate: DateThe time the transaction took place, if available. This may be different from the time the transaction posted to the account.
get transactionType(): TransactionTypeSwift declarationlet transactionType: TransactionTypeThe type of the transaction. This value describes the specific kind of transaction, such as a purchase, a bill, a funds transfer, and so on. The transaction type may not always be available.
get transactionAmount(): CurrencyAmountSwift declarationlet transactionAmount: CurrencyAmountThe total amount of the transaction.
get creditDebitIndicator(): CreditDebitIndicatorSwift declarationlet creditDebitIndicator: CreditDebitIndicatorAn indicator that describes if the transaction is a credit or a debit.
get merchantCategoryCode(): (MerchantCategoryCode) | nullSwift declarationlet merchantCategoryCode: MerchantCategoryCode?The ISO 18245 category code for the transaction.
get foreignCurrencyAmount(): (CurrencyAmount) | nullSwift declarationlet foreignCurrencyAmount: CurrencyAmount?The total amount of the transaction, if it was carried out in a foreign currency.
get transactionDescription(): stringSwift declarationlet transactionDescription: StringA description of the transaction. For example, a merchant name, or details about the person being paid.
get foreignCurrencyExchangeRate(): (_Foundation_Decimal) | nullSwift declarationlet foreignCurrencyExchangeRate: Decimal?The currency exchange rate, if the transaction was carried out in a foreign currency.
get id(): stringSwift declarationlet id: UUIDA unique internal ID.
get status(): TransactionStatusSwift declarationlet status: TransactionStatusThe status of the transaction, if available.
get accountID(): stringSwift declarationlet accountID: UUIDThe account ID the transaction belongs to.
No declarations were skipped in this snapshot.