com.ibm.commerce.fulfillment.commands
Interface GetOrderShippingTotalCmd

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

public interface GetOrderShippingTotalCmd
extends TaskCommand

Calculate the total shipping charges for an order. If unsuccessful, either set an exception task, return a false value to the calling command, or handle the exception by writing an http response.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 java.lang.String getCurrency()
          Get the currency to be used for shipping charges.
 java.lang.Long getOrderRn()
          Get the reference number of the order.
 java.math.BigDecimal getShippingTaxTotal()
          Get the total tax charges for the order.
 java.math.BigDecimal getShippingTotal()
          Get the total shipping charges for the order.
 java.util.Enumeration getSubOrders()
          Get the SubOrderAccessBeans.
 void setCurrency(java.lang.String currency)
          Set the currency to be used for shipping charges.
 void setOrderRn(java.lang.Long orderRn)
          Set the reference number of the order.
 void setSubOrders(java.util.Enumeration subOrders)
          Set the SubOrderAccessBeans.
 
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

getCurrency

public java.lang.String getCurrency()
Get the currency to be used for shipping charges.

getOrderRn

public java.lang.Long getOrderRn()
Get the reference number of the order.

getShippingTaxTotal

public java.math.BigDecimal getShippingTaxTotal()
Get the total tax charges for the order. If this value is not set, it is assumed to be 0.

getShippingTotal

public java.math.BigDecimal getShippingTotal()
Get the total shipping charges for the order.

getSubOrders

public java.util.Enumeration getSubOrders()
Get the SubOrderAccessBeans.

setCurrency

public void setCurrency(java.lang.String currency)
Set the currency to be used for shipping charges.

setOrderRn

public void setOrderRn(java.lang.Long orderRn)
Set the reference number of the order.

setSubOrders

public void setSubOrders(java.util.Enumeration subOrders)
Set the SubOrderAccessBeans.