TransactionContext
public struct TransactionContext
TransactionContext defines the context of a transaction, encompassing details such as the merchant name, transaction amount, and currency code.
Version
Version 3.0Since
Since 3.0-
merchantNameThe name of the merchant.Declaration
Swift
public let merchantName: String -
amountThe transaction amount in ISO 4217 format. That is, with the correct number of digits after the decimal separator.Declaration
Swift
public let amount: String -
currencyCodeThe ISO 4217 currency code of the transaction where both numeric and alpha-numeric values are supported.Declaration
Swift
public let currencyCode: String -
Initializer for Transaction Context
Declaration
Swift
public init(merchantName: String, amount: String, currencyCode: String)
TransactionContext Structure Reference