This command submits an order.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The default implementation class. |
static java.lang.String |
NAME The name of the Command Interface class. |
static java.lang.Short |
VAL_NOTIFY_NO Notify no. |
static java.lang.Short |
VAL_NOTIFY_YES Notify yes. |
Method Summary | |
---|---|
TypedProperty |
getResponseProperties() Gets the response properties object for the calling controller command to use. |
void |
setAvailabilityChangeURL(java.lang.String newAvailabilityChangeURL) Sets the URL to redirect to when the estimated availability time plus the shipping offset for any order item moves into the future (as a result of allocating or backordering inventory) by more than the time interval specified by the setMaxAvailabilityChange method. |
void |
setBillToRn(java.lang.Long anBillToRn) Sets the reference number of the address to bill. |
void |
setExternalPassword(java.lang.String astrExternalPassword) Sets the external password |
void |
setExternalUserId(java.lang.String astrExternalUserId) Sets the external user id |
void |
setField1(java.lang.Integer anField1) Sets merchant-customizable field one. |
void |
setField2(java.math.BigDecimal adField2) Sets merchant-customizable field two. |
void |
setField3(java.lang.String astrField3) Sets merchant-customizable field three. |
void |
setMaxAvailabilityChange(java.lang.Long newMaxAvailabilityChange) Sets the time interval, in seconds, used with the url set by the setAvailabilityChangeURL method. |
void |
setNoInventoryURL(java.lang.String newNoInventoryURL) Sets the URL to redirect to if any of the order items in the order cannot be allocated or backordered. |
void |
setNotificationAttributes(java.util.Hashtable aNotificationAttributes) Sets the attributes for order notification |
void |
setNotifyMerchant(java.lang.Short anNotifyMerchant) Specifies whether to notify the merchant when the order has been processed. |
void |
setNotifyOrderSubmitted(java.lang.Short anNotifyOrderSubmitted) Specifies whether the customer should be notified when the order is successfully submitted for processing. |
void |
setNotifyShopper(java.lang.Short anNotifyShopper) Specifies whether to notify the shopper when the order has been processed. |
void |
setOrderRn(java.lang.Long anOrderRn) Sets the order reference number. |
void |
setQuotationSubmission(java.lang.String astrQuotationSubmission) Sets the quotationSubmission parameter. |
void |
setQuoteExpiredURL(java.lang.String newQuoteExpiredURL) Sets the URL to redirect to if the order total expired in agreement with the expiry policy set by the setQuoteExpiryPolicy method. |
void |
setQuoteExpiryPolicy(java.lang.String newQuoteExpiryPolicy) Sets the behavior of the command if the order total expires or an order item's fulfillment center changes during inventory allocation. |
void |
setReduceParentQuantities(java.lang.String astrReduceParentQuantities) Sets the reduceParentQuantities parameter. |
void |
setRequestProperties(
TypedProperty aRequestProperties) Sets the request properties. |
void |
setTransferMode(java.lang.String transferMode)
Sets the transferMode property of the command. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
public static final java.lang.Short VAL_NOTIFY_NO
public static final java.lang.Short VAL_NOTIFY_YES
Method Detail |
---|
public TypedProperty getResponseProperties()
public void setAvailabilityChangeURL(java.lang.String newAvailabilityChangeURL)
newAvailabilityChangeURL
- URLpublic void setBillToRn(java.lang.Long anBillToRn)
anBillToRn
- address idpublic void setField1(java.lang.Integer anField1)
anField1
- field1public void setField2(java.math.BigDecimal adField2)
adField2
- field2public void setField3(java.lang.String astrField3)
astrField3
- field3public void setMaxAvailabilityChange(java.lang.Long newMaxAvailabilityChange)
newMaxAvailabilityChange
-public void setNoInventoryURL(java.lang.String newNoInventoryURL)
newNoInventoryURL
- URLpublic void setNotifyMerchant(java.lang.Short anNotifyMerchant)
anNotifyMerchant
-public void setNotifyOrderSubmitted(java.lang.Short anNotifyOrderSubmitted)
1=Yes
0=No (default)
anNotifyOrderSubmitted
-public void setNotifyShopper(java.lang.Short anNotifyShopper)
anNotifyShopper
-public void setOrderRn(java.lang.Long anOrderRn)
anOrderRn
- order idpublic void setQuotationSubmission(java.lang.String astrQuotationSubmission)
astrQuotationSubmission
-public void setQuoteExpiredURL(java.lang.String newQuoteExpiredURL)
newQuoteExpiredURL
- URLpublic void setQuoteExpiryPolicy(java.lang.String newQuoteExpiryPolicy)
newQuoteExpiryPolicy
- quote expiry policypublic void setReduceParentQuantities(java.lang.String astrReduceParentQuantities)
astrReduceParentQuantities
-public void setTransferMode(java.lang.String transferMode)
transferMode
- - 0 - order has been transferred without the
payment information (shopping cart transfer).public void setExternalUserId(java.lang.String astrExternalUserId)
astrExternalUserId
- The external user id to
setpublic void setExternalPassword(java.lang.String astrExternalPassword)
astrExternalPassword
- The external password to
setpublic void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
aRequestProperties
- request properties
ECApplicationException
public void setNotificationAttributes(java.util.Hashtable aNotificationAttributes)
aNotificationAttributes
- The attributes to
set