com.ibm.commerce.marketing.commands

Interface ResolvePromotionCodeTaskCmd

    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        The name of the Command Interface class.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class.
        See Also:
        Constant Field Values
    • Method Detail

      • setPromotionCode

        void setPromotionCode(java.lang.String promotionCode)
        This is the method declaration to Set Promotion Code.
        Parameters:
        promotionCode - A String representing the promotion code to be used in the command.
      • setStoreId

        void setStoreId(java.lang.Integer storeId)
        This is the method declaration to Set Store Id.
        Parameters:
        storeId - A String representing the store id information to be used in the command.
      • setPromotionCodeType

        void setPromotionCodeType(java.lang.Short promotionCodeType)
        This method sets the implementation type that is used for promotion code. 1 indicates the promotion code is implemented with unique promotion code framework.
        Parameters:
        promotionCodeType - A Short representing the promotion code implementation type to be used in the command.
      • setPromotionStatus

        void setPromotionStatus(java.util.List listPromotionStatus)
        This is the method declaration to Set Promotion Status.
        Parameters:
        listPromotionStatus - A List representing the allowed promotion status.
      • setSeparator

        void setSeparator(java.lang.String separator)
        This is the method declaration to Set Separator.
        Parameters:
        separator - The delimiter used to separate different codes.
      • getPromotionKeys

        PromotionKey[] getPromotionKeys()
        This is the method declaration to get the PromotionKey array.
        Returns:
        An PromotionKey array representing the resolved promotions' key information.
      • getPromotionCodeType

        java.lang.Short getPromotionCodeType()
        This method returns the implementation type that is used for promotion code. 1 indicates the promotion code is implemented with unique promotion code framework.
        Returns:
        A Short value.