IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.bc.cm.rule
Class TotalingRule

java.lang.Object
  extended by com.ibm.btt.bc.cm.rule.TotalingRule

public class TotalingRule
extends java.lang.Object

The TotalingRule class is used by the Cash Drawer Session Bean to update specific cash drawer totals and add batch items in open batches. Example:

<action=INCREMENT affects=CASH_IN txnAmountName=CASH_IN>

<action=ADD_BATCH_ITEM affects=TRANSIT txnAmountName=CHECK_IN>


Constructor Summary
TotalingRule()
           
 
Method Summary
 java.lang.String getAction()
          Returns the value of the field action.
 java.lang.String getTargetTotal()
          Returns the value of the field affects.
 void setAction(java.lang.String value)
          Updates the field action with the specified value.
 void setTargetTotal(java.lang.String value)
          Updates the field affects with the specified value.
 java.lang.String toString()
          Overrides the method from java.lang.Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TotalingRule

public TotalingRule()
Method Detail

getAction

public java.lang.String getAction()
Returns the value of the field action.

Returns:
java.lang.String

getTargetTotal

public java.lang.String getTargetTotal()
Returns the value of the field affects.

Returns:
java.lang.String

setAction

public void setAction(java.lang.String value)
Updates the field action with the specified value.

Parameters:
value - java.lang.String

setTargetTotal

public void setTargetTotal(java.lang.String value)
Updates the field affects with the specified value.

Parameters:
value - java.lang.String

toString

public java.lang.String toString()
Overrides the method from java.lang.Object.

Overrides:
toString in class java.lang.Object
Returns:
java.lang.String

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009