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:
java.io.Serializable
public class RuleBasedOrderAddProductActionModel extends AbstractRuleBasedPromotionActionModel
Generated model class for type RuleBasedOrderAddProductAction first defined at extension promotionengineservices.- 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.StringPRODUCTGenerated constant - Attribute key ofRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.static java.lang.StringQUANTITYGenerated constant - Attribute key ofRuleBasedOrderAddProductAction.quantityattribute defined at extensionpromotionengineservices.-
Fields inherited from class de.hybris.platform.promotionengineservices.model.AbstractRuleBasedPromotionActionModel
METADATAHANDLERS, RULE, STRATEGYID, USEDCOUPONCODES
-
Fields inherited from class de.hybris.platform.promotions.model.AbstractPromotionActionModel
_PROMOTIONRESULT2PROMOTIONACTIONSRELATION, GUID, MARKEDAPPLIED, PROMOTIONRESULT
-
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 RuleBasedOrderAddProductActionModel()Generated constructor - Default constructor for generic creation.RuleBasedOrderAddProductActionModel(ItemModel _owner, ProductModel _product, java.lang.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, java.lang.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(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductModelgetProduct()Generated method - Getter of theRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.java.lang.LonggetQuantity()Generated method - Getter of theRuleBasedOrderAddProductAction.quantityattribute defined at extensionpromotionengineservices.voidsetProduct(ProductModel value)Generated method - Setter ofRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.voidsetQuantity(java.lang.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, setUsedCouponCodes
-
Methods inherited from class de.hybris.platform.promotions.model.AbstractPromotionActionModel
getGuid, getMarkedApplied, getPromotionResult, setGuid, setMarkedApplied, setPromotionResult
-
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
-
PRODUCT
public static final java.lang.String PRODUCT
Generated constant - Attribute key ofRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.- See Also:
- Constant Field Values
-
QUANTITY
public static final java.lang.String QUANTITY
Generated constant - Attribute key ofRuleBasedOrderAddProductAction.quantityattribute defined at extensionpromotionengineservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RuleBasedOrderAddProductActionModel
public RuleBasedOrderAddProductActionModel()
Generated constructor - Default constructor for generic creation.
-
RuleBasedOrderAddProductActionModel
public RuleBasedOrderAddProductActionModel(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, java.lang.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, java.lang.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 Detail
-
getProduct
@Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
Generated method - Getter of theRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.- Returns:
- the product - The product to be added
-
getQuantity
@Accessor(qualifier="quantity", type=GETTER) public java.lang.Long getQuantity()
Generated method - Getter of theRuleBasedOrderAddProductAction.quantityattribute defined at extensionpromotionengineservices.- Returns:
- the quantity - The quantity to be added
-
setProduct
@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
Generated method - Setter ofRuleBasedOrderAddProductAction.productattribute defined at extensionpromotionengineservices.- Parameters:
value- the product - The product to be added
-
-