public class TaxableAmount
extends io.electrum.vas.model.LedgerAmount
| Constructor and Description |
|---|
TaxableAmount() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getTax()
Tax amount.
|
BigDecimal |
getTaxRate()
Rate at which tax is levied, expressed as a percentage.
|
String |
getTaxType()
Description of the type of tax (e.g.
|
int |
hashCode() |
TaxableAmount |
rate(BigDecimal rate) |
void |
setTax(Long tax) |
void |
setTaxRate(BigDecimal rate) |
void |
setTaxType(String taxType) |
TaxableAmount |
tax(Long tax) |
TaxableAmount |
taxType(String taxType) |
String |
toString() |
public TaxableAmount tax(Long tax)
public Long getTax()
amount field is exclusive of tax.public void setTax(Long tax)
public TaxableAmount taxType(String taxType)
@Length(max=10) public String getTaxType()
public void setTaxType(String taxType)
public TaxableAmount rate(BigDecimal rate)
public BigDecimal getTaxRate()
public void setTaxRate(BigDecimal rate)
public boolean equals(Object o)
equals in class io.electrum.vas.model.LedgerAmountpublic int hashCode()
hashCode in class io.electrum.vas.model.LedgerAmountpublic String toString()
toString in class io.electrum.vas.model.LedgerAmountCopyright © 2018. All rights reserved.