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:
java.io.Serializable
public class FlashBuyCouponModel extends SingleCodeCouponModel
Generated model class for type FlashBuyCoupon first defined at extension timedaccesspromotionengineservices.Flash buy special coupon.
- 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_TYPECODEGenerated model type code constant.static java.lang.StringMAXPRODUCTQUANTITYPERORDERGenerated constant - Attribute key ofFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.static java.lang.StringORIGINALMAXORDERQUANTITYGenerated constant - Attribute key ofFlashBuyCoupon.originalMaxOrderQuantityattribute defined at extensiontimedaccesspromotionengineservices.static java.lang.StringPRODUCTGenerated constant - Attribute key ofFlashBuyCoupon.productattribute defined at extensiontimedaccesspromotionengineservices.static java.lang.StringRULEGenerated constant - Attribute key ofFlashBuyCoupon.ruleattribute defined at extensiontimedaccesspromotionengineservices.-
Fields inherited from class de.hybris.platform.couponservices.model.SingleCodeCouponModel
MAXREDEMPTIONSPERCUSTOMER, MAXTOTALREDEMPTIONS
-
Fields inherited from class de.hybris.platform.couponservices.model.AbstractCouponModel
ACTIVE, COUPONID, ENDDATE, NAME, STARTDATE
-
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 FlashBuyCouponModel()Generated constructor - Default constructor for generic creation.FlashBuyCouponModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextFlashBuyCouponModel(java.lang.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(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetMaxProductQuantityPerOrder()Generated method - Getter of theFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.java.lang.IntegergetOriginalMaxOrderQuantity()Generated method - Getter of theFlashBuyCoupon.originalMaxOrderQuantityattribute defined at extensiontimedaccesspromotionengineservices.ProductModelgetProduct()Generated method - Getter of theFlashBuyCoupon.productattribute defined at extensiontimedaccesspromotionengineservices.PromotionSourceRuleModelgetRule()Generated method - Getter of theFlashBuyCoupon.ruleattribute defined at extensiontimedaccesspromotionengineservices.voidsetMaxProductQuantityPerOrder(java.lang.Integer value)Generated method - Setter ofFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.voidsetOriginalMaxOrderQuantity(java.lang.Integer value)Generated 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, setMaxTotalRedemptions
-
Methods inherited from class de.hybris.platform.couponservices.model.AbstractCouponModel
getActive, getCouponId, getEndDate, getName, getName, getStartDate, setActive, setCouponId, setEndDate, setName, setName, setStartDate
-
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
-
RULE
public static final java.lang.String RULE
Generated constant - Attribute key ofFlashBuyCoupon.ruleattribute defined at extensiontimedaccesspromotionengineservices.- See Also:
- Constant Field Values
-
MAXPRODUCTQUANTITYPERORDER
public static final java.lang.String MAXPRODUCTQUANTITYPERORDER
Generated constant - Attribute key ofFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.- See Also:
- Constant Field Values
-
PRODUCT
public static final java.lang.String PRODUCT
Generated constant - Attribute key ofFlashBuyCoupon.productattribute defined at extensiontimedaccesspromotionengineservices.- See Also:
- Constant Field Values
-
ORIGINALMAXORDERQUANTITY
public static final java.lang.String ORIGINALMAXORDERQUANTITY
Generated constant - Attribute key ofFlashBuyCoupon.originalMaxOrderQuantityattribute defined at extensiontimedaccesspromotionengineservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FlashBuyCouponModel
public FlashBuyCouponModel()
Generated constructor - Default constructor for generic creation.
-
FlashBuyCouponModel
public FlashBuyCouponModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
FlashBuyCouponModel
@Deprecated(since="4.1.1", forRemoval=true) public FlashBuyCouponModel(java.lang.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 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(java.lang.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 Detail
-
getMaxProductQuantityPerOrder
@Accessor(qualifier="maxProductQuantityPerOrder", type=GETTER) public java.lang.Integer getMaxProductQuantityPerOrder()
Generated method - Getter of theFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.- Returns:
- the maxProductQuantityPerOrder
-
getOriginalMaxOrderQuantity
@Accessor(qualifier="originalMaxOrderQuantity", type=GETTER) public java.lang.Integer getOriginalMaxOrderQuantity()
Generated method - Getter of theFlashBuyCoupon.originalMaxOrderQuantityattribute defined at extensiontimedaccesspromotionengineservices.- Returns:
- the originalMaxOrderQuantity
-
getProduct
@Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
Generated method - Getter of theFlashBuyCoupon.productattribute defined at extensiontimedaccesspromotionengineservices.- Returns:
- the product
-
getRule
@Accessor(qualifier="rule", type=GETTER) public PromotionSourceRuleModel getRule()
Generated method - Getter of theFlashBuyCoupon.ruleattribute defined at extensiontimedaccesspromotionengineservices.- Returns:
- the rule
-
setMaxProductQuantityPerOrder
@Accessor(qualifier="maxProductQuantityPerOrder", type=SETTER) public void setMaxProductQuantityPerOrder(java.lang.Integer value)
Generated method - Setter ofFlashBuyCoupon.maxProductQuantityPerOrderattribute defined at extensiontimedaccesspromotionengineservices.- Parameters:
value- the maxProductQuantityPerOrder
-
setOriginalMaxOrderQuantity
@Accessor(qualifier="originalMaxOrderQuantity", type=SETTER) public void setOriginalMaxOrderQuantity(java.lang.Integer value)
Generated method - Setter ofFlashBuyCoupon.originalMaxOrderQuantityattribute defined at extensiontimedaccesspromotionengineservices.- Parameters:
value- the originalMaxOrderQuantity
-
setProduct
@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
Generated method - Setter ofFlashBuyCoupon.productattribute defined at extensiontimedaccesspromotionengineservices.- Parameters:
value- the product
-
setRule
@Accessor(qualifier="rule", type=SETTER) public void setRule(PromotionSourceRuleModel value)
Generated method - Setter ofFlashBuyCoupon.ruleattribute defined at extensiontimedaccesspromotionengineservices.- Parameters:
value- the rule
-
-