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>
| Modifier and Type | Field and Description |
|---|---|
protected List<AllowanceChargeType> |
allowanceCharge |
protected BaseQuantityType |
baseQuantity |
protected OrderableUnitFactorRateType |
orderableUnitFactorRate |
protected PriceAmountType |
priceAmount |
protected List<PriceChangeReasonType> |
priceChangeReason |
protected PriceListType |
priceList |
protected PriceTypeType |
priceType |
protected PriceTypeCodeType |
priceTypeCode |
protected ExchangeRateType |
pricingExchangeRate |
protected List<PeriodType> |
validityPeriod |
| Constructor and Description |
|---|
PriceType() |
| Modifier and Type | Method and Description |
|---|---|
List<AllowanceChargeType> |
getAllowanceCharge()
Gets the value of the allowanceCharge property.
|
BaseQuantityType |
getBaseQuantity()
Gets the value of the baseQuantity property.
|
OrderableUnitFactorRateType |
getOrderableUnitFactorRate()
Gets the value of the orderableUnitFactorRate property.
|
PriceAmountType |
getPriceAmount()
Gets the value of the priceAmount property.
|
List<PriceChangeReasonType> |
getPriceChangeReason()
Gets the value of the priceChangeReason property.
|
PriceListType |
getPriceList()
Gets the value of the priceList property.
|
PriceTypeType |
getPriceType()
Gets the value of the priceType property.
|
PriceTypeCodeType |
getPriceTypeCode()
Gets the value of the priceTypeCode property.
|
ExchangeRateType |
getPricingExchangeRate()
Gets the value of the pricingExchangeRate property.
|
List<PeriodType> |
getValidityPeriod()
Gets the value of the validityPeriod property.
|
void |
setBaseQuantity(BaseQuantityType value)
Sets the value of the baseQuantity property.
|
void |
setOrderableUnitFactorRate(OrderableUnitFactorRateType value)
Sets the value of the orderableUnitFactorRate property.
|
void |
setPriceAmount(PriceAmountType value)
Sets the value of the priceAmount property.
|
void |
setPriceList(PriceListType value)
Sets the value of the priceList property.
|
void |
setPriceType(PriceTypeType value)
Sets the value of the priceType property.
|
void |
setPriceTypeCode(PriceTypeCodeType value)
Sets the value of the priceTypeCode property.
|
void |
setPricingExchangeRate(ExchangeRateType value)
Sets the value of the pricingExchangeRate property.
|
protected PriceAmountType priceAmount
protected BaseQuantityType baseQuantity
protected List<PriceChangeReasonType> priceChangeReason
protected PriceTypeCodeType priceTypeCode
protected PriceTypeType priceType
protected OrderableUnitFactorRateType orderableUnitFactorRate
protected List<PeriodType> validityPeriod
protected PriceListType priceList
protected List<AllowanceChargeType> allowanceCharge
protected ExchangeRateType pricingExchangeRate
public PriceAmountType getPriceAmount()
PriceAmountTypepublic void setPriceAmount(PriceAmountType value)
value - allowed object is
PriceAmountTypepublic BaseQuantityType getBaseQuantity()
BaseQuantityTypepublic void setBaseQuantity(BaseQuantityType value)
value - allowed object is
BaseQuantityTypepublic List<PriceChangeReasonType> getPriceChangeReason()
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 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
public PriceTypeCodeType getPriceTypeCode()
PriceTypeCodeTypepublic void setPriceTypeCode(PriceTypeCodeType value)
value - allowed object is
PriceTypeCodeTypepublic PriceTypeType getPriceType()
PriceTypeTypepublic void setPriceType(PriceTypeType value)
value - allowed object is
PriceTypeTypepublic OrderableUnitFactorRateType getOrderableUnitFactorRate()
OrderableUnitFactorRateTypepublic void setOrderableUnitFactorRate(OrderableUnitFactorRateType value)
value - allowed object is
OrderableUnitFactorRateTypepublic List<PeriodType> getValidityPeriod()
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 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
public PriceListType getPriceList()
PriceListTypepublic void setPriceList(PriceListType value)
value - allowed object is
PriceListTypepublic List<AllowanceChargeType> getAllowanceCharge()
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 ExchangeRateType getPricingExchangeRate()
ExchangeRateTypepublic void setPricingExchangeRate(ExchangeRateType value)
value - allowed object is
ExchangeRateTypeCopyright © 2017 Direktoratet for forvaltning og IKT (Difi). All rights reserved.