Class RuleBasedAddCouponActionModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • COUPONID

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

      public static final String COUPONCODE
      Generated constant - Attribute key of RuleBasedAddCouponAction.couponCode attribute defined at extension couponservices.
      See Also:
  • Constructor Details

    • RuleBasedAddCouponActionModel

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

      public RuleBasedAddCouponActionModel(de.hybris.platform.servicelayer.model.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(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(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 Details

    • getCouponCode

      @Accessor(qualifier="couponCode", type=GETTER) public 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 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(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(String value)
      Generated method - Setter of RuleBasedAddCouponAction.couponId attribute defined at extension couponservices.
      Parameters:
      value - the couponId - Coupon Id