@CodingStyleguideUnaware public class PriceType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?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>Price. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe a price, expressed in a data structure containing multiple properties (compare with UnstructuredPrice).</ccts:Definition><ccts:ObjectClass>Price</ccts:ObjectClass></ccts:Component>
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>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
PriceType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllowanceCharge(AllowanceChargeType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addPriceChangeReason(PriceChangeReasonType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addValidityPeriod(PeriodType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
PriceType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(PriceType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<AllowanceChargeType> |
getAllowanceCharge()
<?
|
AllowanceChargeType |
getAllowanceChargeAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getAllowanceChargeCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
BaseQuantityType |
getBaseQuantity()
<?
|
BigDecimal |
getBaseQuantityValue()
Get the value of the contained BaseQuantityType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
OrderableUnitFactorRateType |
getOrderableUnitFactorRate()
<?
|
BigDecimal |
getOrderableUnitFactorRateValue()
Get the value of the contained OrderableUnitFactorRateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
PriceAmountType |
getPriceAmount()
<?
|
BigDecimal |
getPriceAmountValue()
Get the value of the contained PriceAmountType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<PriceChangeReasonType> |
getPriceChangeReason()
<?
|
PriceChangeReasonType |
getPriceChangeReasonAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getPriceChangeReasonCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
PriceListType |
getPriceList()
<?
|
PriceTypeType |
getPriceType()
<?
|
PriceTypeCodeType |
getPriceTypeCode()
<?
|
String |
getPriceTypeCodeValue()
Get the value of the contained PriceTypeCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
getPriceTypeValue()
Get the value of the contained PriceTypeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
ExchangeRateType |
getPricingExchangeRate()
<?
|
List<PeriodType> |
getValidityPeriod()
<?
|
PeriodType |
getValidityPeriodAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getValidityPeriodCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasAllowanceChargeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoAllowanceChargeEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoPriceChangeReasonEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoValidityPeriodEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasPriceChangeReasonEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasValidityPeriodEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setAllowanceCharge(List<AllowanceChargeType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setBaseQuantity(BaseQuantityType value)
Sets the value of the baseQuantity property.
|
BaseQuantityType |
setBaseQuantity(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
OrderableUnitFactorRateType |
setOrderableUnitFactorRate(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setOrderableUnitFactorRate(OrderableUnitFactorRateType value)
Sets the value of the orderableUnitFactorRate property.
|
PriceAmountType |
setPriceAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setPriceAmount(PriceAmountType value)
Sets the value of the priceAmount property.
|
void |
setPriceChangeReason(List<PriceChangeReasonType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setPriceList(PriceListType value)
Sets the value of the priceList property.
|
void |
setPriceType(PriceTypeType value)
Sets the value of the priceType property.
|
PriceTypeType |
setPriceType(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setPriceTypeCode(PriceTypeCodeType value)
Sets the value of the priceTypeCode property.
|
PriceTypeCodeType |
setPriceTypeCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setPricingExchangeRate(ExchangeRateType value)
Sets the value of the pricingExchangeRate property.
|
void |
setValidityPeriod(List<PeriodType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public PriceType()
@Nullable public PriceAmountType getPriceAmount()
<?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>Price. Price Amount. Amount</ccts:DictionaryEntryName><ccts:Definition>The amount of the price.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Price</ccts:ObjectClass><ccts:PropertyTerm>Price Amount</ccts:PropertyTerm><ccts:RepresentationTerm>Amount</ccts:RepresentationTerm><ccts:DataType>Amount. Type</ccts:DataType><ccts:AlternativeBusinessTerms>unit price</ccts:AlternativeBusinessTerms><ccts:Examples>23.45</ccts:Examples></ccts:Component>
PriceAmountTypepublic void setPriceAmount(@Nullable PriceAmountType value)
value - allowed object is
PriceAmountType@Nullable public BaseQuantityType getBaseQuantity()
<?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>Price. Base_ Quantity. Quantity</ccts:DictionaryEntryName><ccts:Definition>The quantity at which this price applies.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Price</ccts:ObjectClass><ccts:PropertyTermQualifier>Base</ccts:PropertyTermQualifier><ccts:PropertyTerm>Quantity</ccts:PropertyTerm><ccts:RepresentationTerm>Quantity</ccts:RepresentationTerm><ccts:DataType>Quantity. Type</ccts:DataType></ccts:Component>
BaseQuantityTypepublic void setBaseQuantity(@Nullable BaseQuantityType value)
value - allowed object is
BaseQuantityType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<PriceChangeReasonType> getPriceChangeReason()
<?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>Price. Price Change_ Reason. Text</ccts:DictionaryEntryName><ccts:Definition>A reason for a price change.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Price</ccts:ObjectClass><ccts:PropertyTermQualifier>Price Change</ccts:PropertyTermQualifier><ccts:PropertyTerm>Reason</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>Clearance of old stock , New contract applies </ccts:Examples></ccts:Component>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 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
@Nullable public PriceTypeCodeType getPriceTypeCode()
<?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>Price. Price Type Code. Code</ccts:DictionaryEntryName><ccts:Definition>The type of price, expressed as a code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Price</ccts:ObjectClass><ccts:PropertyTerm>Price Type Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
PriceTypeCodeTypepublic void setPriceTypeCode(@Nullable PriceTypeCodeType value)
value - allowed object is
PriceTypeCodeType@Nullable public PriceTypeType getPriceType()
<?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>Price. Price Type. Text</ccts:DictionaryEntryName><ccts:Definition>The type of price, expressed as text.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Price</ccts:ObjectClass><ccts:PropertyTerm>Price Type</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>retail, wholesale, discount, contract</ccts:Examples></ccts:Component>
PriceTypeTypepublic void setPriceType(@Nullable PriceTypeType value)
value - allowed object is
PriceTypeType@Nullable public OrderableUnitFactorRateType getOrderableUnitFactorRate()
<?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>Price. Orderable Unit Factor. Rate</ccts:DictionaryEntryName><ccts:Definition>The factor by which the base price unit can be converted to the orderable unit.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Price</ccts:ObjectClass><ccts:PropertyTerm>Orderable Unit Factor</ccts:PropertyTerm><ccts:RepresentationTerm>Rate</ccts:RepresentationTerm><ccts:DataType>Rate. Type</ccts:DataType><ccts:Examples>Nails are priced by weight but ordered by quantity. So this would say how many nails per kilo</ccts:Examples></ccts:Component>
OrderableUnitFactorRateTypepublic void setOrderableUnitFactorRate(@Nullable OrderableUnitFactorRateType value)
value - allowed object is
OrderableUnitFactorRateType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<PeriodType> getValidityPeriod()
<?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>Price. Validity_ Period. Period</ccts:DictionaryEntryName><ccts:Definition>A period during which this price is valid.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Price</ccts:ObjectClass><ccts:PropertyTermQualifier>Validity</ccts:PropertyTermQualifier><ccts:PropertyTerm>Period</ccts:PropertyTerm><ccts:AssociatedObjectClass>Period</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Period</ccts:RepresentationTerm></ccts:Component>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 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
@Nullable public PriceListType getPriceList()
<?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>Price. Price List</ccts:DictionaryEntryName><ccts:Definition>Information about a price list applicable to this price.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Price</ccts:ObjectClass><ccts:PropertyTerm>Price List</ccts:PropertyTerm><ccts:AssociatedObjectClass>Price List</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Price List</ccts:RepresentationTerm></ccts:Component>
PriceListTypepublic void setPriceList(@Nullable PriceListType value)
value - allowed object is
PriceListType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") 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>Price. Allowance Charge</ccts:DictionaryEntryName><ccts:Definition>An allowance or charge associated with this price.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Price</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
@Nullable public ExchangeRateType getPricingExchangeRate()
<?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>Price. Pricing_ Exchange Rate. Exchange Rate</ccts:DictionaryEntryName><ccts:Definition>The exchange rate applicable to this price, if it differs from the exchange rate applicable to the document as a whole.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Price</ccts:ObjectClass><ccts:PropertyTermQualifier>Pricing</ccts:PropertyTermQualifier><ccts:PropertyTerm>Exchange Rate</ccts:PropertyTerm><ccts:AssociatedObjectClass>Exchange Rate</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Exchange Rate</ccts:RepresentationTerm></ccts:Component>
ExchangeRateTypepublic void setPricingExchangeRate(@Nullable ExchangeRateType value)
value - allowed object is
ExchangeRateTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setPriceChangeReason(@Nullable List<PriceChangeReasonType> aList)
aList - The new list member to set. May be null.public void setValidityPeriod(@Nullable List<PeriodType> aList)
aList - The new list member to set. May be null.public void setAllowanceCharge(@Nullable List<AllowanceChargeType> aList)
aList - The new list member to set. May be null.public boolean hasPriceChangeReasonEntries()
true if at least one item is contained, false otherwise.public boolean hasNoPriceChangeReasonEntries()
true if no item is contained, false otherwise.@Nonnegative public int getPriceChangeReasonCount()
@Nullable public PriceChangeReasonType getPriceChangeReasonAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addPriceChangeReason(@Nonnull PriceChangeReasonType elem)
elem - The element to be added. May not be null.public boolean hasValidityPeriodEntries()
true if at least one item is contained, false otherwise.public boolean hasNoValidityPeriodEntries()
true if no item is contained, false otherwise.@Nonnegative public int getValidityPeriodCount()
@Nullable public PeriodType getValidityPeriodAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addValidityPeriod(@Nonnull PeriodType elem)
elem - The element to be added. May not be null.public boolean hasAllowanceChargeEntries()
true if at least one item is contained, false otherwise.public boolean hasNoAllowanceChargeEntries()
true if no item is contained, false otherwise.@Nonnegative public int getAllowanceChargeCount()
@Nullable public AllowanceChargeType getAllowanceChargeAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addAllowanceCharge(@Nonnull AllowanceChargeType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull PriceType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public PriceType clone()
@Nonnull public PriceAmountType setPriceAmount(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public PriceTypeCodeType setPriceTypeCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public OrderableUnitFactorRateType setOrderableUnitFactorRate(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public BaseQuantityType setBaseQuantity(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public PriceTypeType setPriceType(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public BigDecimal getPriceAmountValue()
null@Nullable public BigDecimal getBaseQuantityValue()
null@Nullable public String getPriceTypeCodeValue()
null@Nullable public String getPriceTypeValue()
null@Nullable public BigDecimal getOrderableUnitFactorRateValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.