com.ibm.commerce.taxation.commands
Interface GetDisplayTaxesCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
GetDisplayTaxesCmdImpl

public interface GetDisplayTaxesCmd
extends TaskCommand

The interface sets the tax amounts for each of the tax categories that have been marked for display for the input catalog entry.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 java.util.Hashtable getCategorizedTaxAmount()
          Returns the monetary amounts of all tax categories and their names.
 java.util.Hashtable getTaxDescriptionHash()
          Gets the descriptions of all tax categories.
 void setAddressId(java.lang.Long aAddressId)
          Sets the id of the input ship-to address (Optional).
 void setCatEntryId(java.lang.Long aCatEntryId)
          Sets the id of the input catalog entry.
 void setCurrency(java.lang.String aCurrency)
          Sets the currency of the input price amount.
 void setDisplayOnly(boolean abDisplayOnly)
          Sets the flag to indicate if the taxes are calculated for display purpose (Optional).
 void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
          Sets the id of the fulfillment center (Optional).
 void setPrice(java.math.BigDecimal aPrice)
          Sets the product price for calculating the taxes.
 void setQuantity(java.lang.Double aQuantity)
          Sets the product quantity for calculating the taxes.
 void setShippingCharge(java.math.BigDecimal aShippingCharge)
          Sets the shipping charge for the shipping the product.
 void setUOM(java.lang.String astrUOM)
          Sets the unit of measure for the product.
 
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

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

getCategorizedTaxAmount

public java.util.Hashtable getCategorizedTaxAmount()
Returns the monetary amounts of all tax categories and their names.
Returns:
The monetary amounts of all tax categories and their corresponding category names/ids.

getTaxDescriptionHash

public java.util.Hashtable getTaxDescriptionHash()
Gets the descriptions of all tax categories.
Returns:
The descriptions, names or ids of all tax categories.

setAddressId

public void setAddressId(java.lang.Long aAddressId)
Sets the id of the input ship-to address (Optional).
Parameters:
aAddressId - The reference number of the ship-to address.

setCatEntryId

public void setCatEntryId(java.lang.Long aCatEntryId)
Sets the id of the input catalog entry.
Parameters:
aCatEntryId - The reference number of the catalog entry.

setCurrency

public void setCurrency(java.lang.String aCurrency)
Sets the currency of the input price amount.
Parameters:
aCurrency - The currency of the input price amount.

setDisplayOnly

public void setDisplayOnly(boolean abDisplayOnly)
Sets the flag to indicate if the taxes are calculated for display purpose (Optional).
Parameters:
abDisplayOnly - To indicate if it is for display use only. A true value (default) means for display. A false value means not for display.

setFulfillmentCenterId

public void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
Sets the id of the fulfillment center (Optional).
Parameters:
aFulfillmentCenterId - The reference number of the fulfillment center.

setPrice

public void setPrice(java.math.BigDecimal aPrice)
Sets the product price for calculating the taxes.
Parameters:
aPrice - The product price for calculating the taxes.

setQuantity

public void setQuantity(java.lang.Double aQuantity)
Sets the product quantity for calculating the taxes.
Parameters:
aQuantity - The product quantity for calculating the taxes.

setShippingCharge

public void setShippingCharge(java.math.BigDecimal aShippingCharge)
Sets the shipping charge for the shipping the product.
Parameters:
aShippingCharge - The product shipping charge.

setUOM

public void setUOM(java.lang.String astrUOM)
Sets the unit of measure for the product.
Parameters:
astrUOM - The unit of measure for the product.