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.
|
emptyString
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()
getCommandContext
in interface SmartDataBean
public java.util.Vector getCouponThumbNails()
public java.lang.String getCurrency()
public java.util.Vector getDiscAmts()
public FormattedMonetaryAmountDataBean getFormattedDiscAmt(java.math.BigDecimal discAmt) throws ECSystemException
discAmt
- The amount to be formatted.com.ibm.commerce.exception.ECSystemException.
ECSystemException
public java.util.Vector getItemIds()
public java.util.Vector getItemNames()
public java.lang.Long getOrderId()
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
java.lang.Exception
public void setBcIds(java.util.Vector newBcIds)
newBcIds
- java.lang.Longpublic void setCommandContext(CommandContext newCommandContext)
setCommandContext
in interface SmartDataBean
newCommandContext
- com.ibm.commerce.command.CommandContextpublic void setCouponThumbNails(java.util.Vector newCouponThumbNails)
newCouponThumbNails
- java.util.Vectorpublic void setCurrency(java.lang.String newCurrency)
newCurrency
- java.lang.Stringpublic void setDiscAmts(java.util.Vector newDiscAmts)
newDiscAmts
- java.util.Vectorpublic void setItemIds(java.util.Vector newItemIds)
newItemIds
- java.util.Vectorpublic void setItemNames(java.util.Vector newItemNames)
newItemNames
- java.util.Vectorpublic void setOrderId(java.lang.Long newOrderId)
setOrderId
in interface ViewApplicableCouponInputDataBean
newOrderId
- java.lang.Longpublic void setRequestProperties(TypedProperty newRequestProperties)
setRequestProperties
in interface InputDataBean
newRequestProperties
- com.ibm.commerce.datatype.TypedProperty