public class

CashPurchase

extends CdmBase
java.lang.Object
   ↳ org.mule.modules.quickbooks.online.schema.CdmBase
     ↳ org.mule.modules.quickbooks.online.schema.CashPurchase

Class Overview

QBO only: Financial transaction representing an expenditure via Cash.

Java class for CashPurchase complex type.

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

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

Summary

Fields
protected CashPurchaseHeader header
protected List<CashPurchaseLine> line
[Expand]
Inherited Fields
From class org.mule.modules.quickbooks.online.schema.CdmBase
Public Constructors
CashPurchase()
Public Methods
CashPurchaseHeader getHeader()
Gets the value of the header property.
List<CashPurchaseLine> getLine()
Gets the value of the line property.
void setHeader(CashPurchaseHeader value)
Sets the value of the header property.
[Expand]
Inherited Methods
From class org.mule.modules.quickbooks.online.schema.CdmBase
From class java.lang.Object

Fields

protected CashPurchaseHeader header

protected List<CashPurchaseLine> line

Public Constructors

public CashPurchase ()

Public Methods

public CashPurchaseHeader getHeader ()

Gets the value of the header property.

Returns

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

public void setHeader (CashPurchaseHeader value)

Sets the value of the header property.

Parameters
value Allowed object is CashPurchaseHeader