com.ibm.commerce.taxation.commands
Interface ResolveTaxJurisdictionCmd

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

public interface ResolveTaxJurisdictionCmd
extends TaskCommand

The ResolveTaxJurisdiction task commands are used to resolve the jurisdiction of an address. This is the common interface to those task commands.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 JurisdictionAccessBean getJurisdiction()
          Gets the resulting JurisdictionAccessBean.
 java.lang.Integer getJurisdictionId()
          Gets the resulting jurisdictionId.
 void setAddress(AddressAccessBean address)
          Sets the AddressAccessBean.
 void setAddressId(java.lang.Long addressId)
          Sets the addressId.
 void setDisplayOnly(boolean displayOnly)
          Sets the flag to indicate if the taxes are calculated for display purpose (Optional).
 
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

getJurisdiction

public JurisdictionAccessBean getJurisdiction()
Gets the resulting JurisdictionAccessBean.
Returns:
The resulting JurisdictionAccessBean.

getJurisdictionId

public java.lang.Integer getJurisdictionId()
Gets the resulting jurisdictionId.
Returns:
The resulting jurisdictionId.

setAddress

public void setAddress(AddressAccessBean address)
Sets the AddressAccessBean.
Parameters:
address - The AddressAccessBean.

setAddressId

public void setAddressId(java.lang.Long addressId)
Sets the addressId.
Parameters:
addressId - The addressId.

setDisplayOnly

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