public class PromotionOrderAddFreeGiftActionModel extends AbstractPromotionActionModel
| 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, SEALED| 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,
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, setOwnerpublic 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, ItemModel _owner)
_freeProduct - initial attribute declared by type PromotionOrderAddFreeGiftAction at extension promotions_owner - initial attribute declared by type Item at extension corepublic ProductModel getFreeProduct()
PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions.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.