com.ibm.commerce.tools.epromotion.databeans
Class RLProductDiscountDataBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.tools.epromotion.beansrc.RLProductDiscountDataBeanBase
                    |
                    +--com.ibm.commerce.tools.epromotion.databeans.RLProductDiscountDataBean
All Implemented Interfaces:
DataBean, InputDataBean, RLConstants, java.io.Serializable, SmartDataBean

public class RLProductDiscountDataBean
extends RLProductDiscountDataBeanBase
implements RLConstants

This DataBean is used to retrive information about ProductLevel (Products,Items, Packages) and CategoryLevel discounts .

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          the copyright information
 
Fields inherited from class com.ibm.commerce.beans. SmartDataBeanImpl
commandContext
 
Fields inherited from class com.ibm.commerce.beans. InputDataBeanImpl
requestProperties
 
Fields inherited from interface com.ibm.commerce.tools.epromotion. RLConstants
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_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, RLPROMOTION, 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_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_FRIDAY, RLPROMOTION_GWP_CATENTRY_ID, RLPROMOTION_INCOMBINATIONWITH, RLPROMOTION_ISEVERYDAYFLAG, RLPROMOTION_ITEMLEVELBUYXGETYFREE, RLPROMOTION_ITEMLEVELPERCENTDISCOUNT, RLPROMOTION_ITEMLEVELPERITEMVALUEDISCOUNT, RLPROMOTION_ITEMLEVELSAMEITEMPERCENTDISCOUNT, RLPROMOTION_ITEMLEVELVALUEDISCOUNT, RLPROMOTION_MAX_DISCOUNT_ITEM_QTY, RLPROMOTION_MERCHANDISE_TYPE, RLPROMOTION_MONDAY, RLPROMOTION_NAME, RLPROMOTION_ORDERLEVELFIXEDSHIPPINGDISCOUNT, RLPROMOTION_ORDERLEVELFREEGIFT, RLPROMOTION_ORDERLEVELPERCENTDISCOUNT, RLPROMOTION_ORDERLEVELVALUEDISCOUNT, RLPROMOTION_PRIORITY, RLPROMOTION_PROD_SEARCH_PAGE, RLPROMOTION_PRODUCT_SKU, RLPROMOTION_PRODUCTLEVELBUYXGETYFREE, RLPROMOTION_PRODUCTLEVELPERCENTDISCOUNT, RLPROMOTION_PRODUCTLEVELPERITEMVALUEDISCOUNT, RLPROMOTION_PRODUCTLEVELSAMEITEMPERCENTDISCOUNT, RLPROMOTION_PRODUCTLEVELVALUEDISCOUNT, RLPROMOTION_RANGES, RLPROMOTION_REQUIRED_QTY, RLPROMOTION_RESOURCES, RLPROMOTION_SATURDAY, RLPROMOTION_SHIPMODEID, RLPROMOTION_STARTDAY, RLPROMOTION_STARTHOUR, RLPROMOTION_STARTMONTH, RLPROMOTION_STARTYEAR, RLPROMOTION_SUNDAY, RLPROMOTION_TARGETSALES, RLPROMOTION_THURSDAY, RLPROMOTION_TIMERANGED, RLPROMOTION_TUESDAY, RLPROMOTION_TYPE, RLPROMOTION_VALIDFORALLCUSTOMERS, RLPROMOTION_VALUE, RLPROMOTION_VALUES, RLPROMOTION_WEDNESDAY, ZERO_STRING
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Constructor Summary
RLProductDiscountDataBean()
          RLProductDiscountDataBean constructor.
 
Method Summary
 java.lang.String[] getAssignedSegments()
          Returns the list of Member Groups the discount is assinged to.
 java.lang.String getCalcodeId()
          Returns the CalCodeID associated with this discount.
 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-Nl description of the discount.
 java.lang.String getRlDescriptionNL()
          Returns the Nl Description of the discount.
 java.lang.String getRlDiscountItemQty()
          Reurns 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()
          Retuns 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.
 boolean getRlInCombinationWith()
          Indicates whether or not this discount can be combined with other discount for the same purchase.
 boolean getRlIsEveryDayFlag()
          Indicates whether the discount is valid throught the week.
 java.lang.String getRlLongDescriptionNL()
          returns NL long description
 java.lang.String getRlMaxDiscountItemQty()
          Returns the Maximun quantity of the discounted Item that can be given free with purchase
 java.lang.String getRlName()
          Returns the Name of the discount.
 java.lang.String getRlPriority()
          Returns the Discount Priority.As discount will be choosen for a purchase based on the priority.
 java.util.Vector getRlProductSku()
          returns the SKU f 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 ID's.
 java.lang.String getRlPromotionGWPCatEntryID()
          returns the catentry_id of the free gift SKU
 java.lang.String getRlPromotionMerchandiseType()
          Gets the rlPromotionMerchandiseType.
 java.lang.String getRlPromotionType()
          Returns the Type of promotion,
 java.lang.String[] getRlRanges()
          Returns quantity range to qualify for this discount.
 java.lang.String getRlRequiredQty()
          Returns the quatinty required to be purchased to qualify for the discount.
 java.lang.String getRlStartDay()
          Retuns the day from which the discount gets active
 java.lang.String getRlStartHour()
          returns the hour when the discount becomes 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.
 java.lang.String getRlTargetSales()
          retuns the sales traget for the discount.
 boolean getRlTimeRanged()
          Gets the rlTimeRanged.
 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 RULEXML from the RLDISCOUNT table.
 java.lang.String getStartDate()
          Retuns the date from which the discount becomes active.
 boolean getValidForAllCustomers()
          Returns whether the discount is valid for all customers.
 void populate()
          Default method that needs to be implemented.
 void setAssignedSegments(java.lang.String[] newAssignedSegments)
          Stores the list of membergroups who can use this discount.
 void setCalcodeId(java.lang.String newCalcodeId)
          Stores the CALCODEID
 void setFlag(boolean newFlag)
          For Internal Use
 void setRlCurrency(java.lang.String newRlCurrency)
          Stores the dafault 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 Nl Description of the discount.
 void setRlDiscountItemQty(java.lang.String newRlDiscountItemQty)
          Stores the quantity of the dicounted 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 setRlInCombinationWith(boolean newRlInCombinationWith)
          Stores whether or not the discount can be combined with other discounts.
 void setRlIsEveryDayFlag(boolean newRlIsEveryDayFlag)
          Stores whether or not he discount is valid for all day thru the week.
 void setRlLongDescriptionNL(java.lang.String newRlLongDescriptionNL)
          stores the NL 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 setRlPriority(java.lang.String newRlPriority)
          Stores the discount priority based in which it will be selected.
 void setRlProductSku(java.util.Vector newRlProductSku)
          Stores the SKu of the discounted 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 setRlPromotionGWPCatEntryID(java.lang.String newRlPromotionGWPCatEntryID)
          Stores the catentry_id for the free gift item
 void setRlPromotionMerchandiseType(java.lang.String newRlPromotionMerchandiseType)
          Sets the rlPromotionMerchandiseType.
 void setRlPromotionType(java.lang.String newRlPromotionType)
          Stores the discount type that is created.
 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 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 becomes effective.
 void setRlStartMonth(java.lang.String newRlStartMonth)
          Stores the month of the year from when the discount become effective.
 void setRlStartYear(java.lang.String newRlStartYear)
          Stores the Year from when the discount gets effective.
 void setRlTargetSales(java.lang.String newRlTargetSales)
          Stores the sales target for this discount.
 void setRlTimeRanged(boolean newRlTimeRanged)
          Sets the rlTimeRanged
 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 groups.
 
Methods inherited from class com.ibm.commerce.tools.epromotion.beansrc. RLProductDiscountDataBeanBase
getDelegate, getOwner
 
Methods inherited from class com.ibm.commerce.beans. SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
 
Methods inherited from class com.ibm.commerce.beans. InputDataBeanImpl
getRequestProperties, setRequestProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.beans. InputDataBean
getRequestProperties, setRequestProperties
 

Field Detail
public static final java.lang.String COPYRIGHT
the copyright information
See Also:
Constant Field Values
Constructor Detail

RLProductDiscountDataBean

public RLProductDiscountDataBean()
RLProductDiscountDataBean constructor.
Method Detail

getAssignedSegments

public java.lang.String[] getAssignedSegments()
Returns the list of Member Groups the discount is assinged to.
Returns:
java.util.Vector

getCalcodeId

public java.lang.String getCalcodeId()
Returns the CalCodeID associated with this discount.
Returns:
java.lang.String

getRlCurrency

public java.lang.String getRlCurrency()
Returns the Default Currency for this discount
Returns:
java.lang.String

getRlDateRanged

public boolean getRlDateRanged()
Indicates whether the Date is ranged
Returns:
boolean

getRlDaysInWeek

public java.lang.String[] getRlDaysInWeek()
Returns the list of days in a week during when the discount is valid.
Returns:
java.util.Vector

getRlDescription

public java.lang.String getRlDescription()
Returns the Non-Nl description of the discount.
Returns:
java.lang.String

getRlDescriptionNL

public java.lang.String getRlDescriptionNL()
Returns the Nl Description of the discount.
Returns:
java.lang.String

getRlDiscountItemQty

public java.lang.String getRlDiscountItemQty()
Reurns the quantity of the discounted Item that will be given free with the purchase.
Returns:
java.lang.String

getRlDiscountItemSku

public java.lang.String getRlDiscountItemSku()
Returns SKU of the item that will be given free with purchase.
Returns:
java.lang.String

getRlDiscountPercentage

public java.lang.String getRlDiscountPercentage()
Retuns the percentage of discount that will be offered if purchase qualifies for discount.
Returns:
java.lang.String

getRlEndDay

public java.lang.String getRlEndDay()
Returns the day when the discount gets inactive.
Returns:
java.lang.String

getRlEndHour

public java.lang.String getRlEndHour()
Returns the Hour when the discount will get inactive.
Returns:
java.lang.String

getRlEndMonth

public java.lang.String getRlEndMonth()
Returns the Month when the discount will get inactive.
Returns:
java.lang.String

getRlEndYear

public java.lang.String getRlEndYear()
Returns the year when the discount will get inactive.
Returns:
java.lang.String

getRlInCombinationWith

public boolean getRlInCombinationWith()
Indicates whether or not this discount can be combined with other discount for the same purchase.
Returns:
boolean

getRlIsEveryDayFlag

public boolean getRlIsEveryDayFlag()
Indicates whether the discount is valid throught the week.
Returns:
boolean

getRlLongDescriptionNL

public java.lang.String getRlLongDescriptionNL()
returns NL long description
Returns:
java.lang.String

getRlMaxDiscountItemQty

public java.lang.String getRlMaxDiscountItemQty()
Returns the Maximun quantity of the discounted Item that can be given free with purchase
Returns:
java.lang.String

getRlName

public java.lang.String getRlName()
Returns the Name of the discount.
Returns:
java.lang.String

getRlPriority

public java.lang.String getRlPriority()
Returns the Discount Priority.As discount will be choosen for a purchase based on the priority.
Returns:
java.lang.String

getRlProductSku

public java.util.Vector getRlProductSku()
returns the SKU f the item for which the promotion is created.
Returns:
java.lang.String

getRlProdXSku

public java.lang.String getRlProdXSku()
returns the product SKU (in same item free discount type)
Returns:
java.lang.String

getRlPromotionCatEntryID

public java.util.Vector getRlPromotionCatEntryID()
returns the catentry_id of the product on discount
Returns:
java.util.Vector //cep

getRlPromotionCatEntryType

public java.lang.String getRlPromotionCatEntryType()
returns the type of the catentry which is being promoted
Returns:
java.lang.String

getRlPromotionGWPCatEntryID

public java.lang.String getRlPromotionGWPCatEntryID()
returns the catentry_id of the free gift SKU
Returns:
java.lang.String

getRlPromotionType

public java.lang.String getRlPromotionType()
Returns the Type of promotion,
Returns:
java.lang.String

getRlRanges

public java.lang.String[] getRlRanges()
Returns quantity range to qualify for this discount.
Returns:
java.util.Vector

getRlRequiredQty

public java.lang.String getRlRequiredQty()
Returns the quatinty required to be purchased to qualify for the discount.
Returns:
java.lang.String

getRlStartDay

public java.lang.String getRlStartDay()
Retuns the day from which the discount gets active
Returns:
java.lang.String

getRlStartHour

public java.lang.String getRlStartHour()
returns the hour when the discount becomes active.
Returns:
java.lang.String

getRlStartMonth

public java.lang.String getRlStartMonth()
Returns the month from which the discount gets active.
Returns:
java.lang.String

getRlStartYear

public java.lang.String getRlStartYear()
Returns the Year from which the discount gets active.
Returns:
java.lang.String

getRlTargetSales

public java.lang.String getRlTargetSales()
retuns the sales traget for the discount.
Returns:
java.lang.String

getRlValue

public java.lang.String getRlValue()
returns the discount range value
Returns:
java.lang.String

getRlValues

public java.lang.String[] getRlValues()
Returns the discount values for the discount ranges created.
Returns:
java.util.Vector

getRuleXML

public java.lang.String getRuleXML()
Returns the RULEXML from the RLDISCOUNT table.
Returns:
java.lang.String

getStartDate

public java.lang.String getStartDate()
Retuns the date from which the discount becomes active.
Returns:
java.lang.String

getValidForAllCustomers

public boolean getValidForAllCustomers()
Returns whether the discount is valid for all customers.
Returns:
boolean

populate

public void populate()
              throws java.lang.Exception
Default method that needs to be implemented.
Specified by:
populate in interface SmartDataBean
Overrides:
populate in class SmartDataBeanImpl
Throws:
ECException - The exception description.
java.lang.Exception - should not happen since there is no data retrieved to populate the databean.

setAssignedSegments

public void setAssignedSegments(java.lang.String[] newAssignedSegments)
Stores the list of membergroups who can use this discount.
Parameters:
newAssignedSegments - java.util.Vector

setCalcodeId

public void setCalcodeId(java.lang.String newCalcodeId)
Stores the CALCODEID
Parameters:
newCalcodeId - java.lang.String

setFlag

public void setFlag(boolean newFlag)
For Internal Use
Parameters:
newFlag - boolean

setRlCurrency

public void setRlCurrency(java.lang.String newRlCurrency)
Stores the dafault currency for the discount.
Parameters:
newRlCurrency - java.lang.String

setRlDateRanged

public void setRlDateRanged(boolean newRlDateRanged)
Stores whether or not the date is ranged.
Parameters:
newRlDateRanged - boolean

setRlDaysInWeek

public void setRlDaysInWeek(java.lang.String[] newRlDaysInWeek)
Stores Days of Week.
Parameters:
newRlDaysInWeek - java.util.Vector

setRlDescription

public void setRlDescription(java.lang.String newRlDescription)
Stores the description of the discount.
Parameters:
newRlDescription - java.lang.String

setRlDescriptionNL

public void setRlDescriptionNL(java.lang.String newRlDescriptionNL)
Stores the Nl Description of the discount.
Parameters:
newRlDescriptionNL - java.lang.String

setRlDiscountItemQty

public void setRlDiscountItemQty(java.lang.String newRlDiscountItemQty)
Stores the quantity of the dicounted Item.
Parameters:
newRlDiscountItemQty - java.lang.String

setRlDiscountItemSku

public void setRlDiscountItemSku(java.lang.String newRlDiscountItemSku)
Stores the SKU number of the discounted item.
Parameters:
newRlDiscountItemSku - java.lang.String

setRlDiscountPercentage

public void setRlDiscountPercentage(java.lang.String newRlDiscountPercentage)
Stores the Percentage of discount offered for the discounted sku
Parameters:
newRlDiscountPercentage - java.lang.String

setRlEndDay

public void setRlEndDay(java.lang.String newRlEndDay)
Stores the Day when the discount will expire
Parameters:
newRlEndDay - java.lang.String

setRlEndHour

public void setRlEndHour(java.lang.String newRlEndHour)
stores the hour of the day when the discount will expire.
Parameters:
newRlEndHour - java.lang.String

setRlEndMonth

public void setRlEndMonth(java.lang.String newRlEndMonth)
Stores the month of the year when the discount will expire.
Parameters:
newRlEndMonth - java.lang.String

setRlEndYear

public void setRlEndYear(java.lang.String newRlEndYear)
Stores the year when the discount will expire.
Parameters:
newRlEndYear - java.lang.String

setRlInCombinationWith

public void setRlInCombinationWith(boolean newRlInCombinationWith)
Stores whether or not the discount can be combined with other discounts.
Parameters:
newRlInCombinationWith - boolean

setRlIsEveryDayFlag

public void setRlIsEveryDayFlag(boolean newRlIsEveryDayFlag)
Stores whether or not he discount is valid for all day thru the week.
Parameters:
newRlIsEveryDayFlag - boolean

setRlLongDescriptionNL

public void setRlLongDescriptionNL(java.lang.String newRlLongDescriptionNL)
stores the NL long description
Parameters:
newRlLongDescriptionNL - java.lang.String

setRlMaxDiscountItemQty

public void setRlMaxDiscountItemQty(java.lang.String newRlMaxDiscountItemQty)
Stores the maximum quantity of the discounted item that can be given.
Parameters:
newRlMaxDiscountItemQty - java.lang.String

setRlName

public void setRlName(java.lang.String newRlName)
Stores the Name of the discount.
Parameters:
newRlName - java.lang.String

setRlPriority

public void setRlPriority(java.lang.String newRlPriority)
Stores the discount priority based in which it will be selected.
Parameters:
newRlPriority - java.lang.String

setRlProductSku

public void setRlProductSku(java.util.Vector newRlProductSku)
Stores the SKu of the discounted product.
Parameters:
newRlProductSku - java.lang.String

setRlProdXSku

public void setRlProdXSku(java.lang.String newRlProdXSku)
Stores the SKu of the discounted product.
Parameters:
newRlProdXSku - java.lang.String

setRlPromotionCatEntryID

public void setRlPromotionCatEntryID(java.util.Vector newRlPromotionCatEntryID)
Stores the catentry_id for the promotion merchandise
Parameters:
newRlPromotionCatEntryID - java.util.Vector //cep

setRlPromotionCatEntryType

public void setRlPromotionCatEntryType(java.lang.String newRlPromotionCatEntryType)
Stores the type of the merchandise
Parameters:
newRlPromotionCatEntryType - java.lang.String

setRlPromotionGWPCatEntryID

public void setRlPromotionGWPCatEntryID(java.lang.String newRlPromotionGWPCatEntryID)
Stores the catentry_id for the free gift item
Parameters:
newRlPromotionGWPCatEntryID - java.lang.String

setRlPromotionType

public void setRlPromotionType(java.lang.String newRlPromotionType)
Stores the discount type that is created.
Parameters:
newRlPromotionType - java.lang.String

setRlRanges

public void setRlRanges(java.lang.String[] newRlRanges)
Stores the quantity ranges of items to qualify for the discount.
Parameters:
newRlRanges - java.util.Vector

setRlRequiredQty

public void setRlRequiredQty(java.lang.String newRlRequiredQty)
Quantity Required to qualify for the discount.
Parameters:
newRlRequiredQty - java.lang.String

setRlStartDay

public void setRlStartDay(java.lang.String newRlStartDay)
Set the Discount Start Date
Parameters:
newRlStartDay - java.lang.String

setRlStartHour

public void setRlStartHour(java.lang.String newRlStartHour)
Stores the hour of the day when the discount becomes effective.
Parameters:
newRlStartHour - java.lang.String

setRlStartMonth

public void setRlStartMonth(java.lang.String newRlStartMonth)
Stores the month of the year from when the discount become effective.
Parameters:
newRlStartMonth - java.lang.String

setRlStartYear

public void setRlStartYear(java.lang.String newRlStartYear)
Stores the Year from when the discount gets effective.
Parameters:
newRlStartYear - java.lang.String

setRlTargetSales

public void setRlTargetSales(java.lang.String newRlTargetSales)
Stores the sales target for this discount.
Parameters:
newRlTargetSales - java.lang.String

setRlValue

public void setRlValue(java.lang.String newRlValue)
Set the value of this discount
Parameters:
newRlValue - java.lang.String

setRlValues

public void setRlValues(java.lang.String[] newRlValues)
Stores the discount percentage for the corresponding discount ranges.
Parameters:
newRlValues - java.util.Vector

setRuleXML

public void setRuleXML(java.lang.String newRuleXML)
Stores the Discount Rule Xml.
Parameters:
newRuleXML - java.lang.String

setStartDate

public void setStartDate(java.lang.String newStartDate)
Stores the date from which the discount will get effective.
Parameters:
newStartDate - java.lang.String

setValidForAllCustomers

public void setValidForAllCustomers(boolean newValidForAllCustomers)
Stores whether or not the discount is valid for all customer groups.
Parameters:
newValidForAllCustomers - boolean

getRlTimeRanged

public boolean getRlTimeRanged()
Gets the rlTimeRanged. This method returnd true if the time range is specified.
Returns:
Returns a boolean

setRlTimeRanged

public void setRlTimeRanged(boolean newRlTimeRanged)
Sets the rlTimeRanged

getRlPromotionMerchandiseType

public java.lang.String getRlPromotionMerchandiseType()
Gets the rlPromotionMerchandiseType. This method returns ItemBean if Merchandise is Item type ProductBean if Merchandise is Product type Category if Merchandise is Category type
Returns:
java.lang.String

setRlPromotionMerchandiseType

public void setRlPromotionMerchandiseType(java.lang.String newRlPromotionMerchandiseType)
Sets the rlPromotionMerchandiseType.

setRlPromotionCatGroupCode

public void setRlPromotionCatGroupCode(java.lang.String[] newRlPromotionCatGroupCode)
Sets the CatGroup Identifiers.

setRlPromotionCatGroupID

public void setRlPromotionCatGroupID(java.lang.String[] newRlPromotionCatGroupID)
Sets the CatGroup IDs.

getRlPromotionCatGroupCode

public java.lang.String[] getRlPromotionCatGroupCode()
Returns an array of CatGroup Identifiers.
Returns:
String[]

getRlPromotionCatGroupID

public java.lang.String[] getRlPromotionCatGroupID()
Returns an array of CatGroup ID's.
Returns:
String[]