| java.lang.Object org.kuali.module.financial.rules.CashieringTransactionRule
CashieringTransactionRule | public class CashieringTransactionRule (Code) | | This class represents the rule used during cash management
|
checkAllPaidBackItemsInProcess | public boolean checkAllPaidBackItemsInProcess(CashieringTransaction trans)(Code) | | This method returns true if all open items in process amounts do not exceed the total for each specific item's amount total
Parameters: trans - transaction from cash management document true if all open items in process amounts do not exceed the total for each specific item's amount total |
checkEnoughCashForMoneyOut | public boolean checkEnoughCashForMoneyOut(CashManagementDocument cmDoc, CashieringTransaction trans)(Code) | | This method returns true if none of the coin (1 cent, 5 cents, etc) and cash increments (1 dollar, 2 dollars, 5 dollars etc. )
from ( money-in + cash drawer ) exceed the amount for that increment from the money-out.
Parameters: cmDoc - represents cash management document Parameters: trans - represents cash transaction from cash management document true if none of the coin and cash increments from money-in + cash drawer excreed amount for increments in money-out |
checkItemInProcessIsNotPayingOffItemInProcess | public boolean checkItemInProcessIsNotPayingOffItemInProcess(CashManagementDocument cmDoc, CashieringTransaction trans)(Code) | | This method returns true if a new item in process is populated and none of the open item in process' amounts are greater than zero.
Parameters: cmDoc - submitted cash management document Parameters: trans - transaction from cash management document true if a new item in process is populated and none of the open item in process' amounts are greater than zero. |
checkMoneyInMoneyOutBalance | public boolean checkMoneyInMoneyOutBalance(CashieringTransaction trans)(Code) | | Returns true if money-in and money-out are in balance with each other
Parameters: trans - represents cashiering transaction from cash management document true if money-in and money-out are balanced |
checkMoneyInNoNegatives | public boolean checkMoneyInNoNegatives(CashieringTransaction trans)(Code) | | Returns true if none of the entered money-in amounts (cash and coin) are not negative in a cashiering transaction
Parameters: trans - represents cashiering transaction from document true if none of the amounts are negative |
checkMoneyOutNoNegatives | public boolean checkMoneyOutNoNegatives(CashieringTransaction trans)(Code) | | Returns true if none of the entered money-out amounts (cash and coin) are not negative in a cashiering transaction
Parameters: trans - represents cashiering transaction from document true if none of the amounts are negative |
checkNewItemInProcessDoesNotExceedCashDrawer | public boolean checkNewItemInProcessDoesNotExceedCashDrawer(CashManagementDocument cmDoc, CashieringTransaction trans)(Code) | | This method returns true if the new item in process does not exceed the current amount in the cash drawer reserves
Parameters: cmDoc - submitted cash management document Parameters: trans - transaction from cash management document true if the new item in process does not exceed the current amount in the cash drawer reserves |
checkNewItemInProcessInPast | public boolean checkNewItemInProcessInPast(CashieringTransaction trans)(Code) | | This method returns true if the current date is after all new items in process' open dates
Parameters: trans - transaction from cash management document true if the current date is after all new items in process' open dates |
checkPaidBackItemInProcessDoesNotExceedTotal | public boolean checkPaidBackItemInProcessDoesNotExceedTotal(CashieringItemInProcess itemInProc, int cashieringItemNumber)(Code) | | This method returns true if the current payment amount for the cashiering item in process does not exceed
the actual item amount for the item in process
Parameters: itemInProc - cashiering item in process Parameters: cashieringItemNumber - cashiering item number true if the current payment amount for the cashiering item in process does not exceedthe actual item amount for the item in process |
checkTransactionCheckTotalDoesNotExceedCashDrawer | public boolean checkTransactionCheckTotalDoesNotExceedCashDrawer(CashManagementDocument cmDoc, CashieringTransaction trans)(Code) | | This method returns true if check total from transaction does not exceed the current amount in the cash drawer reserves
Parameters: cmDoc - submitted cash management document Parameters: trans - transaction from cash management document true if check total from transaction does not exceed the current amount in the cash drawer reserves |
getCashDrawerService | public CashDrawerService getCashDrawerService()(Code) | | Gets the cashDrawerService attribute.
Returns the cashDrawerService. |
processCashieringTransactionApplicationRules | public boolean processCashieringTransactionApplicationRules(CashManagementDocument cmDoc)(Code) | | Returns true if all application rules called by this method return true
Parameters: cmDoc - represents cash management document true if all cashiering transaction application rules do not fail |
setCashDrawerService | public void setCashDrawerService(CashDrawerService cashDrawerService)(Code) | | Sets the cashDrawerService attribute value.
Parameters: cashDrawerService - The cashDrawerService to set. |
|
|