public interface CSROrderProcessCmd extends ToolsControllerCommand
Behavior
Parameters
Example xml_string:
<?xml version="1.0" encoding "UTF-8">
<order>
<customerId>20000</customerId>
<originatorId>1000</originatorId>
<comment>
<value>This is a comment.</value>
<sendEmail>true</sendEmail>
<emailAddress>abc@mail.com</emailAddress>
</comment>
<firstOrder>
<id>10001</id>
<billingAddressId>10001</billingAddressId>
<dirtyBit>true</dirtyBit>
<totalShipping>
<value>0.0</value>
</totalShipping>
<totalAdjustment>
<value>0.0</value>
</totalAdjustment>
<couponIds>
<value>20.0</value>
</couponIds>
<payment>++
<policyId>200</policyId>
<paymentTCId>34</paymentTCId>
<description>Credit Card(Offline) - VISA</description>
<buyPageInfo>StandardCreditCard</buyPageInfo>
<cardBrand>VISA</cardBrand>
<cardNumber>2222222222</cardNumber>
<cardExpiryMonth>2002</cardExpiryMonth>
<cardExpiryYear>2002</cardExpiryYear>
</payment>
</firstOrder>
<secondOrder>
<id>10002</id>
<billingAddressId>10001</billingAddressId>
<dirtyBit>false</dirtyBit>
<totalShipping>
<value>0.0</value>
</totalShipping>
<totalAdjustment>
<value>0.0</value>
</totalAdjustment>
<couponIds>
<value>20.0</value>
</couponIds>
<payment>
<policyId>200</policyId>
<paymentTCId>34</paymentTCId>
<description>Credit Card(Offline) - VISA</description>
<buyPageInfo>StandardCreditCard</buyPageInfo>
<cardBrand>VISA</cardBrand>
<cardNumber>2222222222</cardNumber>
<cardExpiryMonth>2002</cardExpiryMonth>
<cardExpiryYear>2002</cardExpiryYear>
</payment>
</secondOrder>
</order>
<editOrderInfo>true</editOrderInfo>
</xml>
NOTE: payment object tags will vary depending on the payment method selected.Response Parameter:
Exception Conditions
It throws all the exceptions that the OrderProcessCmd will throw.Error View:
| Modifier and Type | Field and Description |
|---|---|
| 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.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName