com.ibm.commerce.tools.epromotion.implementations

Class OrderLevelFreeGift

  • All Implemented Interfaces:
    RLConstants


    public class OrderLevelFreeGift
    extends RLOrderLevelPromotion
    This class presents specific details of an Order Level promotion of type OrderLevelFreeGift. This type represents giving an item free if the purchase is over a certain amount.
    • Field Detail

      • COPYRIGHT

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

      • OrderLevelFreeGift

        public OrderLevelFreeGift()
        OrderLevelFreeGift Constructor.
    • Method Detail

      • getFreeItemCatalogEntrySKU

        public java.lang.String getFreeItemCatalogEntrySKU()
        Gets the SKU of the freebie item.
        Returns:
        String of the SKU of the freebie item.
      • setFreeItemCatalogEntrySKU

        public void setFreeItemCatalogEntrySKU(java.lang.String newFreeItemCatalogEntrySKU)
        Sets the freebie item SKU.
        Parameters:
        String - of the freebie item SKU.
      • generatePromotionSpecificRuleXML

        public java.lang.String generatePromotionSpecificRuleXML()
        Generate the specific rule XML as a part of Domain XML (Promotion Object).
        Returns:
        java.lang.String of XML representing the rule for promotion of free gift.
      • populatePromotionSpecificDataFrom

        public void populatePromotionSpecificDataFrom(java.lang.String xmlString)
        Populate the specific data from XML String.
        Parameters:
        xmlString - java.lang.String containg promotion data.