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 java.lang.String |
CURRENCY
Qualifier of the
OrderRestriction.currency attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
NET
Qualifier of the
OrderRestriction.net attribute |
static java.lang.String |
TOTAL
Qualifier of the
OrderRestriction.total attribute |
static java.lang.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 java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.Double |
getTotal()
Generated method - Getter of the
OrderRestriction.total attribute. |
java.lang.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. |
java.lang.Boolean |
isNet()
Generated method - Getter of the
OrderRestriction.net attribute. |
java.lang.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. |
java.lang.Boolean |
isValueofgoodsonly()
Generated method - Getter of the
OrderRestriction.valueofgoodsonly attribute. |
java.lang.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(java.lang.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,
java.lang.Boolean value)
Generated method - Setter of the
OrderRestriction.net attribute. |
void |
setTotal(double value)
Generated method - Setter of the
OrderRestriction.total attribute. |
void |
setTotal(java.lang.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,
java.lang.Double value)
Generated method - Setter of the
OrderRestriction.total attribute. |
void |
setValueofgoodsonly(boolean value)
Generated method - Setter of the
OrderRestriction.valueofgoodsonly attribute. |
void |
setValueofgoodsonly(java.lang.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,
java.lang.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, getImplementation, 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, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, 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, writeReplacesetTenantpublic static final java.lang.String TOTAL
OrderRestriction.total attributepublic static final java.lang.String CURRENCY
OrderRestriction.currency attributepublic static final java.lang.String NET
OrderRestriction.net attributepublic static final java.lang.String VALUEOFGOODSONLY
OrderRestriction.valueofgoodsonly attributeprotected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.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 java.lang.Boolean isNet(SessionContext ctx)
OrderRestriction.net attribute.public java.lang.Boolean isNet()
OrderRestriction.net attribute.public boolean isNetAsPrimitive(SessionContext ctx)
OrderRestriction.net attribute.public boolean isNetAsPrimitive()
OrderRestriction.net attribute.public void setNet(SessionContext ctx, java.lang.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(java.lang.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 java.lang.Double getTotal(SessionContext ctx)
OrderRestriction.total attribute.public java.lang.Double getTotal()
OrderRestriction.total attribute.public double getTotalAsPrimitive(SessionContext ctx)
OrderRestriction.total attribute.public double getTotalAsPrimitive()
OrderRestriction.total attribute.public void setTotal(SessionContext ctx, java.lang.Double value)
OrderRestriction.total attribute.value - the total - the total sum of an order for which the given voucher is valid.public void setTotal(java.lang.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 java.lang.Boolean isValueofgoodsonly(SessionContext ctx)
OrderRestriction.valueofgoodsonly attribute.public java.lang.Boolean isValueofgoodsonly()
OrderRestriction.valueofgoodsonly attribute.public boolean isValueofgoodsonlyAsPrimitive(SessionContext ctx)
OrderRestriction.valueofgoodsonly attribute.public boolean isValueofgoodsonlyAsPrimitive()
OrderRestriction.valueofgoodsonly attribute.public void setValueofgoodsonly(SessionContext ctx, java.lang.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(java.lang.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 © 2018 SAP SE. All Rights Reserved.