Class LineItemType
- java.lang.Object
-
- ch.swissbilling.framework.einvoice.models.LineItemType
-
public class LineItemType extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLineItemType.AllowanceAndCharge
-
Field Summary
Fields Modifier and Type Field Description protected AccountAssignmentTypeaccountAssignmentprotected AchievementDateTypeachievementDateprotected LineItemType.AllowanceAndChargeallowanceAndChargeprotected BigDecimalamountExclusiveTaxprotected BigDecimalamountInclusiveTaxprotected Stringeanprotected List<FixedReference>fixedReferenceprotected List<String>freeTextprotected StringlineItemIDprotected List<Reference>lineItemReferenceprotected StringlineItemTypeprotected BigDecimalpriceExclusiveTaxprotected BigDecimalpriceInclusiveTaxprotected BigDecimalpriceUnitprotected StringproductDescriptionprotected StringproductGroupprotected StringproductIDprotected StringproductSubGroupprotected BigDecimalquantityprotected StringquantityDescriptionprotected TaxLineItemTypetax
-
Constructor Summary
Constructors Constructor Description LineItemType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountAssignmentTypegetAccountAssignment()Gets the value of the accountAssignment property.AchievementDateTypegetAchievementDate()Gets the value of the achievementDate property.LineItemType.AllowanceAndChargegetAllowanceAndCharge()Gets the value of the allowanceAndCharge property.BigDecimalgetAmountExclusiveTax()Gets the value of the amountExclusiveTax property.BigDecimalgetAmountInclusiveTax()Gets the value of the amountInclusiveTax property.StringgetEAN()Gets the value of the ean property.List<FixedReference>getFixedReference()Gets the value of the fixedReference property.List<String>getFreeText()Gets the value of the freeText property.StringgetLineItemID()Gets the value of the lineItemID property.List<Reference>getLineItemReference()Gets the value of the lineItemReference property.StringgetLineItemType()Gets the value of the lineItemType property.BigDecimalgetPriceExclusiveTax()Gets the value of the priceExclusiveTax property.BigDecimalgetPriceInclusiveTax()Gets the value of the priceInclusiveTax property.BigDecimalgetPriceUnit()Gets the value of the priceUnit property.StringgetProductDescription()Gets the value of the productDescription property.StringgetProductGroup()Gets the value of the productGroup property.StringgetProductID()Gets the value of the productID property.StringgetProductSubGroup()Gets the value of the productSubGroup property.BigDecimalgetQuantity()Gets the value of the quantity property.StringgetQuantityDescription()Gets the value of the quantityDescription property.TaxLineItemTypegetTax()Gets the value of the tax property.voidsetAccountAssignment(AccountAssignmentType value)Sets the value of the accountAssignment property.voidsetAchievementDate(AchievementDateType value)Sets the value of the achievementDate property.voidsetAllowanceAndCharge(LineItemType.AllowanceAndCharge value)Sets the value of the allowanceAndCharge property.voidsetAmountExclusiveTax(BigDecimal value)Sets the value of the amountExclusiveTax property.voidsetAmountInclusiveTax(BigDecimal value)Sets the value of the amountInclusiveTax property.voidsetEAN(String value)Sets the value of the ean property.voidsetLineItemID(String value)Sets the value of the lineItemID property.voidsetLineItemType(String value)Sets the value of the lineItemType property.voidsetPriceExclusiveTax(BigDecimal value)Sets the value of the priceExclusiveTax property.voidsetPriceInclusiveTax(BigDecimal value)Sets the value of the priceInclusiveTax property.voidsetPriceUnit(BigDecimal value)Sets the value of the priceUnit property.voidsetProductDescription(String value)Sets the value of the productDescription property.voidsetProductGroup(String value)Sets the value of the productGroup property.voidsetProductID(String value)Sets the value of the productID property.voidsetProductSubGroup(String value)Sets the value of the productSubGroup property.voidsetQuantity(BigDecimal value)Sets the value of the quantity property.voidsetQuantityDescription(String value)Sets the value of the quantityDescription property.voidsetTax(TaxLineItemType value)Sets the value of the tax property.
-
-
-
Field Detail
-
lineItemType
protected String lineItemType
-
lineItemID
protected String lineItemID
-
productGroup
protected String productGroup
-
productSubGroup
protected String productSubGroup
-
achievementDate
protected AchievementDateType achievementDate
-
productDescription
protected String productDescription
-
productID
protected String productID
-
ean
protected String ean
-
quantity
protected BigDecimal quantity
-
quantityDescription
protected String quantityDescription
-
priceUnit
protected BigDecimal priceUnit
-
priceInclusiveTax
protected BigDecimal priceInclusiveTax
-
priceExclusiveTax
protected BigDecimal priceExclusiveTax
-
tax
protected TaxLineItemType tax
-
amountInclusiveTax
protected BigDecimal amountInclusiveTax
-
amountExclusiveTax
protected BigDecimal amountExclusiveTax
-
accountAssignment
protected AccountAssignmentType accountAssignment
-
fixedReference
protected List<FixedReference> fixedReference
-
allowanceAndCharge
protected LineItemType.AllowanceAndCharge allowanceAndCharge
-
-
Method Detail
-
getLineItemType
public String getLineItemType()
Gets the value of the lineItemType property.- Returns:
- possible object is
String
-
setLineItemType
public void setLineItemType(String value)
Sets the value of the lineItemType property.- Parameters:
value- allowed object isString
-
getLineItemID
public String getLineItemID()
Gets the value of the lineItemID property.- Returns:
- possible object is
String
-
setLineItemID
public void setLineItemID(String value)
Sets the value of the lineItemID property.- Parameters:
value- allowed object isString
-
getProductGroup
public String getProductGroup()
Gets the value of the productGroup property.- Returns:
- possible object is
String
-
setProductGroup
public void setProductGroup(String value)
Sets the value of the productGroup property.- Parameters:
value- allowed object isString
-
getProductSubGroup
public String getProductSubGroup()
Gets the value of the productSubGroup property.- Returns:
- possible object is
String
-
setProductSubGroup
public void setProductSubGroup(String value)
Sets the value of the productSubGroup property.- Parameters:
value- allowed object isString
-
getAchievementDate
public AchievementDateType getAchievementDate()
Gets the value of the achievementDate property.- Returns:
- possible object is
AchievementDateType
-
setAchievementDate
public void setAchievementDate(AchievementDateType value)
Sets the value of the achievementDate property.- Parameters:
value- allowed object isAchievementDateType
-
getProductDescription
public String getProductDescription()
Gets the value of the productDescription property.- Returns:
- possible object is
String
-
setProductDescription
public void setProductDescription(String value)
Sets the value of the productDescription property.- Parameters:
value- allowed object isString
-
getProductID
public String getProductID()
Gets the value of the productID property.- Returns:
- possible object is
String
-
setProductID
public void setProductID(String value)
Sets the value of the productID property.- Parameters:
value- allowed object isString
-
getEAN
public String getEAN()
Gets the value of the ean property.- Returns:
- possible object is
String
-
setEAN
public void setEAN(String value)
Sets the value of the ean property.- Parameters:
value- allowed object isString
-
getQuantity
public BigDecimal getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
BigDecimal
-
setQuantity
public void setQuantity(BigDecimal value)
Sets the value of the quantity property.- Parameters:
value- allowed object isBigDecimal
-
getQuantityDescription
public String getQuantityDescription()
Gets the value of the quantityDescription property.- Returns:
- possible object is
String
-
setQuantityDescription
public void setQuantityDescription(String value)
Sets the value of the quantityDescription property.- Parameters:
value- allowed object isString
-
getPriceUnit
public BigDecimal getPriceUnit()
Gets the value of the priceUnit property.- Returns:
- possible object is
BigDecimal
-
setPriceUnit
public void setPriceUnit(BigDecimal value)
Sets the value of the priceUnit property.- Parameters:
value- allowed object isBigDecimal
-
getPriceInclusiveTax
public BigDecimal getPriceInclusiveTax()
Gets the value of the priceInclusiveTax property.- Returns:
- possible object is
BigDecimal
-
setPriceInclusiveTax
public void setPriceInclusiveTax(BigDecimal value)
Sets the value of the priceInclusiveTax property.- Parameters:
value- allowed object isBigDecimal
-
getPriceExclusiveTax
public BigDecimal getPriceExclusiveTax()
Gets the value of the priceExclusiveTax property.- Returns:
- possible object is
BigDecimal
-
setPriceExclusiveTax
public void setPriceExclusiveTax(BigDecimal value)
Sets the value of the priceExclusiveTax property.- Parameters:
value- allowed object isBigDecimal
-
getTax
public TaxLineItemType getTax()
Gets the value of the tax property.- Returns:
- possible object is
TaxLineItemType
-
setTax
public void setTax(TaxLineItemType value)
Sets the value of the tax property.- Parameters:
value- allowed object isTaxLineItemType
-
getAmountInclusiveTax
public BigDecimal getAmountInclusiveTax()
Gets the value of the amountInclusiveTax property.- Returns:
- possible object is
BigDecimal
-
setAmountInclusiveTax
public void setAmountInclusiveTax(BigDecimal value)
Sets the value of the amountInclusiveTax property.- Parameters:
value- allowed object isBigDecimal
-
getAmountExclusiveTax
public BigDecimal getAmountExclusiveTax()
Gets the value of the amountExclusiveTax property.- Returns:
- possible object is
BigDecimal
-
setAmountExclusiveTax
public void setAmountExclusiveTax(BigDecimal value)
Sets the value of the amountExclusiveTax property.- Parameters:
value- allowed object isBigDecimal
-
getAccountAssignment
public AccountAssignmentType getAccountAssignment()
Gets the value of the accountAssignment property.- Returns:
- possible object is
AccountAssignmentType
-
setAccountAssignment
public void setAccountAssignment(AccountAssignmentType value)
Sets the value of the accountAssignment property.- Parameters:
value- allowed object isAccountAssignmentType
-
getFixedReference
public List<FixedReference> getFixedReference()
Gets the value of the fixedReference 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 fixedReference property.For example, to add a new item, do as follows:
getFixedReference().add(newItem);Objects of the following type(s) are allowed in the list
FixedReference
-
getLineItemReference
public List<Reference> getLineItemReference()
Gets the value of the lineItemReference 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 lineItemReference property.For example, to add a new item, do as follows:
getLineItemReference().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getAllowanceAndCharge
public LineItemType.AllowanceAndCharge getAllowanceAndCharge()
Gets the value of the allowanceAndCharge property.- Returns:
- possible object is
LineItemType.AllowanceAndCharge
-
setAllowanceAndCharge
public void setAllowanceAndCharge(LineItemType.AllowanceAndCharge value)
Sets the value of the allowanceAndCharge property.- Parameters:
value- allowed object isLineItemType.AllowanceAndCharge
-
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
-
-