public class

JournalEntry

extends CdmBase
implements Serializable
java.lang.Object
   ↳ org.mule.modules.quickbooks.online.schema.CdmBase
     ↳ org.mule.modules.quickbooks.online.schema.JournalEntry

Class Overview

Accounting transaction, consists of journal lines, each of which is either a debit or a credit. The total of the debits must equal the total of the credits.

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

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class org.mule.modules.quickbooks.online.schema.CdmBase
Fields
protected JournalEntryHeader header
protected List<JournalEntryLine> line
[Expand]
Inherited Fields
From class org.mule.modules.quickbooks.online.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.
void setLine(List<JournalEntryLine> line)
Sets the value of the line property.
[Expand]
Inherited Methods
From class org.mule.modules.quickbooks.online.schema.CdmBase
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

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

public void setLine (List<JournalEntryLine> line)

Sets the value of the line property.

Parameters
line Allowed object is JournalEntryLine