Transaction
constructor(transactionId: String, totalAmount: Double, tax: Double, shipping: Double, currency: String)
Parameters
transaction Id
The unique identifier for the transaction.
total Amount
The total cost of items in the transaction, excluding tax and shipping.
tax
The tax amount applied to the transaction.
shipping
The shipping cost for the transaction.
currency
The currency code for the transaction's monetary values (e.g., "USD").