com.ibm.commerce.marketing.promotion.choice

Class RewardOption

  • java.lang.Object
    • com.ibm.commerce.marketing.promotion.choice.RewardOption
  • All Implemented Interfaces:
    java.lang.Cloneable


    public class RewardOption
    extends java.lang.Object
    implements java.lang.Cloneable
    This class defines a data object of a promotion reward option.
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • STATUS_PENDING

        public static final int STATUS_PENDING
        Constant - This RewardOption is in pending state.
        See Also:
        Constant Field Values
      • STATUS_SELECTED

        public static final int STATUS_SELECTED
        Constant - This RewardOption has been selected for a promotion and pending promotion policy check.
        See Also:
        Constant Field Values
      • STATUS_APPLIED

        public static final int STATUS_APPLIED
        Constant - This RewardOption has been applied to a promotion.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RewardOption

        public RewardOption()
    • Method Detail

      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException
        See Also:
        Object.clone()
      • getOrderKey

        public OrderKey getOrderKey()
        Gets the OrderKey.
        Returns:
        The OrderKey.
      • setOrderKey

        public void setOrderKey(OrderKey aOrderKey)
        Sets the OrderKey.
        Parameters:
        aOrderKey - The OrderKey to set.
      • getRewardSpecification

        public RewardSpecification getRewardSpecification()
        Gets the RewardSpecification object.
        Returns:
        The RewardSpecification object.
      • setRewardSpecification

        public void setRewardSpecification(RewardSpecification rewardSpecification)
        Sets the RewardSpecification object.
        Parameters:
        rewardSpecification - The RewardSpecification object to set.
      • getRewardChoice

        public RewardChoice getRewardChoice()
        Gets the RewardChoice object.
        Returns:
        The RewardChoice object.
      • setRewardChoice

        public void setRewardChoice(RewardChoice rewardChoice)
        Sets the RewardChoice object.
        Parameters:
        rewardChoice - The RewardChoice to set.
      • getPromotionRewardOptionKey

        public PromotionRewardOptionKey getPromotionRewardOptionKey()
        Gets the PromotionRewardOptionKey.
        Returns:
        The PromotionRewardOptionKey.
      • setPromotionRewardOptionKey

        public void setPromotionRewardOptionKey(PromotionRewardOptionKey aPromotionRewardOptionKey)
        Sets the PromotionRewardOptionKey.
        Parameters:
        aPromotionRewardOptionKey - The PromotionRewardOptionKey to set.
      • getPromotionKey

        public PromotionKey getPromotionKey()
        Gets the PromotionKey object.
        Returns:
        The PromotionKey object.
      • setPromotionKey

        public void setPromotionKey(PromotionKey promotionKey)
        Sets the PromotionKey object.
        Parameters:
        promotionKey - The PromotionKey to set.
      • getStatus

        public int getStatus()
        Gets the status.
        Returns:
        The status.
      • setStatus

        public void setStatus(int aStatus)
        Sets the status.
        Parameters:
        aStatus - The status to set.