◆ add()
boolean org.turro.financials.cart.CartTaxableSet.add |
( |
Double |
perCent, |
|
|
Double |
tax, |
|
|
Double |
taxValue, |
|
|
Double |
subtotal, |
|
|
Double |
taxable |
|
) |
| |
Definition at line 30 of file CartTaxableSet.java.
32 at.add(taxValue, subtotal, taxable);
CartTaxable getPercent(Double perCent, Double tax)
◆ clearEmpty()
void org.turro.financials.cart.CartTaxableSet.clearEmpty |
( |
| ) |
|
Definition at line 69 of file CartTaxableSet.java.
70 Iterator<CartTaxable> it = iterator();
72 if(it.next().isEmpty()) {
◆ getPercent()
CartTaxable org.turro.financials.cart.CartTaxableSet.getPercent |
( |
Double |
perCent, |
|
|
Double |
tax |
|
) |
| |
Definition at line 36 of file CartTaxableSet.java.
37 for(CartTaxable at :
this) {
38 if(at.isPerCent(perCent)) {
42 return new CartTaxable(perCent, tax);
◆ getTaxable()
double org.turro.financials.cart.CartTaxableSet.getTaxable |
( |
| ) |
|
Definition at line 45 of file CartTaxableSet.java.
47 for(CartTaxable a :
this) {
48 amount += a.getTaxable();
◆ getTaxAmount()
double org.turro.financials.cart.CartTaxableSet.getTaxAmount |
( |
| ) |
|
Definition at line 53 of file CartTaxableSet.java.
55 for(CartTaxable a :
this) {
56 amount += a.getTaxAmount();
◆ getTotal()
double org.turro.financials.cart.CartTaxableSet.getTotal |
( |
| ) |
|
Definition at line 61 of file CartTaxableSet.java.
63 for(CartTaxable a :
this) {
64 amount += a.getTotal();
The documentation for this class was generated from the following file: