◆ DocumentAmounts()
org.turro.financials.model.document.DocumentAmounts.DocumentAmounts |
( |
Document |
document | ) |
|
◆ getAmount()
double org.turro.financials.model.document.DocumentAmounts.getAmount |
( |
| ) |
|
Definition at line 49 of file DocumentAmounts.java.
51 for(AmountTaxable at : taxables) {
52 amount += at.getAmount();
◆ getCurrency()
Currency org.turro.financials.model.document.DocumentAmounts.getCurrency |
( |
| ) |
|
Definition at line 113 of file DocumentAmounts.java.
114 if(currency ==
null && document.
getContract() !=
null) {
117 return currency ==
null ? Currencies.getDefault() : currency;
◆ getDiscount()
double org.turro.financials.model.document.DocumentAmounts.getDiscount |
( |
| ) |
|
Definition at line 57 of file DocumentAmounts.java.
59 for(AmountTaxable at : taxables) {
60 amount += at.getDiscount();
◆ getRetentions()
AmountRetainedSet org.turro.financials.model.document.DocumentAmounts.getRetentions |
( |
| ) |
|
◆ getTaxables()
AmountTaxableSet org.turro.financials.model.document.DocumentAmounts.getTaxables |
( |
| ) |
|
◆ getTotal()
double org.turro.financials.model.document.DocumentAmounts.getTotal |
( |
| ) |
|
Definition at line 65 of file DocumentAmounts.java.
67 for(AmountTaxable at : taxables) {
68 if(at.isPerCent(0.0)) {
69 amount += at.getTaxable();
71 amount += at.getTotal();
74 for(AmountRetained ar : retentions) {
75 amount -= ar.getRetained();
◆ hasReq()
boolean org.turro.financials.model.document.DocumentAmounts.hasReq |
( |
| ) |
|
The documentation for this class was generated from the following file: