public abstract class GeneratedOrderRestriction extends Restriction
OrderRestriction.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENCY
Qualifier of the
OrderRestriction.currency attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
NET
Qualifier of the
OrderRestriction.net attribute |
static String |
TOTAL
Qualifier of the
OrderRestriction.total attribute |
static String |
VALUEOFGOODSONLY
Qualifier of the
OrderRestriction.valueofgoodsonly attribute |
DESCRIPTION, POSITIVE, RESTRICTIONTYPE, VIOLATIONMESSAGE, VOUCHER, VOUCHERHANDLER, VOUCHERPOSLANGUAGE_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, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedOrderRestriction() |
| Modifier and Type | Method and Description |
|---|---|
Currency |
getCurrency()
Generated method - Getter of the
OrderRestriction.currency attribute. |
Currency |
getCurrency(SessionContext ctx)
Generated method - Getter of the
OrderRestriction.currency attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Double |
getTotal()
Generated method - Getter of the
OrderRestriction.total attribute. |
Double |
getTotal(SessionContext ctx)
Generated method - Getter of the
OrderRestriction.total attribute. |
double |
getTotalAsPrimitive()
Generated method - Getter of the
OrderRestriction.total attribute. |
double |
getTotalAsPrimitive(SessionContext ctx)
Generated method - Getter of the
OrderRestriction.total attribute. |
Boolean |
isNet()
Generated method - Getter of the
OrderRestriction.net attribute. |
Boolean |
isNet(SessionContext ctx)
Generated method - Getter of the
OrderRestriction.net attribute. |
boolean |
isNetAsPrimitive()
Generated method - Getter of the
OrderRestriction.net attribute. |
boolean |
isNetAsPrimitive(SessionContext ctx)
Generated method - Getter of the
OrderRestriction.net attribute. |
Boolean |
isValueofgoodsonly()
Generated method - Getter of the
OrderRestriction.valueofgoodsonly attribute. |
Boolean |
isValueofgoodsonly(SessionContext ctx)
Generated method - Getter of the
OrderRestriction.valueofgoodsonly attribute. |
boolean |
isValueofgoodsonlyAsPrimitive()
Generated method - Getter of the
OrderRestriction.valueofgoodsonly attribute. |
boolean |
isValueofgoodsonlyAsPrimitive(SessionContext ctx)
Generated method - Getter of the
OrderRestriction.valueofgoodsonly attribute. |
void |
setCurrency(Currency value)
Generated method - Setter of the
OrderRestriction.currency attribute. |
void |
setCurrency(SessionContext ctx,
Currency value)
Generated method - Setter of the
OrderRestriction.currency attribute. |
void |
setNet(boolean value)
Generated method - Setter of the
OrderRestriction.net attribute. |
void |
setNet(Boolean value)
Generated method - Setter of the
OrderRestriction.net attribute. |
void |
setNet(SessionContext ctx,
boolean value)
Generated method - Setter of the
OrderRestriction.net attribute. |
void |
setNet(SessionContext ctx,
Boolean value)
Generated method - Setter of the
OrderRestriction.net attribute. |
void |
setTotal(double value)
Generated method - Setter of the
OrderRestriction.total attribute. |
void |
setTotal(Double value)
Generated method - Setter of the
OrderRestriction.total attribute. |
void |
setTotal(SessionContext ctx,
double value)
Generated method - Setter of the
OrderRestriction.total attribute. |
void |
setTotal(SessionContext ctx,
Double value)
Generated method - Setter of the
OrderRestriction.total attribute. |
void |
setValueofgoodsonly(boolean value)
Generated method - Setter of the
OrderRestriction.valueofgoodsonly attribute. |
void |
setValueofgoodsonly(Boolean value)
Generated method - Setter of the
OrderRestriction.valueofgoodsonly attribute. |
void |
setValueofgoodsonly(SessionContext ctx,
boolean value)
Generated method - Setter of the
OrderRestriction.valueofgoodsonly attribute. |
void |
setValueofgoodsonly(SessionContext ctx,
Boolean value)
Generated method - Setter of the
OrderRestriction.valueofgoodsonly attribute. |
getAllRestrictionType, getApplicableEntries, getDescription, getMessageAttributeValues, getRestrictionType, getViolationMessage, isFulfilled, isFulfilled, isFulfilledInternal, isFulfilledInternalcreateItem, getAllDescription, getAllDescription, getAllRestrictionType, getAllViolationMessage, getAllViolationMessage, getDescription, getRestrictionType, getViolationMessage, getVoucher, getVoucher, isPositive, isPositive, isPositiveAsPrimitive, isPositiveAsPrimitive, setAllDescription, setAllDescription, setAllViolationMessage, setAllViolationMessage, setDescription, setDescription, setPositive, setPositive, setPositive, setPositive, setViolationMessage, setViolationMessage, setVoucher, setVouchergetInitialProperties, 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, 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 TOTAL
OrderRestriction.total attributepublic static final String CURRENCY
OrderRestriction.currency attributepublic static final String NET
OrderRestriction.net attributepublic static final String VALUEOFGOODSONLY
OrderRestriction.valueofgoodsonly attributeprotected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedRestrictionpublic Currency getCurrency(SessionContext ctx)
OrderRestriction.currency attribute.public Currency getCurrency()
OrderRestriction.currency attribute.public void setCurrency(SessionContext ctx, Currency value)
OrderRestriction.currency attribute.value - the currency - the currency of the total sum of an order for which the given voucher is valid.public void setCurrency(Currency value)
OrderRestriction.currency attribute.value - the currency - the currency of the total sum of an order for which the given voucher is valid.public Boolean isNet(SessionContext ctx)
OrderRestriction.net attribute.public Boolean isNet()
OrderRestriction.net attribute.public boolean isNetAsPrimitive(SessionContext ctx)
OrderRestriction.net attribute.public boolean isNetAsPrimitive()
OrderRestriction.net attribute.public void setNet(SessionContext ctx, Boolean value)
OrderRestriction.net attribute.value - the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT.
Default is true (exclusive VAT).public void setNet(Boolean value)
OrderRestriction.net attribute.value - the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT.
Default is true (exclusive VAT).public void setNet(SessionContext ctx, boolean value)
OrderRestriction.net attribute.value - the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT.
Default is true (exclusive VAT).public void setNet(boolean value)
OrderRestriction.net attribute.value - the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT.
Default is true (exclusive VAT).public Double getTotal(SessionContext ctx)
OrderRestriction.total attribute.public Double getTotal()
OrderRestriction.total attribute.public double getTotalAsPrimitive(SessionContext ctx)
OrderRestriction.total attribute.public double getTotalAsPrimitive()
OrderRestriction.total attribute.public void setTotal(SessionContext ctx, Double value)
OrderRestriction.total attribute.value - the total - the total sum of an order for which the given voucher is valid.public void setTotal(Double value)
OrderRestriction.total attribute.value - the total - the total sum of an order for which the given voucher is valid.public void setTotal(SessionContext ctx, double value)
OrderRestriction.total attribute.value - the total - the total sum of an order for which the given voucher is valid.public void setTotal(double value)
OrderRestriction.total attribute.value - the total - the total sum of an order for which the given voucher is valid.public Boolean isValueofgoodsonly(SessionContext ctx)
OrderRestriction.valueofgoodsonly attribute.public Boolean isValueofgoodsonly()
OrderRestriction.valueofgoodsonly attribute.public boolean isValueofgoodsonlyAsPrimitive(SessionContext ctx)
OrderRestriction.valueofgoodsonly attribute.public boolean isValueofgoodsonlyAsPrimitive()
OrderRestriction.valueofgoodsonly attribute.public void setValueofgoodsonly(SessionContext ctx, Boolean value)
OrderRestriction.valueofgoodsonly attribute.value - the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs.
Default is true (exclusive shipping costs).public void setValueofgoodsonly(Boolean value)
OrderRestriction.valueofgoodsonly attribute.value - the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs.
Default is true (exclusive shipping costs).public void setValueofgoodsonly(SessionContext ctx, boolean value)
OrderRestriction.valueofgoodsonly attribute.value - the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs.
Default is true (exclusive shipping costs).public void setValueofgoodsonly(boolean value)
OrderRestriction.valueofgoodsonly attribute.value - the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs.
Default is true (exclusive shipping costs).Copyright © 2017 SAP SE. All Rights Reserved.