net.authorize.api.contract.v1
Class LineItemType

java.lang.Object
  extended by net.authorize.api.contract.v1.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"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String description
           
protected  String itemId
           
protected  String name
           
protected  BigDecimal quantity
           
protected  Boolean taxable
           
protected  BigDecimal unitPrice
           
 
Constructor Summary
LineItemType()
           
 
Method Summary
 String getDescription()
          Gets the value of the description property.
 String getItemId()
          Gets the value of the itemId property.
 String getName()
          Gets the value of the name property.
 BigDecimal getQuantity()
          Gets the value of the quantity property.
 BigDecimal getUnitPrice()
          Gets the value of the unitPrice property.
 Boolean isTaxable()
          Gets the value of the taxable property.
 void setDescription(String value)
          Sets the value of the description property.
 void setItemId(String value)
          Sets the value of the itemId property.
 void setName(String value)
          Sets the value of the name property.
 void setQuantity(BigDecimal value)
          Sets the value of the quantity property.
 void setTaxable(Boolean value)
          Sets the value of the taxable property.
 void setUnitPrice(BigDecimal value)
          Sets the value of the unitPrice property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

itemId

protected String itemId

name

protected String name

description

protected String description

quantity

protected BigDecimal quantity

unitPrice

protected BigDecimal unitPrice

taxable

protected Boolean taxable
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


Copyright © 2014. All Rights Reserved.