public interface TaxableUnitPriceCalculationScaleLookupCmd extends CalculationScaleLookupCmd
CalculationScaleLookup
command is intended for calculation scales that are based on taxable unit
price. It returns:
Property | Value |
---|---|
base monetary value | sum of taxable net prices divided by sum of actual quantities |
lookup number | sum of taxable net prices divided by sum of actual quantities |
result multiplier | 1 |
weight of each item | taxable net price divided by actual quantity of each item |
perOfferattribute of the
CalculationCoderis true.)
CalculationRuleto determine the
TaxCategory.) The "lookup number" is converted to the currency specified by the
currStrattribute of the
CalculationScale. The "result multiplier" is the sum of the OrderItem quantities. The mathematical weights are the "taxable net prices" each divided by its OrderItem quantity.
CalculationScaleLookupCmd
,
Item
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
defaultCommandClassName |
static java.lang.String |
NAME |
getBaseMonetaryValue, getLookupNumber, getResultMultiplier, getWeights, setItems, setRule, setScale
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName