Class ConsumptionLineType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.ConsumptionLineType
-
public class ConsumptionLineType extends Object
Java class for ConsumptionLineType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConsumptionLineType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ParentDocumentLineReferenceID" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}InvoicedQuantity"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LineExtensionAmount"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Period" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Delivery" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AllowanceCharge" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxTotal" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}UtilityItem"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Price" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}UnstructuredPrice" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AllowanceChargeType>allowanceChargeprotected List<DeliveryType>deliveryprotected IDTypeidprotected InvoicedQuantityTypeinvoicedQuantityprotected LineExtensionAmountTypelineExtensionAmountprotected ParentDocumentLineReferenceIDTypeparentDocumentLineReferenceIDprotected PeriodTypeperiodprotected PriceTypepriceprotected List<TaxTotalType>taxTotalprotected UnstructuredPriceTypeunstructuredPriceprotected UtilityItemTypeutilityItem
-
Constructor Summary
Constructors Constructor Description ConsumptionLineType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AllowanceChargeType>getAllowanceCharge()Gets the value of the allowanceCharge property.List<DeliveryType>getDelivery()Gets the value of the delivery property.IDTypegetID()Gets the value of the id property.InvoicedQuantityTypegetInvoicedQuantity()Gets the value of the invoicedQuantity property.LineExtensionAmountTypegetLineExtensionAmount()Gets the value of the lineExtensionAmount property.ParentDocumentLineReferenceIDTypegetParentDocumentLineReferenceID()Gets the value of the parentDocumentLineReferenceID property.PeriodTypegetPeriod()Gets the value of the period property.PriceTypegetPrice()Gets the value of the price property.List<TaxTotalType>getTaxTotal()Gets the value of the taxTotal property.UnstructuredPriceTypegetUnstructuredPrice()Gets the value of the unstructuredPrice property.UtilityItemTypegetUtilityItem()Gets the value of the utilityItem property.voidsetID(IDType value)Sets the value of the id property.voidsetInvoicedQuantity(InvoicedQuantityType value)Sets the value of the invoicedQuantity property.voidsetLineExtensionAmount(LineExtensionAmountType value)Sets the value of the lineExtensionAmount property.voidsetParentDocumentLineReferenceID(ParentDocumentLineReferenceIDType value)Sets the value of the parentDocumentLineReferenceID property.voidsetPeriod(PeriodType value)Sets the value of the period property.voidsetPrice(PriceType value)Sets the value of the price property.voidsetUnstructuredPrice(UnstructuredPriceType value)Sets the value of the unstructuredPrice property.voidsetUtilityItem(UtilityItemType value)Sets the value of the utilityItem property.
-
-
-
Field Detail
-
id
protected IDType id
-
parentDocumentLineReferenceID
protected ParentDocumentLineReferenceIDType parentDocumentLineReferenceID
-
invoicedQuantity
protected InvoicedQuantityType invoicedQuantity
-
lineExtensionAmount
protected LineExtensionAmountType lineExtensionAmount
-
period
protected PeriodType period
-
delivery
protected List<DeliveryType> delivery
-
allowanceCharge
protected List<AllowanceChargeType> allowanceCharge
-
taxTotal
protected List<TaxTotalType> taxTotal
-
utilityItem
protected UtilityItemType utilityItem
-
price
protected PriceType price
-
unstructuredPrice
protected UnstructuredPriceType unstructuredPrice
-
-
Method Detail
-
setID
public void setID(IDType value)
Sets the value of the id property.- Parameters:
value- allowed object isIDType
-
getParentDocumentLineReferenceID
public ParentDocumentLineReferenceIDType getParentDocumentLineReferenceID()
Gets the value of the parentDocumentLineReferenceID property.- Returns:
- possible object is
ParentDocumentLineReferenceIDType
-
setParentDocumentLineReferenceID
public void setParentDocumentLineReferenceID(ParentDocumentLineReferenceIDType value)
Sets the value of the parentDocumentLineReferenceID property.- Parameters:
value- allowed object isParentDocumentLineReferenceIDType
-
getInvoicedQuantity
public InvoicedQuantityType getInvoicedQuantity()
Gets the value of the invoicedQuantity property.- Returns:
- possible object is
InvoicedQuantityType
-
setInvoicedQuantity
public void setInvoicedQuantity(InvoicedQuantityType value)
Sets the value of the invoicedQuantity property.- Parameters:
value- allowed object isInvoicedQuantityType
-
getLineExtensionAmount
public LineExtensionAmountType getLineExtensionAmount()
Gets the value of the lineExtensionAmount property.- Returns:
- possible object is
LineExtensionAmountType
-
setLineExtensionAmount
public void setLineExtensionAmount(LineExtensionAmountType value)
Sets the value of the lineExtensionAmount property.- Parameters:
value- allowed object isLineExtensionAmountType
-
getPeriod
public PeriodType getPeriod()
Gets the value of the period property.- Returns:
- possible object is
PeriodType
-
setPeriod
public void setPeriod(PeriodType value)
Sets the value of the period property.- Parameters:
value- allowed object isPeriodType
-
getDelivery
public List<DeliveryType> getDelivery()
Gets the value of the delivery 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 delivery property.For example, to add a new item, do as follows:
getDelivery().add(newItem);Objects of the following type(s) are allowed in the list
DeliveryType
-
getAllowanceCharge
public List<AllowanceChargeType> getAllowanceCharge()
Gets the value of the allowanceCharge 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 allowanceCharge property.For example, to add a new item, do as follows:
getAllowanceCharge().add(newItem);Objects of the following type(s) are allowed in the list
AllowanceChargeType
-
getTaxTotal
public List<TaxTotalType> getTaxTotal()
Gets the value of the taxTotal 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 taxTotal property.For example, to add a new item, do as follows:
getTaxTotal().add(newItem);Objects of the following type(s) are allowed in the list
TaxTotalType
-
getUtilityItem
public UtilityItemType getUtilityItem()
Gets the value of the utilityItem property.- Returns:
- possible object is
UtilityItemType
-
setUtilityItem
public void setUtilityItem(UtilityItemType value)
Sets the value of the utilityItem property.- Parameters:
value- allowed object isUtilityItemType
-
getPrice
public PriceType getPrice()
Gets the value of the price property.- Returns:
- possible object is
PriceType
-
setPrice
public void setPrice(PriceType value)
Sets the value of the price property.- Parameters:
value- allowed object isPriceType
-
getUnstructuredPrice
public UnstructuredPriceType getUnstructuredPrice()
Gets the value of the unstructuredPrice property.- Returns:
- possible object is
UnstructuredPriceType
-
setUnstructuredPrice
public void setUnstructuredPrice(UnstructuredPriceType value)
Sets the value of the unstructuredPrice property.- Parameters:
value- allowed object isUnstructuredPriceType
-
-