com.ibm.commerce.order.calculation
Interface TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmd
- All Superinterfaces:
- BusinessPolicyCommand, CalculationCmd, CalculationScaleLookupCmd, TaskCommand
- All Known Implementing Classes:
- TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmdImpl, UnitShippingCalculationScaleLookupCmdImpl
- public interface TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmd
- extends CalculationScaleLookupCmd
This version of the CalculationScaleLookup command is intended for calculation scales that are based on taxable unit price plus unit shipping charge. It returns:
Property |
Value |
base monetary value |
sum of taxable net prices plus shipping charges divided by sum of actual quantities |
lookup number |
sum of taxable net prices plus shipping charges divided by sum of actual quantities |
result multiplier |
1 |
weight of each item |
taxable net price plus shipping charge divided by actual quantity of each item |
Appropriate for "per item" "combined sales and shipping" tax scales, especially where a maximum tax per item may be specified. (Only appropriate when the perOffer attribute of the CalculationCode is true.)
Both the "lookup number" and the "base monetary value" are the sum of the "taxable net prices" of the OrderItems plus the sum of their shipping charges, divided by the "result multiplier". (Use the CalculationRule to determine the TaxCategory.) The "lookup number" is converted to the currency specified by the currStr attribute of the CalculationScale. The "result multiplier" is the sum of the OrderItem quantities. The mathematical weights are the "taxable net prices" plus the shipping charge each divided by the OrderItem quantity.
- See Also:
- CalculationScaleLookupCmd, Item
COPYRIGHT
public static final java.lang.String COPYRIGHT
-
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
-
- See Also:
- Constant Field Values
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
-
- See Also:
- Constant Field Values
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.