public class CashDrawer extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase
Constructor and Description |
---|
CashDrawer()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addCoin(CoinDetail detail)
This method puts coin into the cash drawer
|
void |
addCurrency(CurrencyDetail detail)
This method adds currency to the cash drawer
|
org.kuali.rice.location.framework.campus.CampusEbo |
getCampus()
Gets the campus attribute.
|
String |
getCampusCode()
Gets the campusCode attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getCashDrawerTotalAmount()
Gets the cashDrawerTotalAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getCoinTotalAmount()
This method calculates the total amount of coin in the cash drawer
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getCurrencyTotalAmount()
This method calculates the total amount of currency in the cash drawer
|
Integer |
getFiftyCentCount()
Returns the number of half-cent coins in the drawer
|
Integer |
getFiftyDollarCount()
Returns the actual count of fifty dollar bills
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentFiftyCentAmount()
Gets the financialDocumentFiftyCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentFiftyDollarAmount()
Gets the financialDocumentFiftyDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentFiveCentAmount()
Gets the financialDocumentFiveCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentFiveDollarAmount()
Gets the financialDocumentFiveDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentHundredCentAmount()
Gets the financialDocumentHundredCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentHundredDollarAmount()
Gets the financialDocumentHundredDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentMiscellaneousAdvanceAmount()
Gets the financialDocumentMiscellaneousAdvanceAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentOneCentAmount()
Gets the financialDocumentOneCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentOneDollarAmount()
Gets the financialDocumentOneDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentOtherCentAmount()
Gets the financialDocumentOtherCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentOtherDollarAmount()
Gets the financialDocumentOtherDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentTenCentAmount()
Gets the financialDocumentTenCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentTenDollarAmount()
Gets the financialDocumentTenDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentTwentyDollarAmount()
Gets the financialDocumentTwentyDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentTwentyFiveCentAmount()
Gets the financialDocumentTwentyFiveCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentTwoDollarAmount()
Gets the financialDocumentTwoDollarAmount attribute.
|
Integer |
getFiveCentCount()
Returns the number of nickels in the drawer
|
Integer |
getFiveDollarCount()
Returns the actual count of five dollar bills
|
Integer |
getHundredCentCount()
Returns the number of dollar coins--Sacajawea, Susan B.
|
Integer |
getHundredDollarCount()
Returns the actual count of hundred dollar bills
|
Integer |
getOneCentCount()
Returns the number of pennies in the drawer
|
Integer |
getOneDollarCount()
Returns the actual count of one dollar bills
|
String |
getReferenceFinancialDocumentNumber()
Gets the referenceFinancialDocumentNumber attribute.
|
String |
getStatusCode()
Gets the statusCode attribute.
|
Integer |
getTenCentCount()
Returns the number of dimes in the drawer
|
Integer |
getTenDollarCount()
Returns the actual count of ten dollar bills
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalAmount()
This calculates the total amount of money currently in the cash drawer
|
Integer |
getTwentyDollarCount()
Returns the actual count of twenty dollar bills
|
Integer |
getTwentyFiveCentCount()
Returns the number of quarters in the drawer
|
Integer |
getTwoDollarCount()
Returns the actual count of two dollar bills
|
boolean |
isClosed()
This method returns true if the cash drawer is closed.
|
boolean |
isLocked()
This method returns true if the cash drawer is locked.
|
boolean |
isOpen()
This method returns true if the cash drawer is open.
|
void |
removeCoin(CoinDetail detail)
This method takes coin out of the cash drawer
|
void |
removeCurrency(CurrencyDetail detail)
This method removes currency amounts from the cash drawer
|
void |
setCampusCode(String campusCode)
Sets the campusCode attribute.
|
void |
setCashDrawerTotalAmount(org.kuali.rice.core.api.util.type.KualiDecimal cashDrawerTotalAmount)
Sets the cashDrawerTotalAmount attribute.
|
void |
setFiftyCentCount(Integer count)
Sets the number of fifty cent coins in the drawer.
|
void |
setFiftyDollarCount(Integer count)
This sets the count of hundred dollar bills present in the drawer
|
void |
setFinancialDocumentFiftyCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiftyCentAmount)
Sets the financialDocumentFiftyCentAmount attribute.
|
void |
setFinancialDocumentFiftyDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiftyDollarAmount)
Sets the financialDocumentFiftyDollarAmount attribute.
|
void |
setFinancialDocumentFiveCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiveCentAmount)
Sets the financialDocumentFiveCentAmount attribute.
|
void |
setFinancialDocumentFiveDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiveDollarAmount)
Sets the financialDocumentFiveDollarAmount attribute.
|
void |
setFinancialDocumentHundredCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentHundredCentAmount)
Sets the financialDocumentHundredCentAmount attribute.
|
void |
setFinancialDocumentHundredDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentHundredDollarAmount)
Sets the financialDocumentHundredDollarAmount attribute.
|
void |
setFinancialDocumentMiscellaneousAdvanceAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentMiscellaneousAdvanceAmount)
Sets the financialDocumentMiscellaneousAdvanceAmount attribute.
|
void |
setFinancialDocumentOneCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOneCentAmount)
Sets the financialDocumentOneCentAmount attribute.
|
void |
setFinancialDocumentOneDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOneDollarAmount)
Sets the financialDocumentOneDollarAmount attribute.
|
void |
setFinancialDocumentOtherCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOtherCentAmount)
Sets the financialDocumentOtherCentAmount attribute.
|
void |
setFinancialDocumentOtherDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOtherDollarAmount)
Sets the financialDocumentOtherDollarAmount attribute.
|
void |
setFinancialDocumentTenCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTenCentAmount)
Sets the financialDocumentTenCentAmount attribute.
|
void |
setFinancialDocumentTenDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTenDollarAmount)
Sets the financialDocumentTenDollarAmount attribute.
|
void |
setFinancialDocumentTwentyDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTwentyDollarAmount)
Sets the financialDocumentTwentyDollarAmount attribute.
|
void |
setFinancialDocumentTwentyFiveCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTwentyFiveCentAmount)
Sets the financialDocumentTwentyFiveCentAmount attribute.
|
void |
setFinancialDocumentTwoDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTwoDollarAmount)
Sets the financialDocumentTwoDollarAmount attribute.
|
void |
setFiveCentCount(Integer count)
Sets the number of nickels in the drawer
|
void |
setFiveDollarCount(Integer count)
This sets the count of five dollar bills present in the drawer
|
void |
setHundredCentCount(Integer count)
Sets the number of hundred cent coins in the drawer
|
void |
setHundredDollarCount(Integer count)
This sets the count of hundred dollar bills present in the drawer
|
void |
setOneCentCount(Integer count)
Sets the number of pennies in the drawer
|
void |
setOneDollarCount(Integer count)
This sets the count of one dollar bills present in the drawer
|
void |
setReferenceFinancialDocumentNumber(String referenceFinancialDocumentNumber)
Sets the referenceFinancialDocumentNumber attribute.
|
void |
setStatusCode(String financialDocumentOpenDepositCode)
Sets the statusCode attribute.
|
void |
setTenCentCount(Integer count)
Sets the number of dimes in the drawer
|
void |
setTenDollarCount(Integer count)
This sets the count of ten dollar bills present in the drawer
|
void |
setTwentyDollarCount(Integer count)
This sets the count of twenty dollar bills present in the drawer
|
void |
setTwentyFiveCentCount(Integer count)
Sets the number of quarters in the drawer
|
void |
setTwoDollarCount(Integer count)
This sets the count of two dollar bills present in the drawer
|
protected LinkedHashMap |
toStringMapper_RICE20_REFACTORME() |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
public CashDrawer()
public boolean isOpen()
public boolean isClosed()
public boolean isLocked()
public String getCampusCode()
public void setCampusCode(String campusCode)
campusCode
- The campusCode to set.public String getStatusCode()
public void setStatusCode(String financialDocumentOpenDepositCode)
financialDocumentOpenDepositCode
- The statusCode to set.public org.kuali.rice.core.api.util.type.KualiDecimal getCashDrawerTotalAmount()
public void setCashDrawerTotalAmount(org.kuali.rice.core.api.util.type.KualiDecimal cashDrawerTotalAmount)
cashDrawerTotalAmount
- The cashDrawerTotalAmount to set.public org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentHundredDollarAmount()
public void setFinancialDocumentHundredDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentHundredDollarAmount)
financialDocumentHundredDollarAmount
- The financialDocumentHundredDollarAmount to set.public Integer getHundredDollarCount()
public void setHundredDollarCount(Integer count)
count
- the number of hundred dollar bills present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentFiftyDollarAmount()
public void setFinancialDocumentFiftyDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiftyDollarAmount)
financialDocumentFiftyDollarAmount
- The financialDocumentFiftyDollarAmount to set.public Integer getFiftyDollarCount()
public void setFiftyDollarCount(Integer count)
count
- the number of hundred dollar bills present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentTwentyDollarAmount()
public void setFinancialDocumentTwentyDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTwentyDollarAmount)
financialDocumentTwentyDollarAmount
- The financialDocumentTwentyDollarAmount to set.public Integer getTwentyDollarCount()
public void setTwentyDollarCount(Integer count)
count
- the number of twenty dollar bills present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentTenDollarAmount()
public void setFinancialDocumentTenDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTenDollarAmount)
financialDocumentTenDollarAmount
- The financialDocumentTenDollarAmount to set.public Integer getTenDollarCount()
public void setTenDollarCount(Integer count)
count
- the number of ten dollar bills present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentFiveDollarAmount()
public void setFinancialDocumentFiveDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiveDollarAmount)
financialDocumentFiveDollarAmount
- The financialDocumentFiveDollarAmount to set.public Integer getFiveDollarCount()
public void setFiveDollarCount(Integer count)
count
- the number of five dollar bills present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentTwoDollarAmount()
public void setFinancialDocumentTwoDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTwoDollarAmount)
financialDocumentTwoDollarAmount
- The financialDocumentTwoDollarAmount to set.public Integer getTwoDollarCount()
public void setTwoDollarCount(Integer count)
count
- the number of two dollar bills present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentOneDollarAmount()
public void setFinancialDocumentOneDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOneDollarAmount)
financialDocumentOneDollarAmount
- The financialDocumentOneDollarAmount to set.public Integer getOneDollarCount()
public void setOneDollarCount(Integer count)
count
- the number of one dollar bills present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentOtherDollarAmount()
public void setFinancialDocumentOtherDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOtherDollarAmount)
financialDocumentOtherDollarAmount
- The financialDocumentOtherDollarAmount to set.public org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentFiftyCentAmount()
public void setFinancialDocumentFiftyCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiftyCentAmount)
financialDocumentFiftyCentAmount
- The financialDocumentFiftyCentAmount to set.public Integer getFiftyCentCount()
public void setFiftyCentCount(Integer count)
count
- the number of fifty cent coins present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentTwentyFiveCentAmount()
public void setFinancialDocumentTwentyFiveCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTwentyFiveCentAmount)
financialDocumentTwentyFiveCentAmount
- The financialDocumentTwentyFiveCentAmount to set.public Integer getTwentyFiveCentCount()
public void setTwentyFiveCentCount(Integer count)
count
- the number of quarters present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentTenCentAmount()
public void setFinancialDocumentTenCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTenCentAmount)
financialDocumentTenCentAmount
- The financialDocumentTenCentAmount to set.public Integer getTenCentCount()
public void setTenCentCount(Integer count)
count
- the number of dimes present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentFiveCentAmount()
public void setFinancialDocumentFiveCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiveCentAmount)
financialDocumentFiveCentAmount
- The financialDocumentFiveCentAmount to set.public Integer getFiveCentCount()
public void setFiveCentCount(Integer count)
count
- the number of nickels present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentOneCentAmount()
public void setFinancialDocumentOneCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOneCentAmount)
financialDocumentOneCentAmount
- The financialDocumentOneCentAmount to set.public Integer getOneCentCount()
public void setOneCentCount(Integer count)
count
- the number of pennies present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentOtherCentAmount()
public void setFinancialDocumentOtherCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOtherCentAmount)
financialDocumentOtherCentAmount
- The financialDocumentOtherCentAmount to set.public org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentHundredCentAmount()
public void setFinancialDocumentHundredCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentHundredCentAmount)
financialDocumentHundredCentAmount
- The financialDocumentHundredCentAmount to set.public Integer getHundredCentCount()
public void setHundredCentCount(Integer count)
count
- the number of hundred cent coins present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentMiscellaneousAdvanceAmount()
public void setFinancialDocumentMiscellaneousAdvanceAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentMiscellaneousAdvanceAmount)
financialDocumentMiscellaneousAdvanceAmount
- The financialDocumentMiscellaneousAdvanceAmount to set.public String getReferenceFinancialDocumentNumber()
public void setReferenceFinancialDocumentNumber(String referenceFinancialDocumentNumber)
referenceFinancialDocumentNumber
- The referenceFinancialDocumentNumber to set.public org.kuali.rice.core.api.util.type.KualiDecimal getCurrencyTotalAmount()
public org.kuali.rice.core.api.util.type.KualiDecimal getCoinTotalAmount()
public org.kuali.rice.core.api.util.type.KualiDecimal getTotalAmount()
public void addCurrency(CurrencyDetail detail)
detail
- the record indicating how much of each denomination of currency to addpublic void addCoin(CoinDetail detail)
detail
- the record indicating how much coin of each denomiation to addpublic void removeCurrency(CurrencyDetail detail)
detail
- the record indicating how much currency of each denomination to removepublic void removeCoin(CoinDetail detail)
detail
- the record indicating how much coin of each denomination to removepublic org.kuali.rice.location.framework.campus.CampusEbo getCampus()
protected LinkedHashMap toStringMapper_RICE20_REFACTORME()
org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.