public class ECouponDetailsDataBean extends ECouponDetailsDataBeanBase implements ECECouponConstant
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Deprecated.
IBM copyright notice field
|
Constructor and Description |
---|
ECouponDetailsDataBean()
Deprecated.
ECouponDetailsDataBean constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getCatalogId()
Deprecated.
Gets the catalogId
|
java.util.Vector | getCategory()
Deprecated.
Returns the list of categories in the coupon promotion purchase condition.
|
java.lang.String | getCategoryFixedAmt()
Deprecated.
Returns the category fixed discount amount.
|
java.lang.String | getCategoryPercentageAmt()
Deprecated.
Returns the category percentage discount amount.
|
int | getCategoryType()
Deprecated.
Returns the category discount type.
|
java.util.Vector | getCheckedCategorys()
Deprecated.
Returns the list of categories which are discounted.
|
java.util.Vector | getCheckedProducts()
Deprecated.
Returns the list of product SKUs which are discounted.
|
java.lang.String | getECouponCurr()
Deprecated.
Returns the coupon promotion currency.
|
java.lang.String | getECouponDesc()
Deprecated.
Returns the coupon promotion description.
|
java.lang.String | getECouponEndDay()
Deprecated.
Returns the day of the month when the coupon promotion ends.
|
java.lang.String | getECouponEndMonth()
Deprecated.
Returns the month of the year when the coupon promotion ends.
|
java.lang.String | getECouponEndTime()
Deprecated.
Returns the time in HH when the coupon promotion ends, with ECECouponConstant.REST_OF_TIMESTRING appended.
|
java.lang.String | getECouponEndTimeSelectedIndex()
Deprecated.
Returns the time in HH when the coupon promotion ends.
|
java.lang.String | getECouponEndYear()
Deprecated.
Returns the year when the coupon promotion ends.
|
java.lang.String | getECouponName()
Deprecated.
Returns the name of the coupon promotion.
|
int | getECouponNumOffer()
Deprecated.
Returns the total number of coupons that can be offered for this coupon promotion
|
java.lang.String | getECouponStartDay()
Deprecated.
Returns the day of the month when the coupon promotion starts.
|
java.lang.String | getECouponStartMonth()
Deprecated.
Returns the day of the month when the coupon promotion starts.
|
java.lang.String | getECouponStartTime()
Deprecated.
Returns the time in HH when the coupon promotion starts, with ECECouponConstant.REST_OF_TIMESTRING appended.
|
java.lang.String | getECouponStartTimeSelectedIndex()
Deprecated.
Returns the time in HH when the coupon promotion starts.
|
java.lang.String | getECouponStartYear()
Deprecated.
Returns the year when the coupon promotion starts.
|
java.lang.String | getEndDateLocale()
Deprecated.
Gets the endDateLocale
|
java.lang.String | getFullImagePath()
Deprecated.
Returns the path of the coupon promotion's full image to be shown to the customer.
|
java.lang.String | getLongDesc()
Deprecated.
Returns the long description of the coupon promotion to be shown to the customer.
|
java.lang.String | getMaxAmt()
Deprecated.
Returns the maximum order amount in the coupon purchase condition.
|
java.lang.String | getMinAmt()
Deprecated.
Returns the minimum order amount in the coupon purchase condition.
|
java.lang.Integer | getNumOffered()
Deprecated.
Gets the numOffered, the actual number of coupons accepted by shoppers so far.
|
java.lang.String | getOrderFixedAmt()
Deprecated.
Returns the order fixed discount amount.
|
java.lang.String | getOrderPercentageAmt()
Deprecated.
Returns the order percentage discount amount.
|
int | getOrderType()
Deprecated.
Returns the order discount type.
|
java.lang.Long | getOwner()
Deprecated.
Return the member reference number of the owner.
|
java.util.Vector | getProduct()
Deprecated.
Returns the list of products in the coupon promotion purchase condition.
|
java.lang.String | getProductFixedAmt()
Deprecated.
Returns the product fixed discount amount.
|
java.lang.String | getProductPercentageAmt()
Deprecated.
Returns the product percentage discount amount.
|
int | getProductType()
Deprecated.
Returns the product discount type.
|
java.lang.Integer | getPromoId()
Deprecated.
Returns the promotion ID of the coupon promotion.
|
java.lang.String | getPromoStatus()
Deprecated.
Gets the promoStatus
|
int | getPurchaseConditionType()
Deprecated.
Returns the purchase condition type of the coupon promotion.
|
java.lang.String | getShortDesc()
Deprecated.
Returns the short description of the coupon promotion to be shown to the customer.
|
java.lang.String | getStartDateLocale()
Deprecated.
Gets the startDateLocale
|
java.lang.String | getThumbNailPath()
Deprecated.
Returns the path of the coupon promotion's thumbnail image to be shown to the customer.
|
java.util.Hashtable | getXml()
Deprecated.
Returns the coupon promotion parameters in an XML file format.
|
boolean | isHasDateTimeRange()
Deprecated.
Returns true if the coupon promotion has start and end dates, false otherwise.
|
boolean | isHasMax()
Deprecated.
Returns true if the coupon promotion has a maximum order purchase value, false otherwise.
|
boolean | isHasNumOffer()
Deprecated.
Returns true if the coupon promotion has a limit on the total number of coupons to be offered to the customer, false otherwise.
|
boolean | isNewECouponPromotion()
Deprecated.
Returns true if the coupon promotion is being created, false if it is being updated.
|
boolean | isVisitedCategoryPurchaseForm()
Deprecated.
Returns true if the category purchase form has been visited before in the flow, false otherwise.
|
boolean | isVisitedCategoryValueForm()
Deprecated.
Returns true if the category value form has been visited before in the flow, false otherwise.
|
boolean | isVisitedDescriptionForm()
Deprecated.
Returns true if the description form has been visited before in the flow, false otherwise.
|
boolean | isVisitedDetailsForm()
Deprecated.
Returns true if the details form has been visited before in the flow, false otherwise.
|
boolean | isVisitedOrderPurchaseCondition()
Deprecated.
Returns true if the order purchase condition form has been visited before in the flow, false otherwise.
|
boolean | isVisitedOrderValueForm()
Deprecated.
Returns true if the order value form has been visited before in the flow, false otherwise.
|
boolean | isVisitedProductPurchaseForm()
Deprecated.
Returns true if the product purchase form has been visited before in the flow, false otherwise.
|
boolean | isVisitedProductValueForm()
Deprecated.
Returns true if the product value form has been visited before in the flow, false otherwise.
|
boolean | isVisitedWizWelcome()
Deprecated.
Returns true if the wizard welcome form has been visited before in the flow, false otherwise.
|
void | populate()
Deprecated.
Obtains the coupon promotion parameters from the coupon promtoion related access beans and populates the class variables for the coupon promotion ID present in the request properties, if the newECouponPromotion flag in request properties is false, i.e.
|
void | populateXml()
Deprecated.
Extracts the coupon promotion parameters from the class variable 'xml' and populates the appropriate class variables.
|
void | setCatalogId(java.lang.Long catalogId)
Deprecated.
Sets the catalogId
|
void | setCategory(java.util.Vector newCategory)
Deprecated.
Sets the category.
|
void | setCategoryFixedAmt(java.lang.String newCategoryFixedAmt)
Deprecated.
Sets the categoryFixedAmt.
|
void | setCategoryPercentageAmt(java.lang.String newCategoryPercentageAmt)
Deprecated.
Sets the categoryPercentageAmt.
|
void | setCategoryType(int newCategoryType)
Deprecated.
Sets the categoryType.
|
void | setCheckedCategorys(java.util.Vector newCheckedCategorys)
Deprecated.
Sets the checkedCategorys.
|
void | setCheckedProducts(java.util.Vector newCheckedProducts)
Deprecated.
Sets the checkedProducts.
|
void | setECouponCurr(java.lang.String newECouponCurr)
Deprecated.
Sets the eCouponCurr.
|
void | setECouponDesc(java.lang.String newECouponDesc)
Deprecated.
Sets the eCouponDesc.
|
void | setECouponEndDay(java.lang.String newECouponEndDay)
Deprecated.
Sets the eCouponEndDay.
|
void | setECouponEndMonth(java.lang.String newECouponEndMonth)
Deprecated.
Sets the eCouponEndMonth.
|
void | setECouponEndTime(java.lang.String newECouponEndTime)
Deprecated.
Sets the eCouponEndTime.
|
void | setECouponEndTimeSelectedIndex(java.lang.String newECouponEndTimeSelectedIndex)
Deprecated.
Sets the eCouponEndTimeSelectedIndex.
|
void | setECouponEndYear(java.lang.String newECouponEndYear)
Deprecated.
Sets the eCouponEndYear.
|
void | setECouponName(java.lang.String newECouponName)
Deprecated.
Sets the eCouponName.
|
void | setECouponNumOffer(int newECouponNumOffer)
Deprecated.
Sets the eCouponNumOffer.
|
void | setECouponStartDay(java.lang.String newECouponStartDay)
Deprecated.
Sets the eCouponStartDay.
|
void | setECouponStartMonth(java.lang.String newECouponStartMonth)
Deprecated.
Sets the eCouponStartMonth.
|
void | setECouponStartTime(java.lang.String newECouponStartTime)
Deprecated.
Sets the eCouponStartTime.
|
void | setECouponStartTimeSelectedIndex(java.lang.String newECouponStartTimeSelectedIndex)
Deprecated.
Sets the eCouponStartTimeSelectedIndex.
|
void | setECouponStartYear(java.lang.String newECouponStartYear)
Deprecated.
Sets the eCouponStartYear.
|
void | setEndDateLocale(java.lang.String endDateLocale)
Deprecated.
Sets the endDateLocale
|
void | setFullImagePath(java.lang.String newFullImagePath)
Deprecated.
Sets the fullImagePath.
|
void | setHasDateTimeRange(boolean newHasDateTimeRange)
Deprecated.
Sets the hasDateTimeRange.
|
void | setHasMax(boolean newHasMax)
Deprecated.
Sets the hasMax field.
|
void | setHasNumOffer(boolean newHasNumOffer)
Deprecated.
Sets the hasNumOffer field.
|
void | setLongDesc(java.lang.String newLongDesc)
Deprecated.
Sets the long description of coupon promotion.
|
void | setMaxAmt(java.lang.String newMaxAmt)
Deprecated.
Sets the maximum order amount, if purchase condition is order type.
|
void | setMinAmt(java.lang.String newMinAmt)
Deprecated.
Sets the minimum order amount, if purchase condition is order type.
|
void | setNewECouponPromotion(boolean newNewECouponPromotion)
Deprecated.
Sets the newECouponPromotion field to indicate if the coupon promotion is new or already created.
|
void | setNumOffered(java.lang.Integer numOffered)
Deprecated.
Sets the numOffered, the actual number of coupons accepted by shoppers so far.
|
void | setOrderFixedAmt(java.lang.String newOrderFixedAmt)
Deprecated.
Sets the order discount fixed amount.
|
void | setOrderPercentageAmt(java.lang.String newOrderPercentageAmt)
Deprecated.
Sets the order discount percenatge amount.
|
void | setOrderType(int newOrderType)
Deprecated.
Sets the order discount type.
|
void | setProduct(java.util.Vector newProduct)
Deprecated.
Sets the coupon promotion product field which is the list of products in the coupon promotion purchase condition, if purchase condition type is product.
|
void | setProductFixedAmt(java.lang.String newProductFixedAmt)
Deprecated.
Sets the coupon promotion product discount fixed amount.
|
void | setProductPercentageAmt(java.lang.String newProductPercentageAmt)
Deprecated.
Sets the coupon promotion product discount percentage amount.
|
void | setProductType(int newProductType)
Deprecated.
Sets the coupon promotion product discount type.
|
void | setPromoId(java.lang.Integer newPromoId)
Deprecated.
Sets the coupon promotion ID.
|
void | setPromoStatus(java.lang.String promoStatus)
Deprecated.
Sets the promoStatus
|
void | setPurchaseConditionType(int newPurchaseConditionType)
Deprecated.
Sets the coupon promotion purchase condition type.
|
void | setShortDesc(java.lang.String newShortDesc)
Deprecated.
Sets the coupon promotion's short description.
|
void | setStartDateLocale(java.lang.String startDateLocale)
Deprecated.
Sets the startDateLocale
|
void | setThumbNailPath(java.lang.String newThumbNailPath)
Deprecated.
Sets the coupon promotion's thumbnail image path.
|
void | setVisitedCategoryPurchaseForm(boolean newVisitedCategoryPurchaseForm)
Deprecated.
Sets the visitedCategoryPurchaseForm field.
|
void | setVisitedCategoryValueForm(boolean newVisitedCategoryValueForm)
Deprecated.
Sets the visitedCategoryValueForm field.
|
void | setVisitedDescriptionForm(boolean newVisitedDescriptionForm)
Deprecated.
Sets the visitedDescriptionForm field.
|
void | setVisitedDetailsForm(boolean newVisitedDetailsForm)
Deprecated.
Sets the visitedDetailsForm field.
|
void | setVisitedOrderPurchaseCondition(boolean newVisitedOrderPurchaseCondition)
Deprecated.
Sets the visitedOrderPurchaseCondition field.
|
void | setVisitedOrderValueForm(boolean newVisitedOrderValueForm)
Deprecated.
Sets the visitedOrderValueForm field.
|
void | setVisitedProductPurchaseForm(boolean newVisitedProductPurchaseForm)
Deprecated.
Sets the visitedProductPurchaseForm field.
|
void | setVisitedProductValueForm(boolean newVisitedProductValueForm)
Deprecated.
Sets the visitedProductValueForm field.
|
void | setVisitedWizWelcome(boolean newVisitedWizWelcome)
Deprecated.
Sets the visitedWizWelcome field.
|
void | setXml(java.util.Hashtable newXml)
Deprecated.
Sets the XML field.
|
public static final java.lang.String COPYRIGHT
public ECouponDetailsDataBean()
public java.util.Vector getCategory()
public java.lang.String getCategoryFixedAmt()
public java.lang.String getCategoryPercentageAmt()
public int getCategoryType()
public java.util.Vector getCheckedCategorys()
public java.util.Vector getCheckedProducts()
public java.lang.String getECouponCurr()
public java.lang.String getECouponDesc()
public java.lang.String getECouponEndDay()
public java.lang.String getECouponEndMonth()
public java.lang.String getECouponEndTime()
public java.lang.String getECouponEndTimeSelectedIndex()
public java.lang.String getECouponEndYear()
public java.lang.String getECouponName()
public int getECouponNumOffer()
public java.lang.String getECouponStartDay()
public java.lang.String getECouponStartMonth()
public java.lang.String getECouponStartTime()
public java.lang.String getECouponStartTimeSelectedIndex()
public java.lang.String getECouponStartYear()
public java.lang.String getFullImagePath()
public java.lang.String getLongDesc()
public java.lang.String getMaxAmt()
public java.lang.String getMinAmt()
public java.lang.String getOrderFixedAmt()
public java.lang.String getOrderPercentageAmt()
public int getOrderType()
public java.util.Vector getProduct()
public java.lang.String getProductFixedAmt()
public java.lang.String getProductPercentageAmt()
public int getProductType()
public java.lang.Integer getPromoId()
public int getPurchaseConditionType()
public java.lang.String getShortDesc()
public java.lang.String getThumbNailPath()
public java.util.Hashtable getXml()
public boolean isHasDateTimeRange()
public boolean isHasMax()
public boolean isHasNumOffer()
public boolean isNewECouponPromotion()
public boolean isVisitedCategoryPurchaseForm()
public boolean isVisitedCategoryValueForm()
public boolean isVisitedDescriptionForm()
public boolean isVisitedDetailsForm()
public boolean isVisitedOrderPurchaseCondition()
public boolean isVisitedOrderValueForm()
public boolean isVisitedProductPurchaseForm()
public boolean isVisitedProductValueForm()
public boolean isVisitedWizWelcome()
public void populate() throws java.lang.Exception
Behaviour
The command does the following
public void populateXml() throws ECException
Parameter Name | Valid Type | Optional/Mandatory |
---|---|---|
eCouponName | String - Name of promotion | Mandatory |
eCouponCurr | String - Currency | Mandatory |
eCouponDesc | String - Merchant viewable description | Optional |
shortDesc | String - customer viewable short description | Optional |
longDesc | String - customer viewable long description | Optional |
fullImagePath | String - customer viewable full image path | Optional |
thumbNailPath | String - customer viewable thumbnail path | Optional |
hasDateTimeRange | String - "true"/"false" | Mandatory |
eCouponStartYear | String representing an year | Mandatory if hasDateTimeRange="true" |
eCouponStartMonth | String representing a month | Mandatory if hasDateTimeRange="true" |
eCouponStartDay | String representing a day | Mandatory if hasDateTimeRange="true" |
eCouponEndYear | String representing an year | Mandatory if hasDateTimeRange="true" |
eCouponEndMonth | String representing a month | Mandatory if hasDateTimeRange="true" |
eCouponEndDay | String representing a day | Mandatory if hasDateTimeRange="true" |
eCouponStartTimeSelectedIndex | String representing an hour | Mandatory if hasDateTimeRange="true" |
eCouponEndTimeSelectedIndex | String representing an hour | Mandatory if hasDateTimeRange="true" |
hasNumOffer | String - "true"/"false" | Mandatory |
eCouponNumOffer | String - number of coupons | Mandatory if hasNumOffer="true" |
purchaseConditionType | String - "0"(product), "1"(order), "2"(category) | Mandatory |
minAmt | String - a double representing minimum qualifying amount for order type coupon | Mandatory if purchaseConditionType=0 |
hasMax | String - "true"/"false" | Mandatory if purchaseConditionType=0 |
maxAmt | String - a double representing minimum qualifying amount for order type coupon | Mandatory if hasMax="true" |
orderType | String - "0"(percentage), "1"(fixed) - discount type on order | Mandatory if purchaseConditionType=0 |
orderPercentageAmt | String - percentage discount amount | Mandatory if orderType=0 |
orderFixedAmt | String - fixed discount amount | Mandatory if orderType=1 |
product | Hashtable of product SKUs in the purchase condition | Mandatory if purchaseConditionType=1 |
checkedProducts | Hashtable of product SKUs to be discounted | Mandatory if purchaseConditionType=1 |
productType | String - "0"(percentage), "1"(fixed) - discount type on products | Mandatory if purchaseConditionType=1 |
productPercentageAmt | String - percentage discount amount | Mandatory if productType=0 |
productFixedAmt | String - fixed discount amount | Mandatory if productType=1 |
catalogId | String - The catalogId on which the coupon is defined | Mandatory if purchaseConditionType=2 |
category | Hashtable of category identifiers in the purchase condition | Mandatory if purchaseConditionType=2 |
checkedCategorys | Hashtable of category identifiers to be discounted | Mandatory if purchaseConditionType=2 |
categoryType | String - "0"(percentage), "1"(fixed) - discount type on categories | Mandatory if purchaseConditionType=2 |
categoryPercentageAmt | String - percentage discount amount | Mandatory if productType=2 |
categoryFixedAmt | String - fixed discount amount | Mandatory if productType=2 |
Behaviour
The command does the following
public void setCategory(java.util.Vector newCategory)
public void setCategoryFixedAmt(java.lang.String newCategoryFixedAmt)
public void setCategoryPercentageAmt(java.lang.String newCategoryPercentageAmt)
public void setCategoryType(int newCategoryType)
public void setCheckedCategorys(java.util.Vector newCheckedCategorys)
public void setCheckedProducts(java.util.Vector newCheckedProducts)
public void setECouponCurr(java.lang.String newECouponCurr)
public void setECouponDesc(java.lang.String newECouponDesc)
public void setECouponEndDay(java.lang.String newECouponEndDay)
public void setECouponEndMonth(java.lang.String newECouponEndMonth)
public void setECouponEndTime(java.lang.String newECouponEndTime)
public void setECouponEndTimeSelectedIndex(java.lang.String newECouponEndTimeSelectedIndex)
public void setECouponEndYear(java.lang.String newECouponEndYear)
public void setECouponName(java.lang.String newECouponName)
public void setECouponNumOffer(int newECouponNumOffer)
public void setECouponStartDay(java.lang.String newECouponStartDay)
public void setECouponStartMonth(java.lang.String newECouponStartMonth)
public void setECouponStartTime(java.lang.String newECouponStartTime)
public void setECouponStartTimeSelectedIndex(java.lang.String newECouponStartTimeSelectedIndex)
public void setECouponStartYear(java.lang.String newECouponStartYear)
public void setFullImagePath(java.lang.String newFullImagePath)
public void setHasDateTimeRange(boolean newHasDateTimeRange)
public void setHasMax(boolean newHasMax)
public void setHasNumOffer(boolean newHasNumOffer)
public void setLongDesc(java.lang.String newLongDesc)
public void setMaxAmt(java.lang.String newMaxAmt)
public void setMinAmt(java.lang.String newMinAmt)
public void setNewECouponPromotion(boolean newNewECouponPromotion)
public void setOrderFixedAmt(java.lang.String newOrderFixedAmt)
public void setOrderPercentageAmt(java.lang.String newOrderPercentageAmt)
public void setOrderType(int newOrderType)
public void setProduct(java.util.Vector newProduct)
public void setProductFixedAmt(java.lang.String newProductFixedAmt)
public void setProductPercentageAmt(java.lang.String newProductPercentageAmt)
public void setProductType(int newProductType)
public void setPromoId(java.lang.Integer newPromoId)
public void setPurchaseConditionType(int newPurchaseConditionType)
public void setShortDesc(java.lang.String newShortDesc)
public void setThumbNailPath(java.lang.String newThumbNailPath)
public void setVisitedCategoryPurchaseForm(boolean newVisitedCategoryPurchaseForm)
public void setVisitedCategoryValueForm(boolean newVisitedCategoryValueForm)
public void setVisitedDescriptionForm(boolean newVisitedDescriptionForm)
public void setVisitedDetailsForm(boolean newVisitedDetailsForm)
public void setVisitedOrderPurchaseCondition(boolean newVisitedOrderPurchaseCondition)
public void setVisitedOrderValueForm(boolean newVisitedOrderValueForm)
public void setVisitedProductPurchaseForm(boolean newVisitedProductPurchaseForm)
public void setVisitedProductValueForm(boolean newVisitedProductValueForm)
public void setVisitedWizWelcome(boolean newVisitedWizWelcome)
public void setXml(java.util.Hashtable newXml)
public java.lang.Long getCatalogId()
public void setCatalogId(java.lang.Long catalogId)
public java.lang.String getEndDateLocale()
public java.lang.String getStartDateLocale()
public java.lang.String getPromoStatus()
public void setPromoStatus(java.lang.String promoStatus)
public java.lang.Integer getNumOffered()
public void setNumOffered(java.lang.Integer numOffered)
public void setStartDateLocale(java.lang.String startDateLocale)
public void setEndDateLocale(java.lang.String endDateLocale)
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException