Class Purchase
java.lang.Object
org.logicmachine.rebl.common.KeyValue
org.logicmachine.rebl.domain.actions.Action
org.logicmachine.rebl.integrationTests_6_bank.actions.AccountTransaction
org.logicmachine.rebl.integrationTests_6_bank.actions.Withdrawal
org.logicmachine.rebl.integrationTests_6_bank.actions.Purchase
- All Implemented Interfaces:
org.logicmachine.rebl.common.Maybe
The business action associated with
making a purchase from a current account.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.logicmachine.rebl.domain.actions.Action
org.logicmachine.rebl.domain.actions.Action.EmptyAction
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.logicmachine.rebl.integrationTests_6_bank.actions.AccountTransaction
doAction, toString, transactionDate, valueOf, withAmount
Methods inherited from class org.logicmachine.rebl.domain.actions.Action
emptyAction, verifyPreConditions, withActiveEntity, withActiveEntity, withKey
Methods inherited from class org.logicmachine.rebl.common.KeyValue
empty, emptyKeyValue, get, getPropertyChangeEvent, isEmpty, key, setEmpty, toString, toString, toString, toString
-
Constructor Details
-
Purchase
Constructor creating a purchase action of the specified value.- Parameters:
price
- holds the value associated with this purchase
-
Purchase
protected Purchase()Default constructor.
-