kotcity4 / kotcity.data / Contract

Contract

data class Contract : Debuggable

Constructors

<init>

Contract(from: TradeEntity, to: TradeEntity, tradeable: Tradeable, quantity: Int, path: Path?)

Properties

debug

var debug: Boolean

from

val from: TradeEntity

path

val path: Path?

quantity

val quantity: Int

to

val to: TradeEntity

tradeable

val tradeable: Tradeable

Functions

execute

fun execute(): Boolean

toString

fun toString(): String

void

fun void(): Unit

Inherited Functions

debug

open fun debug(message: String): Unit