public class RuleBasedAddCouponActionModel extends AbstractRuleBasedPromotionActionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
COUPONCODE
Generated constant - Attribute key of
RuleBasedAddCouponAction.couponCode attribute defined at extension couponservices. |
static java.lang.String |
COUPONID
Generated constant - Attribute key of
RuleBasedAddCouponAction.couponId attribute defined at extension couponservices. |
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 |
|---|
RuleBasedAddCouponActionModel()
Generated constructor - Default constructor for generic creation.
|
RuleBasedAddCouponActionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
RuleBasedAddCouponActionModel(java.lang.String _couponId)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
RuleBasedAddCouponActionModel(java.lang.String _couponId,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCouponCode()
Generated method - Getter of the
RuleBasedAddCouponAction.couponCode attribute defined at extension couponservices. |
java.lang.String |
getCouponId()
Generated method - Getter of the
RuleBasedAddCouponAction.couponId attribute defined at extension couponservices. |
void |
setCouponCode(java.lang.String value)
Generated method - Setter of
RuleBasedAddCouponAction.couponCode attribute defined at extension couponservices. |
void |
setCouponId(java.lang.String value)
Generated method - Setter of
RuleBasedAddCouponAction.couponId attribute defined at extension couponservices. |
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 COUPONID
RuleBasedAddCouponAction.couponId attribute defined at extension couponservices.public static final java.lang.String COUPONCODE
RuleBasedAddCouponAction.couponCode attribute defined at extension couponservices.public RuleBasedAddCouponActionModel()
public RuleBasedAddCouponActionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public RuleBasedAddCouponActionModel(java.lang.String _couponId)
_couponId - initial attribute declared by type RuleBasedAddCouponAction at extension couponservices@Deprecated
public RuleBasedAddCouponActionModel(java.lang.String _couponId,
ItemModel _owner)
_couponId - initial attribute declared by type RuleBasedAddCouponAction at extension couponservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="couponCode", type=GETTER) public java.lang.String getCouponCode()
RuleBasedAddCouponAction.couponCode attribute defined at extension couponservices.@Accessor(qualifier="couponId", type=GETTER) public java.lang.String getCouponId()
RuleBasedAddCouponAction.couponId attribute defined at extension couponservices.@Accessor(qualifier="couponCode", type=SETTER) public void setCouponCode(java.lang.String value)
RuleBasedAddCouponAction.couponCode attribute defined at extension couponservices.value - the couponCode - Coupon CodeCopyright © 2018 SAP SE. All Rights Reserved.