Bazaar Sell Order
class BazaarSellOrder(val item: Identifier, var qty: Int, val pricePer: Double, var sold: Int, val buyers: MutableList<UUID>, val createdBy: UUID, val originalAmount: Int, val createdAt: Long = Instant.now().toEpochMilli()) : BazaarOrder, Serializable, MongoConvert<MongoBazaarOrder> , Comparable<BazaarSellOrder> (source)
A bazaar SELL order
Constructors
Link copied to clipboard
constructor(item: Identifier, qty: Int, pricePer: Double, sold: Int, buyers: MutableList<UUID>, createdBy: UUID, originalAmount: Int, createdAt: Long = Instant.now().toEpochMilli())
Properties
Link copied to clipboard
UUIDs of players who bought items off this order
Link copied to clipboard
Item this order belongs to
Link copied to clipboard
Gets MongoDB representation of this object
Link copied to clipboard
Original amount ordered
Link copied to clipboard
Total coins accumulated in this order