Class 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>
     
    • Constructor Detail

      • ConsumptionLineType

        public ConsumptionLineType()
    • Method Detail

      • getID

        public IDType getID()
        Gets the value of the id property.
        Returns:
        possible object is IDType
      • setID

        public void setID​(IDType value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is IDType
      • 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 is PeriodType
      • 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 set method 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 set method 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 set method 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

      • setUtilityItem

        public void setUtilityItem​(UtilityItemType value)
        Sets the value of the utilityItem property.
        Parameters:
        value - allowed object is UtilityItemType
      • 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 is PriceType