org.kuali.kfs.fp.businessobject
Class CashDrawer

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.fp.businessobject.CashDrawer
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject

public class CashDrawer
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase

This class represents a cash drawer used in cash management document. It contains amounts for different types of denominations for currency and coin.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
CashDrawer()
          Default constructor.
 
Method Summary
 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.kns.bo.Campus getCampus()
           
 String getCampusCode()
          Gets the campusCode attribute.
 org.kuali.rice.kns.util.KualiDecimal getCashDrawerTotalAmount()
          Gets the cashDrawerTotalAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getCoinTotalAmount()
          This method calculates the total amount of coin in the cash drawer
 org.kuali.rice.kns.util.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.kns.util.KualiDecimal getFinancialDocumentFiftyCentAmount()
          Gets the financialDocumentFiftyCentAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentFiftyDollarAmount()
          Gets the financialDocumentFiftyDollarAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentFiveCentAmount()
          Gets the financialDocumentFiveCentAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentFiveDollarAmount()
          Gets the financialDocumentFiveDollarAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentHundredCentAmount()
          Gets the financialDocumentHundredCentAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentHundredDollarAmount()
          Gets the financialDocumentHundredDollarAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentMiscellaneousAdvanceAmount()
          Gets the financialDocumentMiscellaneousAdvanceAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentOneCentAmount()
          Gets the financialDocumentOneCentAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentOneDollarAmount()
          Gets the financialDocumentOneDollarAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentOtherCentAmount()
          Gets the financialDocumentOtherCentAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentOtherDollarAmount()
          Gets the financialDocumentOtherDollarAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTenCentAmount()
          Gets the financialDocumentTenCentAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTenDollarAmount()
          Gets the financialDocumentTenDollarAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTwentyDollarAmount()
          Gets the financialDocumentTwentyDollarAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTwentyFiveCentAmount()
          Gets the financialDocumentTwentyFiveCentAmount attribute.
 org.kuali.rice.kns.util.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.kns.util.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.kns.util.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.kns.util.KualiDecimal financialDocumentFiftyCentAmount)
          Sets the financialDocumentFiftyCentAmount attribute.
 void setFinancialDocumentFiftyDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiftyDollarAmount)
          Sets the financialDocumentFiftyDollarAmount attribute.
 void setFinancialDocumentFiveCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiveCentAmount)
          Sets the financialDocumentFiveCentAmount attribute.
 void setFinancialDocumentFiveDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiveDollarAmount)
          Sets the financialDocumentFiveDollarAmount attribute.
 void setFinancialDocumentHundredCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentHundredCentAmount)
          Sets the financialDocumentHundredCentAmount attribute.
 void setFinancialDocumentHundredDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentHundredDollarAmount)
          Sets the financialDocumentHundredDollarAmount attribute.
 void setFinancialDocumentMiscellaneousAdvanceAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentMiscellaneousAdvanceAmount)
          Sets the financialDocumentMiscellaneousAdvanceAmount attribute.
 void setFinancialDocumentOneCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOneCentAmount)
          Sets the financialDocumentOneCentAmount attribute.
 void setFinancialDocumentOneDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOneDollarAmount)
          Sets the financialDocumentOneDollarAmount attribute.
 void setFinancialDocumentOtherCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOtherCentAmount)
          Sets the financialDocumentOtherCentAmount attribute.
 void setFinancialDocumentOtherDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOtherDollarAmount)
          Sets the financialDocumentOtherDollarAmount attribute.
 void setFinancialDocumentTenCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTenCentAmount)
          Sets the financialDocumentTenCentAmount attribute.
 void setFinancialDocumentTenDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTenDollarAmount)
          Sets the financialDocumentTenDollarAmount attribute.
 void setFinancialDocumentTwentyDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTwentyDollarAmount)
          Sets the financialDocumentTwentyDollarAmount attribute.
 void setFinancialDocumentTwentyFiveCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTwentyFiveCentAmount)
          Sets the financialDocumentTwentyFiveCentAmount attribute.
 void setFinancialDocumentTwoDollarAmount(org.kuali.rice.kns.util.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()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow
 

Constructor Detail

CashDrawer

public CashDrawer()
Default constructor.

Method Detail

isOpen

public boolean isOpen()
This method returns true if the cash drawer is open.

Returns:
boolean

isClosed

public boolean isClosed()
This method returns true if the cash drawer is closed.

Returns:
boolean

isLocked

public boolean isLocked()
This method returns true if the cash drawer is locked.

Returns:
boolean

getCampusCode

public String getCampusCode()
Gets the campusCode attribute.

Returns:
Returns the campusCode

setCampusCode

public void setCampusCode(String campusCode)
Sets the campusCode attribute.

Parameters:
campusCode - The campusCode to set.

getStatusCode

public String getStatusCode()
Gets the statusCode attribute.

Returns:
Returns the statusCode

setStatusCode

public void setStatusCode(String financialDocumentOpenDepositCode)
Sets the statusCode attribute.

Parameters:
financialDocumentOpenDepositCode - The statusCode to set.

getCashDrawerTotalAmount

public org.kuali.rice.kns.util.KualiDecimal getCashDrawerTotalAmount()
Gets the cashDrawerTotalAmount attribute.

Returns:
Returns the cashDrawerTotalAmount

setCashDrawerTotalAmount

public void setCashDrawerTotalAmount(org.kuali.rice.kns.util.KualiDecimal cashDrawerTotalAmount)
Sets the cashDrawerTotalAmount attribute.

Parameters:
cashDrawerTotalAmount - The cashDrawerTotalAmount to set.

getFinancialDocumentHundredDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentHundredDollarAmount()
Gets the financialDocumentHundredDollarAmount attribute.

Returns:
Returns the financialDocumentHundredDollarAmount

setFinancialDocumentHundredDollarAmount

public void setFinancialDocumentHundredDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentHundredDollarAmount)
Sets the financialDocumentHundredDollarAmount attribute.

Parameters:
financialDocumentHundredDollarAmount - The financialDocumentHundredDollarAmount to set.

getHundredDollarCount

public Integer getHundredDollarCount()
Returns the actual count of hundred dollar bills

Returns:
the number of hundred dollar bills present in the drawer

setHundredDollarCount

public void setHundredDollarCount(Integer count)
This sets the count of hundred dollar bills present in the drawer

Parameters:
count - the number of hundred dollar bills present in the drawer

getFinancialDocumentFiftyDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentFiftyDollarAmount()
Gets the financialDocumentFiftyDollarAmount attribute.

Returns:
Returns the financialDocumentFiftyDollarAmount

setFinancialDocumentFiftyDollarAmount

public void setFinancialDocumentFiftyDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiftyDollarAmount)
Sets the financialDocumentFiftyDollarAmount attribute.

Parameters:
financialDocumentFiftyDollarAmount - The financialDocumentFiftyDollarAmount to set.

getFiftyDollarCount

public Integer getFiftyDollarCount()
Returns the actual count of fifty dollar bills

Returns:
the number of fifty dollar bills present in the drawer

setFiftyDollarCount

public void setFiftyDollarCount(Integer count)
This sets the count of hundred dollar bills present in the drawer

Parameters:
count - the number of hundred dollar bills present in the drawer

getFinancialDocumentTwentyDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTwentyDollarAmount()
Gets the financialDocumentTwentyDollarAmount attribute.

Returns:
Returns the financialDocumentTwentyDollarAmount

setFinancialDocumentTwentyDollarAmount

public void setFinancialDocumentTwentyDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTwentyDollarAmount)
Sets the financialDocumentTwentyDollarAmount attribute.

Parameters:
financialDocumentTwentyDollarAmount - The financialDocumentTwentyDollarAmount to set.

getTwentyDollarCount

public Integer getTwentyDollarCount()
Returns the actual count of twenty dollar bills

Returns:
the number of twenty dollar bills present in the drawer

setTwentyDollarCount

public void setTwentyDollarCount(Integer count)
This sets the count of twenty dollar bills present in the drawer

Parameters:
count - the number of twenty dollar bills present in the drawer

getFinancialDocumentTenDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTenDollarAmount()
Gets the financialDocumentTenDollarAmount attribute.

Returns:
Returns the financialDocumentTenDollarAmount

setFinancialDocumentTenDollarAmount

public void setFinancialDocumentTenDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTenDollarAmount)
Sets the financialDocumentTenDollarAmount attribute.

Parameters:
financialDocumentTenDollarAmount - The financialDocumentTenDollarAmount to set.

getTenDollarCount

public Integer getTenDollarCount()
Returns the actual count of ten dollar bills

Returns:
the number of ten dollar bills present in the drawer

setTenDollarCount

public void setTenDollarCount(Integer count)
This sets the count of ten dollar bills present in the drawer

Parameters:
count - the number of ten dollar bills present in the drawer

getFinancialDocumentFiveDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentFiveDollarAmount()
Gets the financialDocumentFiveDollarAmount attribute.

Returns:
Returns the financialDocumentFiveDollarAmount

setFinancialDocumentFiveDollarAmount

public void setFinancialDocumentFiveDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiveDollarAmount)
Sets the financialDocumentFiveDollarAmount attribute.

Parameters:
financialDocumentFiveDollarAmount - The financialDocumentFiveDollarAmount to set.

getFiveDollarCount

public Integer getFiveDollarCount()
Returns the actual count of five dollar bills

Returns:
the number of five dollar bills present in the drawer

setFiveDollarCount

public void setFiveDollarCount(Integer count)
This sets the count of five dollar bills present in the drawer

Parameters:
count - the number of five dollar bills present in the drawer

getFinancialDocumentTwoDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTwoDollarAmount()
Gets the financialDocumentTwoDollarAmount attribute.

Returns:
Returns the financialDocumentTwoDollarAmount

setFinancialDocumentTwoDollarAmount

public void setFinancialDocumentTwoDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTwoDollarAmount)
Sets the financialDocumentTwoDollarAmount attribute.

Parameters:
financialDocumentTwoDollarAmount - The financialDocumentTwoDollarAmount to set.

getTwoDollarCount

public Integer getTwoDollarCount()
Returns the actual count of two dollar bills

Returns:
the number of two dollar bills present in the drawer

setTwoDollarCount

public void setTwoDollarCount(Integer count)
This sets the count of two dollar bills present in the drawer

Parameters:
count - the number of two dollar bills present in the drawer

getFinancialDocumentOneDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentOneDollarAmount()
Gets the financialDocumentOneDollarAmount attribute.

Returns:
Returns the financialDocumentOneDollarAmount

setFinancialDocumentOneDollarAmount

public void setFinancialDocumentOneDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOneDollarAmount)
Sets the financialDocumentOneDollarAmount attribute.

Parameters:
financialDocumentOneDollarAmount - The financialDocumentOneDollarAmount to set.

getOneDollarCount

public Integer getOneDollarCount()
Returns the actual count of one dollar bills

Returns:
the number of one dollar bills present in the drawer

setOneDollarCount

public void setOneDollarCount(Integer count)
This sets the count of one dollar bills present in the drawer

Parameters:
count - the number of one dollar bills present in the drawer

getFinancialDocumentOtherDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentOtherDollarAmount()
Gets the financialDocumentOtherDollarAmount attribute.

Returns:
Returns the financialDocumentOtherDollarAmount

setFinancialDocumentOtherDollarAmount

public void setFinancialDocumentOtherDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOtherDollarAmount)
Sets the financialDocumentOtherDollarAmount attribute.

Parameters:
financialDocumentOtherDollarAmount - The financialDocumentOtherDollarAmount to set.

getFinancialDocumentFiftyCentAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentFiftyCentAmount()
Gets the financialDocumentFiftyCentAmount attribute.

Returns:
Returns the financialDocumentFiftyCentAmount

setFinancialDocumentFiftyCentAmount

public void setFinancialDocumentFiftyCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiftyCentAmount)
Sets the financialDocumentFiftyCentAmount attribute.

Parameters:
financialDocumentFiftyCentAmount - The financialDocumentFiftyCentAmount to set.

getFiftyCentCount

public Integer getFiftyCentCount()
Returns the number of half-cent coins in the drawer

Returns:
the count of half cent coins in the drawer

setFiftyCentCount

public void setFiftyCentCount(Integer count)
Sets the number of fifty cent coins in the drawer. This is useful if, you know, you're in da club, with, say a bottle full of "bub"

Parameters:
count - the number of fifty cent coins present in the drawer

getFinancialDocumentTwentyFiveCentAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTwentyFiveCentAmount()
Gets the financialDocumentTwentyFiveCentAmount attribute.

Returns:
Returns the financialDocumentTwentyFiveCentAmount

setFinancialDocumentTwentyFiveCentAmount

public void setFinancialDocumentTwentyFiveCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTwentyFiveCentAmount)
Sets the financialDocumentTwentyFiveCentAmount attribute.

Parameters:
financialDocumentTwentyFiveCentAmount - The financialDocumentTwentyFiveCentAmount to set.

getTwentyFiveCentCount

public Integer getTwentyFiveCentCount()
Returns the number of quarters in the drawer

Returns:
the count of quarters in the drawer

setTwentyFiveCentCount

public void setTwentyFiveCentCount(Integer count)
Sets the number of quarters in the drawer

Parameters:
count - the number of quarters present in the drawer

getFinancialDocumentTenCentAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTenCentAmount()
Gets the financialDocumentTenCentAmount attribute.

Returns:
Returns the financialDocumentTenCentAmount

setFinancialDocumentTenCentAmount

public void setFinancialDocumentTenCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTenCentAmount)
Sets the financialDocumentTenCentAmount attribute.

Parameters:
financialDocumentTenCentAmount - The financialDocumentTenCentAmount to set.

getTenCentCount

public Integer getTenCentCount()
Returns the number of dimes in the drawer

Returns:
the count of dimes in the drawer

setTenCentCount

public void setTenCentCount(Integer count)
Sets the number of dimes in the drawer

Parameters:
count - the number of dimes present in the drawer

getFinancialDocumentFiveCentAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentFiveCentAmount()
Gets the financialDocumentFiveCentAmount attribute.

Returns:
Returns the financialDocumentFiveCentAmount

setFinancialDocumentFiveCentAmount

public void setFinancialDocumentFiveCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiveCentAmount)
Sets the financialDocumentFiveCentAmount attribute.

Parameters:
financialDocumentFiveCentAmount - The financialDocumentFiveCentAmount to set.

getFiveCentCount

public Integer getFiveCentCount()
Returns the number of nickels in the drawer

Returns:
the count of nickels in the drawer

setFiveCentCount

public void setFiveCentCount(Integer count)
Sets the number of nickels in the drawer

Parameters:
count - the number of nickels present in the drawer

getFinancialDocumentOneCentAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentOneCentAmount()
Gets the financialDocumentOneCentAmount attribute.

Returns:
Returns the financialDocumentOneCentAmount

setFinancialDocumentOneCentAmount

public void setFinancialDocumentOneCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOneCentAmount)
Sets the financialDocumentOneCentAmount attribute.

Parameters:
financialDocumentOneCentAmount - The financialDocumentOneCentAmount to set.

getOneCentCount

public Integer getOneCentCount()
Returns the number of pennies in the drawer

Returns:
the count of pennies in the drawer

setOneCentCount

public void setOneCentCount(Integer count)
Sets the number of pennies in the drawer

Parameters:
count - the number of pennies present in the drawer

getFinancialDocumentOtherCentAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentOtherCentAmount()
Gets the financialDocumentOtherCentAmount attribute.

Returns:
Returns the financialDocumentOtherCentAmount

setFinancialDocumentOtherCentAmount

public void setFinancialDocumentOtherCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOtherCentAmount)
Sets the financialDocumentOtherCentAmount attribute.

Parameters:
financialDocumentOtherCentAmount - The financialDocumentOtherCentAmount to set.

getFinancialDocumentHundredCentAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentHundredCentAmount()
Gets the financialDocumentHundredCentAmount attribute.

Returns:
Returns the financialDocumentHundredCentAmount

setFinancialDocumentHundredCentAmount

public void setFinancialDocumentHundredCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentHundredCentAmount)
Sets the financialDocumentHundredCentAmount attribute.

Parameters:
financialDocumentHundredCentAmount - The financialDocumentHundredCentAmount to set.

getHundredCentCount

public Integer getHundredCentCount()
Returns the number of dollar coins--Sacajawea, Susan B. Anthony, or otherwise--in the drawer

Returns:
the count of dollar coins in the drawer

setHundredCentCount

public void setHundredCentCount(Integer count)
Sets the number of hundred cent coins in the drawer

Parameters:
count - the number of hundred cent coins present in the drawer

getFinancialDocumentMiscellaneousAdvanceAmount

public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentMiscellaneousAdvanceAmount()
Gets the financialDocumentMiscellaneousAdvanceAmount attribute.

Returns:
Returns the financialDocumentMiscellaneousAdvanceAmount

setFinancialDocumentMiscellaneousAdvanceAmount

public void setFinancialDocumentMiscellaneousAdvanceAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentMiscellaneousAdvanceAmount)
Sets the financialDocumentMiscellaneousAdvanceAmount attribute.

Parameters:
financialDocumentMiscellaneousAdvanceAmount - The financialDocumentMiscellaneousAdvanceAmount to set.

getReferenceFinancialDocumentNumber

public String getReferenceFinancialDocumentNumber()
Gets the referenceFinancialDocumentNumber attribute.

Returns:
Returns the referenceFinancialDocumentNumber

setReferenceFinancialDocumentNumber

public void setReferenceFinancialDocumentNumber(String referenceFinancialDocumentNumber)
Sets the referenceFinancialDocumentNumber attribute.

Parameters:
referenceFinancialDocumentNumber - The referenceFinancialDocumentNumber to set.

getCurrencyTotalAmount

public org.kuali.rice.kns.util.KualiDecimal getCurrencyTotalAmount()
This method calculates the total amount of currency in the cash drawer

Returns:
the total amount of currency

getCoinTotalAmount

public org.kuali.rice.kns.util.KualiDecimal getCoinTotalAmount()
This method calculates the total amount of coin in the cash drawer

Returns:
the total amount of coin

getTotalAmount

public org.kuali.rice.kns.util.KualiDecimal getTotalAmount()
This calculates the total amount of money currently in the cash drawer

Returns:
the amount currently in the cash drawer

addCurrency

public void addCurrency(CurrencyDetail detail)
This method adds currency to the cash drawer

Parameters:
detail - the record indicating how much of each denomination of currency to add

addCoin

public void addCoin(CoinDetail detail)
This method puts coin into the cash drawer

Parameters:
detail - the record indicating how much coin of each denomiation to add

removeCurrency

public void removeCurrency(CurrencyDetail detail)
This method removes currency amounts from the cash drawer

Parameters:
detail - the record indicating how much currency of each denomination to remove

removeCoin

public void removeCoin(CoinDetail detail)
This method takes coin out of the cash drawer

Parameters:
detail - the record indicating how much coin of each denomination to remove

getCampus

public org.kuali.rice.kns.bo.Campus getCampus()
Returns:
the campus associated with this cash drawer

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
BusinessObjectBase.toStringMapper()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.