Class Charge

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

public class Charge extends Withdrawal
The business action associated with applying a charge to 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.
     
    Charge(Number amount)
    Constructor creating a charge 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

    • Charge

      public Charge(Number amount)
      Constructor creating a charge action of the specified value.
      Parameters:
      amount - holds the value associated with this charge
    • Charge

      protected Charge()
      Default constructor.