public class OrderLevelShippingDiscount extends RLOrderLevelPromotion
generatePromotionSpecificRuleXML()
method and the fields in
this class will be populated in the
#populatePromotionSpecificDataFrom()
methods.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
Constructor and Description |
---|
OrderLevelShippingDiscount()
OrderLevelShippingDiscount Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generatePromotionSpecificRuleXML()
Generates the OrderLevelShippingDiscount type specific rule XML.
|
int |
getAdjustmentType()
AdjustmentType is used for shipping adjustment base: 0: whole order 1:
AllAffectedItems 2: IndividualAffectedItems
|
java.lang.String |
getShippingMode()
Gets the shipping mode.
|
void |
populatePromotionSpecificDataFrom(java.util.Map h)
This method is used to populate the RlPromotion class attributes.
|
void |
populatePromotionSpecificDataFrom(java.lang.String xmlString)
Populate the specific data from XML String.
|
void |
setAdjustmentType(int customerAdjustmentType)
Sets the adjustment type.
|
void |
setShippingMode(java.lang.String newShippingMode)
Sets the shipping mode.
|
generatePromotionLevelSpecificRuleXML, getPromotionDisplayLevel, getRanges, getValues, isInCombinationWithProductLevelPromotion, populatePromotionLevelSpecificDataFrom, populatePromotionLevelSpecificDataFrom, setRanges, setValues
fromXML, getAllowCouponTransfer, getAssignedSegmentIds, getAssignedSegments, getCodeRequired, getCouponEffectiveDays, getCouponExpirationDays, getCurrency, getDateRanged, getDayInWeek, getDaysInWeek, getDescription, getDescriptionLongNL, getDescriptionNL, getEndTimeStamp, getExclusive, getGroupName, getIsAdjustmentBasedOnStandardOfferPrice, getIsCoupon, getLanguageId, getLastUpdate, getLastUpdateUserId, getName, getPerOrderLimit, getPerShopperLimit, getPriority, getPromotionCode, getRevision, getRLPromotionType, getStartTimeStamp, getStatus, getStoreId, getTargetSalesFigure, getTimeRanged, getTotalLimit, getValidForAllCustomers, getVersion, setAllowCouponTransfer, setAssignedSegmentIds, setAssignedSegments, setCodeRequired, setCouponEffectiveDays, setCouponExpirationDays, setCurrency, setDaysInWeek, setDescription, setDescriptionLongNL, setDescriptionNL, setEndTimeStamp, setExclusive, setGroupName, setIsCoupon, setLanguageId, setLastUpdate, setLastUpdateUserId, setName, setPerOrderLimit, setPerShopperLimit, setPriority, setPromotionCode, setRevision, setRLPromotionType, setStartTimeStamp, setStatus, setStoreId, setTargetSalesFigure, setTotalLimit, setVersion, toXML
public static final java.lang.String COPYRIGHT
public OrderLevelShippingDiscount()
public java.lang.String generatePromotionSpecificRuleXML()
public java.lang.String getShippingMode()
public int getAdjustmentType()
public void populatePromotionSpecificDataFrom(java.lang.String xmlString)
xmlString
- java.lang.String containing promotion data.public void setShippingMode(java.lang.String newShippingMode)
newShippingMode
- java.lang.String the shipping mode.public void setAdjustmentType(int customerAdjustmentType)
customerAdjustmentType
- the adjustment type.public void populatePromotionSpecificDataFrom(java.util.Map h) throws ParameterNotFoundException
populatePromotionSpecificDataFrom
in class RLOrderLevelPromotion
h
- java.util.Map containing RLPromotion data.ParameterNotFoundException
- The exception description.