public abstract class GeneratedPromotionVoucher extends Voucher
PromotionVoucher.Voucher.InvalidVoucherKeyExceptionGenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
REDEMPTIONQUANTITYLIMIT
Qualifier of the
PromotionVoucher.redemptionQuantityLimit attribute |
static String |
REDEMPTIONQUANTITYLIMITPERUSER
Qualifier of the
PromotionVoucher.redemptionQuantityLimitPerUser attribute |
static String |
VOUCHERCODE
Qualifier of the
PromotionVoucher.voucherCode attribute |
CODELENGTH, DIVIDER, LENGTH_CODEDESCRIPTION, FREESHIPPING, INVALIDATIONS, INVALIDATIONSHANDLER, RESTRICTIONS, RESTRICTIONSHANDLER, VALUESTRINGEXTERNAL_KEY, GLOBAL, VALUE_END, VALUE_STARTABSOLUTE, CODE, CURRENCY, DISCOUNTSTRING, NAME, ORDERDISCOUNTRELATION_MARKMODIFIED, ORDERDISCOUNTRELATION_SRC_ORDERED, ORDERDISCOUNTRELATION_TGT_ORDERED, ORDERS, PRIORITY, VALUELANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedPromotionVoucher() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Integer |
getRedemptionQuantityLimit()
Generated method - Getter of the
PromotionVoucher.redemptionQuantityLimit attribute. |
Integer |
getRedemptionQuantityLimit(SessionContext ctx)
Generated method - Getter of the
PromotionVoucher.redemptionQuantityLimit attribute. |
int |
getRedemptionQuantityLimitAsPrimitive()
Generated method - Getter of the
PromotionVoucher.redemptionQuantityLimit attribute. |
int |
getRedemptionQuantityLimitAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PromotionVoucher.redemptionQuantityLimit attribute. |
Integer |
getRedemptionQuantityLimitPerUser()
Generated method - Getter of the
PromotionVoucher.redemptionQuantityLimitPerUser attribute. |
Integer |
getRedemptionQuantityLimitPerUser(SessionContext ctx)
Generated method - Getter of the
PromotionVoucher.redemptionQuantityLimitPerUser attribute. |
int |
getRedemptionQuantityLimitPerUserAsPrimitive()
Generated method - Getter of the
PromotionVoucher.redemptionQuantityLimitPerUser attribute. |
int |
getRedemptionQuantityLimitPerUserAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PromotionVoucher.redemptionQuantityLimitPerUser attribute. |
String |
getVoucherCode()
Generated method - Getter of the
PromotionVoucher.voucherCode attribute. |
String |
getVoucherCode(SessionContext ctx)
Generated method - Getter of the
PromotionVoucher.voucherCode attribute. |
void |
setRedemptionQuantityLimit(int value)
Generated method - Setter of the
PromotionVoucher.redemptionQuantityLimit attribute. |
void |
setRedemptionQuantityLimit(Integer value)
Generated method - Setter of the
PromotionVoucher.redemptionQuantityLimit attribute. |
void |
setRedemptionQuantityLimit(SessionContext ctx,
int value)
Generated method - Setter of the
PromotionVoucher.redemptionQuantityLimit attribute. |
void |
setRedemptionQuantityLimit(SessionContext ctx,
Integer value)
Generated method - Setter of the
PromotionVoucher.redemptionQuantityLimit attribute. |
void |
setRedemptionQuantityLimitPerUser(int value)
Generated method - Setter of the
PromotionVoucher.redemptionQuantityLimitPerUser attribute. |
void |
setRedemptionQuantityLimitPerUser(Integer value)
Generated method - Setter of the
PromotionVoucher.redemptionQuantityLimitPerUser attribute. |
void |
setRedemptionQuantityLimitPerUser(SessionContext ctx,
int value)
Generated method - Setter of the
PromotionVoucher.redemptionQuantityLimitPerUser attribute. |
void |
setRedemptionQuantityLimitPerUser(SessionContext ctx,
Integer value)
Generated method - Setter of the
PromotionVoucher.redemptionQuantityLimitPerUser attribute. |
void |
setVoucherCode(SessionContext ctx,
String value)
Generated method - Setter of the
PromotionVoucher.voucherCode attribute. |
void |
setVoucherCode(String value)
Generated method - Setter of the
PromotionVoucher.voucherCode attribute. |
checkVoucherCode, createAndStoreKey, createItem, createVoucherInvalidation, generateVoucherCode, getApplicableEntries, getApplicableValue, getAppliedValue, getComposedType, getDiscountValue, getInvalidation, getInvalidations, getInvalidations, getNextVoucherNumber, getValueString, getViolatedRestrictions, getViolatedRestrictions, getViolationMessages, getViolationMessages, getVoucherNumber, getVoucherValue, insertDividers, isApplicable, isApplicable, isReservable, isReservable, redeem, redeem, release, release, remove, removeDividers, removeInvalidations, reserve, threeByteSigaddToInvalidations, addToInvalidations, addToRestrictions, addToRestrictions, getAllDescription, getAllDescription, getDescription, getDescription, getInvalidations, getInvalidations, getRestrictions, getRestrictions, getValueString, isFreeShipping, isFreeShipping, isFreeShippingAsPrimitive, isFreeShippingAsPrimitive, removeFromInvalidations, removeFromInvalidations, removeFromRestrictions, removeFromRestrictions, setAllDescription, setAllDescription, setDescription, setDescription, setFreeShipping, setFreeShipping, setFreeShipping, setFreeShipping, setInvalidations, setInvalidations, setRestrictions, setRestrictionsaddOrder, getAllNames, getDiscountstring, getDiscountString, getPriority, getValue, isAbsolute, notifyOrderCalculated, notifyOrderRemoval, removeOrder, setAllNames, setCodeaddToOrders, addToOrders, getAllName, getAllName, getCode, getCode, getCurrency, getCurrency, getDiscountString, getName, getName, getOrders, getOrders, getOrdersCount, getOrdersCount, getPriority, getPriorityAsPrimitive, getPriorityAsPrimitive, getValue, getValueAsPrimitive, getValueAsPrimitive, isAbsolute, isAbsoluteAsPrimitive, isAbsoluteAsPrimitive, isGlobal, isGlobal, isGlobalAsPrimitive, isGlobalAsPrimitive, removeFromOrders, removeFromOrders, setAllName, setAllName, setCode, setCurrency, setCurrency, setGlobal, setGlobal, setGlobal, setGlobal, setName, setName, setOrders, setOrders, setPriority, setPriority, setPriority, setPriority, setValue, setValue, setValue, setValuegetInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacegetImplementation, setTenantpublic static final String VOUCHERCODE
PromotionVoucher.voucherCode attributepublic static final String REDEMPTIONQUANTITYLIMIT
PromotionVoucher.redemptionQuantityLimit attributepublic static final String REDEMPTIONQUANTITYLIMITPERUSER
PromotionVoucher.redemptionQuantityLimitPerUser attributeprotected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedVoucherpublic Integer getRedemptionQuantityLimit(SessionContext ctx)
PromotionVoucher.redemptionQuantityLimit attribute.public Integer getRedemptionQuantityLimit()
PromotionVoucher.redemptionQuantityLimit attribute.public int getRedemptionQuantityLimitAsPrimitive(SessionContext ctx)
PromotionVoucher.redemptionQuantityLimit attribute.public int getRedemptionQuantityLimitAsPrimitive()
PromotionVoucher.redemptionQuantityLimit attribute.public void setRedemptionQuantityLimit(SessionContext ctx, Integer value)
PromotionVoucher.redemptionQuantityLimit attribute.value - the redemptionQuantityLimit - the upper limit of uses possible for this voucher.public void setRedemptionQuantityLimit(Integer value)
PromotionVoucher.redemptionQuantityLimit attribute.value - the redemptionQuantityLimit - the upper limit of uses possible for this voucher.public void setRedemptionQuantityLimit(SessionContext ctx, int value)
PromotionVoucher.redemptionQuantityLimit attribute.value - the redemptionQuantityLimit - the upper limit of uses possible for this voucher.public void setRedemptionQuantityLimit(int value)
PromotionVoucher.redemptionQuantityLimit attribute.value - the redemptionQuantityLimit - the upper limit of uses possible for this voucher.public Integer getRedemptionQuantityLimitPerUser(SessionContext ctx)
PromotionVoucher.redemptionQuantityLimitPerUser attribute.public Integer getRedemptionQuantityLimitPerUser()
PromotionVoucher.redemptionQuantityLimitPerUser attribute.public int getRedemptionQuantityLimitPerUserAsPrimitive(SessionContext ctx)
PromotionVoucher.redemptionQuantityLimitPerUser attribute.public int getRedemptionQuantityLimitPerUserAsPrimitive()
PromotionVoucher.redemptionQuantityLimitPerUser attribute.public void setRedemptionQuantityLimitPerUser(SessionContext ctx, Integer value)
PromotionVoucher.redemptionQuantityLimitPerUser attribute.value - the redemptionQuantityLimitPerUser - the upper limit of voucher uses possible per user. Default is one.public void setRedemptionQuantityLimitPerUser(Integer value)
PromotionVoucher.redemptionQuantityLimitPerUser attribute.value - the redemptionQuantityLimitPerUser - the upper limit of voucher uses possible per user. Default is one.public void setRedemptionQuantityLimitPerUser(SessionContext ctx, int value)
PromotionVoucher.redemptionQuantityLimitPerUser attribute.value - the redemptionQuantityLimitPerUser - the upper limit of voucher uses possible per user. Default is one.public void setRedemptionQuantityLimitPerUser(int value)
PromotionVoucher.redemptionQuantityLimitPerUser attribute.value - the redemptionQuantityLimitPerUser - the upper limit of voucher uses possible per user. Default is one.public String getVoucherCode(SessionContext ctx)
PromotionVoucher.voucherCode attribute.public String getVoucherCode()
PromotionVoucher.voucherCode attribute.public void setVoucherCode(SessionContext ctx, String value)
PromotionVoucher.voucherCode attribute.value - the voucherCode - the voucher code.public void setVoucherCode(String value)
PromotionVoucher.voucherCode attribute.value - the voucherCode - the voucher code.Copyright © 2017 SAP SE. All Rights Reserved.