Class Price

  • All Implemented Interfaces:
    java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    @Generated(value="com.sun.tools.xjc.Driver",
               date="2020-04-08T08:04:58+00:00",
               comments="JAXB RI v2.3.2")
    public class Price
    extends BaseElement
    implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for Price complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="Price">
       <complexContent>
         <extension base="{http://www.printtalk.org/schema_20}BaseElement">
           <sequence>
             <element name="Additional" type="{http://www.printtalk.org/schema_20}Additional" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="Amount" type="{http://www.w3.org/2001/XMLSchema}double" />
           <attribute name="DescriptiveName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="DropID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="ItemRefs" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
           <attribute name="LineID" type="{http://www.w3.org/2001/XMLSchema}ID" />
           <attribute name="LineIDRefs" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
           <attribute name="Price" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
           <attribute name="PriceType" use="required">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="Discount"/>
                 <enumeration value="DownPayment"/>
                 <enumeration value="Handling"/>
                 <enumeration value="Markup"/>
                 <enumeration value="Other"/>
                 <enumeration value="Prepaid"/>
                 <enumeration value="Product"/>
                 <enumeration value="Shipping"/>
                 <enumeration value="Subtotal"/>
                 <enumeration value="Total"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="TaxType" use="required">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="Gross"/>
                 <enumeration value="Net"/>
                 <enumeration value="Tax"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="UnitPrice" type="{http://www.w3.org/2001/XMLSchema}double" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<Additional> additional  
      protected java.lang.Double amount  
      protected java.lang.String descriptiveName  
      protected java.lang.String dropID  
      protected java.util.List<java.lang.String> itemRefs  
      protected java.lang.String lineID  
      protected java.util.List<java.lang.Object> lineIDRefs  
      protected double price  
      protected java.lang.String priceType  
      protected java.lang.String taxType  
      protected java.lang.Double unitPrice  
    • Constructor Summary

      Constructors 
      Constructor Description
      Price()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)  
      java.util.List<Additional> getAdditional()
      Gets the value of the additional property.
      java.lang.Double getAmount()
      Gets the value of the amount property.
      java.lang.String getDescriptiveName()
      Gets the value of the descriptiveName property.
      java.lang.String getDropID()
      Gets the value of the dropID property.
      java.util.List<java.lang.String> getItemRefs()
      Gets the value of the itemRefs property.
      java.lang.String getLineID()
      Gets the value of the lineID property.
      java.util.List<java.lang.Object> getLineIDRefs()
      Gets the value of the lineIDRefs property.
      double getPrice()
      Gets the value of the price property.
      java.lang.String getPriceType()
      Gets the value of the priceType property.
      java.lang.String getTaxType()
      Gets the value of the taxType property.
      java.lang.Double getUnitPrice()
      Gets the value of the unitPrice property.
      int hashCode()  
      int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
      void setAmount​(java.lang.Double value)
      Sets the value of the amount property.
      void setDescriptiveName​(java.lang.String value)
      Sets the value of the descriptiveName property.
      void setDropID​(java.lang.String value)
      Sets the value of the dropID property.
      void setLineID​(java.lang.String value)
      Sets the value of the lineID property.
      void setPrice​(double value)
      Sets the value of the price property.
      void setPriceType​(java.lang.String value)
      Sets the value of the priceType property.
      void setTaxType​(java.lang.String value)
      Sets the value of the taxType property.
      void setUnitPrice​(java.lang.Double value)
      Sets the value of the unitPrice property.
      Price withAdditional​(java.util.Collection<Additional> values)  
      Price withAdditional​(Additional... values)  
      Price withAmount​(java.lang.Double value)  
      Price withDescriptiveName​(java.lang.String value)  
      Price withDropID​(java.lang.String value)  
      Price withItemRefs​(java.lang.String... values)  
      Price withItemRefs​(java.util.Collection<java.lang.String> values)  
      Price withLineID​(java.lang.String value)  
      Price withLineIDRefs​(java.lang.Object... values)  
      Price withLineIDRefs​(java.util.Collection<java.lang.Object> values)  
      Price withPrice​(double value)  
      Price withPriceType​(java.lang.String value)  
      Price withTaxType​(java.lang.String value)  
      Price withUnitPrice​(java.lang.Double value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • additional

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.util.List<Additional> additional
      • amount

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.Double amount
      • descriptiveName

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.String descriptiveName
      • dropID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.String dropID
      • itemRefs

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.util.List<java.lang.String> itemRefs
      • lineID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.String lineID
      • lineIDRefs

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.util.List<java.lang.Object> lineIDRefs
      • price

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected double price
      • priceType

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.String priceType
      • taxType

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.String taxType
      • unitPrice

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.Double unitPrice
    • Constructor Detail

      • Price

        public Price()
    • Method Detail

      • getAdditional

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.util.List<Additional> getAdditional()
        Gets the value of the additional 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 additional property.

        For example, to add a new item, do as follows:

            getAdditional().add(newItem);
         

        Objects of the following type(s) are allowed in the list Additional

      • getAmount

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.Double getAmount()
        Gets the value of the amount property.
        Returns:
        possible object is Double
      • setAmount

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setAmount​(java.lang.Double value)
        Sets the value of the amount property.
        Parameters:
        value - allowed object is Double
      • getDescriptiveName

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.String getDescriptiveName()
        Gets the value of the descriptiveName property.
        Returns:
        possible object is String
      • setDescriptiveName

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setDescriptiveName​(java.lang.String value)
        Sets the value of the descriptiveName property.
        Parameters:
        value - allowed object is String
      • getDropID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.String getDropID()
        Gets the value of the dropID property.
        Returns:
        possible object is String
      • setDropID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setDropID​(java.lang.String value)
        Sets the value of the dropID property.
        Parameters:
        value - allowed object is String
      • getItemRefs

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.util.List<java.lang.String> getItemRefs()
        Gets the value of the itemRefs 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 itemRefs property.

        For example, to add a new item, do as follows:

            getItemRefs().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getLineID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.String getLineID()
        Gets the value of the lineID property.
        Returns:
        possible object is String
      • setLineID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setLineID​(java.lang.String value)
        Sets the value of the lineID property.
        Parameters:
        value - allowed object is String
      • getLineIDRefs

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.util.List<java.lang.Object> getLineIDRefs()
        Gets the value of the lineIDRefs 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 lineIDRefs property.

        For example, to add a new item, do as follows:

            getLineIDRefs().add(newItem);
         

        Objects of the following type(s) are allowed in the list Object

      • getPrice

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public double getPrice()
        Gets the value of the price property.
      • setPrice

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setPrice​(double value)
        Sets the value of the price property.
      • getPriceType

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.String getPriceType()
        Gets the value of the priceType property.
        Returns:
        possible object is String
      • setPriceType

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setPriceType​(java.lang.String value)
        Sets the value of the priceType property.
        Parameters:
        value - allowed object is String
      • getTaxType

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.String getTaxType()
        Gets the value of the taxType property.
        Returns:
        possible object is String
      • setTaxType

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setTaxType​(java.lang.String value)
        Sets the value of the taxType property.
        Parameters:
        value - allowed object is String
      • getUnitPrice

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.Double getUnitPrice()
        Gets the value of the unitPrice property.
        Returns:
        possible object is Double
      • setUnitPrice

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setUnitPrice​(java.lang.Double value)
        Sets the value of the unitPrice property.
        Parameters:
        value - allowed object is Double
      • withAdditional

        public Price withAdditional​(java.util.Collection<Additional> values)
      • withAmount

        public Price withAmount​(java.lang.Double value)
      • withDescriptiveName

        public Price withDescriptiveName​(java.lang.String value)
      • withDropID

        public Price withDropID​(java.lang.String value)
      • withItemRefs

        public Price withItemRefs​(java.lang.String... values)
      • withItemRefs

        public Price withItemRefs​(java.util.Collection<java.lang.String> values)
      • withLineID

        public Price withLineID​(java.lang.String value)
      • withLineIDRefs

        public Price withLineIDRefs​(java.lang.Object... values)
      • withLineIDRefs

        public Price withLineIDRefs​(java.util.Collection<java.lang.Object> values)
      • withPrice

        public Price withPrice​(double value)
      • withPriceType

        public Price withPriceType​(java.lang.String value)
      • withTaxType

        public Price withTaxType​(java.lang.String value)
      • withUnitPrice

        public Price withUnitPrice​(java.lang.Double value)
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class BaseElement
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class BaseElement
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
        Overrides:
        hashCode in class BaseElement