BasketItem

data class BasketItem(val productId: String, val unitPrice: BigDecimal, val quantity: Int)

A line of a basket: quantity units of productId at unitPrice each.

Constructors

Link copied to clipboard
constructor(productId: String, unitPrice: BigDecimal, quantity: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard