Class PriceExtensionType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.PriceExtensionType
-
public class PriceExtensionType extends Object
Java class for PriceExtensionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PriceExtensionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Amount"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}TaxTotal" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AmountTypeamountprotected List<TaxTotalType>taxTotal
-
Constructor Summary
Constructors Constructor Description PriceExtensionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AmountTypegetAmount()Gets the value of the amount property.List<TaxTotalType>getTaxTotal()Gets the value of the taxTotal property.voidsetAmount(AmountType value)Sets the value of the amount property.
-
-
-
Field Detail
-
amount
protected AmountType amount
-
taxTotal
protected List<TaxTotalType> taxTotal
-
-
Method Detail
-
getAmount
public AmountType getAmount()
Gets the value of the amount property.- Returns:
- possible object is
AmountType
-
setAmount
public void setAmount(AmountType value)
Sets the value of the amount property.- Parameters:
value- allowed object isAmountType
-
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
-
-