public class

SalesOrder

extends CdmBase
java.lang.Object
   ↳ org.mule.modules.quickbooks.windows.schema.CdmObject
     ↳ org.mule.modules.quickbooks.windows.schema.CdmBase
       ↳ org.mule.modules.quickbooks.windows.schema.SalesOrder

Class Overview

Product: QBW Description: A sales order is a financial transaction that represents a request received from a customer to purchase products or services. Sales orders help you manage the sale of products and services your customers order. For example, a sales order tracks inventory that is on back order for a customer. Sales Orders are supported only in QuickBooks Premier (desktop) and above. However, if you are accessing a company file created in Premier and above from a lesser edition of QuickBooks (such as Pro), you can do queries against SalesOrders. Using sales orders is optional. Endpoint: services.intuit.com Business Rules: [li]A sales order must have at least one line that describes the item. [/li][li]A sales order must have a reference to a customer in the header. [/li][li]If you submit a query with the filter IncludeDiscountLineDetails, the system retrieves either DiscountAmount or DiscountRatePercent with associated values[/li]

Java class for SalesOrder complex type.

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

 <complexType name="SalesOrder">
   <complexContent>
     <extension base="{http://www.intuit.com/sb/cdm/v2}CdmBase">
       <sequence>
         <element name="Header" type="{http://www.intuit.com/sb/cdm/v2}SalesOrderHeader" minOccurs="0"/>
         <element name="Line" type="{http://www.intuit.com/sb/cdm/v2}SalesOrderLine" maxOccurs="unbounded" minOccurs="0"/>
         <element name="TaxLine" type="{http://www.intuit.com/sb/cdm/v2}TaxLine" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected SalesOrderHeader header
protected List<SalesOrderLine> line
protected List<TaxLine> taxLine
[Expand]
Inherited Fields
From class org.mule.modules.quickbooks.windows.schema.CdmBase
Public Constructors
SalesOrder()
Public Methods
SalesOrderHeader getHeader()
Gets the value of the header property.
List<SalesOrderLine> getLine()
Gets the value of the line property.
List<TaxLine> getTaxLine()
Gets the value of the taxLine property.
void setHeader(SalesOrderHeader value)
Sets the value of the header property.
[Expand]
Inherited Methods
From class org.mule.modules.quickbooks.windows.schema.CdmBase
From class java.lang.Object

Fields

protected SalesOrderHeader header

protected List<SalesOrderLine> line

protected List<TaxLine> taxLine

Public Constructors

public SalesOrder ()

Public Methods

public SalesOrderHeader getHeader ()

Gets the value of the header property.

Returns

public List<SalesOrderLine> getLine ()

Gets the value of the line 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 line property.

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

    getLine().add(newItem);
 

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

public List<TaxLine> getTaxLine ()

Gets the value of the taxLine 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 taxLine property.

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

    getTaxLine().add(newItem);
 

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

public void setHeader (SalesOrderHeader value)

Sets the value of the header property.

Parameters
value Allowed object is SalesOrderHeader