Class RuleBasedAddCouponActionModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class RuleBasedAddCouponActionModel
    extends AbstractRuleBasedPromotionActionModel
    Generated model class for type RuleBasedAddCouponAction first defined at extension couponservices.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • COUPONID

        public static final java.lang.String COUPONID
        Generated constant - Attribute key of RuleBasedAddCouponAction.couponId attribute defined at extension couponservices.
        See Also:
        Constant Field Values
      • COUPONCODE

        public static final java.lang.String COUPONCODE
        Generated constant - Attribute key of RuleBasedAddCouponAction.couponCode attribute defined at extension couponservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RuleBasedAddCouponActionModel

        public RuleBasedAddCouponActionModel()
        Generated constructor - Default constructor for generic creation.
      • RuleBasedAddCouponActionModel

        public RuleBasedAddCouponActionModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • RuleBasedAddCouponActionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public RuleBasedAddCouponActionModel​(java.lang.String _couponId)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _couponId - initial attribute declared by type RuleBasedAddCouponAction at extension couponservices
      • RuleBasedAddCouponActionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public RuleBasedAddCouponActionModel​(java.lang.String _couponId,
                                             ItemModel _owner)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _couponId - initial attribute declared by type RuleBasedAddCouponAction at extension couponservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getCouponCode

        @Accessor(qualifier="couponCode",
                  type=GETTER)
        public java.lang.String getCouponCode()
        Generated method - Getter of the RuleBasedAddCouponAction.couponCode attribute defined at extension couponservices.
        Returns:
        the couponCode - Coupon Code
      • getCouponId

        @Accessor(qualifier="couponId",
                  type=GETTER)
        public java.lang.String getCouponId()
        Generated method - Getter of the RuleBasedAddCouponAction.couponId attribute defined at extension couponservices.
        Returns:
        the couponId - Coupon Id
      • setCouponCode

        @Accessor(qualifier="couponCode",
                  type=SETTER)
        public void setCouponCode​(java.lang.String value)
        Generated method - Setter of RuleBasedAddCouponAction.couponCode attribute defined at extension couponservices.
        Parameters:
        value - the couponCode - Coupon Code
      • setCouponId

        @Accessor(qualifier="couponId",
                  type=SETTER)
        public void setCouponId​(java.lang.String value)
        Generated method - Setter of RuleBasedAddCouponAction.couponId attribute defined at extension couponservices.
        Parameters:
        value - the couponId - Coupon Id