Total

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

Represents the total cost details for a cart in the prepurchase flow.

Parameters

cartTotal

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

currency

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

shipping

The shipping cost for the cart.

tax

The tax amount applied to the cart.

Constructors

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

Properties

Link copied to clipboard
@SerializedName(value = "cartTotal")
val cartTotal: Double
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