com.ibm.commerce.order.calculation
Interface CalculationCmd

All Superinterfaces:
BusinessPolicyCommand, ECCommand, TaskCommand
All Known Subinterfaces:
ApplyCalculationUsageCmd, ApplyCalculationUsageTIKCmd, ApplyCouponUsageCmd, ApplyShippingCmd, CalculationCodeApplyCmd, CalculationCodeCalculateCmd, CalculationCodeCombineCmd, CalculationCodeQualifyCmd, CalculationRangeCmd, CalculationRuleCalculateCmd, CalculationRuleCombineCmd, CalculationRuleQualifyCmd, CalculationScaleLookupCmd, DiscountCalculationCodeApplyCmd, DiscountCalculationRuleQualifyCmd, FinalizeCalculationUsageCmd, FinalizeCouponUsageCmd, FixedAmountCalculationRangeCmd, InitializeAdjustmentCmd, InitializeCalculationUsageCmd, InitializeCouponUsageCmd, InitializeSalesTaxCmd, InitializeShippingCmd, InitializeShippingTaxCmd, NetPriceCalculationScaleLookupCmd, NetPriceWithQuantityAsResultMultiplierCalculationScaleLookupCmd, NetShippingCalculationScaleLookupCmd, NonDiscountedPriceCalculationScaleLookupCmd, PercentageCalculationRangeCmd, PerUnitAmountCalculationRangeCmd, QuantityCalculationScaleLookupCmd, QuantitySpreadByNetPriceCalculationScaleLookupCmd, SalesTaxCalculationCodeApplyCmd, ShippingCalculationCodeApplyCmd, ShippingCalculationRuleQualifyCmd, ShippingTaxCalculationCodeApplyCmd, SummarizeAdjustmentCmd, SummarizeCalculationUsageCmd, SummarizeCouponUsageCmd, SummarizeSalesTaxCmd, SummarizeShippingCmd, SummarizeShippingTaxCmd, TaxableNetPriceCalculationScaleLookupCmd, TaxableNetPricePlusNetShippingCalculationScaleLookupCmd, TaxableUnitPriceCalculationScaleLookupCmd, TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmd, TaxCalculationCodeCombineCmd, TaxCalculationRuleQualifyCmd, UnitPriceCalculationScaleLookupCmd, UnitShippingCalculationScaleLookupCmd, WeightCalculationScaleLookupCmd, WeightSpreadByNetPriceCalculationScaleLookupCmd
All Known Implementing Classes:
CalculationCmdImpl

public interface CalculationCmd
extends BusinessPolicyCommand

This is the base interface of the following commands:

See Also:
ApplyCalculationUsageCmd, CalculationCodeCombineCmd, CalculationCodeQualifyCmd, CalculationCodeCalculateCmd, CalculationCodeApplyCmd, CalculationRuleCombineCmd, CalculationRuleQualifyCmd, CalculationRuleCalculateCmd, CalculationScaleLookupCmd, CalculationRangeCmd

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String NAME
           
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Method Summary
 java.lang.String getCurrency()
          Returns the currency used in the calculation.
 java.util.HashMap getCustomProperties()
          Returns the custom properties as a HashMap.
 java.lang.Object getCustomProperty(java.lang.String astrName)
          Return a particular custom property.
 java.sql.Timestamp getTimestamp()
          Returns the timestamp used in the calculation.
 java.lang.Integer getUsageId()
          Returns the calculation usage.
 void setCurrency(java.lang.String astrCurrency)
          Sets the currency used in the calculation.
 void setCustomProperties(java.util.HashMap ahshCustomProperties)
          Sets the custom properties.
 void setCustomProperty(java.lang.String astrName, java.lang.Object aValue)
          Sets a particular custom property.
 void setTimestamp(java.sql.Timestamp aTimestamp)
          Sets the timestamp used in the calculation.
 void setUsageId(java.lang.Integer anUsageId)
          Sets the calculation usage.
 
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

NAME

public static final java.lang.String NAME
Method Detail

getCurrency

public java.lang.String getCurrency()
Returns the currency used in the calculation.

getCustomProperties

public java.util.HashMap getCustomProperties()
Returns the custom properties as a HashMap.

getCustomProperty

public java.lang.Object getCustomProperty(java.lang.String astrName)
Return a particular custom property.

getTimestamp

public java.sql.Timestamp getTimestamp()
Returns the timestamp used in the calculation.

getUsageId

public java.lang.Integer getUsageId()
Returns the calculation usage.

setCurrency

public void setCurrency(java.lang.String astrCurrency)
Sets the currency used in the calculation.

setCustomProperties

public void setCustomProperties(java.util.HashMap ahshCustomProperties)
Sets the custom properties.

setCustomProperty

public void setCustomProperty(java.lang.String astrName,
                              java.lang.Object aValue)
Sets a particular custom property.

setTimestamp

public void setTimestamp(java.sql.Timestamp aTimestamp)
Sets the timestamp used in the calculation.

setUsageId

public void setUsageId(java.lang.Integer anUsageId)
Sets the calculation usage.