java.lang.Object | +--com.ibm.commerce.couponwallet.databeans.ViewCouponDetailDataBean
This data bean is used to view the details of a particular eCoupon.
The input parameter for this data bean is :
This can be queried for the following :
Field Summary | |
---|---|
java.lang.Long |
bcId The ID of the coupon. |
java.lang.Long |
catalogId ID of the catalog used in the purchase condition list (for category coupons). |
java.lang.Long |
categoryId ID of the first category in the purchase condition list (for category coupons). |
java.lang.String |
categoryName Name of the first category in the purchase condition list (for category coupons). |
CommandContext |
commandContext The command context. |
java.lang.String |
description The long description for the coupon. |
java.lang.String |
expiryDate The expiry date for the coupon. |
java.lang.Long |
productId ID of the first product in the purchase condition list (for product coupons). |
java.lang.String |
productName Name of the first product in the purchase condition list (for product coupons). |
java.lang.Long |
shopperId The ID of the customer who is viewing the coupon. |
java.lang.String |
thumbNailPath The thumb nail image path for the coupon. |
Fields inherited from interface com.ibm.commerce.couponwallet.databeans. ViewCouponDetailInputDataBean |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
Fields inherited from interface com.ibm.commerce.beans. SmartDataBean |
COPYRIGHT |
Constructor Summary | |
---|---|
ViewCouponDetailDataBean() ViewWalletDatabean constructor call the super. |
Method Summary | |
---|---|
java.lang.Long |
getBcId() Gets the eCouponIds. |
java.lang.Long |
getCatalogId() Returns the catalogId. |
java.lang.Long |
getCategoryId() Returns the categoryId. |
java.lang.String |
getCategoryName() Returns the categoryName. |
CommandContext |
getCommandContext() Gets the command context. |
java.lang.String |
getDescription() Gets the description of the eCoupon. |
java.lang.String |
getExpiryDate() Gets the expiry date. |
java.lang.Long |
getProductId() Gets the productId. |
java.lang.String |
getProductName() Gets the product name. |
TypedProperty |
getRequestProperties() Gets the request properties. |
java.lang.Long |
getShopperId() Gets the ID of the customer. |
java.lang.String |
getThumbNailPath() Gets the path of the thumbnail. |
void |
populate() This method is used to populate the data bean that used to view the details of a particular eCoupon. |
void |
setBcId(java.lang.Long newBcId) Sets the eCoupon IDs. |
void |
setCommandContext(
CommandContext newCommandContext) Sets the context of the command. |
void |
setProductId(java.lang.Long newProductId) Sets the ID of the product for which eCoupon to be applied. |
void |
setProductName(java.lang.String newProductName) Sets the name of the product for which eCoupon to be applied. |
void |
setRequestProperties(
TypedProperty typeProp) Sets the properties of the request. |
void |
setShopperId(java.lang.Long newShopperId) Sets the ID of the customer. |
void |
setValues(
CouponWalletAccessBean tempcwAB,
CouponPromotionAccessBean temppAB) Sets the values for the eCoupon. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String thumbNailPath
public java.lang.String description
public java.lang.String expiryDate
public java.lang.String productName
public java.lang.String categoryName
public java.lang.Long productId
public java.lang.Long catalogId
public java.lang.Long categoryId
public java.lang.Long bcId
public CommandContext commandContext
public java.lang.Long shopperId
Constructor Detail |
---|
public ViewCouponDetailDataBean()
Method Detail |
---|
public java.lang.Long getBcId()
public CommandContext getCommandContext()
getCommandContext
in interface
SmartDataBean
public java.lang.String getDescription()
public java.lang.String getExpiryDate()
public java.lang.Long getProductId()
public java.lang.String getProductName()
public TypedProperty getRequestProperties()
getRequestProperties
in interface
InputDataBean
public java.lang.Long getShopperId()
public java.lang.String getThumbNailPath()
public void populate()
populate
in interface
SmartDataBean
javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
public void setBcId(java.lang.Long newBcId)
newBcId
- java.lang.Longpublic void setCommandContext(CommandContext newCommandContext)
setCommandContext
in interface
SmartDataBean
newCommandContext
-
com.ibm.commerce.command.CommandContextpublic void setProductId(java.lang.Long newProductId)
newProductId
- java.lang.Longpublic void setProductName(java.lang.String newProductName)
newProductName
- java.lang.Stringpublic void setRequestProperties(TypedProperty typeProp)
setRequestProperties
in interface
InputDataBean
typeProp
-
com.ibm.commerce.datatype.TypedPropertypublic void setShopperId(java.lang.Long newShopperId)
newShopperId
- java.lang.Longpublic void setValues(CouponWalletAccessBean tempcwAB, CouponPromotionAccessBean temppAB) throws java.lang.Exception
java.lang.Exception
public java.lang.Long getCategoryId()
public java.lang.String getCategoryName()
public java.lang.Long getCatalogId()