Class PriceType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.PriceType
-
public class PriceType extends Object
Java class for PriceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PriceType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PriceAmount"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BaseQuantity" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PriceChangeReason" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PriceTypeCode" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PriceType" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OrderableUnitFactorRate" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ValidityPeriod" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PriceList" 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}PricingExchangeRate" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AllowanceChargeType>allowanceChargeprotected BaseQuantityTypebaseQuantityprotected OrderableUnitFactorRateTypeorderableUnitFactorRateprotected PriceAmountTypepriceAmountprotected List<PriceChangeReasonType>priceChangeReasonprotected PriceListTypepriceListprotected PriceTypeTypepriceTypeprotected PriceTypeCodeTypepriceTypeCodeprotected ExchangeRateTypepricingExchangeRateprotected List<PeriodType>validityPeriod
-
Constructor Summary
Constructors Constructor Description PriceType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AllowanceChargeType>getAllowanceCharge()Gets the value of the allowanceCharge property.BaseQuantityTypegetBaseQuantity()Gets the value of the baseQuantity property.OrderableUnitFactorRateTypegetOrderableUnitFactorRate()Gets the value of the orderableUnitFactorRate property.PriceAmountTypegetPriceAmount()Gets the value of the priceAmount property.List<PriceChangeReasonType>getPriceChangeReason()Gets the value of the priceChangeReason property.PriceListTypegetPriceList()Gets the value of the priceList property.PriceTypeTypegetPriceType()Gets the value of the priceType property.PriceTypeCodeTypegetPriceTypeCode()Gets the value of the priceTypeCode property.ExchangeRateTypegetPricingExchangeRate()Gets the value of the pricingExchangeRate property.List<PeriodType>getValidityPeriod()Gets the value of the validityPeriod property.voidsetBaseQuantity(BaseQuantityType value)Sets the value of the baseQuantity property.voidsetOrderableUnitFactorRate(OrderableUnitFactorRateType value)Sets the value of the orderableUnitFactorRate property.voidsetPriceAmount(PriceAmountType value)Sets the value of the priceAmount property.voidsetPriceList(PriceListType value)Sets the value of the priceList property.voidsetPriceType(PriceTypeType value)Sets the value of the priceType property.voidsetPriceTypeCode(PriceTypeCodeType value)Sets the value of the priceTypeCode property.voidsetPricingExchangeRate(ExchangeRateType value)Sets the value of the pricingExchangeRate property.
-
-
-
Field Detail
-
priceAmount
protected PriceAmountType priceAmount
-
baseQuantity
protected BaseQuantityType baseQuantity
-
priceChangeReason
protected List<PriceChangeReasonType> priceChangeReason
-
priceTypeCode
protected PriceTypeCodeType priceTypeCode
-
priceType
protected PriceTypeType priceType
-
orderableUnitFactorRate
protected OrderableUnitFactorRateType orderableUnitFactorRate
-
validityPeriod
protected List<PeriodType> validityPeriod
-
priceList
protected PriceListType priceList
-
allowanceCharge
protected List<AllowanceChargeType> allowanceCharge
-
pricingExchangeRate
protected ExchangeRateType pricingExchangeRate
-
-
Method Detail
-
getPriceAmount
public PriceAmountType getPriceAmount()
Gets the value of the priceAmount property.- Returns:
- possible object is
PriceAmountType
-
setPriceAmount
public void setPriceAmount(PriceAmountType value)
Sets the value of the priceAmount property.- Parameters:
value- allowed object isPriceAmountType
-
getBaseQuantity
public BaseQuantityType getBaseQuantity()
Gets the value of the baseQuantity property.- Returns:
- possible object is
BaseQuantityType
-
setBaseQuantity
public void setBaseQuantity(BaseQuantityType value)
Sets the value of the baseQuantity property.- Parameters:
value- allowed object isBaseQuantityType
-
getPriceChangeReason
public List<PriceChangeReasonType> getPriceChangeReason()
Gets the value of the priceChangeReason 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 priceChangeReason property.For example, to add a new item, do as follows:
getPriceChangeReason().add(newItem);Objects of the following type(s) are allowed in the list
PriceChangeReasonType
-
getPriceTypeCode
public PriceTypeCodeType getPriceTypeCode()
Gets the value of the priceTypeCode property.- Returns:
- possible object is
PriceTypeCodeType
-
setPriceTypeCode
public void setPriceTypeCode(PriceTypeCodeType value)
Sets the value of the priceTypeCode property.- Parameters:
value- allowed object isPriceTypeCodeType
-
getPriceType
public PriceTypeType getPriceType()
Gets the value of the priceType property.- Returns:
- possible object is
PriceTypeType
-
setPriceType
public void setPriceType(PriceTypeType value)
Sets the value of the priceType property.- Parameters:
value- allowed object isPriceTypeType
-
getOrderableUnitFactorRate
public OrderableUnitFactorRateType getOrderableUnitFactorRate()
Gets the value of the orderableUnitFactorRate property.- Returns:
- possible object is
OrderableUnitFactorRateType
-
setOrderableUnitFactorRate
public void setOrderableUnitFactorRate(OrderableUnitFactorRateType value)
Sets the value of the orderableUnitFactorRate property.- Parameters:
value- allowed object isOrderableUnitFactorRateType
-
getValidityPeriod
public List<PeriodType> getValidityPeriod()
Gets the value of the validityPeriod 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 validityPeriod property.For example, to add a new item, do as follows:
getValidityPeriod().add(newItem);Objects of the following type(s) are allowed in the list
PeriodType
-
getPriceList
public PriceListType getPriceList()
Gets the value of the priceList property.- Returns:
- possible object is
PriceListType
-
setPriceList
public void setPriceList(PriceListType value)
Sets the value of the priceList property.- Parameters:
value- allowed object isPriceListType
-
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
-
getPricingExchangeRate
public ExchangeRateType getPricingExchangeRate()
Gets the value of the pricingExchangeRate property.- Returns:
- possible object is
ExchangeRateType
-
setPricingExchangeRate
public void setPricingExchangeRate(ExchangeRateType value)
Sets the value of the pricingExchangeRate property.- Parameters:
value- allowed object isExchangeRateType
-
-