OrderItem

data class OrderItem(val productId: String = "", val name: String = "", val price: Double = 0.0, val qty: Int = 1, val imageUrl: String = "")

Representa un ítem o producto dentro de una orden de compra.

Constructors

Link copied to clipboard
constructor(productId: String = "", name: String = "", price: Double = 0.0, qty: Int = 1, imageUrl: String = "")

Properties

Link copied to clipboard

URL de la imagen del producto.

Link copied to clipboard

Nombre del producto.

Link copied to clipboard

Precio unitario del producto.

Link copied to clipboard

ID del producto.

Link copied to clipboard
val qty: Int

Cantidad de unidades compradas.