com.ibm.commerce.tools.optools.user.commands
Interface CSRCustomerInfoUpdateCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
- All Known Implementing Classes:
- CSRCustomerInfoUpdateCmdImpl
- public interface CSRCustomerInfoUpdateCmd
- extends ToolsControllerCommand
Updates customer registration information by calling UserRegistrationAdminUpdateCmd.
URL calling syntax:
- Https://host_name/path/CSRCustomerInfoUpdateCmd?XML=xml_string
Parameters:
- XML
- An input xml_string that contains the all required data for updating the
registration information for the customer.
Example xml_string:
<?xml version="1.0" encoding "UTF-8">
<userUpdated>false</userUpdated>
<userProfileUpdated>true</userProfileUpdated>
<addressUpdated>true</addressUpdated>
<demographicsUpdated>false</demographicsUpdated>
<userRegUpdated>false</userRegUpdated>
<certStatusUpdated>false</certStatusUpdated>
<customerId>20000</customerId>
<profileInfo>
<addressId>7777</addressId>
<lastName>Smith</lastName>
<firstName>John</firstName>
<middleName>M.</middleName>
<title>1</title>
</profileInfo>
<addressInfo>
<address1>8200 Warden Ave.</address1>
<address2>Building A2</address2>
<address3>Unit 999</address3>
<city>Markham</city>
<state>Ontario</state>
<country>Canada</country>
<zip>L3N 3R6</zip>
</addressInfo>
</xml>
Exceptions:
- Based on Locale/Language, some fields for the customer registration are required.
Once missing, this command will throw exception to indicate which field is
missing.
Field Summary |
static java.lang.String |
COPYRIGHT
copyright notice |
static java.lang.String |
defaultCommandClassName
name of the default implementation of this command |
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.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- copyright notice
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- name of the default implementation of this command