Updates the shipping address ID for order items on behalf of the customer.
Behavior
CSRCustomerAddressAddCmd
if shipAddrId is not provided.OrderItemAddCmd
.Parameters
Example xml_string: <?xml version="1.0" encoding "UTF-8"> <order> <customerId>20000</customerId> </order> <address> <addrType>SB</addrType> <nickName>Home</nickName> <lastName>ABC</lastName> <firstName>XYZ</firstName> <address1>8200 Warden Ave.</address1> <address2>A3 - 999</address2> <city>Markham</city> <region>Ontario</region> <country>Canada</country> <postalCode>L3N 3R6</postalCode> <phoneNumber>905-413-1234</phoneNumber> <email>abc@mail.com</email> </address> <orderItem> <orderId>10001</orderId> <orderItemId>10110</orderItemId> <shipAddrId>20002</shipAddrId> </orderItem> </xml>
Exception Conditions
Throws all exceptions that thrown byCSRCustomerAddressAddCmd
and OrderItemAddCmd
.
Error View:
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The default implementation class name. |
static java.lang.String |
NAME The name of this command. |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
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,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName