public class ViewApplicableCouponDataBean extends java.lang.Object implements SmartDataBean, ViewApplicableCouponInputDataBean
The input parameter for this data bean is :
This can be queried for the following :
Modifier and Type | Field and Description |
---|---|
java.util.Vector | bcIds
Deprecated.
Coupons that are applicable to the order being considered.
|
CommandContext | commandContext
Deprecated.
The command context.
|
java.util.Vector | couponThumbNails
Deprecated.
The nth element of this vector is the path of the thumbnail image for the nth coupon.
|
java.lang.String | currency
Deprecated.
The currency used in this order.
|
java.util.Vector | discAmts
Deprecated.
The nth element of this vector is a vector of discount amounts on the items that the nth coupon applies to.
|
java.util.Vector | itemIds
Deprecated.
The nth element of this vector is a vector of item IDs that the nth coupon applies to.
|
java.util.Vector | itemNames
Deprecated.
The nth element of this vector is a vector of item names that the nth coupon applies to.
|
java.lang.Long | orderId
Deprecated.
The order for which the applicable coupons are being viewed.
|
TypedProperty | requestProperties
Deprecated.
The request properties.
|
Constructor and Description |
---|
ViewApplicableCouponDataBean()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector | getBcIds()
Deprecated.
This method gets the eCouponIds.
|
CommandContext | getCommandContext()
Deprecated.
Gets the command context.
|
java.util.Vector | getCouponThumbNails()
Deprecated.
Gets the coupon thumbnail image paths.
|
java.lang.String | getCurrency()
Deprecated.
Gets the currency.
|
java.util.Vector | getDiscAmts()
Deprecated.
Gets the discount amounts.
|
FormattedMonetaryAmountDataBean | getFormattedDiscAmt(java.math.BigDecimal discAmt)
Deprecated.
Gets the formatted discount amount.
|
java.util.Vector | getItemIds()
Deprecated.
Gets the itemIds.
|
java.util.Vector | getItemNames()
Deprecated.
Gets the item names.
|
java.lang.Long | getOrderId()
Deprecated.
Gets the orderId.
|
TypedProperty | getRequestProperties()
Deprecated.
Gets the request properties.
|
void | populate()
Deprecated.
This method populates data bean with the set of eCoupons that are applicable for the given order.
|
void | setBcIds(java.util.Vector newBcIds)
Deprecated.
Sets the eCouponIds.
|
void | setCommandContext(CommandContext newCommandContext)
Deprecated.
Sets the command context.
|
void | setCouponThumbNails(java.util.Vector newCouponThumbNails)
Deprecated.
Sets the thumbnail image paths for the coupons.
|
void | setCurrency(java.lang.String newCurrency)
Deprecated.
Sets the currency.
|
void | setDiscAmts(java.util.Vector newDiscAmts)
Deprecated.
Sets the discount amounts.
|
void | setItemIds(java.util.Vector newItemIds)
Deprecated.
Sets the itemIds.
|
void | setItemNames(java.util.Vector newItemNames)
Deprecated.
Sets the item names.
|
void | setOrderId(java.lang.Long newOrderId)
Deprecated.
Sets the orderId.
|
void | setRequestProperties(TypedProperty newRequestProperties)
Deprecated.
Sets the request properties.
|
public TypedProperty requestProperties
public CommandContext commandContext
public java.lang.Long orderId
public java.util.Vector bcIds
public java.util.Vector itemIds
public java.util.Vector discAmts
public java.util.Vector couponThumbNails
public java.util.Vector itemNames
public java.lang.String currency
public java.util.Vector getBcIds()
public CommandContext getCommandContext()
public java.util.Vector getCouponThumbNails()
public java.lang.String getCurrency()
public java.util.Vector getDiscAmts()
public FormattedMonetaryAmountDataBean getFormattedDiscAmt(java.math.BigDecimal discAmt) throws ECSystemException
public java.util.Vector getItemIds()
public java.util.Vector getItemNames()
public java.lang.Long getOrderId()
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
public void setBcIds(java.util.Vector newBcIds)
public void setCommandContext(CommandContext newCommandContext)
public void setCouponThumbNails(java.util.Vector newCouponThumbNails)
public void setCurrency(java.lang.String newCurrency)
public void setDiscAmts(java.util.Vector newDiscAmts)
public void setItemIds(java.util.Vector newItemIds)
public void setItemNames(java.util.Vector newItemNames)
public void setOrderId(java.lang.Long newOrderId)
public void setRequestProperties(TypedProperty newRequestProperties)