public class ViewWalletDataBean extends java.lang.Object implements ViewWalletInputDataBean, SmartDataBean
The input parameter for this data bean are :
This can be queried for number of eCoupons and the information relating to eCoupons can be obtained by calling the function getCouponInfo. This function return a CouponInfo object. This object contain the following fields :
Modifier and Type | Field and Description |
---|---|
java.lang.Long |
categoryId
Deprecated.
The category for which the applicable coupons are being returned.
|
CommandContext |
commandContext
Deprecated.
The command context.
|
java.util.Vector |
couponInfo
Deprecated.
The information for each coupon is stored in this object.
|
int |
numCoupons
Deprecated.
The number of coupons being returned.
|
java.lang.Long |
productId
Deprecated.
The product for which the applicable coupons are being returned.
|
java.lang.Long |
shopperId
Deprecated.
The customer who's coupons are being displayed.
|
java.lang.String |
state
Deprecated.
The desired state of the coupons to be shown.
|
java.lang.Integer |
storeId
Deprecated.
The store for which the coupons are being shown.
|
emptyString
Constructor and Description |
---|
ViewWalletDataBean()
Deprecated.
ViewWalletDatabean constructor call super.
|
Modifier and Type | Method and Description |
---|---|
boolean |
forThisStore(CouponPromotionAccessBean newpAB,
java.lang.Integer newStoreId)
Deprecated.
This method identifies the eCoupon for the store applied for.
|
java.lang.Long |
getBcId(int i)
Deprecated.
Gets the ID of the eCoupon.
|
java.lang.Long |
getCategoryId()
Deprecated.
Gets the category for which the applicable coupons are being found out.
|
CommandContext |
getCommandContext()
Deprecated.
Gets the context of the command.
|
CouponInfo |
getCouponInfo(int i)
Deprecated.
Gets the information about the eCoupon.
|
int |
getNumCoupons()
Deprecated.
Gets the number of eCoupons applicable for the products.
|
TypedProperty |
getRequestProperties()
Deprecated.
Gets the properties of the request.
|
java.lang.Long |
getShopperId()
Deprecated.
Gets ID of the customer.
|
void |
populate()
Deprecated.
This method populates the data bean that is used to view the eCoupon in the customer's wallet.
|
void |
setCategoryId(java.lang.Long newCategoryId)
Deprecated.
Sets the category for which the applicable coupons are being found out.
|
void |
setCommandContext(CommandContext newCommandContext)
Deprecated.
Sets the context of the command.
|
void |
setNumCoupons(int newNumCoupons)
Deprecated.
Sets the number of eCoupons applied for the products.
|
void |
setProductId(java.lang.Long newProductId)
Deprecated.
Sets the ID of the product.
|
void |
setRequestProperties(TypedProperty typeProp)
Deprecated.
Sets the properties of the request.
|
void |
setShopperId(java.lang.Long newShopperId)
Deprecated.
Sets the ID of the customer.
|
void |
setState(java.lang.String newState)
Deprecated.
Sets the state of the eCoupon.
|
void |
setStoreId(java.lang.Integer newStoreId)
Deprecated.
Sets the ID of the store.
|
void |
setValues(CouponWalletAccessBean tempcwAB,
CouponPromotionAccessBean temppAB)
Deprecated.
Sets the values.
|
public java.lang.String state
public java.util.Vector couponInfo
public int numCoupons
public java.lang.Long productId
public java.lang.Integer storeId
public CommandContext commandContext
public java.lang.Long shopperId
public java.lang.Long categoryId
public ViewWalletDataBean()
public boolean forThisStore(CouponPromotionAccessBean newpAB, java.lang.Integer newStoreId)
newcwAB
- com.ibm.commerce.couponwallet.objects.CouponWalletAccessBeannewStoreId
- java.lang.Integerpublic java.lang.Long getBcId(int i)
public java.lang.Long getCategoryId()
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public CouponInfo getCouponInfo(int i)
int
- public int getNumCoupons()
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public java.lang.Long getShopperId()
public void populate()
populate
in interface SmartDataBean
public void setCategoryId(java.lang.Long newCategoryId)
newCategoryId
- longpublic void setCommandContext(CommandContext newCommandContext)
setCommandContext
in interface SmartDataBean
newCommandContext
- com.ibm.commerce.command.CommandContextpublic void setNumCoupons(int newNumCoupons)
newNumCoupons
- intpublic void setProductId(java.lang.Long newProductId)
newProductId
- intpublic 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 setState(java.lang.String newState)
newState
- java.lang.Stringpublic void setStoreId(java.lang.Integer newStoreId)
newStoreId
- java.lang.Integerpublic void setValues(CouponWalletAccessBean tempcwAB, CouponPromotionAccessBean temppAB) throws java.lang.Exception
index
- intcwAB
- com.ibm.commerce.couponwallet.objects.CouponWalletAccessBeanpAB
- com.ibm.commerce.couponpromotion.objects.PromotionAccessBeanjava.lang.Exception