public class CashReceiptCashDrawerOpenValidation extends GenericValidation
| Constructor and Description | 
|---|
CashReceiptCashDrawerOpenValidation()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
checkChangeRequestIsValid()
This method checks whether the change request is valid by comparing the currency/coin counts in the request with the 
 counts in the cash drawer + currency/coin counts sent with the cash receipt itself. 
 | 
CashDrawerService | 
getCashDrawerService()
Gets the cashDrawerService attribute. 
 | 
CashReceiptFamilyBase | 
getCashReceiptDocumentForValidation()
Gets the cashReceiptDocumentForValidation attribute. 
 | 
CashReceiptService | 
getCashReceiptService()
Gets the cashReceiptService attribute. 
 | 
void | 
setCashDrawerService(CashDrawerService cashDrawerService)
Sets the cashDrawerService attribute value. 
 | 
void | 
setCashReceiptDocumentForValidation(CashReceiptFamilyBase cashReceiptFamilyDocumentForValidation)
Sets the cashReceiptDocumentForValidation attribute value. 
 | 
void | 
setCashReceiptService(CashReceiptService cashReceiptService)
Sets the cashReceiptService attribute value. 
 | 
boolean | 
validate(AttributedDocumentEvent event)
Makes sure that the cash drawer for the verification unit associated with this CR doc is
 open. 
 | 
setQuitOnFail, shouldQuitOnFail, stageValidationgetParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterPropertiespublic CashReceiptCashDrawerOpenValidation()
public boolean validate(AttributedDocumentEvent event)
Validation.validate(org.kuali.ole.sys.document.validation.event.AttributedDocumentEvent)public boolean checkChangeRequestIsValid()
public CashReceiptFamilyBase getCashReceiptDocumentForValidation()
public void setCashReceiptDocumentForValidation(CashReceiptFamilyBase cashReceiptFamilyDocumentForValidation)
cashReceiptDocumentForValidation - The cashReceiptDocumentForValidation to set.public CashDrawerService getCashDrawerService()
public void setCashDrawerService(CashDrawerService cashDrawerService)
cashDrawerService - The cashDrawerService to set.public CashReceiptService getCashReceiptService()
public void setCashReceiptService(CashReceiptService cashReceiptService)
cashReceiptService - The cashReceiptService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.