public class DiscountOverride extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for DiscountOverride complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DiscountOverride">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="DiscountRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
<element name="PercentBased" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="DiscountPercent" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="DiscountAccountRef" type="{http://schema.intuit.com/finance/v3}ReferenceType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ReferenceType |
discountAccountRef |
protected BigDecimal |
discountPercent |
protected ReferenceType |
discountRef |
protected Boolean |
percentBased |
| Constructor and Description |
|---|
DiscountOverride() |
| 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 |
getDiscountAccountRef()
Gets the value of the discountAccountRef property.
|
BigDecimal |
getDiscountPercent()
Gets the value of the discountPercent property.
|
ReferenceType |
getDiscountRef()
Gets the value of the discountRef property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
Boolean |
isPercentBased()
Gets the value of the percentBased property.
|
void |
setDiscountAccountRef(ReferenceType value)
Sets the value of the discountAccountRef property.
|
void |
setDiscountPercent(BigDecimal value)
Sets the value of the discountPercent property.
|
void |
setDiscountRef(ReferenceType value)
Sets the value of the discountRef property.
|
void |
setPercentBased(Boolean value)
Sets the value of the percentBased property.
|
protected ReferenceType discountRef
protected Boolean percentBased
protected BigDecimal discountPercent
protected ReferenceType discountAccountRef
public ReferenceType getDiscountRef()
ReferenceTypepublic void setDiscountRef(ReferenceType value)
value - allowed object is
ReferenceTypepublic Boolean isPercentBased()
Booleanpublic void setPercentBased(Boolean value)
value - allowed object is
Booleanpublic BigDecimal getDiscountPercent()
BigDecimalpublic void setDiscountPercent(BigDecimal value)
value - allowed object is
BigDecimalpublic ReferenceType getDiscountAccountRef()
ReferenceTypepublic void setDiscountAccountRef(ReferenceType value)
value - allowed object is
ReferenceTypepublic 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.Equals2public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2Copyright © 2017. All rights reserved.