|
boolean | add (Double perCent, Double tax, Double req, Double taxValue, Double taxRealValue, Double reqValue, Double subtotal, Double taxable, int fractionDigits) |
|
AmountTaxable | getPercent (Double perCent, Double tax, Double req) |
|
double | getTaxable () |
|
double | getTaxAmount () |
|
double | getTaxRealAmount () |
|
double | getTotal () |
|
void | clearEmpty () |
|
◆ add()
boolean org.turro.financials.model.document.AmountTaxableSet.add |
( |
Double |
perCent, |
|
|
Double |
tax, |
|
|
Double |
req, |
|
|
Double |
taxValue, |
|
|
Double |
taxRealValue, |
|
|
Double |
reqValue, |
|
|
Double |
subtotal, |
|
|
Double |
taxable, |
|
|
int |
fractionDigits |
|
) |
| |
Definition at line 30 of file AmountTaxableSet.java.
32 AmountTaxable at =
getPercent(perCent, tax, req);
33 at.setFractionDigits(fractionDigits);
34 at.add(taxValue, taxRealValue, reqValue, subtotal, taxable);
AmountTaxable getPercent(Double perCent, Double tax, Double req)
◆ clearEmpty()
void org.turro.financials.model.document.AmountTaxableSet.clearEmpty |
( |
| ) |
|
Definition at line 79 of file AmountTaxableSet.java.
80 Iterator<AmountTaxable> it = iterator();
82 if(it.next().isEmpty()) {
◆ getPercent()
AmountTaxable org.turro.financials.model.document.AmountTaxableSet.getPercent |
( |
Double |
perCent, |
|
|
Double |
tax, |
|
|
Double |
req |
|
) |
| |
Definition at line 38 of file AmountTaxableSet.java.
39 for(AmountTaxable at :
this) {
40 if(at.isPerCent(perCent)) {
44 return new AmountTaxable(perCent, tax, req);
◆ getTaxable()
double org.turro.financials.model.document.AmountTaxableSet.getTaxable |
( |
| ) |
|
◆ getTaxAmount()
double org.turro.financials.model.document.AmountTaxableSet.getTaxAmount |
( |
| ) |
|
Definition at line 55 of file AmountTaxableSet.java.
57 for(AmountTaxable a :
this) {
58 amount += a.getTaxAmount();
◆ getTaxRealAmount()
double org.turro.financials.model.document.AmountTaxableSet.getTaxRealAmount |
( |
| ) |
|
Definition at line 63 of file AmountTaxableSet.java.
65 for(AmountTaxable a :
this) {
66 amount += a.getTaxRealAmount();
◆ getTotal()
double org.turro.financials.model.document.AmountTaxableSet.getTotal |
( |
| ) |
|
The documentation for this class was generated from the following file: