|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.couponredemption.databeans.ViewAppliedCouponDataBean
This databean is used to view the Coupons that has been chosen successfully to be used with the order.
The input parameter for this data bean is :
This can be queried for the following :
Field Summary | |
java.util.Vector |
bcIds
|
CommandContext |
commandContext
|
java.util.Vector |
couponThumbNails
|
java.lang.String |
currency
|
java.util.Vector |
discAmts
|
java.util.Vector |
itemIds
|
java.util.Vector |
itemNames
|
java.lang.Long |
orderId
|
TypedProperty |
requestProperties
|
Fields inherited from interface com.ibm.commerce.beans.SmartDataBean |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Fields inherited from interface com.ibm.commerce.couponredemption.databeans.ViewAppliedCouponInputDataBean |
COPYRIGHT |
Constructor Summary | |
ViewAppliedCouponDataBean()
|
Method Summary | |
java.util.Vector |
getBcIds()
Get the coupon Ids. |
CommandContext |
getCommandContext()
Get the command context. |
java.util.Vector |
getCouponThumbNails()
Get the Coupon thumb nails. |
java.lang.String |
getCurrency()
Get the currency. |
java.util.Vector |
getDiscAmts()
Get the discount amounts. |
FormattedMonetaryAmountDataBean |
getFormattedDiscAmt(java.math.BigDecimal discAmt)
Get the formatted discount amount. |
java.util.Vector |
getItemIds()
Get the itemIds. |
java.util.Vector |
getItemNames()
Get the item names. |
java.lang.Long |
getOrderId()
Get the orderId. |
TypedProperty |
getRequestProperties()
Get the properties of the request. |
void |
populate()
This method populates the databean that is used to view the Coupon that has been chosen successfully to be used with the order. |
void |
setBcIds(java.util.Vector newBcIds)
Set the CouponIds. |
void |
setCommandContext(CommandContext newCommandContext)
Set the command context. |
void |
setCouponThumbNails(java.util.Vector newCouponThumbNails)
Set the Coupon thumb nails. |
void |
setCurrency(java.lang.String newCurrency)
Set the currency. |
void |
setDiscAmts(java.util.Vector newDiscAmts)
Set the discount amount. |
void |
setItemIds(java.util.Vector newItemIds)
Set the itemIds. |
void |
setItemNames(java.util.Vector newItemNames)
Set the item names. |
void |
setOrderId(java.lang.Long newOrderId)
Set the orderIds. |
void |
setRequestProperties(TypedProperty newRequestProperties)
Set the properties of the request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.util.Vector bcIds
public CommandContext commandContext
public java.util.Vector couponThumbNails
public java.lang.String currency
public java.util.Vector discAmts
public java.util.Vector itemIds
public java.util.Vector itemNames
public java.lang.Long orderId
public TypedProperty requestProperties
Constructor Detail |
public ViewAppliedCouponDataBean()
Method Detail |
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
The
- discount amount:
- com.ibm.commerce.exception.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
- The set of coupon Ids.public void setCommandContext(CommandContext newCommandContext)
setCommandContext
in interface SmartDataBean
newCommandContext
- The command contextpublic void setCouponThumbNails(java.util.Vector newCouponThumbNails)
newCouponThumbNails
- The set of coupon thumbnail images.public void setCurrency(java.lang.String newCurrency)
newCurrency
- The currency.public void setDiscAmts(java.util.Vector newDiscAmts)
newDiscAmts
- The set of discount amounts.public void setItemIds(java.util.Vector newItemIds)
newItemIds
- The set of product Ids.public void setItemNames(java.util.Vector newItemNames)
newItemNames
- The set of product names.public void setOrderId(java.lang.Long newOrderId)
newOrderId
- The order Id.public void setRequestProperties(TypedProperty newRequestProperties)
setRequestProperties
in interface InputDataBean
newRequestProperties
- The request property.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |