public class FlashbuyPromotionModel extends ProductFixedPricePromotionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
AVAILABLEUNITSPERPRODUCT
Generated constant - Attribute key of
FlashbuyPromotion.availableUnitsPerProduct attribute defined at extension timedaccesspromotionsservices. |
static java.lang.String |
AVAILABLEUNITSPERUSERANDPRODUCT
Generated constant - Attribute key of
FlashbuyPromotion.availableUnitsPerUserAndProduct attribute defined at extension timedaccesspromotionsservices. |
static java.lang.String |
STARTBUYDATE
Generated constant - Attribute key of
FlashbuyPromotion.startBuyDate attribute defined at extension timedaccesspromotionsservices. |
MESSAGEFIRED, PRODUCTFIXEDUNITPRICE_CATEGORYPROMOTIONRELATION, _PRODUCTPROMOTIONRELATION, CATEGORIES, PRODUCTBANNER, PRODUCTS, SPECIALDISCOUNT_PROMOTIONGROUPPROMOTIONSRELATION, CODE, DESCRIPTION, DETAILSURL, ENABLED, ENDDATE, IMMUTABLEKEY, IMMUTABLEKEYHASH, NAME, PRIORITY, PROMOTIONGROUP, PROMOTIONTYPE, RESTRICTIONS, STARTDATE, TITLE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
FlashbuyPromotionModel()
Generated constructor - Default constructor for generic creation.
|
FlashbuyPromotionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
FlashbuyPromotionModel(java.lang.Long _availableUnitsPerProduct,
java.lang.String _code,
java.util.Date _startBuyDate)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
FlashbuyPromotionModel(java.lang.Long _availableUnitsPerProduct,
java.lang.String _code,
ItemModel _owner,
java.util.Date _startBuyDate)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getAvailableUnitsPerProduct()
Generated method - Getter of the
FlashbuyPromotion.availableUnitsPerProduct attribute defined at extension timedaccesspromotionsservices. |
java.lang.Long |
getAvailableUnitsPerUserAndProduct()
Generated method - Getter of the
FlashbuyPromotion.availableUnitsPerUserAndProduct attribute defined at extension timedaccesspromotionsservices. |
java.util.Date |
getStartBuyDate()
Generated method - Getter of the
FlashbuyPromotion.startBuyDate attribute defined at extension timedaccesspromotionsservices. |
void |
setAvailableUnitsPerProduct(java.lang.Long value)
Generated method - Setter of
FlashbuyPromotion.availableUnitsPerProduct attribute defined at extension timedaccesspromotionsservices. |
void |
setAvailableUnitsPerUserAndProduct(java.lang.Long value)
Generated method - Setter of
FlashbuyPromotion.availableUnitsPerUserAndProduct attribute defined at extension timedaccesspromotionsservices. |
void |
setStartBuyDate(java.util.Date value)
Generated method - Setter of
FlashbuyPromotion.startBuyDate attribute defined at extension timedaccesspromotionsservices. |
getMessageFired, getMessageFired, getProductFixedUnitPrice, setMessageFired, setMessageFired, setProductFixedUnitPricegetCategories, getProductBanner, getProducts, getSpecialDiscount, setCategories, setProductBanner, setProducts, setSpecialDiscountgetCode, getDescription, getDetailsURL, getEnabled, getEndDate, getImmutableKey, getImmutableKeyHash, getName, getName, getPriority, getPromotionGroup, getPromotionType, getPromotionType, getRestrictions, getStartDate, getTitle, setCode, setDescription, setDetailsURL, setEnabled, setEndDate, setImmutableKey, setImmutableKeyHash, setName, setName, setPriority, setPromotionGroup, setRestrictions, setStartDate, setTitlegetComments, 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 AVAILABLEUNITSPERPRODUCT
FlashbuyPromotion.availableUnitsPerProduct attribute defined at extension timedaccesspromotionsservices.public static final java.lang.String AVAILABLEUNITSPERUSERANDPRODUCT
FlashbuyPromotion.availableUnitsPerUserAndProduct attribute defined at extension timedaccesspromotionsservices.public static final java.lang.String STARTBUYDATE
FlashbuyPromotion.startBuyDate attribute defined at extension timedaccesspromotionsservices.public FlashbuyPromotionModel()
public FlashbuyPromotionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public FlashbuyPromotionModel(java.lang.Long _availableUnitsPerProduct,
java.lang.String _code,
java.util.Date _startBuyDate)
_availableUnitsPerProduct - initial attribute declared by type FlashbuyPromotion at extension timedaccesspromotionsservices_code - initial attribute declared by type AbstractPromotion at extension promotions_startBuyDate - initial attribute declared by type FlashbuyPromotion at extension timedaccesspromotionsservices@Deprecated
public FlashbuyPromotionModel(java.lang.Long _availableUnitsPerProduct,
java.lang.String _code,
ItemModel _owner,
java.util.Date _startBuyDate)
_availableUnitsPerProduct - initial attribute declared by type FlashbuyPromotion at extension timedaccesspromotionsservices_code - initial attribute declared by type AbstractPromotion at extension promotions_owner - initial attribute declared by type Item at extension core_startBuyDate - initial attribute declared by type FlashbuyPromotion at extension timedaccesspromotionsservices@Accessor(qualifier="availableUnitsPerProduct", type=GETTER) public java.lang.Long getAvailableUnitsPerProduct()
FlashbuyPromotion.availableUnitsPerProduct attribute defined at extension timedaccesspromotionsservices.@Accessor(qualifier="availableUnitsPerUserAndProduct", type=GETTER) public java.lang.Long getAvailableUnitsPerUserAndProduct()
FlashbuyPromotion.availableUnitsPerUserAndProduct attribute defined at extension timedaccesspromotionsservices.@Accessor(qualifier="startBuyDate", type=GETTER) public java.util.Date getStartBuyDate()
FlashbuyPromotion.startBuyDate attribute defined at extension timedaccesspromotionsservices.@Accessor(qualifier="availableUnitsPerProduct", type=SETTER) public void setAvailableUnitsPerProduct(java.lang.Long value)
FlashbuyPromotion.availableUnitsPerProduct attribute defined at extension timedaccesspromotionsservices.value - the availableUnitsPerProduct - Number of units available for the flash buy promotion per product.@Accessor(qualifier="availableUnitsPerUserAndProduct", type=SETTER) public void setAvailableUnitsPerUserAndProduct(java.lang.Long value)
FlashbuyPromotion.availableUnitsPerUserAndProduct attribute defined at extension timedaccesspromotionsservices.value - the availableUnitsPerUserAndProduct - Maximum amount of units that each customer can buy per product.@Accessor(qualifier="startBuyDate", type=SETTER) public void setStartBuyDate(java.util.Date value)
FlashbuyPromotion.startBuyDate attribute defined at extension timedaccesspromotionsservices.value - the startBuyDate - Date on which this promotion becomes really available to purchase, if not set the promotion will not be available.Copyright © 2018 SAP SE. All Rights Reserved.