public class

Payment

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

Class Overview

Product: QBO Description: The Payment represents the financial transaction that signifies a payment from a customer for one or more sales transactions. Endpoint: qbo.intuit.com Business Rules: [li]If an account is specified in the header, the account must be of the Accounts Receivable (AR) type. [/li][li]A payment must have a reference to a customer in the header[/li] Product: QBW Description: Payment is a financial transaction, in which a customer pays for the goods and services purchased. Note: You can now make Payments for Invoices that you created in the IDS cloud and simultaneously synchronize them back to QuickBooks. Endpoint: services.intuit.com Business Rules: [li]If an account is specified in the header, the account must be of the Accounts Receivable (AR) type.[/li] [li]A payment must have a reference to a customer in the header[/li]

Java class for Payment complex type.

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

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

protected List<PaymentLine> line

Public Constructors

public Payment ()

Public Methods

public PaymentHeader getHeader ()

Gets the value of the header property.

Returns

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

public void setHeader (PaymentHeader value)

Sets the value of the header property.

Parameters
value Allowed object is PaymentHeader

public void setLine (List<PaymentLine> line)

Sets the value of the line property.

Parameters
line Allowed object is PaymentLine