public class PromotionOrderAddFreeGiftActionModel extends AbstractPromotionActionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
FREEPRODUCT
Generated constant - Attribute key of
PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions. |
_PROMOTIONRESULT2PROMOTIONACTIONSRELATION, GUID, MARKEDAPPLIED, PROMOTIONRESULT_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
PromotionOrderAddFreeGiftActionModel()
Generated constructor - Default constructor for generic creation.
|
PromotionOrderAddFreeGiftActionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
PromotionOrderAddFreeGiftActionModel(ProductModel _freeProduct)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
PromotionOrderAddFreeGiftActionModel(ProductModel _freeProduct,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
ProductModel |
getFreeProduct()
Generated method - Getter of the
PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions. |
void |
setFreeProduct(ProductModel value)
Generated method - Setter of
PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions. |
getGuid, 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 FREEPRODUCT
PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions.public PromotionOrderAddFreeGiftActionModel()
public PromotionOrderAddFreeGiftActionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public PromotionOrderAddFreeGiftActionModel(ProductModel _freeProduct)
_freeProduct - initial attribute declared by type PromotionOrderAddFreeGiftAction at extension promotions@Deprecated public PromotionOrderAddFreeGiftActionModel(ProductModel _freeProduct, ItemModel _owner)
_freeProduct - initial attribute declared by type PromotionOrderAddFreeGiftAction at extension promotions_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="freeProduct", type=GETTER) public ProductModel getFreeProduct()
PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions.@Accessor(qualifier="freeProduct", type=SETTER) public void setFreeProduct(ProductModel value)
PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions.value - the freeProduct - The product given away as a giftCopyright © 2018 SAP SE. All Rights Reserved.