public class

SalesReceipt

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

Class Overview

Financial transaction representing the sale of goods and/or services where payment in full is received in at the time of the sale.

Java class for SalesReceipt complex type.

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

 <complexType name="SalesReceipt">
   <complexContent>
     <extension base="{http://www.intuit.com/sb/cdm/v2}CdmBase">
       <sequence>
         <element name="Header" type="{http://www.intuit.com/sb/cdm/v2}SalesReceiptHeader" minOccurs="0"/>
         <element name="Line" type="{http://www.intuit.com/sb/cdm/v2}SalesReceiptLine" 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 SalesReceiptHeader header
protected List<SalesReceiptLine> line
protected List<TaxLine> taxLine
[Expand]
Inherited Fields
From class org.mule.modules.quickbooks.online.schema.CdmBase
Public Constructors
SalesReceipt()
Public Methods
SalesReceiptHeader getHeader()
Gets the value of the header property.
List<SalesReceiptLine> getLine()
Gets the value of the line property.
List<TaxLine> getTaxLine()
Gets the value of the taxLine property.
void setHeader(SalesReceiptHeader 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 SalesReceiptHeader header

protected List<SalesReceiptLine> line

protected List<TaxLine> taxLine

Public Constructors

public SalesReceipt ()

Public Methods

public SalesReceiptHeader getHeader ()

Gets the value of the header property.

Returns

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

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 (SalesReceiptHeader value)

Sets the value of the header property.

Parameters
value Allowed object is SalesReceiptHeader