◆ AmountRetained()
org.turro.financials.model.document.AmountRetained.AmountRetained |
( |
Double |
perCent | ) |
|
◆ add()
void org.turro.financials.model.document.AmountRetained.add |
( |
Double |
taxable | ) |
|
◆ compareTo()
int org.turro.financials.model.document.AmountRetained.compareTo |
( |
AmountRetained |
o | ) |
|
◆ equals()
boolean org.turro.financials.model.document.AmountRetained.equals |
( |
Object |
obj | ) |
|
Definition at line 73 of file AmountRetained.java.
77 if (getClass() != obj.getClass()) {
81 if (this.perCent != other.perCent && (
this.perCent ==
null || !
this.perCent.equals(other.perCent))) {
AmountRetained(Double perCent)
◆ getRetained()
Double org.turro.financials.model.document.AmountRetained.getRetained |
( |
| ) |
|
Definition at line 57 of file AmountRetained.java.
58 return new Round((taxable * (perCent / 100.0))).decimals(fractionDigits).value();
◆ getRetention()
Double org.turro.financials.model.document.AmountRetained.getRetention |
( |
| ) |
|
◆ getTaxable()
Double org.turro.financials.model.document.AmountRetained.getTaxable |
( |
| ) |
|
◆ hashCode()
int org.turro.financials.model.document.AmountRetained.hashCode |
( |
| ) |
|
Definition at line 66 of file AmountRetained.java.
68 hash = 37 * hash + (this.perCent !=
null ? this.perCent.hashCode() : 0);
◆ isEmpty()
boolean org.turro.financials.model.document.AmountRetained.isEmpty |
( |
| ) |
|
Definition at line 61 of file AmountRetained.java.
62 return taxable ==
null || taxable == 0 || taxable.isNaN();
◆ isPerCent()
boolean org.turro.financials.model.document.AmountRetained.isPerCent |
( |
Double |
perCent | ) |
|
◆ setFractionDigits()
void org.turro.financials.model.document.AmountRetained.setFractionDigits |
( |
int |
fractionDigits | ) |
|
The documentation for this class was generated from the following file: