java.lang.Object | +--com.ibm.commerce.beans.InputDataBeanImpl | +--com.ibm.commerce.beans.SmartDataBeanImpl | +--com.ibm.commerce.tools.epromotion.beansrc.RLDiscountDataBeanBase | +--com.ibm.commerce.tools.epromotion.databeans.RLDiscountDataBean
This DataBean is used to retrive information about OrderLevel discounts .
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.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
RLDiscountDataBean() The default RLDiscountDataBean constructor. |
Method Summary | |
---|---|
boolean |
getAllGroups() true : if the discount is valid to all groups. |
java.lang.String[] |
getAssignedSegments() Returns the list of MemberGroups that this discount is valid for. |
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() Get the non translatable description of the discount. |
java.lang.String |
getRlDescriptionNL() Get 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 from which this discount get active. |
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 get active. |
java.lang.String |
getRlTargetSales() Returns the target sales amount for this discount. |
boolean |
getRlTimeRanged() Gets the rlTimeRanged. |
java.lang.String[] |
getRlValues() Returns Discount values corresponding to the discount ranges. |
java.lang.String |
getRuleXML() Returns the Rule XML from the RLDISCOUNT Database |
java.lang.String |
getStartDate() Returns the date from which the disount 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 eligible for the discount. |
void |
setCalcodeId(java.lang.String newCalcodeId) CALCODE_ID from the CalCode table , which stores the details of the calculation to be performed. |
void |
setFlag(boolean newFlag) Internal Use |
void |
setRlCurrency(java.lang.String newRlCurrency) 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 store the translatabel 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 field stores the day when the discount ends |
void |
setRlEndHour(java.lang.String newRlEndHour) this field stores the hour when the discount expires. |
void |
setRlEndMonth(java.lang.String newRlEndMonth) This field stores the month when the discount will expire. |
void |
setRlEndYear(java.lang.String newRlEndYear) This field stores the year when the discount will expire. |
void |
setRlInCombinationWith(boolean newRlInCombinationWith) This field store whether the discount is valid in combination with other discount defined. |
void |
setRlIsEveryDayFlag(boolean newRlIsEveryDayFlag) This field stores 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 field stores the Day from which the discount gets effective. |
void |
setRlStartHour(java.lang.String newRlStartHour) This field will store the hour from which the discount get effective. |
void |
setRlStartMonth(java.lang.String newRlStartMonth) This field stores the month from which the discount gets effective. |
void |
setRlStartYear(java.lang.String newRlStartYear) This field stores the year from which the discount get effective/active. |
void |
setRlTargetSales(java.lang.String newRlTargetSales) This field stores the target sales assigned for this discount. |
void |
setRlTimeRanged(boolean newRlTimeRanged) Sets the rlTimeRanged. |
void |
setRlValues(java.lang.String[] newRlValues) this field 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 gets active/effective. |
void |
setValidForAllCustomers(boolean newValidForAllCustomers) This field stores whehter the discount is valid for all customer groups / to specific customer groups. |
Methods inherited from class com.ibm.commerce.tools.epromotion.beansrc. RLDiscountDataBeanBase |
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
Constructor Detail |
---|
public RLDiscountDataBean()
Method Detail |
---|
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
populate
in interface
SmartDataBean
populate
in class
SmartDataBeanImpl
ECException
- The exception description.java.lang.Exception
- should not happen since there is no data
retrieved to populate the databean.public void setAllGroups(boolean newAllGroups)
newAllGroups
- booleanpublic void setAssignedSegments(java.lang.String[] newAssignedSegments)
newAssignedSegments
- java.util.Vectorpublic void setCalcodeId(java.lang.String newCalcodeId)
newCalcodeId
- java.lang.Stringpublic void setFlag(boolean newFlag)
newFlag
- booleanpublic void setRlCurrency(java.lang.String newRlCurrency)
newRlCurrency
- java.lang.Stringpublic void setRlDateRanged(boolean newRlDateRanged)
newRlDateRanged
- booleanpublic void setRlDaysInWeek(java.lang.String[] newRlDaysInWeek)
newRlDaysInWeek
- java.util.Vectorpublic void setRlDescription(java.lang.String newRlDescription)
newRlDescription
- java.lang.Stringpublic void setRlDescriptionNL(java.lang.String newRlDescriptionNL)
newRlDescriptionNL
- java.lang.Stringpublic void setRlDiscountItemQty(java.lang.String newRlDiscountItemQty)
newRlDiscountItemQty
- java.lang.Stringpublic void setRlDiscountItemSku(java.lang.String newRlDiscountItemSku)
newRlDiscountItemSku
- java.lang.Stringpublic void setRlEndDay(java.lang.String newRlEndDay)
newRlEndDay
- java.lang.Stringpublic void setRlEndHour(java.lang.String newRlEndHour)
newRlEndHour
- java.lang.Stringpublic void setRlEndMonth(java.lang.String newRlEndMonth)
newRlEndMonth
- java.lang.Stringpublic void setRlEndYear(java.lang.String newRlEndYear)
newRlEndYear
- java.lang.Stringpublic void setRlInCombinationWith(boolean newRlInCombinationWith)
newRlInCombinationWith
- booleanpublic void setRlIsEveryDayFlag(boolean newRlIsEveryDayFlag)
newRlIsEveryDayFlag
- booleanpublic void setRlLongDescriptionNL(java.lang.String newRlLongDescriptionNL)
newRlLongDescriptionNL
- java.lang.Stringpublic void setRlName(java.lang.String newRlName)
newRlName
- java.lang.Stringpublic void setRlPriority(java.lang.String newRlPriority)
newRlPriority
- java.lang.Stringpublic void setRlPromotionGWPCatEntryID(java.lang.String newRlPromotionGWPCatEntryID)
newRlPromotionGWPCatEntryID
-
java.lang.Stringpublic void setRlPromotionType(java.lang.String newRlPromotionType)
newRlPromotionType
- java.lang.Stringpublic void setRlRanges(java.lang.String[] newRlRanges)
newRlRanges
- java.util.Vectorpublic void setRlRequiredQty(java.lang.String newRlRequiredQty)
newRlRequiredQty
- java.lang.Stringpublic void setRlShipModeId(java.lang.String newRlShipModeId)
newRlShipModeId
- java.lang.Stringpublic void setRlStartDay(java.lang.String newRlStartDay)
newRlStartDay
- java.lang.Stringpublic void setRlStartHour(java.lang.String newRlStartHour)
newRlStartHour
- java.lang.Stringpublic void setRlStartMonth(java.lang.String newRlStartMonth)
newRlStartMonth
- java.lang.Stringpublic void setRlStartYear(java.lang.String newRlStartYear)
newRlStartYear
- java.lang.Stringpublic void setRlTargetSales(java.lang.String newRlTargetSales)
newRlTargetSales
- java.lang.Stringpublic void setRlValues(java.lang.String[] newRlValues)
newRlValues
- java.util.Vectorpublic void setRuleXML(java.lang.String newRuleXML)
newRuleXML
- java.lang.Stringpublic void setStartDate(java.lang.String newStartDate)
newStartDate
- java.lang.Stringpublic void setValidForAllCustomers(boolean newValidForAllCustomers)
newValidForAllCustomers
- booleanpublic boolean getRlTimeRanged()
public void setRlTimeRanged(boolean newRlTimeRanged)