Class RuleBasedOrderAddProductActionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.promotions.model.AbstractPromotionActionModel
de.hybris.platform.promotionengineservices.model.AbstractRuleBasedPromotionActionModel
de.hybris.platform.promotionengineservices.model.RuleBasedOrderAddProductActionModel
- All Implemented Interfaces:
Serializable
Generated model class for type RuleBasedOrderAddProductAction first defined at extension promotionengineservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.static final StringGenerated constant - Attribute key ofRuleBasedOrderAddProductAction.quantityattribute defined at extensionpromotionengineservices.Fields inherited from class de.hybris.platform.promotionengineservices.model.AbstractRuleBasedPromotionActionModel
METADATAHANDLERS, RULE, STRATEGYID, USEDCOUPONCODESFields inherited from class de.hybris.platform.promotions.model.AbstractPromotionActionModel
_PROMOTIONRESULT2PROMOTIONACTIONSRELATION, GUID, MARKEDAPPLIED, PROMOTIONRESULTFields 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.RuleBasedOrderAddProductActionModel(ItemModel _owner, ProductModel _product, Long _quantity) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRuleBasedOrderAddProductActionModel(ProductModel _product, Long _quantity) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersRuleBasedOrderAddProductActionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.Generated method - Getter of theRuleBasedOrderAddProductAction.quantityattribute defined at extensionpromotionengineservices.voidsetProduct(ProductModel value) Generated method - Setter ofRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.voidsetQuantity(Long value) Generated method - Setter ofRuleBasedOrderAddProductAction.quantityattribute defined at extensionpromotionengineservices.Methods inherited from class de.hybris.platform.promotionengineservices.model.AbstractRuleBasedPromotionActionModel
getMetadataHandlers, getRule, getStrategyId, getUsedCouponCodes, setMetadataHandlers, setRule, setStrategyId, setUsedCouponCodesMethods inherited from class de.hybris.platform.promotions.model.AbstractPromotionActionModel
getGuid, getMarkedApplied, getPromotionResult, setGuid, setMarkedApplied, setPromotionResultMethods 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:
-
PRODUCT
Generated constant - Attribute key ofRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.- See Also:
-
QUANTITY
Generated constant - Attribute key ofRuleBasedOrderAddProductAction.quantityattribute defined at extensionpromotionengineservices.- See Also:
-
-
Constructor Details
-
RuleBasedOrderAddProductActionModel
public RuleBasedOrderAddProductActionModel()Generated constructor - Default constructor for generic creation. -
RuleBasedOrderAddProductActionModel
public RuleBasedOrderAddProductActionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
RuleBasedOrderAddProductActionModel
@Deprecated(since="4.1.1", forRemoval=true) public RuleBasedOrderAddProductActionModel(ProductModel _product, Long _quantity) 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:
_product- initial attribute declared by typeRuleBasedOrderAddProductActionat extensionpromotionengineservices_quantity- initial attribute declared by typeRuleBasedOrderAddProductActionat extensionpromotionengineservices
-
RuleBasedOrderAddProductActionModel
@Deprecated(since="4.1.1", forRemoval=true) public RuleBasedOrderAddProductActionModel(ItemModel _owner, ProductModel _product, Long _quantity) 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:
_owner- initial attribute declared by typeItemat extensioncore_product- initial attribute declared by typeRuleBasedOrderAddProductActionat extensionpromotionengineservices_quantity- initial attribute declared by typeRuleBasedOrderAddProductActionat extensionpromotionengineservices
-
-
Method Details
-
getProduct
Generated method - Getter of theRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.- Returns:
- the product - The product to be added
-
getQuantity
Generated method - Getter of theRuleBasedOrderAddProductAction.quantityattribute defined at extensionpromotionengineservices.- Returns:
- the quantity - The quantity to be added
-
setProduct
Generated method - Setter ofRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.- Parameters:
value- the product - The product to be added
-
setQuantity
Generated method - Setter ofRuleBasedOrderAddProductAction.quantityattribute defined at extensionpromotionengineservices.- Parameters:
value- the quantity - The quantity to be added
-