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:
java.io.Serializable
public class CouponRedemptionModel extends ItemModel
Generated model class for type CouponRedemption first defined at extension couponservices.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
COUPON
Generated constant - Attribute key ofCouponRedemption.coupon
attribute defined at extensioncouponservices
.static java.lang.String
COUPONCODE
Generated constant - Attribute key ofCouponRedemption.couponCode
attribute defined at extensioncouponservices
.static java.lang.String
ORDER
Generated constant - Attribute key ofCouponRedemption.order
attribute defined at extensioncouponservices
.static java.lang.String
USER
Generated constant - Attribute key ofCouponRedemption.user
attribute defined at extensioncouponservices
.-
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 CouponRedemptionModel()
Generated constructor - Default constructor for generic creation.CouponRedemptionModel(AbstractCouponModel _coupon, java.lang.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 parametersCouponRedemptionModel(AbstractCouponModel _coupon, java.lang.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 parametersCouponRedemptionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractCouponModel
getCoupon()
Generated method - Getter of theCouponRedemption.coupon
attribute defined at extensioncouponservices
.java.lang.String
getCouponCode()
Generated method - Getter of theCouponRedemption.couponCode
attribute defined at extensioncouponservices
.AbstractOrderModel
getOrder()
Generated method - Getter of theCouponRedemption.order
attribute defined at extensioncouponservices
.UserModel
getUser()
Generated method - Getter of theCouponRedemption.user
attribute defined at extensioncouponservices
.void
setCoupon(AbstractCouponModel value)
Generated method - Setter ofCouponRedemption.coupon
attribute defined at extensioncouponservices
.void
setCouponCode(java.lang.String value)
Generated method - Setter ofCouponRedemption.couponCode
attribute defined at extensioncouponservices
.void
setOrder(AbstractOrderModel value)
Generated method - Setter ofCouponRedemption.order
attribute defined at extensioncouponservices
.void
setUser(UserModel value)
Generated method - Setter ofCouponRedemption.user
attribute defined at extensioncouponservices
.-
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
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
COUPONCODE
public static final java.lang.String COUPONCODE
Generated constant - Attribute key ofCouponRedemption.couponCode
attribute defined at extensioncouponservices
.- See Also:
- Constant Field Values
-
COUPON
public static final java.lang.String COUPON
Generated constant - Attribute key ofCouponRedemption.coupon
attribute defined at extensioncouponservices
.- See Also:
- Constant Field Values
-
ORDER
public static final java.lang.String ORDER
Generated constant - Attribute key ofCouponRedemption.order
attribute defined at extensioncouponservices
.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Generated constant - Attribute key ofCouponRedemption.user
attribute defined at extensioncouponservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CouponRedemptionModel
public CouponRedemptionModel()
Generated constructor - Default constructor for generic creation.
-
CouponRedemptionModel
public CouponRedemptionModel(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, java.lang.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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_coupon
- initial attribute declared by typeCouponRedemption
at extensioncouponservices
_couponCode
- initial attribute declared by typeCouponRedemption
at extensioncouponservices
-
CouponRedemptionModel
@Deprecated(since="4.1.1", forRemoval=true) public CouponRedemptionModel(AbstractCouponModel _coupon, java.lang.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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_coupon
- initial attribute declared by typeCouponRedemption
at extensioncouponservices
_couponCode
- initial attribute declared by typeCouponRedemption
at extensioncouponservices
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getCoupon
@Accessor(qualifier="coupon", type=GETTER) public AbstractCouponModel getCoupon()
Generated method - Getter of theCouponRedemption.coupon
attribute defined at extensioncouponservices
.- Returns:
- the coupon
-
getCouponCode
@Accessor(qualifier="couponCode", type=GETTER) public java.lang.String getCouponCode()
Generated method - Getter of theCouponRedemption.couponCode
attribute defined at extensioncouponservices
.- Returns:
- the couponCode
-
getOrder
@Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
Generated method - Getter of theCouponRedemption.order
attribute defined at extensioncouponservices
.- Returns:
- the order
-
getUser
@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
Generated method - Getter of theCouponRedemption.user
attribute defined at extensioncouponservices
.- Returns:
- the user
-
setCoupon
@Accessor(qualifier="coupon", type=SETTER) public void setCoupon(AbstractCouponModel value)
Generated method - Setter ofCouponRedemption.coupon
attribute defined at extensioncouponservices
.- Parameters:
value
- the coupon
-
setCouponCode
@Accessor(qualifier="couponCode", type=SETTER) public void setCouponCode(java.lang.String value)
Generated method - Setter ofCouponRedemption.couponCode
attribute defined at extensioncouponservices
.- Parameters:
value
- the couponCode
-
setOrder
@Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
Generated method - Setter ofCouponRedemption.order
attribute defined at extensioncouponservices
.- Parameters:
value
- the order
-
-