public class

Bill

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

Class Overview

Product: QBO Description: The Bill represents an expense to the business. An expense is of the following types: [li] Item-based expense for the item that the business owner purchases for resale. [/li][li] Account-based expense for the amount that the business owner spends on an account, such as expense incurred on the Advertisement Expense account.[/li] EndPoint: qbo.intuit.com Business Rules: [li]If an account is provided in the header of the bill, it must be the Account Payable (AP) account. [li] A bill must have reference to a vendor in the header.[/li] [li] A bill must have at least one line that describes the item or account.[/li] [li] A bill must have reference to an entity.[/li] Product: QBW Description: Bill is an AP transaction representing a request-for-payment from a third party for goods/services rendered and/or received. Bill is a request for payment from the vendor for the goods or services that are rendered. You can enter a bill for your expenses or the items that you track as part of your business. An item is anything that your company buys, sells, or resells in the course of business. For example, products, shipping and handling charges, discounts, and sales tax. [br/] An expense is the amount of money that you spend on the items that you want to buy. Expenses are linked to expense accounts. For example, if you pay $200 per month for utilities, you can set up an expense account for these utilities, and assign the bill to this account. EndPoint: services.intuit.com Business Rules: [li]If an account is provided in the header of the bill, it must be the Account Payable (AP) account. [/li][li] A bill must have reference to a vendor in the header. [/li][li] A bill must have at least one line that describes the item or account. [/li][li] A bill must have reference to an entity.[/li]

Java class for Bill complex type.

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

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

Summary

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

protected List<BillLine> line

Public Constructors

public Bill ()

Public Methods

public BillHeader getHeader ()

Gets the value of the header property.

Returns

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

public void setHeader (BillHeader value)

Sets the value of the header property.

Parameters
value Allowed object is BillHeader