Total

data class Total(val currency: String?, val shipping: Double, val tax: Double, val transactionTotal: Double)

Represents the total cost details for a transaction or cart.

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.

Constructors

Link copied to clipboard
constructor(currency: String?, shipping: Double, tax: Double, transactionTotal: Double)

Properties

Link copied to clipboard
@SerializedName(value = "currency")
val currency: String?
Link copied to clipboard
@SerializedName(value = "shipping")
val shipping: Double
Link copied to clipboard
@SerializedName(value = "tax")
val tax: Double
Link copied to clipboard
@SerializedName(value = "cartTotal", alternate = ["transactionTotal"])
val transactionTotal: Double