public class ConsumptionLineType extends Object
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>ABIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Details</ccts:DictionaryEntryName>
<ccts:Definition>A class to describe a line item for utility consumption. To specify more than one utility item, use separate consumption lines.</ccts:Definition>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
</ccts:Component>
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>
| Modifier and Type | Field and Description |
|---|---|
protected List<AllowanceChargeType> |
allowanceCharge |
protected List<DeliveryType> |
delivery |
protected IDType |
id |
protected InvoicedQuantityType |
invoicedQuantity |
protected LineExtensionAmountType |
lineExtensionAmount |
protected ParentDocumentLineReferenceIDType |
parentDocumentLineReferenceID |
protected PeriodType |
period |
protected PriceType |
price |
protected List<TaxTotalType> |
taxTotal |
protected UnstructuredPriceType |
unstructuredPrice |
protected UtilityItemType |
utilityItem |
| Constructor and Description |
|---|
ConsumptionLineType() |
protected IDType id
protected ParentDocumentLineReferenceIDType parentDocumentLineReferenceID
protected InvoicedQuantityType invoicedQuantity
protected LineExtensionAmountType lineExtensionAmount
protected PeriodType period
protected List<DeliveryType> delivery
protected List<AllowanceChargeType> allowanceCharge
protected List<TaxTotalType> taxTotal
protected UtilityItemType utilityItem
protected PriceType price
protected UnstructuredPriceType unstructuredPrice
public IDType getID()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>An identifier for this consumption line.</ccts:Definition>
<ccts:Cardinality>1</ccts:Cardinality>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
<ccts:PropertyTerm>Identifier</ccts:PropertyTerm>
<ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
<ccts:DataType>Identifier. Type</ccts:DataType>
<ccts:Examples>1</ccts:Examples>
</ccts:Component>
IDTypepublic void setID(IDType value)
value - allowed object is
IDTypepublic ParentDocumentLineReferenceIDType getParentDocumentLineReferenceID()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Parent_ Document Line Reference Identifier. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>An identifier for the transaction line on a related document (such as an invoice) that covers this consumption line.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
<ccts:PropertyTermQualifier>Parent</ccts:PropertyTermQualifier>
<ccts:PropertyTerm>Document Line Reference Identifier</ccts:PropertyTerm>
<ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
<ccts:DataType>Identifier. Type</ccts:DataType>
<ccts:Examples>Consumption</ccts:Examples>
</ccts:Component>
ParentDocumentLineReferenceIDTypepublic void setParentDocumentLineReferenceID(ParentDocumentLineReferenceIDType value)
value - allowed object is
ParentDocumentLineReferenceIDTypepublic InvoicedQuantityType getInvoicedQuantity()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Invoiced_ Quantity. Quantity</ccts:DictionaryEntryName>
<ccts:Definition>The quantity invoiced.</ccts:Definition>
<ccts:Cardinality>1</ccts:Cardinality>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
<ccts:PropertyTermQualifier>Invoiced</ccts:PropertyTermQualifier>
<ccts:PropertyTerm>Quantity</ccts:PropertyTerm>
<ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm>
<ccts:DataType>Quantity. Type</ccts:DataType>
</ccts:Component>
InvoicedQuantityTypepublic void setInvoicedQuantity(InvoicedQuantityType value)
value - allowed object is
InvoicedQuantityTypepublic LineExtensionAmountType getLineExtensionAmount()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Line Extension Amount. Amount</ccts:DictionaryEntryName>
<ccts:Definition>The monetary amount, including discount, to be charged for this consumption line.</ccts:Definition>
<ccts:Cardinality>1</ccts:Cardinality>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
<ccts:PropertyTerm>Line Extension Amount</ccts:PropertyTerm>
<ccts:RepresentationTerm>Amount</ccts:RepresentationTerm>
<ccts:DataType>Amount. Type</ccts:DataType>
</ccts:Component>
LineExtensionAmountTypepublic void setLineExtensionAmount(LineExtensionAmountType value)
value - allowed object is
LineExtensionAmountTypepublic PeriodType getPeriod()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>ASBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Period</ccts:DictionaryEntryName>
<ccts:Definition>The period of time covered by this consumption line.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
<ccts:PropertyTerm>Period</ccts:PropertyTerm>
<ccts:AssociatedObjectClass>Period</ccts:AssociatedObjectClass>
<ccts:RepresentationTerm>Period</ccts:RepresentationTerm>
</ccts:Component>
PeriodTypepublic void setPeriod(PeriodType value)
value - allowed object is
PeriodTypepublic List<DeliveryType> getDelivery()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>ASBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Delivery</ccts:DictionaryEntryName>
<ccts:Definition>A delivery of the utility item on this consumption line.</ccts:Definition>
<ccts:Cardinality>0..n</ccts:Cardinality>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
<ccts:PropertyTerm>Delivery</ccts:PropertyTerm>
<ccts:AssociatedObjectClass>Delivery</ccts:AssociatedObjectClass>
<ccts:RepresentationTerm>Delivery</ccts:RepresentationTerm>
</ccts:Component>
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
public List<AllowanceChargeType> getAllowanceCharge()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>ASBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Allowance Charge</ccts:DictionaryEntryName>
<ccts:Definition>An allowance or charge that applies to this consumption line.</ccts:Definition>
<ccts:Cardinality>0..n</ccts:Cardinality>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
<ccts:PropertyTerm>Allowance Charge</ccts:PropertyTerm>
<ccts:AssociatedObjectClass>Allowance Charge</ccts:AssociatedObjectClass>
<ccts:RepresentationTerm>Allowance Charge</ccts:RepresentationTerm>
</ccts:Component>
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
public List<TaxTotalType> getTaxTotal()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>ASBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Tax Total</ccts:DictionaryEntryName>
<ccts:Definition>A total amount of taxes of a particular kind applicable to this consumption line.</ccts:Definition>
<ccts:Cardinality>0..n</ccts:Cardinality>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
<ccts:PropertyTerm>Tax Total</ccts:PropertyTerm>
<ccts:AssociatedObjectClass>Tax Total</ccts:AssociatedObjectClass>
<ccts:RepresentationTerm>Tax Total</ccts:RepresentationTerm>
</ccts:Component>
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
public UtilityItemType getUtilityItem()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>ASBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Utility Item</ccts:DictionaryEntryName>
<ccts:Definition>The utility item consumed.</ccts:Definition>
<ccts:Cardinality>1</ccts:Cardinality>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
<ccts:PropertyTerm>Utility Item</ccts:PropertyTerm>
<ccts:AssociatedObjectClass>Utility Item</ccts:AssociatedObjectClass>
<ccts:RepresentationTerm>Utility Item</ccts:RepresentationTerm>
</ccts:Component>
UtilityItemTypepublic void setUtilityItem(UtilityItemType value)
value - allowed object is
UtilityItemTypepublic PriceType getPrice()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>ASBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Price</ccts:DictionaryEntryName>
<ccts:Definition>The price associated with this consumption line, expressed in a data structure containing multiple properties.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
<ccts:PropertyTerm>Price</ccts:PropertyTerm>
<ccts:AssociatedObjectClass>Price</ccts:AssociatedObjectClass>
<ccts:RepresentationTerm>Price</ccts:RepresentationTerm>
</ccts:Component>
PriceTypepublic void setPrice(PriceType value)
value - allowed object is
PriceTypepublic UnstructuredPriceType getUnstructuredPrice()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ccts:ComponentType>ASBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Consumption Line. Unstructured Price</ccts:DictionaryEntryName>
<ccts:Definition>The price associated with this consumption line expressed in a less structured form that includes just the amount and the time of use.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Consumption Line</ccts:ObjectClass>
<ccts:PropertyTerm>Unstructured Price</ccts:PropertyTerm>
<ccts:AssociatedObjectClass>Unstructured Price</ccts:AssociatedObjectClass>
<ccts:RepresentationTerm>Unstructured Price</ccts:RepresentationTerm>
</ccts:Component>
UnstructuredPriceTypepublic void setUnstructuredPrice(UnstructuredPriceType value)
value - allowed object is
UnstructuredPriceTypeCopyright © 2015 Direktoratet for forvaltning og IKT (Difi). All rights reserved.