public class RuleBasedOrderAddProductActionModel extends AbstractRuleBasedPromotionActionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
PRODUCT
Generated constant - Attribute key of
RuleBasedOrderAddProductAction.product attribute defined at extension promotionengineservices. |
static java.lang.String |
QUANTITY
Generated constant - Attribute key of
RuleBasedOrderAddProductAction.quantity attribute defined at extension promotionengineservices. |
METADATAHANDLERS, RULE, STRATEGYID, USEDCOUPONCODES_PROMOTIONRESULT2PROMOTIONACTIONSRELATION, GUID, MARKEDAPPLIED, PROMOTIONRESULT_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
RuleBasedOrderAddProductActionModel()
Generated constructor - Default constructor for generic creation.
|
RuleBasedOrderAddProductActionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
RuleBasedOrderAddProductActionModel(ItemModel _owner,
ProductModel _product,
java.lang.Long _quantity)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
RuleBasedOrderAddProductActionModel(ProductModel _product,
java.lang.Long _quantity)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
ProductModel |
getProduct()
Generated method - Getter of the
RuleBasedOrderAddProductAction.product attribute defined at extension promotionengineservices. |
java.lang.Long |
getQuantity()
Generated method - Getter of the
RuleBasedOrderAddProductAction.quantity attribute defined at extension promotionengineservices. |
void |
setProduct(ProductModel value)
Generated method - Setter of
RuleBasedOrderAddProductAction.product attribute defined at extension promotionengineservices. |
void |
setQuantity(java.lang.Long value)
Generated method - Setter of
RuleBasedOrderAddProductAction.quantity attribute defined at extension promotionengineservices. |
getMetadataHandlers, getRule, getStrategyId, getUsedCouponCodes, setMetadataHandlers, setRule, setStrategyId, setUsedCouponCodesgetGuid, getMarkedApplied, getPromotionResult, setGuid, setMarkedApplied, setPromotionResultgetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String PRODUCT
RuleBasedOrderAddProductAction.product attribute defined at extension promotionengineservices.public static final java.lang.String QUANTITY
RuleBasedOrderAddProductAction.quantity attribute defined at extension promotionengineservices.public RuleBasedOrderAddProductActionModel()
public RuleBasedOrderAddProductActionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public RuleBasedOrderAddProductActionModel(ProductModel _product, java.lang.Long _quantity)
_product - initial attribute declared by type RuleBasedOrderAddProductAction at extension promotionengineservices_quantity - initial attribute declared by type RuleBasedOrderAddProductAction at extension promotionengineservices@Deprecated public RuleBasedOrderAddProductActionModel(ItemModel _owner, ProductModel _product, java.lang.Long _quantity)
_owner - initial attribute declared by type Item at extension core_product - initial attribute declared by type RuleBasedOrderAddProductAction at extension promotionengineservices_quantity - initial attribute declared by type RuleBasedOrderAddProductAction at extension promotionengineservices@Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
RuleBasedOrderAddProductAction.product attribute defined at extension promotionengineservices.@Accessor(qualifier="quantity", type=GETTER) public java.lang.Long getQuantity()
RuleBasedOrderAddProductAction.quantity attribute defined at extension promotionengineservices.@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
RuleBasedOrderAddProductAction.product attribute defined at extension promotionengineservices.value - the product - The product to be addedCopyright © 2018 SAP SE. All Rights Reserved.