Class SummaryType
- java.lang.Object
-
- ch.swissbilling.framework.einvoice.models.SummaryType
-
public class SummaryType extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSummaryType.Discount
-
Field Summary
Fields Modifier and Type Field Description protected List<SummaryType.Discount>discountprotected List<String>freeTextprotected BigDecimalroundingprotected TaxTypetaxprotected BigDecimaltotalAmountDueprotected BigDecimaltotalAmountExclusiveTaxprotected BigDecimaltotalAmountInclusiveTaxprotected BigDecimaltotalAmountPaid
-
Constructor Summary
Constructors Constructor Description SummaryType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SummaryType.Discount>getDiscount()Gets the value of the discount property.List<String>getFreeText()Gets the value of the freeText property.BigDecimalgetRounding()Gets the value of the rounding property.TaxTypegetTax()Gets the value of the tax property.BigDecimalgetTotalAmountDue()Gets the value of the totalAmountDue property.BigDecimalgetTotalAmountExclusiveTax()Gets the value of the totalAmountExclusiveTax property.BigDecimalgetTotalAmountInclusiveTax()Gets the value of the totalAmountInclusiveTax property.BigDecimalgetTotalAmountPaid()Gets the value of the totalAmountPaid property.voidsetRounding(BigDecimal value)Sets the value of the rounding property.voidsetTax(TaxType value)Sets the value of the tax property.voidsetTotalAmountDue(BigDecimal value)Sets the value of the totalAmountDue property.voidsetTotalAmountExclusiveTax(BigDecimal value)Sets the value of the totalAmountExclusiveTax property.voidsetTotalAmountInclusiveTax(BigDecimal value)Sets the value of the totalAmountInclusiveTax property.voidsetTotalAmountPaid(BigDecimal value)Sets the value of the totalAmountPaid property.
-
-
-
Field Detail
-
tax
protected TaxType tax
-
discount
protected List<SummaryType.Discount> discount
-
totalAmountExclusiveTax
protected BigDecimal totalAmountExclusiveTax
-
totalAmountInclusiveTax
protected BigDecimal totalAmountInclusiveTax
-
rounding
protected BigDecimal rounding
-
totalAmountPaid
protected BigDecimal totalAmountPaid
-
totalAmountDue
protected BigDecimal totalAmountDue
-
-
Method Detail
-
getTax
public TaxType getTax()
Gets the value of the tax property.- Returns:
- possible object is
TaxType
-
setTax
public void setTax(TaxType value)
Sets the value of the tax property.- Parameters:
value- allowed object isTaxType
-
getDiscount
public List<SummaryType.Discount> getDiscount()
Gets the value of the discount property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the discount property.For example, to add a new item, do as follows:
getDiscount().add(newItem);Objects of the following type(s) are allowed in the list
SummaryType.Discount
-
getTotalAmountExclusiveTax
public BigDecimal getTotalAmountExclusiveTax()
Gets the value of the totalAmountExclusiveTax property.- Returns:
- possible object is
BigDecimal
-
setTotalAmountExclusiveTax
public void setTotalAmountExclusiveTax(BigDecimal value)
Sets the value of the totalAmountExclusiveTax property.- Parameters:
value- allowed object isBigDecimal
-
getTotalAmountInclusiveTax
public BigDecimal getTotalAmountInclusiveTax()
Gets the value of the totalAmountInclusiveTax property.- Returns:
- possible object is
BigDecimal
-
setTotalAmountInclusiveTax
public void setTotalAmountInclusiveTax(BigDecimal value)
Sets the value of the totalAmountInclusiveTax property.- Parameters:
value- allowed object isBigDecimal
-
getRounding
public BigDecimal getRounding()
Gets the value of the rounding property.- Returns:
- possible object is
BigDecimal
-
setRounding
public void setRounding(BigDecimal value)
Sets the value of the rounding property.- Parameters:
value- allowed object isBigDecimal
-
getFreeText
public List<String> getFreeText()
Gets the value of the freeText property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the freeText property.For example, to add a new item, do as follows:
getFreeText().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getTotalAmountPaid
public BigDecimal getTotalAmountPaid()
Gets the value of the totalAmountPaid property.- Returns:
- possible object is
BigDecimal
-
setTotalAmountPaid
public void setTotalAmountPaid(BigDecimal value)
Sets the value of the totalAmountPaid property.- Parameters:
value- allowed object isBigDecimal
-
getTotalAmountDue
public BigDecimal getTotalAmountDue()
Gets the value of the totalAmountDue property.- Returns:
- possible object is
BigDecimal
-
setTotalAmountDue
public void setTotalAmountDue(BigDecimal value)
Sets the value of the totalAmountDue property.- Parameters:
value- allowed object isBigDecimal
-
-