Class AcceleratorProductBOGOFPromotionModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.promotions.model.AbstractPromotionModel
-
- de.hybris.platform.promotions.model.ProductPromotionModel
-
- de.hybris.platform.promotions.model.ProductBOGOFPromotionModel
-
- de.hybris.platform.acceleratorservices.model.promotions.AcceleratorProductBOGOFPromotionModel
-
- All Implemented Interfaces:
java.io.Serializable
public class AcceleratorProductBOGOFPromotionModel extends ProductBOGOFPromotionModel
Generated model class for type AcceleratorProductBOGOFPromotion first defined at extension acceleratorservices.Replacement for ProductBOGOFPromotion. Fire only once for a entry rather firing for each set of qualifying count.
- 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.-
Fields inherited from class de.hybris.platform.promotions.model.ProductBOGOFPromotionModel
FREECOUNT, MESSAGECOULDHAVEFIRED, MESSAGEFIRED, QUALIFYINGCOUNT
-
Fields inherited from class de.hybris.platform.promotions.model.ProductPromotionModel
_CATEGORYPROMOTIONRELATION, _PRODUCTPROMOTIONRELATION, CATEGORIES, PRODUCTBANNER, PRODUCTS
-
Fields inherited from class de.hybris.platform.promotions.model.AbstractPromotionModel
_PROMOTIONGROUPPROMOTIONSRELATION, CODE, DESCRIPTION, DETAILSURL, ENABLED, ENDDATE, IMMUTABLEKEY, IMMUTABLEKEYHASH, NAME, PRIORITY, PROMOTIONGROUP, PROMOTIONTYPE, RESTRICTIONS, STARTDATE, TITLE
-
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 AcceleratorProductBOGOFPromotionModel()
Generated constructor - Default constructor for generic creation.AcceleratorProductBOGOFPromotionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextAcceleratorProductBOGOFPromotionModel(java.lang.String _code)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAcceleratorProductBOGOFPromotionModel(java.lang.String _code, 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
-
Methods inherited from class de.hybris.platform.promotions.model.ProductBOGOFPromotionModel
getFreeCount, getMessageCouldHaveFired, getMessageCouldHaveFired, getMessageFired, getMessageFired, getQualifyingCount, setFreeCount, setMessageCouldHaveFired, setMessageCouldHaveFired, setMessageFired, setMessageFired, setQualifyingCount
-
Methods inherited from class de.hybris.platform.promotions.model.ProductPromotionModel
getCategories, getProductBanner, getProducts, setCategories, setProductBanner, setProducts
-
Methods inherited from class de.hybris.platform.promotions.model.AbstractPromotionModel
getCode, getDescription, getDetailsURL, getEnabled, getEndDate, getImmutableKey, getImmutableKeyHash, getName, getName, getPriority, getPromotionGroup, getPromotionType, getPromotionType, getRestrictions, getStartDate, getTitle, setCode, setDescription, setDetailsURL, setEnabled, setEndDate, setImmutableKey, setImmutableKeyHash, setName, setName, setPriority, setPromotionGroup, setRestrictions, setStartDate, setTitle
-
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
-
-
Constructor Detail
-
AcceleratorProductBOGOFPromotionModel
public AcceleratorProductBOGOFPromotionModel()
Generated constructor - Default constructor for generic creation.
-
AcceleratorProductBOGOFPromotionModel
public AcceleratorProductBOGOFPromotionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
AcceleratorProductBOGOFPromotionModel
@Deprecated(since="4.1.1", forRemoval=true) public AcceleratorProductBOGOFPromotionModel(java.lang.String _code)
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:
_code
- initial attribute declared by typeAbstractPromotion
at extensionpromotions
-
AcceleratorProductBOGOFPromotionModel
@Deprecated(since="4.1.1", forRemoval=true) public AcceleratorProductBOGOFPromotionModel(java.lang.String _code, 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:
_code
- initial attribute declared by typeAbstractPromotion
at extensionpromotions
_owner
- initial attribute declared by typeItem
at extensioncore
-
-