public class

PurchaseOrder

extends CdmBase
implements Serializable
java.lang.Object
   ↳ org.mule.modules.quickbooks.windows.schema.CdmObject
     ↳ org.mule.modules.quickbooks.windows.schema.CdmBase
       ↳ org.mule.modules.quickbooks.windows.schema.PurchaseOrder

Class Overview

Product: QBW Description: PurchaseOrder is a non-posting transaction representing a request to purchase goods or services from a third party. Adds a purchase order, which is an order submitted to a vendor. You can use ItemReceipt Add to receive items against a purchase order as items arrive from the vendor. A purchase order is a non-posting transaction, so it does not affect a company’s balance sheet or income statement. Endpoint: services.intuit.com Business Rules: None

Java class for PurchaseOrder complex type.

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

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

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class org.mule.modules.quickbooks.windows.schema.CdmBase
From class org.mule.modules.quickbooks.windows.schema.CdmObject
Fields
protected PurchaseOrderHeader header
protected List<PurchaseOrderLine> line
[Expand]
Inherited Fields
From class org.mule.modules.quickbooks.windows.schema.CdmBase
Public Constructors
PurchaseOrder()
Public Methods
PurchaseOrderHeader getHeader()
Gets the value of the header property.
List<PurchaseOrderLine> getLine()
Gets the value of the line property.
void setHeader(PurchaseOrderHeader value)
Sets the value of the header property.
void setLine(List<PurchaseOrderLine> line)
Sets the value of the line property.
[Expand]
Inherited Methods
From class org.mule.modules.quickbooks.windows.schema.CdmBase
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected PurchaseOrderHeader header

protected List<PurchaseOrderLine> line

Public Constructors

public PurchaseOrder ()

Public Methods

public PurchaseOrderHeader getHeader ()

Gets the value of the header property.

Returns

public List<PurchaseOrderLine> 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 PurchaseOrderLine

public void setHeader (PurchaseOrderHeader value)

Sets the value of the header property.

Parameters
value Allowed object is PurchaseOrderHeader

public void setLine (List<PurchaseOrderLine> line)

Sets the value of the line property.

Parameters
line Allowed object is PurchaseOrderLine