public class FlashBuyCouponModel extends SingleCodeCouponModel
Flash buy special coupon.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
MAXPRODUCTQUANTITYPERORDER
Generated constant - Attribute key of
FlashBuyCoupon.maxProductQuantityPerOrder attribute defined at extension timedaccesspromotionengineservices. |
static java.lang.String |
ORIGINALMAXORDERQUANTITY
Generated constant - Attribute key of
FlashBuyCoupon.originalMaxOrderQuantity attribute defined at extension timedaccesspromotionengineservices. |
static java.lang.String |
PRODUCT
Generated constant - Attribute key of
FlashBuyCoupon.product attribute defined at extension timedaccesspromotionengineservices. |
static java.lang.String |
RULE
Generated constant - Attribute key of
FlashBuyCoupon.rule attribute defined at extension timedaccesspromotionengineservices. |
MAXREDEMPTIONSPERCUSTOMER, MAXTOTALREDEMPTIONSACTIVE, COUPONID, ENDDATE, NAME, STARTDATE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
FlashBuyCouponModel()
Generated constructor - Default constructor for generic creation.
|
FlashBuyCouponModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
FlashBuyCouponModel(java.lang.String _couponId)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
FlashBuyCouponModel(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.Integer |
getMaxProductQuantityPerOrder()
Generated method - Getter of the
FlashBuyCoupon.maxProductQuantityPerOrder attribute defined at extension timedaccesspromotionengineservices. |
java.lang.Integer |
getOriginalMaxOrderQuantity()
Generated method - Getter of the
FlashBuyCoupon.originalMaxOrderQuantity attribute defined at extension timedaccesspromotionengineservices. |
ProductModel |
getProduct()
Generated method - Getter of the
FlashBuyCoupon.product attribute defined at extension timedaccesspromotionengineservices. |
PromotionSourceRuleModel |
getRule()
Generated method - Getter of the
FlashBuyCoupon.rule attribute defined at extension timedaccesspromotionengineservices. |
void |
setMaxProductQuantityPerOrder(java.lang.Integer value)
Generated method - Setter of
FlashBuyCoupon.maxProductQuantityPerOrder attribute defined at extension timedaccesspromotionengineservices. |
void |
setOriginalMaxOrderQuantity(java.lang.Integer value)
Generated method - Setter of
FlashBuyCoupon.originalMaxOrderQuantity attribute defined at extension timedaccesspromotionengineservices. |
void |
setProduct(ProductModel value)
Generated method - Setter of
FlashBuyCoupon.product attribute defined at extension timedaccesspromotionengineservices. |
void |
setRule(PromotionSourceRuleModel value)
Generated method - Setter of
FlashBuyCoupon.rule attribute defined at extension timedaccesspromotionengineservices. |
getMaxRedemptionsPerCustomer, getMaxTotalRedemptions, setMaxRedemptionsPerCustomer, setMaxTotalRedemptionsgetActive, getCouponId, getEndDate, getName, getName, getStartDate, setActive, setCouponId, setEndDate, setName, setName, setStartDategetComments, 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 RULE
FlashBuyCoupon.rule attribute defined at extension timedaccesspromotionengineservices.public static final java.lang.String MAXPRODUCTQUANTITYPERORDER
FlashBuyCoupon.maxProductQuantityPerOrder attribute defined at extension timedaccesspromotionengineservices.public static final java.lang.String PRODUCT
FlashBuyCoupon.product attribute defined at extension timedaccesspromotionengineservices.public static final java.lang.String ORIGINALMAXORDERQUANTITY
FlashBuyCoupon.originalMaxOrderQuantity attribute defined at extension timedaccesspromotionengineservices.public FlashBuyCouponModel()
public FlashBuyCouponModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public FlashBuyCouponModel(java.lang.String _couponId)
_couponId - initial attribute declared by type AbstractCoupon at extension couponservices@Deprecated
public FlashBuyCouponModel(java.lang.String _couponId,
ItemModel _owner)
_couponId - initial attribute declared by type AbstractCoupon at extension couponservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="maxProductQuantityPerOrder", type=GETTER) public java.lang.Integer getMaxProductQuantityPerOrder()
FlashBuyCoupon.maxProductQuantityPerOrder attribute defined at extension timedaccesspromotionengineservices.@Accessor(qualifier="originalMaxOrderQuantity", type=GETTER) public java.lang.Integer getOriginalMaxOrderQuantity()
FlashBuyCoupon.originalMaxOrderQuantity attribute defined at extension timedaccesspromotionengineservices.@Accessor(qualifier="product", type=GETTER) public ProductModel getProduct()
FlashBuyCoupon.product attribute defined at extension timedaccesspromotionengineservices.@Accessor(qualifier="rule", type=GETTER) public PromotionSourceRuleModel getRule()
FlashBuyCoupon.rule attribute defined at extension timedaccesspromotionengineservices.@Accessor(qualifier="maxProductQuantityPerOrder", type=SETTER) public void setMaxProductQuantityPerOrder(java.lang.Integer value)
FlashBuyCoupon.maxProductQuantityPerOrder attribute defined at extension timedaccesspromotionengineservices.value - the maxProductQuantityPerOrder@Accessor(qualifier="originalMaxOrderQuantity", type=SETTER) public void setOriginalMaxOrderQuantity(java.lang.Integer value)
FlashBuyCoupon.originalMaxOrderQuantity attribute defined at extension timedaccesspromotionengineservices.value - the originalMaxOrderQuantity@Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
FlashBuyCoupon.product attribute defined at extension timedaccesspromotionengineservices.value - the product@Accessor(qualifier="rule", type=SETTER) public void setRule(PromotionSourceRuleModel value)
FlashBuyCoupon.rule attribute defined at extension timedaccesspromotionengineservices.value - the ruleCopyright © 2018 SAP SE. All Rights Reserved.