public class ViewAppliedCouponDataBean extends java.lang.Object implements SmartDataBean, ViewAppliedCouponInputDataBean
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 applied 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 applied coupons are being viewed.
|
TypedProperty |
requestProperties
Deprecated.
The request properties.
|
emptyString
Constructor and Description |
---|
ViewAppliedCouponDataBean()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getBcIds()
Deprecated.
Gets the eCouponIds.
|
CommandContext |
getCommandContext()
Deprecated.
Gets the command context.
|
java.util.Vector |
getCouponThumbNails()
Deprecated.
Gets the eCoupon thumb nails.
|
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 properties of the request.
|
void |
populate()
Deprecated.
This method populates the data bean that is used to view the eCoupon that has been chosen
successfully to be used with the 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 eCoupon thumb nails.
|
void |
setCurrency(java.lang.String newCurrency)
Deprecated.
Sets the currency.
|
void |
setDiscAmts(java.util.Vector newDiscAmts)
Deprecated.
Sets the discount amount.
|
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 orderIds.
|
void |
setRequestProperties(TypedProperty newRequestProperties)
Deprecated.
Sets the properties of the request.
|
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)
newOrderId
- java.lang.Longpublic void setRequestProperties(TypedProperty newRequestProperties)
setRequestProperties
in interface InputDataBean
newRequestProperties
- com.ibm.commerce.datatype.TypedProperty