com.ibm.commerce.promotion.facade.datatypes

Interface PromotionType

    • Method Detail

      • getPromotionIdentifier

        PromotionIdentifierType getPromotionIdentifier()
        Returns the value of the 'Promotion Identifier' containment reference. Promotion identifier.
        Returns:
        the value of the 'Promotion Identifier' containment reference.
        See Also:
        setPromotionIdentifier(PromotionIdentifierType), PromotionPackage.getPromotionType_PromotionIdentifier()
      • getPromotionType

        java.lang.String getPromotionType()
        Returns the value of the 'Promotion Type' attribute. The registered promotion rule type which indicates the actual implementation of the runtime promotion object as well as general rule conditions, for example "OrderLevelPercentDiscount".
        Returns:
        the value of the 'Promotion Type' attribute.
        See Also:
        setPromotionType(String), PromotionPackage.getPromotionType_PromotionType()
      • setPromotionType

        void setPromotionType(java.lang.String value)
        Sets the value of the 'Promotion Type' attribute.
        Parameters:
        value - the new value of the 'Promotion Type' attribute.
        See Also:
        getPromotionType()
      • getStatus

        java.lang.Object getStatus()
        Returns the value of the 'Status' attribute. Promotion status.
        Returns:
        the value of the 'Status' attribute.
        See Also:
        setStatus(Object), PromotionPackage.getPromotionType_Status()
      • setStatus

        void setStatus(java.lang.Object value)
        Sets the value of the 'Status' attribute.
        Parameters:
        value - the new value of the 'Status' attribute.
        See Also:
        getStatus()
      • getPriority

        int getPriority()
        Returns the value of the 'Priority' attribute. Priority of the promotion.
        Returns:
        the value of the 'Priority' attribute.
        See Also:
        isSetPriority(), unsetPriority(), setPriority(int), PromotionPackage.getPromotionType_Priority()
      • getExclusiveType

        java.lang.Object getExclusiveType()
        Returns the value of the 'Exclusive Type' attribute. Flag indicates the promotion exclusiveness.
        Returns:
        the value of the 'Exclusive Type' attribute.
        See Also:
        setExclusiveType(Object), PromotionPackage.getPromotionType_ExclusiveType()
      • setExclusiveType

        void setExclusiveType(java.lang.Object value)
        Sets the value of the 'Exclusive Type' attribute.
        Parameters:
        value - the new value of the 'Exclusive Type' attribute.
        See Also:
        getExclusiveType()
      • getAdministrativeName

        java.lang.String getAdministrativeName()
        Returns the value of the 'Administrative Name' attribute. Administrative name of the promotion which is displayed in the user interface.
        Returns:
        the value of the 'Administrative Name' attribute.
        See Also:
        setAdministrativeName(String), PromotionPackage.getPromotionType_AdministrativeName()
      • setAdministrativeName

        void setAdministrativeName(java.lang.String value)
        Sets the value of the 'Administrative Name' attribute.
        Parameters:
        value - the new value of the 'Administrative Name' attribute.
        See Also:
        getAdministrativeName()
      • getComments

        java.lang.String getComments()
        Returns the value of the 'Comments' attribute. Optional comments of the promotion.
        Returns:
        the value of the 'Comments' attribute.
        See Also:
        setComments(String), PromotionPackage.getPromotionType_Comments()
      • setComments

        void setComments(java.lang.String value)
        Sets the value of the 'Comments' attribute.
        Parameters:
        value - the new value of the 'Comments' attribute.
        See Also:
        getComments()
      • getSchedule

        PromotionScheduleType getSchedule()
        Returns the value of the 'Schedule' containment reference. Promotion schedule information.
        Returns:
        the value of the 'Schedule' containment reference.
        See Also:
        setSchedule(PromotionScheduleType), PromotionPackage.getPromotionType_Schedule()
      • setSchedule

        void setSchedule(PromotionScheduleType value)
        Sets the value of the 'Schedule' containment reference.
        Parameters:
        value - the new value of the 'Schedule' containment reference.
        See Also:
        getSchedule()
      • getDescription

        java.util.List getDescription()
        Returns the value of the 'Description' containment reference list. The list contents are of type DescriptionType. The language specific descriptions of the promotion.
        Returns:
        the value of the 'Description' containment reference list.
        See Also:
        PromotionPackage.getPromotionType_Description()
      • isCouponRequired

        boolean isCouponRequired()
        Returns the value of the 'Coupon Required' attribute. Whether a coupon is required for redeem this promotion.
        Returns:
        the value of the 'Coupon Required' attribute.
        See Also:
        isSetCouponRequired(), unsetCouponRequired(), setCouponRequired(boolean), PromotionPackage.getPromotionType_CouponRequired()
      • getCouponAttribute

        CouponAttributeType getCouponAttribute()
        Returns the value of the 'Coupon Attribute' containment reference. Informaiton of coupon attributes.
        Returns:
        the value of the 'Coupon Attribute' containment reference.
        See Also:
        setCouponAttribute(CouponAttributeType), PromotionPackage.getPromotionType_CouponAttribute()
      • getPromotionCode

        java.util.List getPromotionCode()
        Returns the value of the 'Promotion Code' attribute list. The list contents are of type String. Optional promotion codes associated with this promotion if the promotion code is required.
        Returns:
        the value of the 'Promotion Code' attribute list.
        See Also:
        PromotionPackage.getPromotionType_PromotionCode()
      • getTargetSales

        MonetaryAmountType getTargetSales()
        Returns the value of the 'Target Sales' containment reference. Optional target sales amount for reporting purpose.
        Returns:
        the value of the 'Target Sales' containment reference.
        See Also:
        setTargetSales(MonetaryAmountType), PromotionPackage.getPromotionType_TargetSales()
      • setTargetSales

        void setTargetSales(MonetaryAmountType value)
        Sets the value of the 'Target Sales' containment reference.
        Parameters:
        value - the new value of the 'Target Sales' containment reference.
        See Also:
        getTargetSales()
      • getElement

        java.util.List getElement()
        Returns the value of the 'Element' containment reference list. The list contents are of type PromotionElementType. Promotion elements information associate with the FlowXML that are managed by a LOB tool and used for generating the actual promotion rule XML.
        Returns:
        the value of the 'Element' containment reference list.
        See Also:
        PromotionPackage.getPromotionType_Element()
      • getControlParameter

        java.lang.String getControlParameter()
        Returns the value of the 'Control Parameter' attribute. Optional control parameter that is used by promotion authoring user interface.
        Returns:
        the value of the 'Control Parameter' attribute.
        See Also:
        setControlParameter(String), PromotionPackage.getPromotionType_ControlParameter()
      • setControlParameter

        void setControlParameter(java.lang.String value)
        Sets the value of the 'Control Parameter' attribute.
        Parameters:
        value - the new value of the 'Control Parameter' attribute.
        See Also:
        getControlParameter()
      • getPromotionCodeSpecification

        com.ibm.commerce.promotion.facade.datatypes.PromotionCodeSpecificationType getPromotionCodeSpecification()
        Returns the value of the 'Promotion Code Specification' containment reference. Optional promotion code specification element to include details on promotion codes.
        Returns:
        the value of the 'Promotion Code Specification' containment reference.
        See Also:
        setPromotionCodeSpecification(PromotionCodeSpecificationType), PromotionPackage.getPromotionType_PromotionCodeSpecification()
      • setPromotionCodeSpecification

        void setPromotionCodeSpecification(com.ibm.commerce.promotion.facade.datatypes.PromotionCodeSpecificationType value)
        Sets the value of the 'Promotion Code Specification' containment reference.
        Parameters:
        value - the new value of the 'Promotion Code Specification' containment reference.
        See Also:
        getPromotionCodeSpecification()
      • getUserData

        UserDataType getUserData()
        Returns the value of the 'User Data' containment reference. User data area.
        Returns:
        the value of the 'User Data' containment reference.
        See Also:
        setUserData(UserDataType), PromotionPackage.getPromotionType_UserData()
      • setUserData

        void setUserData(UserDataType value)
        Sets the value of the 'User Data' containment reference.
        Parameters:
        value - the new value of the 'User Data' containment reference.
        See Also:
        getUserData()