public class

Item

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

Class Overview

Product: QBO Description: The Item resource represents any product or service that is sold or purchased. Inventory items are not currently supported. Endpoint: qbo.intuit.com Business Rules: [li]The item name must be unique. [/li][li]The item type must not be NULL. [/li][li]The item cannot define both unit price and unit price percent simultaneously. [/li][li]For the Service, Product, and Other Charge items, you must specify the ID or name of the expense account or both. [/li][li]If the purchase order cost is specified for the Service, Product, and Other Charge items, you must specify the ID or name of the expense account or both.[/li] For the Inventory and Assembly items, you must specify: [li]the ID or name of the income account or both [/li][li]the ID or name of the cogs account or both [/li][li]the ID or name of the asset account or both For the Group item, you must specify the tax ID or tax name or both.[/li] For the Fixed Asset item, you must: [li]set the asset account type to Asset[/li] [li]specify the purchase date [/li][li]specify the ID or name of the income account or both[/li] Product: QBW Description: An item is a thing that your company buys, sells, or re-sells, such as products, shipping and handling charges, discounts, and sales tax (if applicable). An item is shown as a line on an invoice or other sales form. An item helps you to fill the line item area of the sales or purchase form quickly. When you select an item from the item list, QuickBooks fills in a description of the line item and calculates the amount for you. An item is of the following types: [li]Assembly Item: The Assembly item allows you combine inventory part items and other assembly items (subassemblies) into a single item by defining a Bill of Materials, that lists the component parts of the assembly item. You can also include the cost of building the assembly item by adding the non-inventory part items, service items, and other charge items to the Bill of Materials. [/li][li] Fixed Asset Item: The Fixed Asset item represents those business assets that you do not convert to cash one year of normal operation. A fixed asset is usually something that is integral to your business operations. For example, a truck or computer. [/li][li]Group Item: The Group item helps you to quickly enter a group of individual items that you often purchase or sell together. [li]Inventory Item: The Inventory item is used to track merchandise which your business purchases, stocks as inventory, and re-sells. QuickBooks tracks the current number of inventory items in stock and the average value of the inventory after the purchase and sale of every item. [/li][li]Other Charge Item: The Other Charge item is used to charge customers for the mileage expense.[/li] [li]Product Item: The Product item is used to record the sales information of a product. [/li][li]Payment Item: The Payment item subtracts the amount of a customer payment from the total amount of an invoice or statement. You must create a payment item if you receive payment for an invoice or statement in parts. If you receive full payment at the time of sale, use a sales receipt form instead of an invoice with a payment item.[/li] [li]Service Item: The Service item is used for the services that you charge on the purchase. For example, including specialized labor, consulting hours, and professional fees. [/li][li]Subtotal Item: The Subtotal item is used when you want the total of all the items. You can use this item to apply a percentage discount or surcharge.[/li] Endpoint: services.intuit.com Business Rules: [li]The item name must be unique. [/li][li]The item type must not be NULL. [/li][li]The item cannot define both unit price and unit price percent simultaneously. [/li][li]For the Service, Product, and Other Charge items, you must specify the ID or name of the expense account or both. [/li][li]If the purchase order cost is specified for the Service, Product, and Other Charge items, you must specify the ID or name of the expense account or both.[/li] For the Inventory and Assembly items, you must specify: [li]the ID or name of the income account or both [/li][li]the ID or name of the cogs account or both [/li][li]the ID or name of the asset account or both For the Group item, you must specify the tax ID or tax name or both.[/li] For the Fixed Asset item, you must: [li]set the asset account type to Asset[/li] [li]specify the purchase date [/li][li]specify the ID or name of the income account or both[/li]

Java class for Item complex type.

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

 <complexType name="Item">
   <complexContent>
     <extension base="{http://www.intuit.com/sb/cdm/v2}CdmBase">
       <sequence>
         <group ref="{http://www.intuit.com/sb/cdm/v2}ItemParentReferenceGroup" minOccurs="0"/>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Desc" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Taxable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="Active" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <choice minOccurs="0">
           <element name="UnitPrice" type="{http://www.intuit.com/sb/cdm/v2}Money" minOccurs="0"/>
           <element name="RatePercent" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         </choice>
         <element name="Type" type="{http://www.intuit.com/sb/cdm/v2}ItemTypeEnum" minOccurs="0"/>
         <group ref="{http://www.intuit.com/sb/cdm/v2}UOMReferenceGroup" minOccurs="0"/>
         <element name="IncomeAccountRef" type="{http://www.intuit.com/sb/cdm/v2}AccountRef" minOccurs="0"/>
         <element name="PurchaseDesc" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PurchaseCost" type="{http://www.intuit.com/sb/cdm/v2}Money" minOccurs="0"/>
         <element name="ExpenseAccountRef" type="{http://www.intuit.com/sb/cdm/v2}AccountRef" minOccurs="0"/>
         <element name="COGSAccountRef" type="{http://www.intuit.com/sb/cdm/v2}AccountRef" minOccurs="0"/>
         <element name="AssetAccountRef" type="{http://www.intuit.com/sb/cdm/v2}AccountRef" minOccurs="0"/>
         <element name="PrefVendorRef" type="{http://www.intuit.com/sb/cdm/v2}VendorRef" minOccurs="0"/>
         <element name="AvgCost" type="{http://www.intuit.com/sb/cdm/v2}Money" minOccurs="0"/>
         <element name="QtyOnHand" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="QtyOnPurchaseOrder" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="QtyOnSalesOrder" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="ReorderPoint" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="ManPartNum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PrintGroupedItems" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected Boolean active
protected AccountRef assetAccountRef
protected Money avgCost
protected AccountRef cogsAccountRef
protected String desc
protected AccountRef expenseAccountRef
protected AccountRef incomeAccountRef
protected IdType itemParentId
protected String itemParentName
protected String manPartNum
protected String name
protected VendorRef prefVendorRef
protected Boolean printGroupedItems
protected Money purchaseCost
protected String purchaseDesc
protected BigDecimal qtyOnHand
protected BigDecimal qtyOnPurchaseOrder
protected BigDecimal qtyOnSalesOrder
protected BigDecimal ratePercent
protected BigDecimal reorderPoint
protected Boolean taxable
protected ItemTypeEnum type
protected Money unitPrice
protected String uomAbbrv
protected IdType uomId
[Expand]
Inherited Fields
From class org.mule.modules.quickbooks.windows.schema.CdmBase
Public Constructors
Item()
Public Methods
AccountRef getAssetAccountRef()
Gets the value of the assetAccountRef property.
Money getAvgCost()
Gets the value of the avgCost property.
AccountRef getCOGSAccountRef()
Gets the value of the cogsAccountRef property.
String getDesc()
Gets the value of the desc property.
AccountRef getExpenseAccountRef()
Gets the value of the expenseAccountRef property.
AccountRef getIncomeAccountRef()
Gets the value of the incomeAccountRef property.
IdType getItemParentId()
Gets the value of the itemParentId property.
String getItemParentName()
Gets the value of the itemParentName property.
String getManPartNum()
Gets the value of the manPartNum property.
String getName()
Gets the value of the name property.
VendorRef getPrefVendorRef()
Gets the value of the prefVendorRef property.
Money getPurchaseCost()
Gets the value of the purchaseCost property.
String getPurchaseDesc()
Gets the value of the purchaseDesc property.
BigDecimal getQtyOnHand()
Gets the value of the qtyOnHand property.
BigDecimal getQtyOnPurchaseOrder()
Gets the value of the qtyOnPurchaseOrder property.
BigDecimal getQtyOnSalesOrder()
Gets the value of the qtyOnSalesOrder property.
BigDecimal getRatePercent()
Gets the value of the ratePercent property.
BigDecimal getReorderPoint()
Gets the value of the reorderPoint property.
ItemTypeEnum getType()
Gets the value of the type property.
String getUOMAbbrv()
Gets the value of the uomAbbrv property.
IdType getUOMId()
Gets the value of the uomId property.
Money getUnitPrice()
Gets the value of the unitPrice property.
Boolean isActive()
Gets the value of the active property.
Boolean isPrintGroupedItems()
Gets the value of the printGroupedItems property.
Boolean isTaxable()
Gets the value of the taxable property.
void setActive(Boolean value)
Sets the value of the active property.
void setAssetAccountRef(AccountRef value)
Sets the value of the assetAccountRef property.
void setAvgCost(Money value)
Sets the value of the avgCost property.
void setCOGSAccountRef(AccountRef value)
Sets the value of the cogsAccountRef property.
void setDesc(String value)
Sets the value of the desc property.
void setExpenseAccountRef(AccountRef value)
Sets the value of the expenseAccountRef property.
void setIncomeAccountRef(AccountRef value)
Sets the value of the incomeAccountRef property.
void setItemParentId(IdType value)
Sets the value of the itemParentId property.
void setItemParentName(String value)
Sets the value of the itemParentName property.
void setManPartNum(String value)
Sets the value of the manPartNum property.
void setName(String value)
Sets the value of the name property.
void setPrefVendorRef(VendorRef value)
Sets the value of the prefVendorRef property.
void setPrintGroupedItems(Boolean value)
Sets the value of the printGroupedItems property.
void setPurchaseCost(Money value)
Sets the value of the purchaseCost property.
void setPurchaseDesc(String value)
Sets the value of the purchaseDesc property.
void setQtyOnHand(BigDecimal value)
Sets the value of the qtyOnHand property.
void setQtyOnPurchaseOrder(BigDecimal value)
Sets the value of the qtyOnPurchaseOrder property.
void setQtyOnSalesOrder(BigDecimal value)
Sets the value of the qtyOnSalesOrder property.
void setRatePercent(BigDecimal value)
Sets the value of the ratePercent property.
void setReorderPoint(BigDecimal value)
Sets the value of the reorderPoint property.
void setTaxable(Boolean value)
Sets the value of the taxable property.
void setType(ItemTypeEnum value)
Sets the value of the type property.
void setUOMAbbrv(String value)
Sets the value of the uomAbbrv property.
void setUOMId(IdType value)
Sets the value of the uomId property.
void setUnitPrice(Money value)
Sets the value of the unitPrice property.
[Expand]
Inherited Methods
From class org.mule.modules.quickbooks.windows.schema.CdmBase
From class java.lang.Object

Fields

protected Boolean active

protected AccountRef assetAccountRef

protected Money avgCost

protected AccountRef cogsAccountRef

protected String desc

protected AccountRef expenseAccountRef

protected AccountRef incomeAccountRef

protected IdType itemParentId

protected String itemParentName

protected String manPartNum

protected String name

protected VendorRef prefVendorRef

protected Boolean printGroupedItems

protected Money purchaseCost

protected String purchaseDesc

protected BigDecimal qtyOnHand

protected BigDecimal qtyOnPurchaseOrder

protected BigDecimal qtyOnSalesOrder

protected BigDecimal ratePercent

protected BigDecimal reorderPoint

protected Boolean taxable

protected ItemTypeEnum type

protected Money unitPrice

protected String uomAbbrv

protected IdType uomId

Public Constructors

public Item ()

Public Methods

public AccountRef getAssetAccountRef ()

Gets the value of the assetAccountRef property.

Returns

public Money getAvgCost ()

Gets the value of the avgCost property.

Returns
  • possible object is Money

public AccountRef getCOGSAccountRef ()

Gets the value of the cogsAccountRef property.

Returns

public String getDesc ()

Gets the value of the desc property.

Returns
  • possible object is String

public AccountRef getExpenseAccountRef ()

Gets the value of the expenseAccountRef property.

Returns

public AccountRef getIncomeAccountRef ()

Gets the value of the incomeAccountRef property.

Returns

public IdType getItemParentId ()

Gets the value of the itemParentId property.

Returns

public String getItemParentName ()

Gets the value of the itemParentName property.

Returns
  • possible object is String

public String getManPartNum ()

Gets the value of the manPartNum property.

Returns
  • possible object is String

public String getName ()

Gets the value of the name property.

Returns
  • possible object is String

public VendorRef getPrefVendorRef ()

Gets the value of the prefVendorRef property.

Returns

public Money getPurchaseCost ()

Gets the value of the purchaseCost property.

Returns
  • possible object is Money

public String getPurchaseDesc ()

Gets the value of the purchaseDesc property.

Returns
  • possible object is String

public BigDecimal getQtyOnHand ()

Gets the value of the qtyOnHand property.

Returns
  • possible object is BigDecimal

public BigDecimal getQtyOnPurchaseOrder ()

Gets the value of the qtyOnPurchaseOrder property.

Returns
  • possible object is BigDecimal

public BigDecimal getQtyOnSalesOrder ()

Gets the value of the qtyOnSalesOrder property.

Returns
  • possible object is BigDecimal

public BigDecimal getRatePercent ()

Gets the value of the ratePercent property.

Returns
  • possible object is BigDecimal

public BigDecimal getReorderPoint ()

Gets the value of the reorderPoint property.

Returns
  • possible object is BigDecimal

public ItemTypeEnum getType ()

Gets the value of the type property.

Returns

public String getUOMAbbrv ()

Gets the value of the uomAbbrv property.

Returns
  • possible object is String

public IdType getUOMId ()

Gets the value of the uomId property.

Returns

public Money getUnitPrice ()

Gets the value of the unitPrice property.

Returns
  • possible object is Money

public Boolean isActive ()

Gets the value of the active property.

Returns
  • possible object is Boolean

public Boolean isPrintGroupedItems ()

Gets the value of the printGroupedItems property.

Returns
  • possible object is Boolean

public Boolean isTaxable ()

Gets the value of the taxable property.

Returns
  • possible object is Boolean

public void setActive (Boolean value)

Sets the value of the active property.

Parameters
value Allowed object is Boolean

public void setAssetAccountRef (AccountRef value)

Sets the value of the assetAccountRef property.

Parameters
value Allowed object is AccountRef

public void setAvgCost (Money value)

Sets the value of the avgCost property.

Parameters
value Allowed object is Money

public void setCOGSAccountRef (AccountRef value)

Sets the value of the cogsAccountRef property.

Parameters
value Allowed object is AccountRef

public void setDesc (String value)

Sets the value of the desc property.

Parameters
value Allowed object is String

public void setExpenseAccountRef (AccountRef value)

Sets the value of the expenseAccountRef property.

Parameters
value Allowed object is AccountRef

public void setIncomeAccountRef (AccountRef value)

Sets the value of the incomeAccountRef property.

Parameters
value Allowed object is AccountRef

public void setItemParentId (IdType value)

Sets the value of the itemParentId property.

Parameters
value Allowed object is IdType

public void setItemParentName (String value)

Sets the value of the itemParentName property.

Parameters
value Allowed object is String

public void setManPartNum (String value)

Sets the value of the manPartNum property.

Parameters
value Allowed object is String

public void setName (String value)

Sets the value of the name property.

Parameters
value Allowed object is String

public void setPrefVendorRef (VendorRef value)

Sets the value of the prefVendorRef property.

Parameters
value Allowed object is VendorRef

public void setPrintGroupedItems (Boolean value)

Sets the value of the printGroupedItems property.

Parameters
value Allowed object is Boolean

public void setPurchaseCost (Money value)

Sets the value of the purchaseCost property.

Parameters
value Allowed object is Money

public void setPurchaseDesc (String value)

Sets the value of the purchaseDesc property.

Parameters
value Allowed object is String

public void setQtyOnHand (BigDecimal value)

Sets the value of the qtyOnHand property.

Parameters
value Allowed object is BigDecimal

public void setQtyOnPurchaseOrder (BigDecimal value)

Sets the value of the qtyOnPurchaseOrder property.

Parameters
value Allowed object is BigDecimal

public void setQtyOnSalesOrder (BigDecimal value)

Sets the value of the qtyOnSalesOrder property.

Parameters
value Allowed object is BigDecimal

public void setRatePercent (BigDecimal value)

Sets the value of the ratePercent property.

Parameters
value Allowed object is BigDecimal

public void setReorderPoint (BigDecimal value)

Sets the value of the reorderPoint property.

Parameters
value Allowed object is BigDecimal

public void setTaxable (Boolean value)

Sets the value of the taxable property.

Parameters
value Allowed object is Boolean

public void setType (ItemTypeEnum value)

Sets the value of the type property.

Parameters
value Allowed object is ItemTypeEnum

public void setUOMAbbrv (String value)

Sets the value of the uomAbbrv property.

Parameters
value Allowed object is String

public void setUOMId (IdType value)

Sets the value of the uomId property.

Parameters
value Allowed object is IdType

public void setUnitPrice (Money value)

Sets the value of the unitPrice property.

Parameters
value Allowed object is Money