public class EgDemandDetails extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
EgDemandDetails() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCollected(BigDecimal amount)
Add an amount to the existing collected amount, with zero tolerance i.e.
|
void |
addCollectedWithOnePaisaTolerance(BigDecimal amount)
Add an amount to the existing collected amount, with a tolerance of one paisa i.e.
|
void |
addCollectedWithTolerance(BigDecimal amount,
BigDecimal tolerance)
Add an amount to the existing collected amount, allowing a "tolerance" of exceeding the balance.
|
void |
addEgdmCollectedReceipt(EgdmCollectedReceipt egdmCollectedReceipt) |
void |
addRebateAmt(BigDecimal rebateAmt) |
Object |
clone()
Returns a copy that can be associated with another EgDemand.
|
boolean |
equals(Object obj) |
static EgDemandDetails |
fromReasonAndAmounts(BigDecimal demandAmount,
EgDemandReason egDemandReason,
BigDecimal collectedAmount)
Factory method for convenient creation.
|
BigDecimal |
getAmount() |
BigDecimal |
getAmtCollected() |
BigDecimal |
getAmtRebate() |
BigDecimal |
getBalance() |
Date |
getCreateDate() |
EgDemand |
getEgDemand() |
EgDemandReason |
getEgDemandReason() |
Set<EgdmCollectedReceipt> |
getEgdmCollectedReceipts() |
org.egov.commons.EgwStatus |
getEgwStatus() |
String |
getFileReferenceNo() |
Long |
getId() |
Date |
getInstallmentEndDate() |
Date |
getInstallmentStartDate() |
Date |
getModifiedDate() |
String |
getReasonCategory() |
String |
getRemarks() |
int |
hashCode() |
boolean |
hasOutstandingCollection()
Returns
true if demand exceeds collection,
false otherwise. |
void |
removeEgdmCollectedReceipt(EgdmCollectedReceipt egdmCollectedReceipt) |
void |
setAmount(BigDecimal amount) |
void |
setAmtCollected(BigDecimal amtCollected) |
void |
setAmtRebate(BigDecimal amtRebate) |
void |
setCreateDate(Date createDate) |
void |
setEgDemand(EgDemand egDemand) |
void |
setEgDemandReason(EgDemandReason egDemandReason) |
void |
setEgdmCollectedReceipts(Set<EgdmCollectedReceipt> egdmCollectedReceipt) |
void |
setEgwStatus(org.egov.commons.EgwStatus egwStatus) |
void |
setFileReferenceNo(String fileReferenceNo) |
void |
setId(Long id) |
void |
setModifiedDate(Date modifiedDate) |
void |
setRemarks(String remarks) |
String |
toString() |
public Object clone()
public boolean hasOutstandingCollection()
true if demand exceeds collection,
false otherwise.public Long getId()
public void setId(Long id)
public EgDemandReason getEgDemandReason()
public void setEgDemandReason(EgDemandReason egDemandReason)
public org.egov.commons.EgwStatus getEgwStatus()
public void setEgwStatus(org.egov.commons.EgwStatus egwStatus)
public String getFileReferenceNo()
public void setFileReferenceNo(String fileReferenceNo)
public String getRemarks()
public void setRemarks(String remarks)
public BigDecimal getAmount()
public void setAmount(BigDecimal amount)
public BigDecimal getAmtCollected()
public void setAmtCollected(BigDecimal amtCollected)
public Set<EgdmCollectedReceipt> getEgdmCollectedReceipts()
public void setEgdmCollectedReceipts(Set<EgdmCollectedReceipt> egdmCollectedReceipt)
public void addEgdmCollectedReceipt(EgdmCollectedReceipt egdmCollectedReceipt)
public void removeEgdmCollectedReceipt(EgdmCollectedReceipt egdmCollectedReceipt)
public Date getModifiedDate()
public void setModifiedDate(Date modifiedDate)
public Date getCreateDate()
public void setCreateDate(Date createDate)
public static EgDemandDetails fromReasonAndAmounts(BigDecimal demandAmount, EgDemandReason egDemandReason, BigDecimal collectedAmount)
public void addCollectedWithTolerance(BigDecimal amount, BigDecimal tolerance)
public void addCollected(BigDecimal amount)
public void addCollectedWithOnePaisaTolerance(BigDecimal amount)
public BigDecimal getAmtRebate()
public void setAmtRebate(BigDecimal amtRebate)
public void addRebateAmt(BigDecimal rebateAmt)
public EgDemand getEgDemand()
public void setEgDemand(EgDemand egDemand)
public BigDecimal getBalance()
public Date getInstallmentStartDate()
public Date getInstallmentEndDate()
public String getReasonCategory()
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.