IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Defining a new cash drawer type

If you need new cash drawer types, you can define them in the XML file.

Following is an example for the <cashDrawer> tag defined in the branch001.xml file.
<!-- Define a new cash drawer type with specified currency, type, and scale. -->
<com.ibm.btt.bc.cm.rule.CashDrawerCreateSpec id="createSpec01"
		currency="CNY" type="STD" scale="2" >
<!-- Specify the bin types.-->
		<list Injection="binTypes">
			<string value="TRANSIT" />
			<string value="ON_US" />
		</list>
<!-- Specify the cash tray types.-->
		<list Injection="traySpecs">
			<string value="WRK" />
			<string value="RS1" />
			<string value="RS2" />
		</list>
<!-- Specify the cash total types.-->
		<list Injection="totalTypes">
			<string value="CASH_IN" />
			<string value="CASH_OUT" />
			<string value="CHECK_BATCH" />
			<string value="HOLDOVER_CHECK_BATCH" />
			<string value="TRANSIT" />
			<string value="ON_US_CHECK" />
			<string value="WITHDRAWAL" />
			<string value="DEPOSIT" />
			<string value="TX_DEBIT" />
			<string value="TX_CREDIT" />
		</list>
<!-- Specify the monetary denominational definition for the drawer.-->
		<list Injection="denominationTypes">
			<com.ibm.btt.bc.cm.DenoAmount type="C" unitValue="1" />
			<com.ibm.btt.bc.cm.DenoAmount type="C" unitValue="5" />
			<com.ibm.btt.bc.cm.DenoAmount type="C" unitValue="10" />
			<com.ibm.btt.bc.cm.DenoAmount type="N" unitValue="10" />
			<com.ibm.btt.bc.cm.DenoAmount type="N" unitValue="20" />
			<com.ibm.btt.bc.cm.DenoAmount type="C" unitValue="50" />
			<com.ibm.btt.bc.cm.DenoAmount type="N" unitValue="50" />
			<com.ibm.btt.bc.cm.DenoAmount type="C" unitValue="100" />
			<com.ibm.btt.bc.cm.DenoAmount type="N" unitValue="100" />
			<com.ibm.btt.bc.cm.DenoAmount type="N" unitValue="200" />
			<com.ibm.btt.bc.cm.DenoAmount type="N" unitValue="500" />
			<com.ibm.btt.bc.cm.DenoAmount type="N" unitValue="1000" />
			<com.ibm.btt.bc.cm.DenoAmount type="N" unitValue="2000" />
			<com.ibm.btt.bc.cm.DenoAmount type="N" unitValue="5000" />
			<com.ibm.btt.bc.cm.DenoAmount type="N" unitValue="10000" />
		</list>
	</com.ibm.btt.bc.cm.rule.CashDrawerCreateSpec>


Feedback