|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.pricing.definition.DiscountDetail
public class DiscountDetail
Holds a single level of information about a discount structure.
Properties:
DiscountStructure
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
DiscountDetail()
|
Method Summary | |
---|---|
void |
addAttribute(java.lang.String pName,
java.lang.Object pValue)
Adds an attribute to the attribute map. |
boolean |
equals(java.lang.Object pDiscountDetail)
|
java.lang.Object |
getAttribute(java.lang.String pAttributeName)
Retrieves a single attribute value by name. |
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Getter for the 'attributes' property |
java.lang.String |
getName()
Getter method for the 'name' property. |
int |
hashCode()
|
void |
setAttributes(java.util.Map<java.lang.String,java.lang.Object> pAttributes)
Setter for the 'attributes' property. |
void |
setName(java.lang.String pName)
Setter method for the 'name' property. |
java.lang.String |
toString()
Writes out this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public DiscountDetail()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String pName)
pName
- String name to setpublic java.util.Map<java.lang.String,java.lang.Object> getAttributes()
public void setAttributes(java.util.Map<java.lang.String,java.lang.Object> pAttributes)
pAttributes
- Map of String name to value Object entriespublic void addAttribute(java.lang.String pName, java.lang.Object pValue)
pName
- String attribute namepValue
- Object attribute valuepublic java.lang.Object getAttribute(java.lang.String pAttributeName)
pAttributeName
- Object attribute value
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object pDiscountDetail)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |