public class RLDiscountDataBean extends RLDiscountDataBeanBase implements RLConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The copyright information.
|
Constructor and Description |
---|
RLDiscountDataBean()
The default RLDiscountDataBean constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean | getAllGroups()
Gets the boolean value of whether or not the discount is valid for all.
|
java.lang.String[] | getAssignedSegments()
Returns the list of MemberGroups for which this discount is valid.
|
java.lang.String | getCalcodeId()
Returns the CalCodeId assigned for this discount.
|
java.lang.String | getRlCurrency()
Returns the currency specified for the store.
|
boolean | getRlDateRanged()
This returns whether or not the date is ranged.
|
java.lang.String[] | getRlDaysInWeek()
Returns the list of days, the discount is applicable for.
|
java.lang.String | getRlDescription()
Gets the non-translatable description of the discount.
|
java.lang.String | getRlDescriptionNL()
Gets the translatable description of the discount.
|
java.lang.String | getRlDiscountItemQty()
Returns the quantity of the discounted items.
|
java.lang.String | getRlDiscountItemSku()
Returns the SKU of the discounted items.
|
java.lang.String | getRlEndDay()
Returns the day when the discount ends.
|
java.lang.String | getRlEndHour()
Returns the time when the discount ends.
|
java.lang.String | getRlEndMonth()
Returns the month when the discount ends.
|
java.lang.String | getRlEndYear()
Returns the year when the discount ends.
|
boolean | getRlInCombinationWith()
Returns whether or not this discount can be combined with other discounts.
|
boolean | getRlIsEveryDayFlag()
Indicated whether or not this discount is valid through the week.
|
java.lang.String | getRlLongDescriptionNL()
Returns the translatable long description of the discount.
|
java.lang.String | getRlName()
Returns Name of the Discount.
|
java.lang.String | getRlPriority()
Returns Discount Priority.
|
java.lang.String | getRlPromotionGWPCatEntryID()
Returns the Catentry ID of the free gift SKU.
|
java.lang.String | getRlPromotionType()
Returns Discount Type.
|
java.lang.String[] | getRlRanges()
Returns the list of ranges defined to qualify for the discount.
|
java.lang.String | getRlRequiredQty()
Returns the Minimum Quantity that needs 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 on which this discount starts.
|
java.lang.String | getRlStartHour()
Returns the hour from which this discount gets active.
|
java.lang.String | getRlStartMonth()
Returns the month from which this discount gets active.
|
java.lang.String | getRlStartYear()
Returns the year from which this discount gets active.
|
java.lang.String | getRlTargetSales()
Returns the target sales amount for this discount.
|
boolean | getRlTimeRanged()
Gets the rlTimeRanged.
|
java.lang.String[] | getRlValues()
Returns the discount values corresponding to the discount ranges.
|
java.lang.String | getRuleXML()
Returns the Rule XML from the RLDISCOUNT table.
|
java.lang.String | getStartDate()
Returns the date from which the discount is active.
|
boolean | getValidForAllCustomers()
Returns whether or not the discount is valid for all customer groups.
|
void | populate()
This method is called to populate the attributes of this DataBean.
|
void | setAllGroups(boolean newAllGroups)
Indicates whether the discount is valid for all customer groups.
|
void | setAssignedSegments(java.lang.String[] newAssignedSegments)
Stores the list of member groups assigned to this discount.
|
void | setCalcodeId(java.lang.String newCalcodeId)
The CALCODE_ID from the calcode table , which stores the details of the calculation to be performed.
|
void | setFlag(boolean newFlag)
Reserved for IBM internal use.
|
void | setRlCurrency(java.lang.String newRlCurrency)
Sets the currency which can be used with this discount type.
|
void | setRlDateRanged(boolean newRlDateRanged)
This Field indicates whether the date is ranged or not.
|
void | setRlDaysInWeek(java.lang.String[] newRlDaysInWeek)
This Field stores the list of day in a week for which the discount is valid.
|
void | setRlDescription(java.lang.String newRlDescription)
This field stores the non translatable description for the discount.
|
void | setRlDescriptionNL(java.lang.String newRlDescriptionNL)
This field stores the translatable description for the discount.
|
void | setRlDiscountItemQty(java.lang.String newRlDiscountItemQty)
This field stores quantity of the discounted items.
|
void | setRlDiscountItemSku(java.lang.String newRlDiscountItemSku)
This field stores SKU of the discounted items.
|
void | setRlEndDay(java.lang.String newRlEndDay)
This method sets the day when the discount ends.
|
void | setRlEndHour(java.lang.String newRlEndHour)
This method sets the hour when the discount expires.
|
void | setRlEndMonth(java.lang.String newRlEndMonth)
This method sets the month when the discount will expire.
|
void | setRlEndYear(java.lang.String newRlEndYear)
This method sets the year when the discount will expire.
|
void | setRlInCombinationWith(boolean newRlInCombinationWith)
This method sets whether the discount is valid in combination with other defined discounts.
|
void | setRlIsEveryDayFlag(boolean newRlIsEveryDayFlag)
This method sets whether the discount is valid all through the week.
|
void | setRlLongDescriptionNL(java.lang.String newRlLongDescriptionNL)
Sets translatable long description of the discount.
|
void | setRlName(java.lang.String newRlName)
This field stores the name of the discount.
|
void | setRlPriority(java.lang.String newRlPriority)
This field stores the discount priority.
|
void | setRlPromotionGWPCatEntryID(java.lang.String newRlPromotionGWPCatEntryID)
Sets the catentry_id of the free gift SKU.
|
void | setRlPromotionType(java.lang.String newRlPromotionType)
This field stores the discount type.
|
void | setRlRanges(java.lang.String[] newRlRanges)
This field stores the quantity ranges for which the discount can be applied.
|
void | setRlRequiredQty(java.lang.String newRlRequiredQty)
This field stores the quantity that need to be purchased 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)
This method sets the day from which the discount is active.
|
void | setRlStartHour(java.lang.String newRlStartHour)
This method will store the hour from which the discount is active.
|
void | setRlStartMonth(java.lang.String newRlStartMonth)
This method sets the month from which the discount is active.
|
void | setRlStartYear(java.lang.String newRlStartYear)
This method stores the year from which the discount is active.
|
void | setRlTargetSales(java.lang.String newRlTargetSales)
This method stores the target sales assigned for this discount.
|
void | setRlTimeRanged(boolean newRlTimeRanged)
Sets the rlTimeRanged.
|
void | setRlValues(java.lang.String[] newRlValues)
This method stores the discount value mentioned for each discount range mentioned.
|
void | setRuleXML(java.lang.String newRuleXML)
This field stores the entire discount data as a rule XML.
|
void | setStartDate(java.lang.String newStartDate)
This field stores the date from which the discount is active.
|
void | setValidForAllCustomers(boolean newValidForAllCustomers)
This field stores whether the discount is valid for all customer segments or targets to specific customer segments.
|
public static final java.lang.String COPYRIGHT
public RLDiscountDataBean()
public boolean getAllGroups()
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 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 getRlName()
public java.lang.String getRlPriority()
public java.lang.String getRlPromotionGWPCatEntryID()
public java.lang.String getRlPromotionType()
public java.lang.String[] getRlRanges()
public java.lang.String getRlRequiredQty()
public java.lang.String getRlShipModeId()
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[] getRlValues()
public java.lang.String getRuleXML()
public java.lang.String getStartDate()
public boolean getValidForAllCustomers()
public void populate() throws java.lang.Exception
public void setAllGroups(boolean newAllGroups)
public void setAssignedSegments(java.lang.String[] newAssignedSegments)
public void setCalcodeId(java.lang.String newCalcodeId)
public void setFlag(boolean newFlag)
public void setRlCurrency(java.lang.String newRlCurrency)
public void setRlDateRanged(boolean newRlDateRanged)
public void setRlDaysInWeek(java.lang.String[] newRlDaysInWeek)
public void setRlDescription(java.lang.String newRlDescription)
public void setRlDescriptionNL(java.lang.String newRlDescriptionNL)
public void setRlDiscountItemQty(java.lang.String newRlDiscountItemQty)
public void setRlDiscountItemSku(java.lang.String newRlDiscountItemSku)
public void setRlEndDay(java.lang.String newRlEndDay)
public void setRlEndHour(java.lang.String newRlEndHour)
public void setRlEndMonth(java.lang.String newRlEndMonth)
public void setRlEndYear(java.lang.String newRlEndYear)
public void setRlInCombinationWith(boolean newRlInCombinationWith)
public void setRlIsEveryDayFlag(boolean newRlIsEveryDayFlag)
public void setRlLongDescriptionNL(java.lang.String newRlLongDescriptionNL)
public void setRlName(java.lang.String newRlName)
public void setRlPriority(java.lang.String newRlPriority)
public void setRlPromotionGWPCatEntryID(java.lang.String newRlPromotionGWPCatEntryID)
public void setRlPromotionType(java.lang.String newRlPromotionType)
public void setRlRanges(java.lang.String[] newRlRanges)
public void setRlRequiredQty(java.lang.String newRlRequiredQty)
public void setRlShipModeId(java.lang.String newRlShipModeId)
public void setRlStartDay(java.lang.String newRlStartDay)
public void setRlStartHour(java.lang.String newRlStartHour)
public void setRlStartMonth(java.lang.String newRlStartMonth)
public void setRlStartYear(java.lang.String newRlStartYear)
public void setRlTargetSales(java.lang.String newRlTargetSales)
public void setRlValues(java.lang.String[] newRlValues)
public void setRuleXML(java.lang.String newRuleXML)
public void setStartDate(java.lang.String newStartDate)
public void setValidForAllCustomers(boolean newValidForAllCustomers)
public boolean getRlTimeRanged()
public void setRlTimeRanged(boolean newRlTimeRanged)