|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.price.beans.DiscountDataBean
This data bean represents a discount for a catalog entry id. You can set one or an array of catalog entry ids and get one or an array of discount values.
Field Summary | |
protected CommandContext |
commandContext
|
static java.lang.String |
COPYRIGHT
The internal copyright field. |
protected java.lang.Long[] |
iCatEntryId
|
protected java.math.BigDecimal[] |
iDiscountValue
|
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Constructor Summary | |
DiscountDataBean()
OrderDataBean constructor comment. |
Method Summary | |
CommandContext |
getCommandContext()
Return the CommandContext |
java.math.BigDecimal |
getDiscountValue()
Return a discount value. |
java.math.BigDecimal[] |
getDiscountValues()
Return an array of discount values. |
TypedProperty |
getRequestProperties()
Get Request Properties. |
void |
populate()
populate the databean |
void |
setCatalogEntryId(java.lang.Long catEntryId)
set catalog entry id. |
void |
setCatalogEntryId(java.lang.Long[] catEntryId)
set an array of catalog entry ids. |
void |
setCatalogEntryId(java.lang.String catEntryId)
|
void |
setCatalogEntryId(java.lang.String[] catEntryId)
|
void |
setCommandContext(CommandContext context)
Set CommandContext. |
void |
setRequestProperties(TypedProperty param)
setRequestProperties method is used to set the requestProperties associated with the data bean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected CommandContext commandContext
public static final java.lang.String COPYRIGHT
protected java.lang.Long[] iCatEntryId
protected java.math.BigDecimal[] iDiscountValue
Constructor Detail |
public DiscountDataBean()
Method Detail |
public CommandContext getCommandContext()
SmartDataBean
getCommandContext
in interface SmartDataBean
public java.math.BigDecimal getDiscountValue()
getDiscountValue
in interface DiscountSmartDataBean
public java.math.BigDecimal[] getDiscountValues()
getDiscountValues
in interface DiscountSmartDataBean
public TypedProperty getRequestProperties()
InputDataBean
getRequestProperties
in interface InputDataBean
public void populate() throws java.lang.Exception
SmartDataBean
populate
in interface SmartDataBean
public void setCatalogEntryId(java.lang.Long catEntryId)
setCatalogEntryId
in interface DiscountInputDataBean
public void setCatalogEntryId(java.lang.Long[] catEntryId)
setCatalogEntryId
in interface DiscountInputDataBean
public void setCatalogEntryId(java.lang.String catEntryId)
setCatalogEntryId
in interface DiscountInputDataBean
public void setCatalogEntryId(java.lang.String[] catEntryId)
setCatalogEntryId
in interface DiscountInputDataBean
public void setCommandContext(CommandContext context)
SmartDataBean
setCommandContext
in interface SmartDataBean
public void setRequestProperties(TypedProperty param)
InputDataBean
setRequestProperties
in interface InputDataBean
com.ibm.commerce.beans.InputDataBean
TypedProperty
- requestProperties - the set of properties passed to the JSP
page that invokes this data bean,
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |