Class LineItemType


  • public class LineItemType
    extends Object

    Java class for lineItemType complex type.

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

     <complexType name="lineItemType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="itemId">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <minLength value="1"/>
                   <maxLength value="31"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="name">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <minLength value="1"/>
                   <maxLength value="31"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="description" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <maxLength value="255"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="quantity">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
                   <minInclusive value="0.00"/>
                   <fractionDigits value="4"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="unitPrice">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
                   <minInclusive value="0.00"/>
                   <fractionDigits value="4"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="taxable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
             <element name="unitOfMeasure" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <maxLength value="12"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="typeOfSupply" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <maxLength value="2"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="taxRate" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
                   <totalDigits value="5"/>
                   <fractionDigits value="5"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="taxAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
             <element name="nationalTax" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
             <element name="localTax" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
             <element name="vatRate" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
                   <totalDigits value="5"/>
                   <fractionDigits value="5"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="alternateTaxId" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <maxLength value="20"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="alternateTaxType" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <maxLength value="4"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="alternateTaxTypeApplied" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <maxLength value="4"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="alternateTaxRate" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
                   <totalDigits value="5"/>
                   <fractionDigits value="5"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="alternateTaxAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
             <element name="totalAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
             <element name="commodityCode" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <maxLength value="15"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="productCode" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <maxLength value="30"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="productSKU" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <maxLength value="30"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="discountRate" minOccurs="0">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
                   <totalDigits value="5"/>
                   <fractionDigits value="5"/>
                 </restriction>
               </simpleType>
             </element>
             <element name="discountAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
             <element name="taxIncludedInTotal" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
             <element name="taxIsAfterDiscount" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • itemId

        protected String itemId
      • description

        protected String description
      • taxable

        protected Boolean taxable
      • unitOfMeasure

        protected String unitOfMeasure
      • typeOfSupply

        protected String typeOfSupply
      • alternateTaxId

        protected String alternateTaxId
      • alternateTaxType

        protected String alternateTaxType
      • alternateTaxTypeApplied

        protected String alternateTaxTypeApplied
      • alternateTaxRate

        protected BigDecimal alternateTaxRate
      • alternateTaxAmount

        protected BigDecimal alternateTaxAmount
      • commodityCode

        protected String commodityCode
      • productCode

        protected String productCode
      • productSKU

        protected String productSKU
      • discountAmount

        protected BigDecimal discountAmount
      • taxIncludedInTotal

        protected Boolean taxIncludedInTotal
      • taxIsAfterDiscount

        protected Boolean taxIsAfterDiscount
    • Constructor Detail

      • LineItemType

        public LineItemType()
    • Method Detail

      • getItemId

        public String getItemId()
        Gets the value of the itemId property.
        Returns:
        possible object is String
      • setItemId

        public void setItemId​(String value)
        Sets the value of the itemId property.
        Parameters:
        value - allowed object is String
      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getDescription

        public String getDescription()
        Gets the value of the description property.
        Returns:
        possible object is String
      • setDescription

        public void setDescription​(String value)
        Sets the value of the description property.
        Parameters:
        value - allowed object is String
      • getQuantity

        public BigDecimal getQuantity()
        Gets the value of the quantity property.
        Returns:
        possible object is BigDecimal
      • setQuantity

        public void setQuantity​(BigDecimal value)
        Sets the value of the quantity property.
        Parameters:
        value - allowed object is BigDecimal
      • getUnitPrice

        public BigDecimal getUnitPrice()
        Gets the value of the unitPrice property.
        Returns:
        possible object is BigDecimal
      • setUnitPrice

        public void setUnitPrice​(BigDecimal value)
        Sets the value of the unitPrice property.
        Parameters:
        value - allowed object is BigDecimal
      • isTaxable

        public Boolean isTaxable()
        Gets the value of the taxable property.
        Returns:
        possible object is Boolean
      • setTaxable

        public void setTaxable​(Boolean value)
        Sets the value of the taxable property.
        Parameters:
        value - allowed object is Boolean
      • getUnitOfMeasure

        public String getUnitOfMeasure()
        Gets the value of the unitOfMeasure property.
        Returns:
        possible object is String
      • setUnitOfMeasure

        public void setUnitOfMeasure​(String value)
        Sets the value of the unitOfMeasure property.
        Parameters:
        value - allowed object is String
      • getTypeOfSupply

        public String getTypeOfSupply()
        Gets the value of the typeOfSupply property.
        Returns:
        possible object is String
      • setTypeOfSupply

        public void setTypeOfSupply​(String value)
        Sets the value of the typeOfSupply property.
        Parameters:
        value - allowed object is String
      • getTaxRate

        public BigDecimal getTaxRate()
        Gets the value of the taxRate property.
        Returns:
        possible object is BigDecimal
      • setTaxRate

        public void setTaxRate​(BigDecimal value)
        Sets the value of the taxRate property.
        Parameters:
        value - allowed object is BigDecimal
      • getTaxAmount

        public BigDecimal getTaxAmount()
        Gets the value of the taxAmount property.
        Returns:
        possible object is BigDecimal
      • setTaxAmount

        public void setTaxAmount​(BigDecimal value)
        Sets the value of the taxAmount property.
        Parameters:
        value - allowed object is BigDecimal
      • getNationalTax

        public BigDecimal getNationalTax()
        Gets the value of the nationalTax property.
        Returns:
        possible object is BigDecimal
      • setNationalTax

        public void setNationalTax​(BigDecimal value)
        Sets the value of the nationalTax property.
        Parameters:
        value - allowed object is BigDecimal
      • getLocalTax

        public BigDecimal getLocalTax()
        Gets the value of the localTax property.
        Returns:
        possible object is BigDecimal
      • setLocalTax

        public void setLocalTax​(BigDecimal value)
        Sets the value of the localTax property.
        Parameters:
        value - allowed object is BigDecimal
      • getVatRate

        public BigDecimal getVatRate()
        Gets the value of the vatRate property.
        Returns:
        possible object is BigDecimal
      • setVatRate

        public void setVatRate​(BigDecimal value)
        Sets the value of the vatRate property.
        Parameters:
        value - allowed object is BigDecimal
      • getAlternateTaxId

        public String getAlternateTaxId()
        Gets the value of the alternateTaxId property.
        Returns:
        possible object is String
      • setAlternateTaxId

        public void setAlternateTaxId​(String value)
        Sets the value of the alternateTaxId property.
        Parameters:
        value - allowed object is String
      • getAlternateTaxType

        public String getAlternateTaxType()
        Gets the value of the alternateTaxType property.
        Returns:
        possible object is String
      • setAlternateTaxType

        public void setAlternateTaxType​(String value)
        Sets the value of the alternateTaxType property.
        Parameters:
        value - allowed object is String
      • getAlternateTaxTypeApplied

        public String getAlternateTaxTypeApplied()
        Gets the value of the alternateTaxTypeApplied property.
        Returns:
        possible object is String
      • setAlternateTaxTypeApplied

        public void setAlternateTaxTypeApplied​(String value)
        Sets the value of the alternateTaxTypeApplied property.
        Parameters:
        value - allowed object is String
      • getAlternateTaxRate

        public BigDecimal getAlternateTaxRate()
        Gets the value of the alternateTaxRate property.
        Returns:
        possible object is BigDecimal
      • setAlternateTaxRate

        public void setAlternateTaxRate​(BigDecimal value)
        Sets the value of the alternateTaxRate property.
        Parameters:
        value - allowed object is BigDecimal
      • getAlternateTaxAmount

        public BigDecimal getAlternateTaxAmount()
        Gets the value of the alternateTaxAmount property.
        Returns:
        possible object is BigDecimal
      • setAlternateTaxAmount

        public void setAlternateTaxAmount​(BigDecimal value)
        Sets the value of the alternateTaxAmount property.
        Parameters:
        value - allowed object is BigDecimal
      • getTotalAmount

        public BigDecimal getTotalAmount()
        Gets the value of the totalAmount property.
        Returns:
        possible object is BigDecimal
      • setTotalAmount

        public void setTotalAmount​(BigDecimal value)
        Sets the value of the totalAmount property.
        Parameters:
        value - allowed object is BigDecimal
      • getCommodityCode

        public String getCommodityCode()
        Gets the value of the commodityCode property.
        Returns:
        possible object is String
      • setCommodityCode

        public void setCommodityCode​(String value)
        Sets the value of the commodityCode property.
        Parameters:
        value - allowed object is String
      • getProductCode

        public String getProductCode()
        Gets the value of the productCode property.
        Returns:
        possible object is String
      • setProductCode

        public void setProductCode​(String value)
        Sets the value of the productCode property.
        Parameters:
        value - allowed object is String
      • getProductSKU

        public String getProductSKU()
        Gets the value of the productSKU property.
        Returns:
        possible object is String
      • setProductSKU

        public void setProductSKU​(String value)
        Sets the value of the productSKU property.
        Parameters:
        value - allowed object is String
      • getDiscountRate

        public BigDecimal getDiscountRate()
        Gets the value of the discountRate property.
        Returns:
        possible object is BigDecimal
      • setDiscountRate

        public void setDiscountRate​(BigDecimal value)
        Sets the value of the discountRate property.
        Parameters:
        value - allowed object is BigDecimal
      • getDiscountAmount

        public BigDecimal getDiscountAmount()
        Gets the value of the discountAmount property.
        Returns:
        possible object is BigDecimal
      • setDiscountAmount

        public void setDiscountAmount​(BigDecimal value)
        Sets the value of the discountAmount property.
        Parameters:
        value - allowed object is BigDecimal
      • isTaxIncludedInTotal

        public Boolean isTaxIncludedInTotal()
        Gets the value of the taxIncludedInTotal property.
        Returns:
        possible object is Boolean
      • setTaxIncludedInTotal

        public void setTaxIncludedInTotal​(Boolean value)
        Sets the value of the taxIncludedInTotal property.
        Parameters:
        value - allowed object is Boolean
      • isTaxIsAfterDiscount

        public Boolean isTaxIsAfterDiscount()
        Gets the value of the taxIsAfterDiscount property.
        Returns:
        possible object is Boolean
      • setTaxIsAfterDiscount

        public void setTaxIsAfterDiscount​(Boolean value)
        Sets the value of the taxIsAfterDiscount property.
        Parameters:
        value - allowed object is Boolean