public class

PriceLevel

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

Class Overview

Product: QBW Description: You can use price levels to specify custom pricing for specific customers. Once you create a price level for a customer, QuickBooks will automatically use the custom price in new invoices, sales receipts, sales orders or credit memos for that customer. You can override this automatic feature, however, when you create the invoices, sales receipts, etc.) The user can now specify a price level on line items in the following supported sales transactions: invoices, sales receipts, credit memos, and sales orders. Notice that the response data for the affected sales transaction does not list the price level that was used. The response simply lists the Rate for the item, which was set using the price level.

Java class for PriceLevel complex type.

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

 <complexType name="PriceLevel">
   <complexContent>
     <extension base="{http://www.intuit.com/sb/cdm/v2}CdmBase">
       <sequence>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
         <element name="Active" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="PriceLevelType" type="{http://www.intuit.com/sb/cdm/v2}PriceLevelTypeEnum"/>
         <choice>
           <element name="FixedPercentage" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
           <element name="PriceLevelPerItem" type="{http://www.intuit.com/sb/cdm/v2}PriceLevelPerItem" maxOccurs="unbounded" minOccurs="0"/>
         </choice>
         <element name="CurrencyId" type="{http://www.intuit.com/sb/cdm/v2}IdType" minOccurs="0"/>
         <element name="CurrencyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected boolean active
protected IdType currencyId
protected String currencyName
protected BigDecimal fixedPercentage
protected Object name
protected List<PriceLevelPerItem> priceLevelPerItem
protected PriceLevelTypeEnum priceLevelType
[Expand]
Inherited Fields
From class org.mule.modules.quickbooks.windows.schema.CdmBase
Public Constructors
PriceLevel()
Public Methods
IdType getCurrencyId()
Gets the value of the currencyId property.
String getCurrencyName()
Gets the value of the currencyName property.
BigDecimal getFixedPercentage()
Gets the value of the fixedPercentage property.
Object getName()
Gets the value of the name property.
List<PriceLevelPerItem> getPriceLevelPerItem()
Gets the value of the priceLevelPerItem property.
PriceLevelTypeEnum getPriceLevelType()
Gets the value of the priceLevelType property.
boolean isActive()
Gets the value of the active property.
void setActive(boolean value)
Sets the value of the active property.
void setCurrencyId(IdType value)
Sets the value of the currencyId property.
void setCurrencyName(String value)
Sets the value of the currencyName property.
void setFixedPercentage(BigDecimal value)
Sets the value of the fixedPercentage property.
void setName(Object value)
Sets the value of the name property.
void setPriceLevelType(PriceLevelTypeEnum value)
Sets the value of the priceLevelType property.
[Expand]
Inherited Methods
From class org.mule.modules.quickbooks.windows.schema.CdmBase
From class java.lang.Object

Fields

protected boolean active

protected IdType currencyId

protected String currencyName

protected BigDecimal fixedPercentage

protected Object name

protected List<PriceLevelPerItem> priceLevelPerItem

protected PriceLevelTypeEnum priceLevelType

Public Constructors

public PriceLevel ()

Public Methods

public IdType getCurrencyId ()

Gets the value of the currencyId property.

Returns

public String getCurrencyName ()

Gets the value of the currencyName property.

Returns
  • possible object is String

public BigDecimal getFixedPercentage ()

Gets the value of the fixedPercentage property.

Returns
  • possible object is BigDecimal

public Object getName ()

Gets the value of the name property.

Returns
  • possible object is Object

public List<PriceLevelPerItem> getPriceLevelPerItem ()

Gets the value of the priceLevelPerItem 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 priceLevelPerItem property.

For example, to add a new item, do as follows:

    getPriceLevelPerItem().add(newItem);
 

Objects of the following type(s) are allowed in the list PriceLevelPerItem

public PriceLevelTypeEnum getPriceLevelType ()

Gets the value of the priceLevelType property.

Returns

public boolean isActive ()

Gets the value of the active property.

public void setActive (boolean value)

Sets the value of the active property.

Parameters
value

public void setCurrencyId (IdType value)

Sets the value of the currencyId property.

Parameters
value Allowed object is IdType

public void setCurrencyName (String value)

Sets the value of the currencyName property.

Parameters
value Allowed object is String

public void setFixedPercentage (BigDecimal value)

Sets the value of the fixedPercentage property.

Parameters
value Allowed object is BigDecimal

public void setName (Object value)

Sets the value of the name property.

Parameters
value Allowed object is Object

public void setPriceLevelType (PriceLevelTypeEnum value)

Sets the value of the priceLevelType property.

Parameters
value Allowed object is PriceLevelTypeEnum