Total

constructor(currency: String?, shipping: Double, tax: Double, transactionTotal: Double)

Parameters

currency

The currency code for the transaction's monetary values (e.g., "USD"), or null if not specified.

shipping

The shipping cost for the transaction.

tax

The tax amount applied to the transaction.

transactionTotal

The total cost of the transaction, including items, tax, and shipping.