public class PriceType extends Object implements Serializable
<?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Price. Details</ccts:DictionaryEntryName><ccts:Definition>Information about the price.</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"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
PriceType()
Default constructor
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
| Modifier and Type | Method and Description |
|---|---|
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
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
OrderableUnitFactorRateType |
getOrderableUnitFactorRate()
<?
|
BigDecimal |
getOrderableUnitFactorRateValue()
Get the value of the contained OrderableUnitFactorRateType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
PriceAmountType |
getPriceAmount()
<?
|
BigDecimal |
getPriceAmountValue()
Get the value of the contained PriceAmountType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
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
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
String |
getPriceTypeValue()
Get the value of the contained PriceTypeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
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
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
OrderableUnitFactorRateType |
setOrderableUnitFactorRate(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setOrderableUnitFactorRate(OrderableUnitFactorRateType value)
Sets the value of the orderableUnitFactorRate property.
|
PriceAmountType |
setPriceAmount(BigDecimal valueParam)
Special setter with value of type BigDecimal
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
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
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setPriceTypeCode(PriceTypeCodeType value)
Sets the value of the priceTypeCode property.
|
PriceTypeCodeType |
setPriceTypeCode(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule: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 price amount.</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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule: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 actual quantity to which the 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(reason="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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule: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>The reason for the price change, expressed as text.</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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule: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 price type, 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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule: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 price type, 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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule: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(reason="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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Price. Validity_ Period. Period</ccts:DictionaryEntryName><ccts:Definition>An association to Validity Period.</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: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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Price. Price List</ccts:DictionaryEntryName><ccts:Definition>A reference to a Price List.</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:Component>
PriceListTypepublic void setPriceList(@Nullable PriceListType value)
value - allowed object is
PriceListType@Nonnull @ReturnsMutableObject(reason="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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Price. Allowance Charge</ccts:DictionaryEntryName><ccts:Definition>An association to Allowance Charge.</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: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 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)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!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)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!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)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!@Nonnull public OrderableUnitFactorRateType setOrderableUnitFactorRate(@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@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 BaseQuantityType setBaseQuantity(@Nullable BigDecimal 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 Philip Helger. All rights reserved.