|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CashDrawerManager
Method Summary | |
---|---|
void |
assignCashDrawer(java.lang.String branchId,
java.lang.String drawerId,
java.lang.String userId)
Assigns the specified cash drawer to the user with the specified userId. |
void |
closeBatch(java.lang.String branchId,
java.lang.String drawerId,
java.lang.String binType)
Closes the last open batch in the bin batch and creates the next one for this bin. |
void |
createCashDrawer(java.lang.String branchId,
java.lang.String drawerId,
java.lang.String location,
java.lang.String type,
java.lang.String currencyCode,
int reserves)
Creates a new cash drawer with the specified characteristics. |
void |
deleteCashDrawer(java.lang.String branchId,
java.lang.String drawerId)
Deletes the specified cash drawer and all its trays, and totals. |
java.util.List<CashDrawer> |
getAllCashDrawers(java.lang.String branchId)
Return all cash drawers from specified branch. |
java.util.List<CashDrawer> |
getAssignedCashDrawers(java.lang.String branchId,
java.lang.String userId)
Returns all cash drawers assigned to the specified user ID for the specified branch ID. |
DenoAmounts |
getAvailableAmount(java.lang.String branchId,
java.lang.String drawerId)
Returns the amount with denominational detail that is available in the working cash tray. |
DenoAmounts |
getBaitBills(java.lang.String branchId,
java.lang.String drawerId)
Returns bait bill amount in specified drawer. |
java.util.List<Batch> |
getBatches(java.lang.String branchId,
java.lang.String drawerId,
java.lang.String binType)
Returns a list of batches for specified bin for specified drawer. |
java.util.List<Bin> |
getBins(java.lang.String branchId,
java.lang.String drawerId)
Returns a list of bins. |
CashDrawer |
getCashDrawer(java.lang.String branchId,
java.lang.String drawerId)
Returns Cash Drawer object. |
DenoAmounts |
getCashDrawerCurrentPosition(java.lang.String branchId,
java.lang.String drawerId)
Returns the cash drawer total amount of money with denominational detail based on the sum of the current position fields from all its cash trays. |
DenoAmounts |
getCashDrawerStartingPosition(java.lang.String branchId,
java.lang.String drawerId)
Returns the cash drawer total amount of money with denominational detail based on the sum of the starting position fields from all its cash trays. |
java.util.Map<java.lang.String,CDTotal> |
getCashDrawerTotals(java.lang.String branchId,
java.lang.String drawerId)
Returns a hash map of cash drawer total objects : {totalsType, total} as {String, CDTotal}. |
DenoAmounts |
getTrapAmount(java.lang.String branchId,
java.lang.String drawerId)
Returns trap amounts' detail for trays belonging to this drawer. |
java.util.List<CashTray> |
getTrays(java.lang.String branchId,
java.lang.String drawerId)
Returns a list of cash trays in the specified drawer. |
void |
modifyBaitBills(java.lang.String branchId,
java.lang.String drawerId,
DenoAmounts trayBaitBill)
Modifies the bait bill records according to the values contained in the parameter. |
void |
modifyCashDrawerLocation(java.lang.String branchId,
java.lang.String drawerId,
java.lang.String newLocation)
Modifies the string representing the location of the specified cash drawer. |
void |
modifyTrapAmounts(java.lang.String branchId,
java.lang.String drawerId,
java.lang.String trayType,
DenoAmounts trapAmount)
Modifies the tray's trap amounts according to the new amount. |
java.util.List<CashTray> |
queryUnsettledTrays(java.lang.String branchId,
java.lang.String drawerId)
Returns a list of cash trays whose state is UNSETTLE. |
void |
settleCashDrawer(java.lang.String branchId,
java.lang.String drawerId)
Set the specified drawer's state to 'SETTLED'. |
void |
settleCashTray(java.lang.String branchId,
java.lang.String drawerId,
java.lang.String trayType)
Set the specified tray's state to 'SETTLED'. |
void |
trayExchange(java.lang.String branchId,
java.lang.String drawerId,
java.lang.String fromTrayType,
java.lang.String toTrayType,
DenoAmounts amount)
Transfers an amount from one tray to another tray of the specified drawer. |
void |
unAssignCashDrawer(java.lang.String branchId,
java.lang.String drawerId)
Unassigns the specified cash drawer. |
void |
updateCashDrawer(java.lang.String branchId,
java.lang.String drawerId,
java.lang.String txnCode,
DenoAmounts amount)
Updates the cash drawer totals, and trays. |
Methods inherited from interface com.ibm.btt.bc.cm.CashDrawerManagerInterface |
---|
endOfDayCashDrawer, initializeCashDrawer |
Method Detail |
---|
void assignCashDrawer(java.lang.String branchId, java.lang.String drawerId, java.lang.String userId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the cash drawer
is locateddrawerId
- java.lang.String - the ID of the cash drawer that is assigneduserId
- java.lang.String - the ID of the user
CashDrawerManagementException
void settleCashDrawer(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the cash drawer
is locateddrawerId
- java.lang.String - the ID of the drawer who will be settled
CashDrawerManagementException
void unAssignCashDrawer(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the cash drawer
is locateddrawerId
- java.lang.String - the ID of the drawer being unassigned
CashDrawerManagementException
void updateCashDrawer(java.lang.String branchId, java.lang.String drawerId, java.lang.String txnCode, DenoAmounts amount) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer being updatedtxnCode
- java.lang.String - the code of the transaction being executedamount
- com.ibm.btt.bc.cm.DenoAmounts - the amount with denominational
details
CashDrawerManagementException
void createCashDrawer(java.lang.String branchId, java.lang.String drawerId, java.lang.String location, java.lang.String type, java.lang.String currencyCode, int reserves) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
createddrawerId
- java.lang.String - the ID of the drawer being createdlocation
- java.lang.String - the location of the cash drawertype
- java.lang.String - the type of drawer being createdcurrencyCode
- java.lang.String - the code of the currency that this cash
drawer will handlereserves
- int - the number of reserve trays required for this drawer (0,
1, 2, etc.), and its value should bigger than 0.
CashDrawerManagementException
void deleteCashDrawer(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer being deleted
CashDrawerManagementException
java.util.List<CashDrawer> getAllCashDrawers(java.lang.String branchId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch whose cash drawers are
being queried
CashDrawerManagementException
java.util.List<CashDrawer> getAssignedCashDrawers(java.lang.String branchId, java.lang.String userId) throws CashDrawerManagementException
branchId
- java.lang.String - the current branch ID for the useruserId
- java.lang.String - the ID of the user whose assigned cash
drawers are being retrieved
CashDrawerManagementException
DenoAmounts getAvailableAmount(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the specified
drawer is locateddrawerId
- java.lang.String - the ID of the drawer whose available amount
is being queried
CashDrawerManagementException
CashDrawer getCashDrawer(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the specified
drawer is locateddrawerId
- java.lang.String - the ID of the drawer are being queried.
CashDrawerManagementException
DenoAmounts getCashDrawerCurrentPosition(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the specified
drawer is locateddrawerId
- java.lang.String - the ID of the drawer which is being
queried.
CashDrawerManagementException
DenoAmounts getCashDrawerStartingPosition(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer whose starting
position is being queried
CashDrawerManagementException
java.util.Map<java.lang.String,CDTotal> getCashDrawerTotals(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer whose totals are being
queried
CashDrawerManagementException
void modifyCashDrawerLocation(java.lang.String branchId, java.lang.String drawerId, java.lang.String newLocation) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of a drawer whose location is being
modifiednewLocation
- java.lang.String - the new location for the drawer
CashDrawerManagementException
void closeBatch(java.lang.String branchId, java.lang.String drawerId, java.lang.String binType) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the cash drawer
is locateddrawerId
- java.lang.String - the ID of the drawer where the bin is
locatedbinType
- java.lang.String - the bin type of the batch to be closed
CashDrawerManagementException
void trayExchange(java.lang.String branchId, java.lang.String drawerId, java.lang.String fromTrayType, java.lang.String toTrayType, DenoAmounts amount) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer containing the trays
involved in this exchangefromTrayType
- java.lang.String - the type of tray from which money is being
transferredtoTrayType
- java.lang.String - the type of tray into which money is being
transferredamount
- com.ibm.btt.bc.cm.DenoAmounts - the amount being transferred
CashDrawerManagementException
java.util.List<CashTray> queryUnsettledTrays(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer which is being queried
CashDrawerManagementException
void modifyTrapAmounts(java.lang.String branchId, java.lang.String drawerId, java.lang.String trayType, DenoAmounts trapAmount) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of a drawer where the tray is
located.trayType
- java.lang.String - the type of Tray whose trap amount is being
modifiedtrapAmount
- com.ibm.btt.bc.cm.DenoAmounts - the new trap amount for the
tray.
CashDrawerManagementException
DenoAmounts getBaitBills(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer whose bait bills are
being queried
CashDrawerManagementException
DenoAmounts getTrapAmount(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer being queried
CashDrawerManagementException
void settleCashTray(java.lang.String branchId, java.lang.String drawerId, java.lang.String trayType) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the cash drawer
is locateddrawerId
- java.lang.String - the ID of the drawer where the cash tray is
locatedtrayType
- java.lang.String - the type of the tray who will be settled
CashDrawerManagementException
void modifyBaitBills(java.lang.String branchId, java.lang.String drawerId, DenoAmounts trayBaitBill) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer being queriedtrayBaitBill
- com.ibm.btt.bc.cm.DenoAmounts - the new bait bill amount
detail.
CashDrawerManagementException
java.util.List<Bin> getBins(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer whose bins are being
queried
CashDrawerManagementException
java.util.List<CashTray> getTrays(java.lang.String branchId, java.lang.String drawerId) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer being queried
CashDrawerManagementException
java.util.List<Batch> getBatches(java.lang.String branchId, java.lang.String drawerId, java.lang.String binType) throws CashDrawerManagementException
branchId
- java.lang.String - the ID of the branch where the drawer is
locateddrawerId
- java.lang.String - the ID of the drawer containing the queried
binbinType
- java.lang.String - the type of bin being queried
CashDrawerManagementException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |