public class

JournalEntry

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

Class Overview

Product: QBW Description: Adds a Journal Entry. In traditional accounting, transactions are entered into the general journal and categorized exclusively by account. In QuickBooks, most transactions can be categorized either by account or by type (invoice, check, and so on). For a few activities in QuickBooks, you must use the general journal directly, for example for recording depreciation. Notice that you must supply the credit line and a corresponding debit line in the same request. It will not work to supply them in two distinct requests. You can supply as many credit lines and debit lines in one single request as you want so long as the total monetary amount from the credits equals the total monetary amount from the debits in that request. Finally, DO NOT supply negative sign for the monetary amounts.This is done for you. Endpoint: services.intuit.com Business Rules: None

Java class for JournalEntry complex type.

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

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

Summary

Fields
protected JournalEntryHeader header
protected List<JournalEntryLine> line
[Expand]
Inherited Fields
From class org.mule.modules.quickbooks.windows.schema.CdmBase
Public Constructors
JournalEntry()
Public Methods
JournalEntryHeader getHeader()
Gets the value of the header property.
List<JournalEntryLine> getLine()
Gets the value of the line property.
void setHeader(JournalEntryHeader 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 JournalEntryHeader header

protected List<JournalEntryLine> line

Public Constructors

public JournalEntry ()

Public Methods

public JournalEntryHeader getHeader ()

Gets the value of the header property.

Returns

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

public void setHeader (JournalEntryHeader value)

Sets the value of the header property.

Parameters
value Allowed object is JournalEntryHeader