Summary

@Serializable
data class Summary(val amount: Int? = null, val pricePerUnit: Double? = null, val orders: Int? = null)

An order summary for a bazaar product

Constructors

Link copied to clipboard
constructor(amount: Int? = null, pricePerUnit: Double? = null, orders: Int? = null)

Properties

Link copied to clipboard
val amount: Int? = null

The total amount of items being ordered.

Link copied to clipboard
val orders: Int? = null

The amount of orders at this price.

Link copied to clipboard
val pricePerUnit: Double? = null

The price being paid per unit.