openpss / com.hendraanggrian.openpss.db.schemas / OffsetPrice

OffsetPrice

data class OffsetPrice : Document<OffsetPrices>, Named

Constructors

<init>

OffsetPrice(name: String, minQty: Int, minPrice: Double, excessPrice: Double)

Properties

excessPrice

var excessPrice: Double

id

lateinit var id: Id<String, OffsetPrices>

NoSQL object identifier.

minPrice

var minPrice: Double

minQty

var minQty: Int

name

var name: String

Functions

toString

fun toString(): String

Companion Object Functions

new

fun new(name: String): OffsetPrice