java.lang.Objectcom.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 Command context |
static java.lang.String | COPYRIGHT The internal copyright field. |
protected java.lang.Long[] | iCatEntryId array of CatEntryId in Long |
protected java.math.BigDecimal[] | iDiscountValue array of discountValue in Long |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Constructor Summary | |
DiscountDataBean() OrderDataBean constructor comment. |
Method Summary | |
CommandContext | getCommandContext() Returns command context |
java.math.BigDecimal | getDiscountValue() Return a discount value. |
java.math.BigDecimal[] | getDiscountValues() Return an array of discount values. |
TypedProperty | getRequestProperties() Returns request properties |
void | populate() Retrieves data from the database |
void | setCatalogEntryId(java.lang.Long catEntryId) sets catalog entry id. |
void | setCatalogEntryId(java.lang.Long[] catEntryId) sets an array of catalog entry ids. |
void | setCatalogEntryId(java.lang.String catEntryId) sets catalog entry id. |
void | setCatalogEntryId(java.lang.String[] catEntryId) sets an array of catalog entry ids. |
void | setCommandContext(CommandContext context) sets command context |
void | setRequestProperties(TypedProperty param) sets request properties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
protected CommandContext commandContext
protected java.lang.Long[] iCatEntryId
protected java.math.BigDecimal[] iDiscountValue
Constructor Detail |
public DiscountDataBean()
Method Detail |
public CommandContext getCommandContext()
public java.math.BigDecimal getDiscountValue()
public java.math.BigDecimal[] getDiscountValues()
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
public void setCatalogEntryId(java.lang.Long[] catEntryId)
public void setCatalogEntryId(java.lang.String[] catEntryId)
public void setCatalogEntryId(java.lang.Long catEntryId)
public void setCatalogEntryId(java.lang.String catEntryId)
public void setCommandContext(CommandContext context)
public void setRequestProperties(TypedProperty param)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.