public class PriceLevel extends IntuitEntity implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
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://schema.intuit.com/finance/v3}IntuitEntity"> <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://schema.intuit.com/finance/v3}PriceLevelTypeEnum"/> <choice> <element name="FixedPercentage" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="PriceLevelPerItem" type="{http://schema.intuit.com/finance/v3}PriceLevelPerItem" maxOccurs="unbounded" minOccurs="0"/> </choice> <element name="CurrencyRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/> <element name="PriceLevelEx" type="{http://schema.intuit.com/finance/v3}IntuitAnyType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected boolean |
active |
protected ReferenceType |
currencyRef |
protected BigDecimal |
fixedPercentage |
protected Object |
name |
protected IntuitAnyType |
priceLevelEx |
protected List<PriceLevelPerItem> |
priceLevelPerItem |
protected PriceLevelTypeEnum |
priceLevelType |
attachableRef, customField, domain, id, metaData, sparse, status, syncToken
Constructor and Description |
---|
PriceLevel() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
ReferenceType |
getCurrencyRef()
Gets the value of the currencyRef property.
|
BigDecimal |
getFixedPercentage()
Gets the value of the fixedPercentage property.
|
Object |
getName()
Gets the value of the name property.
|
IntuitAnyType |
getPriceLevelEx()
Gets the value of the priceLevelEx property.
|
List<PriceLevelPerItem> |
getPriceLevelPerItem()
Gets the value of the priceLevelPerItem property.
|
PriceLevelTypeEnum |
getPriceLevelType()
Gets the value of the priceLevelType property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
boolean |
isActive()
Gets the value of the active property.
|
void |
setActive(boolean value)
Sets the value of the active property.
|
void |
setCurrencyRef(ReferenceType value)
Sets the value of the currencyRef property.
|
void |
setFixedPercentage(BigDecimal value)
Sets the value of the fixedPercentage property.
|
void |
setName(Object value)
Sets the value of the name property.
|
void |
setPriceLevelEx(IntuitAnyType value)
Sets the value of the priceLevelEx property.
|
void |
setPriceLevelPerItem(List<PriceLevelPerItem> priceLevelPerItem)
Sets the value of the priceLevelPerItem property.
|
void |
setPriceLevelType(PriceLevelTypeEnum value)
Sets the value of the priceLevelType property.
|
getAttachableRef, getCustomField, getDomain, getId, getMetaData, getStatus, getSyncToken, isSparse, setAttachableRef, setCustomField, setDomain, setId, setMetaData, setSparse, setStatus, setSyncToken
protected Object name
protected boolean active
protected PriceLevelTypeEnum priceLevelType
protected BigDecimal fixedPercentage
protected List<PriceLevelPerItem> priceLevelPerItem
protected ReferenceType currencyRef
protected IntuitAnyType priceLevelEx
public Object getName()
Object
public void setName(Object value)
value
- allowed object is
Object
public boolean isActive()
public void setActive(boolean value)
public PriceLevelTypeEnum getPriceLevelType()
PriceLevelTypeEnum
public void setPriceLevelType(PriceLevelTypeEnum value)
value
- allowed object is
PriceLevelTypeEnum
public BigDecimal getFixedPercentage()
BigDecimal
public void setFixedPercentage(BigDecimal value)
value
- allowed object is
BigDecimal
public List<PriceLevelPerItem> getPriceLevelPerItem()
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 ReferenceType getCurrencyRef()
ReferenceType
public void setCurrencyRef(ReferenceType value)
value
- allowed object is
ReferenceType
public IntuitAnyType getPriceLevelEx()
IntuitAnyType
public void setPriceLevelEx(IntuitAnyType value)
value
- allowed object is
IntuitAnyType
public void setPriceLevelPerItem(List<PriceLevelPerItem> priceLevelPerItem)
priceLevelPerItem
- allowed object is
PriceLevelPerItem
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals2
equals
in class IntuitEntity
public boolean equals(Object object)
equals
in class IntuitEntity
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode2
hashCode
in class IntuitEntity
public int hashCode()
hashCode
in class IntuitEntity
Copyright © 2017. All rights reserved.