public static final class CashManagementForm.CashDrawerSummary.CashReceiptStatistics extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.core.api.util.type.KualiDecimal |
checkTotal |
protected org.kuali.rice.core.api.util.type.KualiDecimal |
coinTotal |
protected org.kuali.rice.core.api.util.type.KualiDecimal |
currencyTotal |
protected int |
receiptCount |
Constructor and Description |
---|
CashManagementForm.CashDrawerSummary.CashReceiptStatistics()
Constructs a SubSummary.
|
Modifier and Type | Method and Description |
---|---|
void |
add(CashReceiptDocument receipt)
Increments the counter by 1, and the various totals by the amounts in the given CashReceiptDocument
|
void |
clear()
Zeros counter and totals.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getCheckTotal() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getCoinTotal() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getCurrencyTotal() |
int |
getReceiptCount() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getSumTotal()
Returns total of all check, coin, and currency totals
|
void |
setCheckTotal(org.kuali.rice.core.api.util.type.KualiDecimal checkTotal)
Sets the checkTotal attribute value.
|
void |
setCoinTotal(org.kuali.rice.core.api.util.type.KualiDecimal coinTotal)
Sets the coinTotal attribute value.
|
void |
setCurrencyTotal(org.kuali.rice.core.api.util.type.KualiDecimal currencyTotal)
Sets the currencyTotal attribute value.
|
void |
setReceiptCount(int receiptCount)
Sets the receiptCount attribute value.
|
void |
setSumTotal(org.kuali.rice.core.api.util.type.KualiDecimal total)
This method doesn't do anything but appease the demands of POJO form population...I mean...er...this sets the sum
total, now doesn't it?
|
String |
toString() |
protected int receiptCount
protected org.kuali.rice.core.api.util.type.KualiDecimal checkTotal
protected org.kuali.rice.core.api.util.type.KualiDecimal currencyTotal
protected org.kuali.rice.core.api.util.type.KualiDecimal coinTotal
public CashManagementForm.CashDrawerSummary.CashReceiptStatistics()
public void add(CashReceiptDocument receipt)
receipt
- public void clear()
public org.kuali.rice.core.api.util.type.KualiDecimal getSumTotal()
public void setSumTotal(org.kuali.rice.core.api.util.type.KualiDecimal total)
total
- total you want this method to ignorepublic org.kuali.rice.core.api.util.type.KualiDecimal getCheckTotal()
public void setCheckTotal(org.kuali.rice.core.api.util.type.KualiDecimal checkTotal)
checkTotal
- The checkTotal to set.public org.kuali.rice.core.api.util.type.KualiDecimal getCoinTotal()
public void setCoinTotal(org.kuali.rice.core.api.util.type.KualiDecimal coinTotal)
coinTotal
- The coinTotal to set.public org.kuali.rice.core.api.util.type.KualiDecimal getCurrencyTotal()
public void setCurrencyTotal(org.kuali.rice.core.api.util.type.KualiDecimal currencyTotal)
currencyTotal
- The currencyTotal to set.public int getReceiptCount()
public void setReceiptCount(int receiptCount)
receiptCount
- The receiptCount to set.public String toString()
toString
in class Object
Object.toString()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.