Class FlashBuyCouponModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.couponservices.model.AbstractCouponModel
de.hybris.platform.couponservices.model.SingleCodeCouponModel
de.hybris.platform.timedaccesspromotionengineservices.model.FlashBuyCouponModel
- All Implemented Interfaces:
Serializable
Generated model class for type FlashBuyCoupon first defined at extension timedaccesspromotionengineservices.
Flash buy special coupon.
- 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 ofFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.static final StringGenerated constant - Attribute key ofFlashBuyCoupon.originalMaxOrderQuantityattribute defined at extensiontimedaccesspromotionengineservices.static final StringGenerated constant - Attribute key ofFlashBuyCoupon.productattribute defined at extensiontimedaccesspromotionengineservices.static final StringGenerated constant - Attribute key ofFlashBuyCoupon.ruleattribute defined at extensiontimedaccesspromotionengineservices.Fields inherited from class de.hybris.platform.couponservices.model.SingleCodeCouponModel
MAXREDEMPTIONSPERCUSTOMER, MAXTOTALREDEMPTIONSFields inherited from class de.hybris.platform.couponservices.model.AbstractCouponModel
ACTIVE, COUPONID, ENDDATE, NAME, STARTDATEFields 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.Generated constructor - Default constructor for creation with existing contextFlashBuyCouponModel(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 parametersFlashBuyCouponModel(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 -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.Generated method - Getter of theFlashBuyCoupon.originalMaxOrderQuantityattribute defined at extensiontimedaccesspromotionengineservices.Generated method - Getter of theFlashBuyCoupon.productattribute defined at extensiontimedaccesspromotionengineservices.getRule()Generated method - Getter of theFlashBuyCoupon.ruleattribute defined at extensiontimedaccesspromotionengineservices.voidGenerated method - Setter ofFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.voidGenerated method - Setter ofFlashBuyCoupon.originalMaxOrderQuantityattribute defined at extensiontimedaccesspromotionengineservices.voidsetProduct(ProductModel value) Generated method - Setter ofFlashBuyCoupon.productattribute defined at extensiontimedaccesspromotionengineservices.voidsetRule(PromotionSourceRuleModel value) Generated method - Setter ofFlashBuyCoupon.ruleattribute defined at extensiontimedaccesspromotionengineservices.Methods inherited from class de.hybris.platform.couponservices.model.SingleCodeCouponModel
getMaxRedemptionsPerCustomer, getMaxTotalRedemptions, setMaxRedemptionsPerCustomer, setMaxTotalRedemptionsMethods inherited from class de.hybris.platform.couponservices.model.AbstractCouponModel
getActive, getCouponId, getEndDate, getName, getName, getStartDate, setActive, setCouponId, setEndDate, setName, setName, setStartDateMethods 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:
-
RULE
Generated constant - Attribute key ofFlashBuyCoupon.ruleattribute defined at extensiontimedaccesspromotionengineservices.- See Also:
-
MAXPRODUCTQUANTITYPERORDER
Generated constant - Attribute key ofFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.- See Also:
-
PRODUCT
Generated constant - Attribute key ofFlashBuyCoupon.productattribute defined at extensiontimedaccesspromotionengineservices.- See Also:
-
ORIGINALMAXORDERQUANTITY
Generated constant - Attribute key ofFlashBuyCoupon.originalMaxOrderQuantityattribute defined at extensiontimedaccesspromotionengineservices.- See Also:
-
-
Constructor Details
-
FlashBuyCouponModel
public FlashBuyCouponModel()Generated constructor - Default constructor for generic creation. -
FlashBuyCouponModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
FlashBuyCouponModel
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:
_couponId- initial attribute declared by typeAbstractCouponat extensioncouponservices
-
FlashBuyCouponModel
@Deprecated(since="4.1.1", forRemoval=true) public FlashBuyCouponModel(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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_couponId- initial attribute declared by typeAbstractCouponat extensioncouponservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getMaxProductQuantityPerOrder
@Accessor(qualifier="maxProductQuantityPerOrder", type=GETTER) public Integer getMaxProductQuantityPerOrder()Generated method - Getter of theFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.- Returns:
- the maxProductQuantityPerOrder
-
getOriginalMaxOrderQuantity
@Accessor(qualifier="originalMaxOrderQuantity", type=GETTER) public Integer getOriginalMaxOrderQuantity()Generated method - Getter of theFlashBuyCoupon.originalMaxOrderQuantityattribute defined at extensiontimedaccesspromotionengineservices.- Returns:
- the originalMaxOrderQuantity
-
getProduct
Generated method - Getter of theFlashBuyCoupon.productattribute defined at extensiontimedaccesspromotionengineservices.- Returns:
- the product
-
getRule
Generated method - Getter of theFlashBuyCoupon.ruleattribute defined at extensiontimedaccesspromotionengineservices.- Returns:
- the rule
-
setMaxProductQuantityPerOrder
@Accessor(qualifier="maxProductQuantityPerOrder", type=SETTER) public void setMaxProductQuantityPerOrder(Integer value) Generated method - Setter ofFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.- Parameters:
value- the maxProductQuantityPerOrder
-
setOriginalMaxOrderQuantity
@Accessor(qualifier="originalMaxOrderQuantity", type=SETTER) public void setOriginalMaxOrderQuantity(Integer value) Generated method - Setter ofFlashBuyCoupon.originalMaxOrderQuantityattribute defined at extensiontimedaccesspromotionengineservices.- Parameters:
value- the originalMaxOrderQuantity
-
setProduct
Generated method - Setter ofFlashBuyCoupon.productattribute defined at extensiontimedaccesspromotionengineservices.- Parameters:
value- the product
-
setRule
Generated method - Setter ofFlashBuyCoupon.ruleattribute defined at extensiontimedaccesspromotionengineservices.- Parameters:
value- the rule
-