Class 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>
     
    • Constructor Detail

      • PriceType

        public PriceType()
    • Method Detail

      • setPriceAmount

        public void setPriceAmount​(PriceAmountType value)
        Sets the value of the priceAmount property.
        Parameters:
        value - allowed object is PriceAmountType
      • setBaseQuantity

        public void setBaseQuantity​(BaseQuantityType value)
        Sets the value of the baseQuantity property.
        Parameters:
        value - allowed object is BaseQuantityType
      • 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 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

        Returns:
        The value of the priceChangeReason property.
      • setPriceTypeCode

        public void setPriceTypeCode​(PriceTypeCodeType value)
        Sets the value of the priceTypeCode property.
        Parameters:
        value - allowed object is PriceTypeCodeType
      • 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 is PriceTypeType
      • 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 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

        Returns:
        The value of the validityPeriod property.
      • 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 is PriceListType
      • 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 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

        Returns:
        The value of the allowanceCharge property.
      • 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 is ExchangeRateType