Transaction

class Transaction(val player: UUID, val kind: Transaction.Kind, val amount: BigDecimal, val at: Instant = Instant.now()) : MongoConvert<MongoTransaction> (source)

Constructors

Link copied to clipboard
constructor(player: UUID, kind: Transaction.Kind, amount: BigDecimal, at: Instant = Instant.now())

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val at: Instant
Link copied to clipboard
Link copied to clipboard
open override val mongo: MongoTransaction

Gets MongoDB representation of this object

Link copied to clipboard