LineItem

data class LineItem(val id: String? = null, val amount: Int = 0, val couponId: String? = null, val discountID: String? = null, val discountRuleID: String? = null, val discountType: String? = null, val listPrice: Int = 0, val name: String? = null, val price: Int = 0, val priceModifiers: List<PriceModifier>? = null, val redeemed: Boolean = false, val refersTo: String? = null, val referenceUnit: String? = null, val scannedCode: String? = null, val sku: String? = null, val totalPrice: Int = 0, val type: LineItemType? = null, val units: Int? = null, val weight: Int? = null, val weightUnit: String? = null)

Constructors

Link copied to clipboard
constructor(id: String? = null, amount: Int = 0, couponId: String? = null, discountID: String? = null, discountRuleID: String? = null, discountType: String? = null, listPrice: Int = 0, name: String? = null, price: Int = 0, priceModifiers: List<PriceModifier>? = null, redeemed: Boolean = false, refersTo: String? = null, referenceUnit: String? = null, scannedCode: String? = null, sku: String? = null, totalPrice: Int = 0, type: LineItemType? = null, units: Int? = null, weight: Int? = null, weightUnit: String? = null)

Properties

Link copied to clipboard
val amount: Int = 0
Link copied to clipboard
@SerializedName(value = "couponID")
val couponId: String? = null
Link copied to clipboard
val discountID: String? = null
Link copied to clipboard
val discountRuleID: String? = null
Link copied to clipboard
val discountType: String? = null
Link copied to clipboard
val id: String? = null
Link copied to clipboard
val listPrice: Int = 0
Link copied to clipboard
val name: String? = null
Link copied to clipboard
val price: Int = 0
Link copied to clipboard
Link copied to clipboard
val redeemed: Boolean = false
Link copied to clipboard
val referenceUnit: String? = null
Link copied to clipboard
val refersTo: String? = null
Link copied to clipboard
val scannedCode: String? = null
Link copied to clipboard
val sku: String? = null
Link copied to clipboard
val totalPrice: Int = 0
Link copied to clipboard
val type: LineItemType? = null
Link copied to clipboard
val units: Int? = null
Link copied to clipboard
val weight: Int? = null
Link copied to clipboard
val weightUnit: String? = null