com.ibm.commerce.order.commands
Interface OrderProfileUpdateCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
OrderProfileUpdateCmdImpl

public interface OrderProfileUpdateCmd
extends ControllerCommand

Creates or updates customer's default billing and shipping addresses, shipping mode and payment information.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String NAME
           
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Method Summary
 void setBillingAddress(java.lang.Long anBillingAddress)
          Sets the the default address to bill.
 void setPaymentInfo(java.util.Hashtable ahshPaymentInfo)
          Sets the default payment information.
 void setShippingAddress(java.lang.Long anShippingAddress)
          Sets the default address to ship.
 void setShippingMode(java.lang.Integer anShippingMode)
          Sets the default shipping mode.
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

NAME

public static final java.lang.String NAME
Method Detail

setBillingAddress

public void setBillingAddress(java.lang.Long anBillingAddress)
Sets the the default address to bill.
Parameters:
anBillingAddress - java.lang.Long - billing address identifier

setPaymentInfo

public void setPaymentInfo(java.util.Hashtable ahshPaymentInfo)
Sets the default payment information.
Parameters:
ahshPaymentInfo - java.util.Hashtable - payment name-value pairs.

setShippingAddress

public void setShippingAddress(java.lang.Long anShippingAddress)
Sets the default address to ship.
Parameters:
anShippingAddress - java.lang.Long - shipping address identifier

setShippingMode

public void setShippingMode(java.lang.Integer anShippingMode)
Sets the default shipping mode.
Parameters:
anShippingMode - java.lang.Integer - shipping mode identifier