public class RLProductDiscountDataBean extends RLProductDiscountDataBeanBase implements RLConstants
setCalcodeId(String)
method.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The copyright information.
|
CATEGORY_LEVEL_DISPLAY_FLAG, DISCOUNT_DEPLOYMENT, EC_CALCODE_ID, EC_CODE, EC_DESCRIPTION, EC_DISCOUNTNAME, EC_ENDDATE, EC_ORDERBY, EC_PRIORITY, EC_RANGE_MAX, EC_STARTDATE, EC_STATE, EC_STATUS, ERROR_PROMOTION_DELETED_DUPLICATE_CODE, ERROR_PROMOTION_DUPLICATE_CODE, ERROR_PROMOTION_NOT_SAVED, ERROR_PROMOTION_NOT_UPDATED, MSG_PROMOTION_SAVED, MSG_PROMOTION_UPDATED, NEVER_EXPIRE, ORDER_LEVEL_DISPLAY_FLAG, PRODUCT_LEVEL_DISPLAY_FLAG, REST_OF_TIMESTRING, RLPRODPROMO_TYPEALIAS, RLPROMOTION, RLPROMOTION_ADJUSTMENT_TYPE, RLPROMOTION_ASSIGNEDSEGMENTIDS, RLPROMOTION_ASSIGNEDSEGMENTS, RLPROMOTION_CATEGORYLEVELBUYXGETYFREE, RLPROMOTION_CATEGORYLEVELPERCENTDISCOUNT, RLPROMOTION_CATEGORYLEVELPERITEMVALUEDISCOUNT, RLPROMOTION_CATEGORYLEVELSAMEITEMPERCENTDISCOUNT, RLPROMOTION_CATEGORYLEVELVALUEDISCOUNT, RLPROMOTION_CATENTRY_ID, RLPROMOTION_CATENTRY_TYPE, RLPROMOTION_CATGROUP_CODE, RLPROMOTION_CATGROUP_ID, RLPROMOTION_CODE_REQUIRED, RLPROMOTION_COUPON_EFFECTIVE_DAYS, RLPROMOTION_COUPON_EXPIRATION_DAYS, RLPROMOTION_CURRENCY, RLPROMOTION_DATERANGED, RLPROMOTION_DAYSINWEEK, RLPROMOTION_DESCRIPTION, RLPROMOTION_DESCRIPTION_LONG_NL, RLPROMOTION_DESCRIPTION_NL, RLPROMOTION_DISCOUNT_ITEM_QTY, RLPROMOTION_DISCOUNT_ITEM_SKU, RLPROMOTION_DISPLAY_LEVEL, RLPROMOTION_ENDDAY, RLPROMOTION_ENDHOUR, RLPROMOTION_ENDMONTH, RLPROMOTION_ENDYEAR, RLPROMOTION_EXCLUSIVENESS, RLPROMOTION_FRIDAY, RLPROMOTION_GROUP_NAME, RLPROMOTION_GWP_CATENTRY_ID, RLPROMOTION_INCOMBINATIONWITH, RLPROMOTION_ISCOUPON, RLPROMOTION_ISEVERYDAYFLAG, RLPROMOTION_ITEMLEVELBUYXGETYFREE, RLPROMOTION_ITEMLEVELPERCENTDISCOUNT, RLPROMOTION_ITEMLEVELPERITEMVALUEDISCOUNT, RLPROMOTION_ITEMLEVELSAMEITEMPERCENTDISCOUNT, RLPROMOTION_ITEMLEVELVALUEDISCOUNT, RLPROMOTION_LAST_UPDATE_TIME, RLPROMOTION_LAST_UPDATE_USER, RLPROMOTION_LIST_ALL, RLPROMOTION_LIST_ORDERLEVEL, RLPROMOTION_LIST_PRODUCTLEVEL, RLPROMOTION_MAX_DISCOUNT_ITEM_QTY, RLPROMOTION_MERCHANDISE_TYPE, RLPROMOTION_MONDAY, RLPROMOTION_NAME, RLPROMOTION_ORDER_GROUP, RLPROMOTION_ORDERLEVELFIXEDSHIPPINGDISCOUNT, RLPROMOTION_ORDERLEVELFREEGIFT, RLPROMOTION_ORDERLEVELPERCENTDISCOUNT, RLPROMOTION_ORDERLEVELVALUEDISCOUNT, RLPROMOTION_ORIGINAL_STORE, RLPROMOTION_PER_ORDER_LIMIT, RLPROMOTION_PER_SHOPPER_LIMIT, RLPROMOTION_PRIORITY, RLPROMOTION_PROD_SEARCH_PAGE, RLPROMOTION_PRODUCT_GROUP, RLPROMOTION_PRODUCT_SKU, RLPROMOTION_PRODUCTLEVELBUYXGETYFREE, RLPROMOTION_PRODUCTLEVELPERCENTDISCOUNT, RLPROMOTION_PRODUCTLEVELPERITEMVALUEDISCOUNT, RLPROMOTION_PRODUCTLEVELSAMEITEMPERCENTDISCOUNT, RLPROMOTION_PRODUCTLEVELVALUEDISCOUNT, RLPROMOTION_PROMOGROUP, RLPROMOTION_PROMOTION_CODE, RLPROMOTION_RANGES, RLPROMOTION_RELATED_STORE, RLPROMOTION_REQUIRED_QTY, RLPROMOTION_RESOURCES, RLPROMOTION_REVISION, RLPROMOTION_SATURDAY, RLPROMOTION_SHIPMODEID, RLPROMOTION_SHIPPING_GROUP, RLPROMOTION_STARTDAY, RLPROMOTION_STARTHOUR, RLPROMOTION_STARTMONTH, RLPROMOTION_STARTYEAR, RLPROMOTION_STATUS, RLPROMOTION_SUNDAY, RLPROMOTION_TARGETSALES, RLPROMOTION_THURSDAY, RLPROMOTION_TIMERANGED, RLPROMOTION_TOTAL_LIMIT, RLPROMOTION_TUESDAY, RLPROMOTION_TYPE, RLPROMOTION_VALIDFORALLCUSTOMERS, RLPROMOTION_VALUE, RLPROMOTION_VALUES, RLPROMOTION_VERSION, RLPROMOTION_WEDNESDAY, ZERO_STRING
emptyString
Constructor and Description |
---|
RLProductDiscountDataBean()
RLProductDiscountDataBean constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAssignedSegmentIds()
Returns the list of Member Groups IDs the discount is assigned to.
|
java.lang.String[] |
getAssignedSegments()
Returns the list of Member Groups to which the discount is assigned.
|
java.lang.String |
getCalcodeId()
Returns the CALCODE ID associated with this discount.
|
int |
getRlAdjustmentType()
Returns the promotion reward adjustment type.
|
boolean |
getRlCodeRequired()
Returns true if the promotion requires a promotion code.
|
int |
getRlCouponEffectiveDays()
Get coupon effective days.
|
int |
getRlCouponExpirationDays()
Get coupon expiration days.
|
java.lang.String |
getRlCurrency()
Returns the Default Currency for this discount.
|
boolean |
getRlDateRanged()
Indicates whether the Date is ranged.
|
java.lang.String[] |
getRlDaysInWeek()
Returns the list of days in a week during when the discount is valid.
|
java.lang.String |
getRlDescription()
Returns the non-translated description of the discount.
|
java.lang.String |
getRlDescriptionNL()
Returns the translated Description of the discount.
|
java.lang.String |
getRlDiscountItemQty()
Returns the quantity of the discounted item that will be given free with the purchase.
|
java.lang.String |
getRlDiscountItemSku()
Returns SKU of the item that will be given free with purchase.
|
java.lang.String |
getRlDiscountPercentage()
Returns the percentage of discount that will be offered if purchase qualifies for discount.
|
java.lang.String |
getRlEndDay()
Returns the day when the discount gets inactive.
|
java.lang.String |
getRlEndHour()
Returns the Hour when the discount will get inactive.
|
java.lang.String |
getRlEndMonth()
Returns the Month when the discount will get inactive.
|
java.lang.String |
getRlEndYear()
Returns the year when the discount will get inactive.
|
int |
getRlExclusiveness()
Returns the value of promotion exclusiveness.
|
boolean |
getRlInCombinationWith()
Indicates whether or not this discount can be combined with other discount for the same purchase.
|
boolean |
getRlIsCoupon()
Returns true if the promotion is a coupon.
|
boolean |
getRlIsEveryDayFlag()
Indicates whether the discount is valid through the week.
|
java.lang.String |
getRlLongDescriptionNL()
Returns translated long description.
|
java.lang.String |
getRlMaxDiscountItemQty()
Returns the maximum quantity of the discounted item that can be given free with purchase.
|
java.lang.String |
getRlName()
Returns the name of the discount.
|
int |
getRlPerOrderLimit()
Returns the promotion applicable limit per order.
|
int |
getRlPerShopperLimit()
Returns the promotion applicable limit per customer.
|
java.lang.String |
getRlPriority()
Returns the discount priority.
|
java.lang.String |
getRlProdPromoTypeAlias()
Returns the alias name for the product promotion type.
|
java.util.Vector |
getRlProductSku()
Returns the SKU of the item for which the promotion is created.
|
java.lang.String |
getRlProdXSku()
Returns the product SKU (in same item free discount type).
|
java.util.Vector |
getRlPromotionCatEntryID()
Returns the CATENTRY ID of the product on discount.
|
java.lang.String |
getRlPromotionCatEntryType()
Returns the type of the CATENTRY which is being promoted.
|
java.lang.String[] |
getRlPromotionCatGroupCode()
Returns an array of CatGroup Identifiers.
|
java.lang.String[] |
getRlPromotionCatGroupID()
Returns an array of CatGroup IDs.
|
java.lang.String |
getRlPromotionCode()
Returns the promotion code.
|
java.lang.String |
getRlPromotionGroupName()
Returns the promotion group name.
|
java.lang.String |
getRlPromotionGWPCatEntryID()
Returns the CATENTRY ID of the free gift SKU.
|
java.lang.String |
getRlPromotionMerchandiseType()
Gets the rlPromotionMerchandiseType.
|
int |
getRlPromotionRevision()
Gets the promotion revision.
|
java.lang.String |
getRlPromotionType()
Returns the type of the promotion.
|
int |
getRlPromotionVersion()
Gets the promotion version.
|
java.lang.String[] |
getRlRanges()
Returns quantity range to qualify for this discount.
|
java.lang.String |
getRlRequiredQty()
Returns the quantity required to be purchased to qualify for the discount.
|
java.lang.String |
getRlShipModeId()
Returns the Shipping Mode associated with this Discount.
|
java.lang.String |
getRlStartDay()
Returns the day from which the discount gets active.
|
java.lang.String |
getRlStartHour()
returns the hour from which the discount gets active.
|
java.lang.String |
getRlStartMonth()
Returns the month from which the discount gets active.
|
java.lang.String |
getRlStartYear()
Returns the Year from which the discount gets active.
|
int |
getRlStatus()
Returns the promotion status.
|
java.lang.String |
getRlTargetSales()
Returns the sales target for the discount.
|
boolean |
getRlTimeRanged()
Gets the rlTimeRanged.
|
int |
getRlTotalLimit()
Returns the promotion applicable total limit.
|
java.lang.String |
getRlValue()
Returns the discount range value.
|
java.lang.String[] |
getRlValues()
Returns the discount values for the discount ranges created.
|
java.lang.String |
getRuleXML()
Returns the Rule XML from the RLDISCOUNT table.
|
java.lang.String |
getStartDate()
Returns the date from which the discount becomes active.
|
boolean |
getValidForAllCustomers()
Returns whether the discount is valid for all customers.
|
void |
populate()
Loads data into the databean when the
DataBeanmanager.activate() runs. |
void |
setAssignedSegmentIds(java.lang.String[] newAssignedSegmentIds)
Stores the list of member group IDs who can use this discount.
|
void |
setAssignedSegments(java.lang.String[] newAssignedSegments)
Stores the list of
member groups who can use this discount. |
void |
setCalcodeId(java.lang.String newCalcodeId)
Stores the CALCODE ID.
|
void |
setFlag(boolean newFlag)
Reserved for IBM internal use.
|
void |
setRlAdjustmentType(int newAdjustmentType)
Sets the promotion reward adjustment type.
|
void |
setRlCodeRequired(boolean b)
Sets TRUE if the promotion requires a promotion code.
|
void |
setRlCouponEffectiveDays(int i)
Sets the number of days this coupon promotion will be effective.
|
void |
setRlCouponExpirationDays(int i)
Sets the coupon expiration days.
|
void |
setRlCurrency(java.lang.String newRlCurrency)
Stores the default currency for the discount.
|
void |
setRlDateRanged(boolean newRlDateRanged)
Stores whether or not the date is ranged.
|
void |
setRlDaysInWeek(java.lang.String[] newRlDaysInWeek)
Stores Days of Week.
|
void |
setRlDescription(java.lang.String newRlDescription)
Stores the description of the discount.
|
void |
setRlDescriptionNL(java.lang.String newRlDescriptionNL)
Stores the translated description of the discount.
|
void |
setRlDiscountItemQty(java.lang.String newRlDiscountItemQty)
Stores the quantity of the discounted item.
|
void |
setRlDiscountItemSku(java.lang.String newRlDiscountItemSku)
Stores the SKU number of the discounted item.
|
void |
setRlDiscountPercentage(java.lang.String newRlDiscountPercentage)
Stores the percentage of discount offered for the discounted SKU.
|
void |
setRlEndDay(java.lang.String newRlEndDay)
Stores the day when the discount will expire.
|
void |
setRlEndHour(java.lang.String newRlEndHour)
Stores the hour of the day when the discount will expire.
|
void |
setRlEndMonth(java.lang.String newRlEndMonth)
Stores the month of the year when the discount will expire.
|
void |
setRlEndYear(java.lang.String newRlEndYear)
Stores the year when the discount will expire.
|
void |
setRlExclusiveness(int i)
Sets the value of promotion exclusiveness.
|
void |
setRlInCombinationWith(boolean newRlInCombinationWith)
Stores whether or not the discount can be combined with other discounts.
|
void |
setRlIsCoupon(boolean b)
Sets true if the promotion is a coupon promotion.
|
void |
setRlIsEveryDayFlag(boolean newRlIsEveryDayFlag)
Stores whether or not the discount is valid for all day through the week.
|
void |
setRlLongDescriptionNL(java.lang.String newRlLongDescriptionNL)
stores the translated long description
|
void |
setRlMaxDiscountItemQty(java.lang.String newRlMaxDiscountItemQty)
Stores the maximum quantity of the discounted item that can be given.
|
void |
setRlName(java.lang.String newRlName)
Stores the name of the discount.
|
void |
setRlPerOrderLimit(int i)
Sets the number of limit this promotion could be applied per order.
|
void |
setRlPerShopperLimit(int i)
Sets the number of limit this promotion could be applied per customer.
|
void |
setRlPriority(java.lang.String newRlPriority)
Stores the discount priority based in which it will be selected.
|
void |
setRlProdPromoTypeAlias(java.lang.String string)
Sets the alias name for the product promotion type.
|
void |
setRlProductSku(java.util.Vector newRlProductSku)
Stores the SKU of the product.
|
void |
setRlProdXSku(java.lang.String newRlProdXSku)
Stores the SKU of the discounted product.
|
void |
setRlPromotionCatEntryID(java.util.Vector newRlPromotionCatEntryID)
Stores the CATENTRY ID for the promotion merchandise.
|
void |
setRlPromotionCatEntryType(java.lang.String newRlPromotionCatEntryType)
Stores the type of the merchandise.
|
void |
setRlPromotionCatGroupCode(java.lang.String[] newRlPromotionCatGroupCode)
Sets the CatGroup Identifiers.
|
void |
setRlPromotionCatGroupID(java.lang.String[] newRlPromotionCatGroupID)
Sets the CatGroup IDs.
|
void |
setRlPromotionCode(java.lang.String string)
Sets the promotion code.
|
void |
setRlPromotionGroupName(java.lang.String string)
Sets the promotion group name.
|
void |
setRlPromotionGWPCatEntryID(java.lang.String newRlPromotionGWPCatEntryID)
Stores the CATENTRY ID for the free gift item.
|
void |
setRlPromotionMerchandiseType(java.lang.String newRlPromotionMerchandiseType)
Sets the promotion merchandise type.
|
void |
setRlPromotionRevision(int newRlPromotionRevision)
Sets the promotion revision.
|
void |
setRlPromotionType(java.lang.String newRlPromotionType)
Stores the discount type that is created.
|
void |
setRlPromotionVersion(int newRlPromotionVersion)
Sets the promotion version.
|
void |
setRlRanges(java.lang.String[] newRlRanges)
Stores the quantity ranges of items to qualify for the discount.
|
void |
setRlRequiredQty(java.lang.String newRlRequiredQty)
Quantity Required to qualify for the discount.
|
void |
setRlShipModeId(java.lang.String newRlShipModeId)
This field stores the shipping mode for which the discount has been defined.
|
void |
setRlStartDay(java.lang.String newRlStartDay)
Set the discount start date.
|
void |
setRlStartHour(java.lang.String newRlStartHour)
Stores the hour of the day when the discount gets effective.
|
void |
setRlStartMonth(java.lang.String newRlStartMonth)
Stores the month of the year from when the discount gets effective.
|
void |
setRlStartYear(java.lang.String newRlStartYear)
Stores the year from when the discount gets effective.
|
void |
setRlStatus(int newRlStatus)
Sets the promotion status.
|
void |
setRlTargetSales(java.lang.String newRlTargetSales)
Stores the sales target for this discount.
|
void |
setRlTimeRanged(boolean newRlTimeRanged)
Sets to true if the time range is specified.
|
void |
setRlTotalLimit(int i)
Sets the promotion total limits.
|
void |
setRlValue(java.lang.String newRlValue)
Set the value of this discount.
|
void |
setRlValues(java.lang.String[] newRlValues)
Stores the discount percentage for the corresponding discount ranges.
|
void |
setRuleXML(java.lang.String newRuleXML)
Stores the Discount Rule XML.
|
void |
setStartDate(java.lang.String newStartDate)
Stores the date from which the discount will get effective.
|
void |
setValidForAllCustomers(boolean newValidForAllCustomers)
Stores whether or not the discount is valid for all customer segments.
|
getDelegate, getOwner
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fulfills
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public RLProductDiscountDataBean()
public java.lang.String[] getAssignedSegments()
public java.lang.String getCalcodeId()
public java.lang.String getRlCurrency()
public boolean getRlDateRanged()
public java.lang.String[] getRlDaysInWeek()
public java.lang.String getRlDescription()
public java.lang.String getRlDescriptionNL()
public java.lang.String getRlDiscountItemQty()
public java.lang.String getRlDiscountItemSku()
public java.lang.String getRlDiscountPercentage()
public java.lang.String getRlEndDay()
public java.lang.String getRlEndHour()
public java.lang.String getRlEndMonth()
public java.lang.String getRlEndYear()
public boolean getRlInCombinationWith()
public boolean getRlIsEveryDayFlag()
public java.lang.String getRlLongDescriptionNL()
public java.lang.String getRlMaxDiscountItemQty()
public java.lang.String getRlName()
public java.lang.String getRlPriority()
public java.util.Vector getRlProductSku()
public java.lang.String getRlProdXSku()
public java.util.Vector getRlPromotionCatEntryID()
public java.lang.String getRlPromotionCatEntryType()
public java.lang.String getRlPromotionGWPCatEntryID()
public java.lang.String getRlPromotionType()
public java.lang.String[] getRlRanges()
public java.lang.String getRlRequiredQty()
public java.lang.String getRlStartDay()
public java.lang.String getRlStartHour()
public java.lang.String getRlStartMonth()
public java.lang.String getRlStartYear()
public java.lang.String getRlTargetSales()
public java.lang.String getRlValue()
public java.lang.String[] getRlValues()
public java.lang.String getRuleXML()
public java.lang.String getStartDate()
public boolean getValidForAllCustomers()
public void populate() throws java.lang.Exception
DataBeanmanager.activate()
runs.populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
ECException
- The exception might be thrown when querying database.java.lang.Exception
- This method should never be thrown because there is no data retrieved to populate the data bean.public void setAssignedSegments(java.lang.String[] newAssignedSegments)
member groups
who can use this discount.The
- list of member groups
who can use this discount.public void setCalcodeId(java.lang.String newCalcodeId)
The
- CALCODE ID.public void setFlag(boolean newFlag)
newFlag
- booleanpublic void setRlCurrency(java.lang.String newRlCurrency)
The
- default currency for the discount.public void setRlDateRanged(boolean newRlDateRanged)
boolean
- value if the date is ranged.public void setRlDaysInWeek(java.lang.String[] newRlDaysInWeek)
The
- days of week.public void setRlDescription(java.lang.String newRlDescription)
The
- description of the discount.public void setRlDescriptionNL(java.lang.String newRlDescriptionNL)
The
- translated description of the discount.public void setRlDiscountItemQty(java.lang.String newRlDiscountItemQty)
The
- quantity of the discounted item.public void setRlDiscountItemSku(java.lang.String newRlDiscountItemSku)
The
- SKU number of the discounted item.public void setRlDiscountPercentage(java.lang.String newRlDiscountPercentage)
The
- percentage of discount offered for the discounted SKU.public void setRlEndDay(java.lang.String newRlEndDay)
The
- day when the discount will expire.public void setRlEndHour(java.lang.String newRlEndHour)
The
- hour of the day when the discount will expire.public void setRlEndMonth(java.lang.String newRlEndMonth)
The
- month of the year when the discount will expire.public void setRlEndYear(java.lang.String newRlEndYear)
The
- year when the discount will expire.public void setRlInCombinationWith(boolean newRlInCombinationWith)
True
- if the discount can be combined with other discounts, otherwise false.public void setRlIsEveryDayFlag(boolean newRlIsEveryDayFlag)
boolean
- value indicates whether or not the discount is valid for all day through the week.public void setRlLongDescriptionNL(java.lang.String newRlLongDescriptionNL)
The
- translated long description.public void setRlMaxDiscountItemQty(java.lang.String newRlMaxDiscountItemQty)
The
- maximum quantity of the discounted item that can be given.public void setRlName(java.lang.String newRlName)
The
- name of the discount.public void setRlPriority(java.lang.String newRlPriority)
The
- discount priority based in which it will be selected.public void setRlProductSku(java.util.Vector newRlProductSku)
The
- SKU of the product.public void setRlProdXSku(java.lang.String newRlProdXSku)
The
- SKU of the discounted product.public void setRlPromotionCatEntryID(java.util.Vector newRlPromotionCatEntryID)
The
- CATENTRY ID for the promotion merchandise.public void setRlPromotionCatEntryType(java.lang.String newRlPromotionCatEntryType)
The
- type of the merchandise.public void setRlPromotionGWPCatEntryID(java.lang.String newRlPromotionGWPCatEntryID)
The
- CATENTRY ID for the free gift item.public void setRlPromotionType(java.lang.String newRlPromotionType)
The
- discount type that is created.public void setRlRanges(java.lang.String[] newRlRanges)
The
- quantity ranges of items to qualify for the discount.public void setRlRequiredQty(java.lang.String newRlRequiredQty)
newRlRequiredQty
- java.lang.Stringpublic void setRlStartDay(java.lang.String newRlStartDay)
The
- discount start date.public void setRlStartHour(java.lang.String newRlStartHour)
The
- hour of the day when the discount gets effective.public void setRlStartMonth(java.lang.String newRlStartMonth)
The
- month of the year from when the discount gets effective.public void setRlStartYear(java.lang.String newRlStartYear)
The
- year from when the discount gets effective.public void setRlTargetSales(java.lang.String newRlTargetSales)
The
- sales target for this discount.public void setRlValue(java.lang.String newRlValue)
The
- value of this discount.public void setRlValues(java.lang.String[] newRlValues)
The
- discount percentage for the corresponding discount ranges.public void setRuleXML(java.lang.String newRuleXML)
The
- Discount Rule XML.public void setStartDate(java.lang.String newStartDate)
The
- date from which the discount will get effective.public void setValidForAllCustomers(boolean newValidForAllCustomers)
Set
- to true if the discount is valid for all customer segments.public boolean getRlTimeRanged()
public void setRlTimeRanged(boolean newRlTimeRanged)
True
- if the time range is specified.public java.lang.String getRlPromotionMerchandiseType()
public void setRlPromotionMerchandiseType(java.lang.String newRlPromotionMerchandiseType)
The
- promotion merchandise type.public void setRlPromotionCatGroupCode(java.lang.String[] newRlPromotionCatGroupCode)
The
- CatGroup Identifiers.public void setRlPromotionCatGroupID(java.lang.String[] newRlPromotionCatGroupID)
The
- CatGroup IDs.public java.lang.String[] getRlPromotionCatGroupCode()
public java.lang.String[] getRlPromotionCatGroupID()
public java.lang.String getRlProdPromoTypeAlias()
public void setRlProdPromoTypeAlias(java.lang.String string)
the
- alias name for the product promotion type.public void setRlShipModeId(java.lang.String newRlShipModeId)
the
- shipping mode for which the discount has been defined.public java.lang.String getRlShipModeId()
public boolean getRlCodeRequired()
public int getRlCouponEffectiveDays()
public int getRlCouponExpirationDays()
public int getRlExclusiveness()
public boolean getRlIsCoupon()
public int getRlPerOrderLimit()
public int getRlPerShopperLimit()
public java.lang.String getRlPromotionCode()
public java.lang.String getRlPromotionGroupName()
public int getRlPromotionVersion()
public int getRlPromotionRevision()
public int getRlStatus()
public int getRlTotalLimit()
public int getRlAdjustmentType()
public void setRlCodeRequired(boolean b)
TRUE
- if the promotion requires a promotion code.public void setRlCouponEffectiveDays(int i)
the
- number of days this coupon promotion will be effective.public void setRlCouponExpirationDays(int i)
the
- coupon expiration days.public void setRlExclusiveness(int i)
the
- value of promotion exclusiveness.public void setRlIsCoupon(boolean b)
true
- if the promotion is a coupon promotion.public void setRlPerOrderLimit(int i)
the
- number of limit this promotion could be applied per order.public void setRlPerShopperLimit(int i)
the
- number of limit this promotion could be applied per customer.public void setRlPromotionCode(java.lang.String string)
The
- promotion code.public void setRlPromotionGroupName(java.lang.String string)
The
- promotion group name.public void setRlPromotionVersion(int newRlPromotionVersion)
The
- promotion version.public void setRlPromotionRevision(int newRlPromotionRevision)
The
- promotion revision.public void setRlStatus(int newRlStatus)
The
- promotion status.public void setRlTotalLimit(int i)
The
- promotion total limits.public void setRlAdjustmentType(int newAdjustmentType)
The
- promotion reward adjustment type.public java.lang.String[] getAssignedSegmentIds()
public void setAssignedSegmentIds(java.lang.String[] newAssignedSegmentIds)
The
- list of member group IDs who can use this discount.