public class MonetarySummation extends java.lang.Object implements CommonMonetarySummation
Constructor and Description |
---|
MonetarySummation() |
Modifier and Type | Method and Description |
---|---|
Amount |
getAllowanceTotal()
Gets the total amount of discounts.
|
Amount |
getChargeTotal()
Gets the total amount of surcharges.
|
Amount |
getDuePayable()
Gets the due payable amount.
|
Amount |
getGrandTotal()
Gets the grand total amount.
|
Amount |
getLineTotal()
Gets total amount of the line position/s
The line total amount is the net amount, including any additions and deductions without specifying the value-added tax.
|
Amount |
getTaxBasisTotal()
Gets the invoice total value excluding VAT.
|
Amount |
getTaxTotal()
Gets the total tax amount.
|
Amount |
getTotalPrepaid()
Gets the total prepaid amount.
|
MonetarySummation |
setAllowanceTotal(Amount allowanceTotal)
Sets the total amount of discounts.
|
MonetarySummation |
setChargeTotal(Amount chargeTotal)
Sets the total amount of surcharges.
|
MonetarySummation |
setDuePayable(Amount duePayable)
Sets the due payable amount.
|
MonetarySummation |
setGrandTotal(Amount grandTotal)
Sets the grand total amount.
|
MonetarySummation |
setLineTotal(Amount lineTotal)
Sets total amount of the line position/s.
|
MonetarySummation |
setTaxBasisTotal(Amount taxBasisTotal)
Sets the invoice total value excluding VAT.
|
MonetarySummation |
setTaxTotal(Amount taxTotal)
Sets the total tax amount.
|
MonetarySummation |
setTotalPrepaid(Amount totalPrepaid)
Sets the total prepaid amount.
|
java.lang.String |
toString() |
public MonetarySummation()
@Basic @NotNull public Amount getAllowanceTotal()
Gets the total amount of discounts.
@Basic @NotNull public Amount getChargeTotal()
Gets the total amount of surcharges.
@Comfort public Amount getDuePayable()
Gets the due payable amount.
@Basic @NotNull public Amount getGrandTotal()
Gets the grand total amount.
grandTotal == + taxTotal
public Amount getLineTotal()
CommonMonetarySummation
Gets total amount of the line position/s The line total amount is the net amount, including any additions and deductions without specifying the value-added tax.
getLineTotal
in interface CommonMonetarySummation
@Basic @NotNull public Amount getTaxBasisTotal()
Gets the invoice total value excluding VAT.
The taxBasisTotal = netTotal + chargeTotal - allowanceTotal.
@Basic @NotNull public Amount getTaxTotal()
Gets the total tax amount.
@Comfort public Amount getTotalPrepaid()
Gets the total prepaid amount.
public MonetarySummation setAllowanceTotal(Amount allowanceTotal)
Sets the total amount of discounts.
allowanceTotal
- the new allowance total amountpublic MonetarySummation setChargeTotal(Amount chargeTotal)
Sets the total amount of surcharges.
chargeTotal
- the new charge total amountpublic MonetarySummation setDuePayable(Amount duePayable)
Sets the due payable amount.
duePayable
- the new due payable amountpublic MonetarySummation setGrandTotal(Amount grandTotal)
Sets the grand total amount.
grandTotal
- the new grand total amountpublic MonetarySummation setLineTotal(Amount lineTotal)
CommonMonetarySummation
Sets total amount of the line position/s. The line total amount is the net amount, including any additions and deductions without specifying the value-added tax.
setLineTotal
in interface CommonMonetarySummation
lineTotal
- the line totalpublic MonetarySummation setTaxBasisTotal(Amount taxBasisTotal)
Sets the invoice total value excluding VAT.
The taxBasisTotal = netTotal + chargeTotal - allowanceTotal.
taxBasisTotal
- the new tax basis total amountpublic MonetarySummation setTaxTotal(Amount taxTotal)
Sets the total tax amount.
taxTotal
- the new tax total amountpublic MonetarySummation setTotalPrepaid(Amount totalPrepaid)
Sets the total prepaid amount.
totalPrepaid
- the new total prepaid amountpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014-2018 Konik.io. All Rights Reserved.