public class

VendorCredit

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

Class Overview

Product: QBW Description: VendorCredit is an AP transaction representing a credit from a third party for returned goods or services not rendered. Creates a Vendor credit, representing a refund or credit of payment or partial payment for goods or services. In QuickBooks desktop versions, a vendor credit is also known as a "bill credit". That is, it is a credit that a vendor owes you because you overpaid your bill, returned merchandise, or for some other reason. The VendorCredit is not applied until it is referenced in a Bill Payment transaction. Note: A VendorCredit should not be confused with a Credit Memo, which is something you owe your customer. Endpoint: services.intuit.com Business Rules: None

Java class for VendorCredit complex type.

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

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

Summary

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

protected List<VendorCreditLine> line

Public Constructors

public VendorCredit ()

Public Methods

public VendorCreditHeader getHeader ()

Gets the value of the header property.

Returns

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

public void setHeader (VendorCreditHeader value)

Sets the value of the header property.

Parameters
value Allowed object is VendorCreditHeader