Class Purchase

java.lang.Object
org.logicmachine.rebl.common.KeyValue
org.logicmachine.rebl.domain.actions.Action
All Implemented Interfaces:
org.logicmachine.rebl.common.Maybe

public class Purchase extends Withdrawal
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
    Modifier
    Constructor
    Description
    protected
    Default constructor.
     
    Constructor creating a purchase action of the specified value.
  • 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Purchase

      public Purchase(Number price)
      Constructor creating a purchase action of the specified value.
      Parameters:
      price - holds the value associated with this purchase
    • Purchase

      protected Purchase()
      Default constructor.