Class CouponRedemptionModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.couponservices.model.CouponRedemptionModel
All Implemented Interfaces:
Serializable

public class CouponRedemptionModel extends ItemModel
Generated model class for type CouponRedemption first defined at extension couponservices.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of CouponRedemption.coupon attribute defined at extension couponservices.
    static final String
    Generated constant - Attribute key of CouponRedemption.couponCode attribute defined at extension couponservices.
    static final String
    Generated constant - Attribute key of CouponRedemption.order attribute defined at extension couponservices.
    static final String
    Generated constant - Attribute key of CouponRedemption.user attribute defined at extension couponservices.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    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
    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
    CouponRedemptionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the CouponRedemption.coupon attribute defined at extension couponservices.
    Generated method - Getter of the CouponRedemption.couponCode attribute defined at extension couponservices.
    Generated method - Getter of the CouponRedemption.order attribute defined at extension couponservices.
    Generated method - Getter of the CouponRedemption.user attribute defined at extension couponservices.
    void
    Generated method - Setter of CouponRedemption.coupon attribute defined at extension couponservices.
    void
    Generated method - Setter of CouponRedemption.couponCode attribute defined at extension couponservices.
    void
    Generated method - Setter of CouponRedemption.order attribute defined at extension couponservices.
    void
    Generated method - Setter of CouponRedemption.user attribute defined at extension couponservices.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

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

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

      public static final String COUPON
      Generated constant - Attribute key of CouponRedemption.coupon attribute defined at extension couponservices.
      See Also:
    • ORDER

      public static final String ORDER
      Generated constant - Attribute key of CouponRedemption.order attribute defined at extension couponservices.
      See Also:
    • USER

      public static final String USER
      Generated constant - Attribute key of CouponRedemption.user attribute defined at extension couponservices.
      See Also:
  • Constructor Details

    • CouponRedemptionModel

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

      public CouponRedemptionModel(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
    • CouponRedemptionModel

      @Deprecated(since="4.1.1", forRemoval=true) public CouponRedemptionModel(AbstractCouponModel _coupon, String _couponCode)
      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:
      _coupon - initial attribute declared by type CouponRedemption at extension couponservices
      _couponCode - initial attribute declared by type CouponRedemption at extension couponservices
    • CouponRedemptionModel

      @Deprecated(since="4.1.1", forRemoval=true) public CouponRedemptionModel(AbstractCouponModel _coupon, String _couponCode, 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:
      _coupon - initial attribute declared by type CouponRedemption at extension couponservices
      _couponCode - initial attribute declared by type CouponRedemption at extension couponservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCoupon

      @Accessor(qualifier="coupon", type=GETTER) public AbstractCouponModel getCoupon()
      Generated method - Getter of the CouponRedemption.coupon attribute defined at extension couponservices.
      Returns:
      the coupon
    • getCouponCode

      @Accessor(qualifier="couponCode", type=GETTER) public String getCouponCode()
      Generated method - Getter of the CouponRedemption.couponCode attribute defined at extension couponservices.
      Returns:
      the couponCode
    • getOrder

      @Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
      Generated method - Getter of the CouponRedemption.order attribute defined at extension couponservices.
      Returns:
      the order
    • getUser

      @Accessor(qualifier="user", type=GETTER) public UserModel getUser()
      Generated method - Getter of the CouponRedemption.user attribute defined at extension couponservices.
      Returns:
      the user
    • setCoupon

      @Accessor(qualifier="coupon", type=SETTER) public void setCoupon(AbstractCouponModel value)
      Generated method - Setter of CouponRedemption.coupon attribute defined at extension couponservices.
      Parameters:
      value - the coupon
    • setCouponCode

      @Accessor(qualifier="couponCode", type=SETTER) public void setCouponCode(String value)
      Generated method - Setter of CouponRedemption.couponCode attribute defined at extension couponservices.
      Parameters:
      value - the couponCode
    • setOrder

      @Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
      Generated method - Setter of CouponRedemption.order attribute defined at extension couponservices.
      Parameters:
      value - the order
    • setUser

      @Accessor(qualifier="user", type=SETTER) public void setUser(UserModel value)
      Generated method - Setter of CouponRedemption.user attribute defined at extension couponservices.
      Parameters:
      value - the user