public class

SalesReceipt

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.SalesReceipt

Class Overview

Product: QBO Description: SalesReceipt represents the sales receipt that is given to a customer. A sales receipt is similar to an invoice. However, for a sales receipt, payment is received as part of the sale of goods and services. The sales receipt specifies a deposit account where the customer deposits the payment. If the deposit account is not specified, the payment type is classified as Undeposited Account. Endpoint: qbo.intuit.com Business Rules: [li]A sales receipt must have at least one line that describes the item. [/li][li]A sales receipt must have a reference to a customer in the header. [/li][li]If an account is specified in the header, the account must be of the Accounts Receivable (AR) type.[/li] [li]If you submit a query with the filter IncludeDiscountLineDetails, the system retrieves either DiscountAmount or DiscountRatePercent with associated values. [/li] Note: The PONumber field in a sales receipt is removed after synchronization, as QBSDK do not support it. Product: QBW Description: A sales receipt is a financial transaction that represents the sale of goods or services where payment in full is received at the time of purchase. Do not use a sales receipt if customers pay in part at the time of purchase; instead, use an invoice. See Invoice. The Invoice object offers more options than the SalesReceipt, and because a customer name is required for an invoice but not a sales receipt, use the Invoice object to keep track of payments owed on a purchase. Endpoint: services.intuit.com Business Rules: [li]A sales receipt must have at least one line that describes the item. [/li][li]A sales receipt must have a reference to a customer in the header. [/li][li]If an account is specified in the header, the account must be of the Accounts Receivable (AR) type.[/li] [li]If you submit a query with the filter IncludeDiscountLineDetails, the system retrieves either DiscountAmount or DiscountRatePercent with associated values. [/li] Note: The PONumber field in a sales receipt is removed after synchronization, as QBSDK do not support it.

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.windows.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.windows.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