- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 27 of file AmountSet.java.
◆ add()
boolean org.turro.financials.model.AmountSet.add |
( |
Amount |
e | ) |
|
◆ addAmount()
void org.turro.financials.model.AmountSet.addAmount |
( |
Amount |
e | ) |
|
Definition at line 35 of file AmountSet.java.
40 a.addTax(e.getTax(), e.getSubtotal(), e.getDiscount(), e.getRetained());
◆ clearEmpty()
void org.turro.financials.model.AmountSet.clearEmpty |
( |
| ) |
|
Definition at line 77 of file AmountSet.java.
78 Iterator<Amount> it = iterator();
80 if(it.next().isEmpty()) {
◆ getAmount() [1/2]
double org.turro.financials.model.AmountSet.getAmount |
( |
| ) |
|
Definition at line 69 of file AmountSet.java.
71 for(Amount a :
this) {
72 amount += a.getAmount();
◆ getAmount() [2/2]
Amount org.turro.financials.model.AmountSet.getAmount |
( |
Double |
tax | ) |
|
Definition at line 60 of file AmountSet.java.
61 for(Amount a :
this) {
62 if(a.getTax().equals(tax)) {
◆ getTaxable()
double org.turro.financials.model.AmountSet.getTaxable |
( |
| ) |
|
Definition at line 44 of file AmountSet.java.
46 for(Amount a :
this) {
47 amount += a.getTaxable();
◆ getTaxValue()
double org.turro.financials.model.AmountSet.getTaxValue |
( |
| ) |
|
Definition at line 52 of file AmountSet.java.
54 for(Amount a :
this) {
55 amount += a.getTaxValue();
The documentation for this class was generated from the following file: