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
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
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCouponRedemption.couponattribute defined at extensioncouponservices.static final StringGenerated constant - Attribute key ofCouponRedemption.couponCodeattribute defined at extensioncouponservices.static final StringGenerated constant - Attribute key ofCouponRedemption.orderattribute defined at extensioncouponservices.static final StringGenerated constant - Attribute key ofCouponRedemption.userattribute defined at extensioncouponservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.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 parametersCouponRedemptionModel(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 parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCouponRedemption.couponattribute defined at extensioncouponservices.Generated method - Getter of theCouponRedemption.couponCodeattribute defined at extensioncouponservices.getOrder()Generated method - Getter of theCouponRedemption.orderattribute defined at extensioncouponservices.getUser()Generated method - Getter of theCouponRedemption.userattribute defined at extensioncouponservices.voidsetCoupon(AbstractCouponModel value) Generated method - Setter ofCouponRedemption.couponattribute defined at extensioncouponservices.voidsetCouponCode(String value) Generated method - Setter ofCouponRedemption.couponCodeattribute defined at extensioncouponservices.voidsetOrder(AbstractOrderModel value) Generated method - Setter ofCouponRedemption.orderattribute defined at extensioncouponservices.voidGenerated method - Setter ofCouponRedemption.userattribute defined at extensioncouponservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
COUPONCODE
Generated constant - Attribute key ofCouponRedemption.couponCodeattribute defined at extensioncouponservices.- See Also:
-
COUPON
Generated constant - Attribute key ofCouponRedemption.couponattribute defined at extensioncouponservices.- See Also:
-
ORDER
Generated constant - Attribute key ofCouponRedemption.orderattribute defined at extensioncouponservices.- See Also:
-
USER
Generated constant - Attribute key ofCouponRedemption.userattribute defined at extensioncouponservices.- See Also:
-
-
Constructor Details
-
CouponRedemptionModel
public CouponRedemptionModel()Generated constructor - Default constructor for generic creation. -
CouponRedemptionModel
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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_coupon- initial attribute declared by typeCouponRedemptionat extensioncouponservices_couponCode- initial attribute declared by typeCouponRedemptionat extensioncouponservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_coupon- initial attribute declared by typeCouponRedemptionat extensioncouponservices_couponCode- initial attribute declared by typeCouponRedemptionat extensioncouponservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCoupon
Generated method - Getter of theCouponRedemption.couponattribute defined at extensioncouponservices.- Returns:
- the coupon
-
getCouponCode
Generated method - Getter of theCouponRedemption.couponCodeattribute defined at extensioncouponservices.- Returns:
- the couponCode
-
getOrder
Generated method - Getter of theCouponRedemption.orderattribute defined at extensioncouponservices.- Returns:
- the order
-
getUser
Generated method - Getter of theCouponRedemption.userattribute defined at extensioncouponservices.- Returns:
- the user
-
setCoupon
Generated method - Setter ofCouponRedemption.couponattribute defined at extensioncouponservices.- Parameters:
value- the coupon
-
setCouponCode
Generated method - Setter ofCouponRedemption.couponCodeattribute defined at extensioncouponservices.- Parameters:
value- the couponCode
-
setOrder
Generated method - Setter ofCouponRedemption.orderattribute defined at extensioncouponservices.- Parameters:
value- the order
-
setUser
Generated method - Setter ofCouponRedemption.userattribute defined at extensioncouponservices.- Parameters:
value- the user
-