public class CashieringTransaction extends org.kuali.rice.krad.bo.TransientBusinessObjectBase
| Modifier and Type | Field and Description | 
|---|---|
| static String | DETAIL_DOCUMENT_TYPE | 
| Constructor and Description | 
|---|
| CashieringTransaction(String campusCode,
                                          String referenceFinancialDocumentNumber)Constructs a CashieringTransaction | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addCheck(Check check)Adds a new check to the list. | 
| Check | createNewCheck() | 
| Check | getBaselineCheck(int index)Implementation creates empty Checks as a side-effect, so that Struts' efforts to set fields of lines which haven't been
 created will succeed rather than causing a NullPointerException. | 
| List | getBaselineChecks() | 
| String | getCampusCode()Gets the campusCode attribute. | 
| Check | getCheck(int index)Retrieve a particular check at a given index in the list of checks. | 
| int | getCheckCount()Gets the number of checks, since Sun doesn't have a direct getter for collection size | 
| List | getChecks()Gets the checks attribute. | 
| Check | getMoneyInCheck(int index)Retrieves a specific check from the list, by array index | 
| List<Check> | getMoneyInChecks()Gets the moneyInChecks attribute. | 
| CoinDetail | getMoneyInCoin()Gets the moneyInCoin attribute. | 
| CurrencyDetail | getMoneyInCurrency()Gets the moneyInCurrency attribute. | 
| org.kuali.rice.core.api.util.type.KualiDecimal | getMoneyInTotal()This method calcuates how much money has come in to the "Money In" side of the transaction | 
| CoinDetail | getMoneyOutCoin()Gets the moneyOutCoin attribute. | 
| CurrencyDetail | getMoneyOutCurrency()Gets the moneyOutCurrency attribute. | 
| org.kuali.rice.core.api.util.type.KualiDecimal | getMoneyOutTotal()This method calculates how much money has gone out through the "Money Out" side of the transaction | 
| Check | getNewCheck()Gets the newCheck attribute. | 
| CashieringItemInProcess | getNewItemInProcess()Gets the newItemInProcess attribute. | 
| Integer | getNextCheckSequenceId()Gets the nextCheckSequenceId attribute. | 
| CashieringItemInProcess | getOpenItemInProcess(int index)This method returns a single open item in process | 
| List<CashieringItemInProcess> | getOpenItemsInProcess()Gets the openItemsInProcess attribute. | 
| org.kuali.rice.core.api.util.type.KualiDecimal | getPaidBackItemsInProcessAmount()This method calculates how much money has been paid back in all items in process | 
| String | getReferenceFinancialDocumentNumber()Gets the referenceFinancialDocumentNumber attribute. | 
| org.kuali.rice.core.api.util.type.KualiDecimal | getTotalCheckAmount() | 
| Date | getTransactionEnded()Gets the transactionEnded attribute. | 
| Date | getTransactionStarted()Gets the transactionStarted attribute. | 
| boolean | hasBaselineCheck(int index) | 
| void | prepareForSave()This method will make sure that all of the various currency, coin, check, and item in process detail records are populated
 with the correct info. | 
| void | removeCheck(int index)This method removes a check from the list and updates the total appropriately. | 
| void | setBaselineChecks(List baselineChecks)Sets the current List of baseline checks to the given List | 
| void | setCampusCode(String campusCode)Sets the campusCode attribute value. | 
| void | setChecks(List checks)Sets the checks attribute value. | 
| void | setCheckTotal(org.kuali.rice.core.api.util.type.KualiDecimal checkTotal)Deprecated.   | 
| void | setMoneyInChecks(List<Check> moneyInChecks)Sets the moneyInChecks attribute value. | 
| void | setMoneyInCoin(CoinDetail moneyInCoin)Sets the moneyInCoin attribute value. | 
| void | setMoneyInCurrency(CurrencyDetail moneyInCurrency)Sets the moneyInCurrency attribute value. | 
| void | setMoneyOutCoin(CoinDetail moneyOutCoin)Sets the moneyOutCoin attribute value. | 
| void | setMoneyOutCurrency(CurrencyDetail moneyOutCurrency)Sets the moneyOutCurrency attribute value. | 
| void | setNewCheck(Check newCheck)Sets the newCheck attribute value. | 
| void | setNewItemInProcess(CashieringItemInProcess newItemInProcess)Sets the newItemInProcess attribute value. | 
| void | setNextCheckSequenceId(Integer nextCheckSequenceId)Sets the nextCheckSequenceId attribute value. | 
| void | setOpenItemsInProcess(List<CashieringItemInProcess> openItemsInProcess)Sets the openItemsInProcess attribute value. | 
| void | setReferenceFinancialDocumentNumber(String referenceFinancialDocumentNumber)Sets the referenceFinancialDocumentNumber attribute value. | 
| void | setTransactionEnded(Date transactionEnded)Sets the transactionEnded attribute value. | 
| void | setTransactionStarted(Date transactionStarted)Sets the transactionStarted attribute value. | 
| protected LinkedHashMap | toStringMapper_RICE20_REFACTORME() | 
public static final String DETAIL_DOCUMENT_TYPE
public CashieringTransaction(String campusCode, String referenceFinancialDocumentNumber)
public List<Check> getMoneyInChecks()
public void setMoneyInChecks(List<Check> moneyInChecks)
moneyInChecks - The moneyInChecks to set.public Check getMoneyInCheck(int index)
index - the index of the checks array to retrieve the check frompublic CoinDetail getMoneyInCoin()
public void setMoneyInCoin(CoinDetail moneyInCoin)
moneyInCoin - The moneyInCoin to set.public CurrencyDetail getMoneyInCurrency()
public void setMoneyInCurrency(CurrencyDetail moneyInCurrency)
moneyInCurrency - The moneyInCurrency to set.public CoinDetail getMoneyOutCoin()
public void setMoneyOutCoin(CoinDetail moneyOutCoin)
moneyOutCoin - The moneyOutCoin to set.public Date getTransactionEnded()
public void setTransactionEnded(Date transactionEnded)
transactionEnded - The transactionEnded to set.public Date getTransactionStarted()
public void setTransactionStarted(Date transactionStarted)
transactionStarted - The transactionStarted to set.public String getCampusCode()
public void setCampusCode(String campusCode)
campusCode - The campusCode to set.public void setMoneyOutCurrency(CurrencyDetail moneyOutCurrency)
moneyOutCurrency - The moneyOutCurrency to set.public String getReferenceFinancialDocumentNumber()
public void setReferenceFinancialDocumentNumber(String referenceFinancialDocumentNumber)
referenceFinancialDocumentNumber - The referenceFinancialDocumentNumber to set.public CurrencyDetail getMoneyOutCurrency()
public CashieringItemInProcess getNewItemInProcess()
public void setNewItemInProcess(CashieringItemInProcess newItemInProcess)
newItemInProcess - The newItemInProcess to set.public List<CashieringItemInProcess> getOpenItemsInProcess()
public void setOpenItemsInProcess(List<CashieringItemInProcess> openItemsInProcess)
openItemsInProcess - The openItemsInProcess to set.public CashieringItemInProcess getOpenItemInProcess(int index)
public Check getNewCheck()
public void setNewCheck(Check newCheck)
newCheck - The newCheck to set.public void prepareForSave()
protected LinkedHashMap toStringMapper_RICE20_REFACTORME()
org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()public void setChecks(List checks)
checks - The checks to set.public int getCheckCount()
public Check getCheck(int index)
index - public void removeCheck(int index)
index - public org.kuali.rice.core.api.util.type.KualiDecimal getTotalCheckAmount()
public Integer getNextCheckSequenceId()
public void setNextCheckSequenceId(Integer nextCheckSequenceId)
nextCheckSequenceId - The nextCheckSequenceId to set.public Check createNewCheck()
public org.kuali.rice.core.api.util.type.KualiDecimal getPaidBackItemsInProcessAmount()
public List getBaselineChecks()
public void setBaselineChecks(List baselineChecks)
baselineChecks - public boolean hasBaselineCheck(int index)
index - public Check getBaselineCheck(int index)
index - public org.kuali.rice.core.api.util.type.KualiDecimal getMoneyInTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getMoneyOutTotal()
public void setCheckTotal(org.kuali.rice.core.api.util.type.KualiDecimal checkTotal)
checkTotal - Copyright © 2004–2015 The Kuali Foundation. All rights reserved.