@Domain(fields={"postedTimeslot","amount"}) public class BankTransaction extends BrokerTransaction
broker, id, postedTimeslot
Constructor and Description |
---|
BankTransaction(Broker broker,
double amount,
int time)
Constructs a new BankTransaction instance, giving it a new id.
|
Modifier and Type | Method and Description |
---|---|
double |
getAmount() |
getBroker, getId, getPostedTime, getPostedTimeslot, getPostedTimeslotIndex
readResolve
public BankTransaction(Broker broker, double amount, int time)
Copyright © 2019 Power TAC. All rights reserved.