public class CommonOrderFacadeClient extends AbstractOrderFacadeClient
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENT_NAME
The component name for the order component.
|
static java.lang.String |
COPYRIGHT
the IBM Copyright notice field.
|
CHANGE_VERB_ACTION_ADD, CHANGE_VERB_ACTION_CHANGE, CHANGE_VERB_ACTION_CREATE, CHANGE_VERB_ACTION_DELETE, CHANGE_VERB_ACTION_UPDATE
Constructor and Description |
---|
CommonOrderFacadeClient()
The default constructor of the class.
|
CommonOrderFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
This method constructs an object by business context and call back
handler.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map |
addOrderItem(java.util.Map parameters)
This method adds an order item.
|
RespondOrderDataAreaType |
addOrderItem(OrderIdentifierType orderId,
OrderItemType[] orderItems)
Deprecated.
Replaced by
addOrderItem(OrderType, OrderItemType[]) |
RespondOrderDataAreaType |
addOrderItem(OrderType order,
OrderItemType[] orderItems)
Deprecated.
Replaced by
addOrderItem(String, OrderType, OrderItemType[]) |
RespondOrderDataAreaType |
addOrderItem(java.lang.String actionCode,
OrderType order,
OrderItemType[] orderItems)
This method adds an order item.
|
java.util.Map |
addPaymentInstruction(java.util.Map parameters)
This method adds the payment instruction list.
|
RespondOrderDataAreaType |
addPaymentInstruction(OrderIdentifierType orderId,
PaymentInstructionType[] paymentInstructions)
This method adds payment instructions for an order.
|
java.util.Map |
applyCoupon(java.util.Map parameters)
It will send a BOD with process verb and action code 'ApplyCoupon' to order server.
|
AcknowledgeOrderDataAreaType |
applyCoupon(OrderType order)
It will send a BOD with process verb and action code 'ApplyCoupon' to order server.
|
java.util.Map |
applyPromotionCode(java.util.Map parameters)
It will send a BOD with process verb and action code 'ApplyPromotionCode' to order server.
|
AcknowledgeOrderDataAreaType |
applyPromotionCode(OrderType order)
It will send a BOD with process verb and action code 'ApplyPromotionCode' to order server.
|
java.util.Map |
calculateOrder(java.util.Map parameters)
It will send a BOD with process verb and action code 'CalculateInternally' to order server.
|
AcknowledgeOrderDataAreaType |
calculateOrder(OrderType order)
This method calculates the order
|
java.util.Map |
cancelScheduledOrder(java.util.Map parameters)
This method cancels a scheduled order and deactivates the related
schedule job.
|
java.util.Map |
cancelShoppingCart(java.util.Map parameters)
This method deletes the order.
|
AcknowledgeOrderDataAreaType |
cancelShoppingCart(OrderIdentifierType orderId)
This method deletes the order.
|
RespondOrderDataAreaType |
changeOrder(java.lang.String action,
OrderType order,
java.lang.String expression)
This method changes the order.
|
AcknowledgeOrderType |
createAcknowledgeOrder()
This method returns a new instance of the
AcknowledgeOrder
object. |
ChangeOrderType |
createChangeOrder()
This method creates an instance of
ChangeOrder object. |
GetOrderType |
createGetOrder()
This method returns a new instance of the
GetOrder object. |
static GetType |
createGetVerb(ExpressionType selectionCriteriaExpression,
java.lang.String recordSetReferenceId,
int recordSetStartNumber,
int maxItems)
This is a utility method to create the Get verb.
|
ProcessOrderType |
createProcessOrder()
This method returns a new instance of the
ProcessOrder
object. |
RespondOrderType |
createRespondOrder()
This method returns a new instance of the
RespondOrder
object. |
ShowOrderType |
createShowOrder()
This method returns a new instance of the
ShowOrder object. |
SyncOrderType |
createSyncOrder()
This method creates an instance of
SyncOrder object. |
java.util.Map |
deleteOrderItem(java.util.Map parameters)
This method deletes order items.
|
ShowOrderDataAreaType |
findByOrderId(java.lang.String[] orderIdTypes,
boolean isSummary)
Retrieves orders based on their order IDs, and specifies the level of
detail of the returned data.
|
ShowOrderDataAreaType |
findByOrderId(java.lang.String[] orderIDs,
java.lang.String accessProfile)
Retrieves orders based on their order IDs, and specifies the level of
detail of the returned data.
|
ShowOrderDataAreaType |
findByOrderId(java.lang.String orderID,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
Retrieves a single order based on its order ID, and whether noun-parts
should be paginated.
|
ShowOrderDataAreaType |
findByOrderStatus(java.lang.String[] orderStatusTypes,
boolean isSummary)
This method retrieves orders according to the given status.
|
ShowOrderDataAreaType |
findByOrderStatus(java.lang.String[] orderStatusTypes,
boolean isSummary,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves orders according to the given status.
|
ShowOrderDataAreaType |
findConfigurationByOrderItemId(java.lang.String orderItemId)
This method retrieves order item configuration according to the given order item id.
|
ShowOrderDataAreaType |
findCurrentShoppingCart(boolean isSummary)
Retrieves the order that represents the current shopping cart, and
specifies the level of detail of the returned data.
|
ShowOrderDataAreaType |
findCurrentShoppingCart(boolean isSummary,
java.lang.String sortOrderItemBy)
Retrieves the order that represents the current shopping cart, and
specifies the level of detail of the returned data.
|
ShowOrderDataAreaType |
findCurrentShoppingCart(java.lang.String sortOrderItemBy,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
Retrieves the order that represents the current shopping cart, and how
sorting and pagination are to be performed.
|
ShowOrderDataAreaType |
findOrderByExternalOrderID(java.lang.String[] astrOrderId,
boolean isSummary,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves orders from external system according to the given external order id.
|
ShowOrderDataAreaType |
findOrderByStoreMemberAndPlacedDate(java.lang.String strAccessProfile,
java.lang.String[] orderStatuses,
java.lang.String storeId,
java.lang.String[] memberIds,
java.lang.String dispayCurrency,
java.lang.String startPlacedDate,
java.lang.String endPlacedDate,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves orders according to the give store ID, member IDs,
and placed date.
|
ShowOrderDataAreaType |
findOrderItemByStoreMemberAndCreateDate(java.lang.String strAccessProfile,
java.lang.String[] orderItemStatuses,
java.lang.String storeId,
java.lang.String[] memberIds,
java.lang.String dispayCurrency,
java.lang.String startCreateDate,
java.lang.String endCreateDate,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves order items according to the given store ID, member
IDs, and create date.
|
ShowOrderDataAreaType |
findPurchaseHistory(java.lang.String storeId,
java.lang.String[] memberIds,
java.lang.String dispayCurrency,
java.lang.String startPlacedDate,
java.lang.String endPlacedDate,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves the customers' purchase history.
|
ShowOrderDataAreaType |
findPurchaseHistoryItemsWithProductID(java.lang.String storeId,
java.lang.String[] memberIds,
java.lang.String startCreateDate,
java.lang.String endCreateDate,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves the order items that customers have purchased.
|
ShowOrderDataAreaType |
findPurchaseHistoryItemsWithValue(java.lang.String storeId,
java.lang.String[] memberIds,
java.lang.String dispayCurrency,
java.lang.String startCreateDate,
java.lang.String endCreateDate,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves a customer's purchased order items and their
values, and quantities.
|
ShowQuoteDataAreaType |
findQuoteByExternalQuoteID(java.lang.String[] astrQuoteId,
boolean isSummary,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves quotes according to the given quote id.
|
ShowQuoteDataAreaType |
findQuotesByStatus(java.lang.String[] orderStatusTypes,
boolean isSummary,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves quotes according to the given status.
|
ShowOrderDataAreaType |
findScheduledOrder(boolean isSummary,
java.lang.String memberId,
java.lang.String storeId,
java.lang.String startTime,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves scheduled orders according to
the start time, member and store.
|
ShowOrderDataAreaType |
findShoppingCartItemsWithProductID(java.lang.String storeId,
java.lang.String memberId,
java.lang.String startCreateDate,
java.lang.String endCreateDate,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves items and their values, and quantities from a
customer's shopping cart.
|
ShowOrderDataAreaType |
findShoppingCartItemsWithValue(java.lang.String storeId,
java.lang.String memberId,
java.lang.String dispayCurrency,
java.lang.String startCreateDate,
java.lang.String endCreateDate,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This method retrieves the items in a customer's shopping cart.
|
ShowOrderDataAreaType |
findUsablePaymentOrShipInformation(java.lang.String[] orderIdTypes,
boolean isPaymentInfo)
This method finds usable payment or shipping information for the
specified order.
|
ShowOrderDataAreaType |
findUsableShippingInfoByOrderID(java.lang.String orderID,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
Retrieves the usable shipping information of a particular order.
|
java.util.Map |
lockOrder(java.util.Map parameters)
It will send a BOD with process verb and action code 'lock' to order server.
|
AcknowledgeOrderDataAreaType |
lockOrder(OrderType order)
This method locks the order.
|
java.util.Map |
prepareOrder(java.util.Map parameters)
This method prepares the order.
|
AcknowledgeOrderDataAreaType |
prepareOrder(OrderType order)
This method prepares the order.
|
AcknowledgeOrderDataAreaType |
processOrder(java.lang.String action,
OrderType order)
This method processes the order.
|
AcknowledgeOrderDataAreaType |
processOrder(java.lang.String action,
OrderType order,
java.lang.String expression)
This method processes the order.
|
java.util.Map |
removeCoupon(java.util.Map parameters)
It will send a BOD with process verb and action code 'RemoveCoupon' to order server.
|
AcknowledgeOrderDataAreaType |
removeCoupon(OrderType order)
It will send a BOD with process verb and action code 'RemoveCoupon' to order server.
|
java.util.Map |
removePaymentInstruction(java.util.Map parameters)
This method removes the list of payment instructions.
|
RespondOrderDataAreaType |
removePaymentInstruction(OrderIdentifierType orderId,
PaymentInstructionType[] paymentInstruction)
This method removes the payment instructions.
|
java.util.Map |
removePromotionCode(java.util.Map parameters)
It will send a BOD with process verb and action code 'RemovePromotionCode' to order server.
|
AcknowledgeOrderDataAreaType |
removePromotionCode(OrderType order)
It will send a BOD with process verb and action code 'RemovePromotionCode' to order server.
|
java.util.Map |
repay(java.util.Map parameters)
It will send a BOD with process verb and action code 'Repay' to order server.
|
AcknowledgeOrderDataAreaType |
repay(OrderType order)
It will send a BOD with process verb and action code 'Repay' to order server.
|
java.util.Map |
scheduleOrder(java.util.Map parameters)
This method creates a schedule order which related to a schedule job.
The following sample code demonstrates how to use the API: |
java.util.Map |
submitOrder(java.util.Map parameters)
This method submits the order.
|
AcknowledgeOrderDataAreaType |
submitOrder(OrderType order)
This method submits the order
|
ConfirmBODType |
syncOrder(java.lang.String actionCode,
OrderType order)
This method synchronizes the order.
|
ConfirmBODType |
syncOrder(java.lang.String actionCode,
OrderType order,
java.lang.String expression)
This method synchronizes the order.
|
java.util.Map |
unlockOrder(java.util.Map parameters)
It will send a BOD with process verb and action code 'Unlock' to order server.
|
AcknowledgeOrderDataAreaType |
unlockOrder(OrderType order)
This method unlocks the order
|
java.util.Map |
updateOrderGiftInfo(java.util.Map parameters)
This method updates the gift information of the order.
|
java.util.Map |
updateOrderItem(java.util.Map parameters)
This method updates multiple order items of an order.
|
RespondOrderDataAreaType |
updateOrderItem(OrderIdentifierType orderId,
OrderItemType[] orderItems)
Deprecated.
Replaced by
updateOrderItem(OrderType, OrderItemType[]) |
RespondOrderDataAreaType |
updateOrderItem(OrderType order,
OrderItemType[] orderItems)
This method updates order items.
|
java.util.Map |
updateOrderShippingInfo(java.util.Map parameters)
This method updates the shipping information of the order.
|
RespondOrderDataAreaType |
updateOrderShippingInfo(OrderIdentifierType orderId,
java.lang.Boolean isShipAsComplete,
OrderItemType[] orderItems)
Deprecated.
|
RespondOrderDataAreaType |
updateOrderShippingInfo(OrderType order,
OrderItemType[] orderItems)
This method updates the shipping information of the order.
|
java.util.Map |
updatePaymentInstruction(java.util.Map parameters)
This method updates the payment instruction list.
|
RespondOrderDataAreaType |
updatePaymentInstruction(OrderIdentifierType orderId,
PaymentInstructionType[] paymentInstructions)
This method updates the payment instructions.
|
java.util.Map |
updateRewardOption(java.util.Map parameters)
This method updates the reward option.
|
RespondOrderDataAreaType |
updateRewardOption(OrderType order,
RewardOptionType rewardOption)
This method updates the reward option.
|
changeOrder, changeOrder, changeQuote, getOrder, getOrder, getOrder, getQuote, getQuote, getQuote, processOrder, processOrder, processQuote, syncOrder, syncQuote
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public static final java.lang.String COPYRIGHT
public static final java.lang.String COMPONENT_NAME
public CommonOrderFacadeClient()
public CommonOrderFacadeClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler)
businessContext
- The business context.callbackHandler
- The call back handler.public GetOrderType createGetOrder()
GetOrder
object.
This object is associated with a container object to convert the object
into an XML document.GetOrder
object that is
associated with a container.public ShowOrderType createShowOrder()
ShowOrder
object.
This object is associated with a container object to convert the object
into an XML document.ShowOrder
object that is
associated with a container.public ProcessOrderType createProcessOrder()
ProcessOrder
object. This object is associated with a container object to convert the
object into an XML document.ProcessOrder
object that is
associated with a container.public ChangeOrderType createChangeOrder()
ChangeOrder
object. This
object is associated with a container object to convert the object into
an XML document.ChangeOrder
object that is
associated with a container.public SyncOrderType createSyncOrder()
SyncOrder
object. This
object is associated with a container object to convert the object into
an XML document.SyncOrder
object that is
associated with a container.public AcknowledgeOrderType createAcknowledgeOrder()
AcknowledgeOrder
object. This object is associated with a container object to convert the
object into an XML document.AcknowledgeOrder
object that
is associated with a container.public RespondOrderType createRespondOrder()
RespondOrder
object. This object is associated with a container object to convert the
object into an XML document.RespondOrder
object that is
associated with a container.public java.util.Map addOrderItem(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("quantity", new String[] { "3", "4" });
parameters.put("catEntryId", new String[] { "10002", "10003" });
parameters.put("contractId", new String[] { "10001", "10001" });
parameters.put("UOM", new String[] { "C62", "C62" });
parameters.put("calculationUsage", new String[] { "-1,-7" });
parameters.put("externalId",new String[] {"10001", "10002"});
parameters.put("giftMessage",new String[]{"a message to giver","another message to giver"};
parameters.put("shipToRegistrant", new String[]{"1","1"};
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.addOrderItem(parameters);
String[] outorderId = (String[]) response.get("orderId");
String[] outOrderItemId = (String[]) response.get("orderItemId");
The behavior is:
buildOrderItem(Map, String)
method to build
order item request information according to the given parameters.buildOrderIdentifier(Map, String)
method to
build the order identifier object.addOrderItem(OrderIdentifierType, OrderItemType[])
method to
send the request to add the order items to the order.parameters
- The map that contains the following keys: orderId
, quantity
, catEntryId
,
contractId
, UOM
, externalId
,
giftMessage
and shipToRegistrant
.
The last three parameters, externalId
,
giftMessage
and shipToRegistrant
are related with
gift list
. They should be put into the map when the order item
is a gift which is purchased by the gift giver.
orderId: The order ID of the order to which the order item will be added; if no order ID is proviede, the current pending order is used. quantity: The quantity of the added product. catEntryId: The catalog entry ID of the added product. contractId: The contract ID of the contract on which the order item addition is based. UOM: The unit of measure of the order item. externalId: The external gift list id. giftMessage: The gift message along with the gift. shipToRegistrant: A parameter indicating to ship the gift to register or shopper.
orderId
and
orderItemId
. orderId
: The order ID of the order to which the
order item will be added. orderItemId
: The new order item ID.OrderException
public java.util.Map deleteOrderItem(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("orderItemId", new String[] { "10002", "10003" });
parameters.put("calculationUsage", new String[] { "-1,-7" });
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.deleteOrderItem(parameters);
String[] outorderId = (String[]) response.get("orderId");
The behavior is:
buildOrderItem(Map, String)
method to build
order item request information according to the given parameters.buildOrderIdentifier(Map, String)
method to
build the order identifier object.updateOrderItem(OrderIdentifierType, OrderItemType[])
method
to send the request to delete the order items from the order.parameters
- The map that contains the orderId
, and the
orderItemId
.
<code>orderId</code>: An optional parameter that contains the order ID of the order from which the order item will be deleted. <code>orderItemId</code>: The order item ID to delete.
orderId
.
orderId
: The order ID from which the order item will
be deleted.OrderException
public java.util.Map updateOrderItem(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("quantity",new String[]{"30","40"});
parameters.put("orderItemId",new String[]{orderItemId1,orderItemId2});
parameters.put("contractId",new String[]{"10001","10001"});
parameters.put("UOM",new String[]{"C62","C62"});
parameters.put("calculationUsage", new String[] { "-1,-7" });
parameters.put("externalId",new String[] {"10001", "10002"});
parameters.put("giftMessage",new String[]{"a message along with the gift","another message along with the gift"};
parameters.put("shipToRegistrant", new String[]{"1","1"};
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.updateOrderItem(parameters);
String[] outorderId = (String[]) response.get("orderId");
String[] outOrderItemId = (String[]) response.get("orderItemId");
The behavior is:
buildOrderItem(Map, String)
method to build
order item request information according to the given parameters.buildOrderIdentifier(Map, String)
method to
build the order identifier object.updateOrderItem(OrderIdentifierType, OrderItemType[])
method
to send the request to update the order items to the order.parameters
- The map that contains the quantity
,
orderId
, orderItemId
,
contractId
, and UOM
,
externalId
,
giftMessage
and shipToRegistrant
.
The last three parameters, externalId
,
giftMessage
and shipToRegistrant
are related with
gift list
. They should be put into the map when the order item
is a gift which is purchased by the gift giver.
<code>orderId</code>: An optional parameter that contains the order ID of the order that contains the order items to update. <code>quantity</code>: The quantity of the updated product. <code>orderItemId</code>: The order item ID to be updated. <code>contractId</code>: The contract ID of the contract on which the order item update is based. <code>UOM</code>: The unit of measure of the order item. <code>externalId</code>: The external gift list id. <code>giftMessage</code>: The gift message along with the gift. <code>shipToRegistrant</code>: A parameter indicating to ship the gift to register or shopper.
orderId
and the
orderItemId
. orderId
: The order ID of the order that contains the
updated order items. orderItemId
: The updated order item ID.OrderException
public java.util.Map updateOrderShippingInfo(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("ShipAsComplete",new String[]{"N"});
parameters.put("orderId",new String[]{"10001"});
parameters.put("requestedShipDate",new String[]{"2006-12-24T03:32:34.953Z"});
parameters.put("shipModeId",new String[]{"10001"});
parameters.put("addressId",new String[]{"11301"});
parameters.put("shipInstructions",new String[]{"hello"});
parameters.put("orderItemId",new String[]{"120001"});
parameters.put("calculationUsage", new String[] { "-1,-7" });
parameters.put("allocate", new String[]{"*aig,*ubg"});
parameters.put("backorder", new String[]{"***"});
parameters.put("externalId",new String[] {"10001", "10002"});
parameters.put("giftMessage",new String[]{"a message along with the gift","another message along with the gift"};
parameters.put("shipToRegistrant", new String[]{"1","1"};
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.updateOrderShippingInfo(parameters);
String[] outorderId = (String[]) response.get("orderId");
String[] outOrderItemId = (String[]) response.get("orderItemId");
The behavior is:
buildOrderItem(Map, String)
method to build
order item request information according to the given parameters.buildOrderIdentifier(Map, String)
method to
build the order identifier object.updateOrderShippingInfo(OrderIdentifierType, Boolean, OrderItemType[])
method to send the request to update the order shipping information.parameters
- The map that contains the following keys:
ShipAsComplete
, orderId
,
orderItemId
, requestedShipDate
,
shipModeId
, isExpedited
,
addressId
, shipInstructions
, and
tieShipCode
, externalId
,
giftMessage
and shipToRegistrant
.
The last three parameters, externalId
,
giftMessage
and shipToRegistrant
are related with
gift list
. They should be put into the map when the order item
is a gift which is purchased by the gift giver.
<code>orderId</code>: The order ID to be updated. <code>orderItemId</code>: The order item ID to be updated. <code>ShipAsComplete</code>: The flag which specifies whether the order is shipped as complete. <code>requestedShipDate</code>: The requested ship date of the order item. <code>shipModeId</code>: The ship mode ID. <code>isExpedited</code>: The value to specify whether the ship information is expedited. <code>addressId</code>: The address ID. <code>shipInstructions</code>: The ship instructions of the order. <code>tieShipCode</code>: The tie ship code. <code>externalId</code>: The external gift list id. <code>giftMessage</code>: The gift message along with the gift. <code>shipToRegistrant</code>: A parameter indicating to ship the gift to register or shopper.
orderId
, and the
orderItemId
. orderId
: The order ID of the order on which the ship
information update is based. orderItemId
: The updated order item ID.OrderException
public java.util.Map updateOrderGiftInfo(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("orderId",new String[]{"10001"});
parameters.put("giftMessage",new String[]{"Happy Birthday"};
parameters.put("shipToRegistrant", new String[]{"1"};
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.updateOrderGiftInfo(parameters);
String[] outorderId = (String[]) response.get("orderId");
String[] outOrderItemId = (String[]) response.get("orderItemId");
The behavior is:
buildOrder(Map, String)
method to
build the order identifier object.updateOrderGiftInfo(OrderIdentifierType, Map)
method to send the request to update the order gift information.parameters
- The map that contains the following keys:
orderId
, giftMessage
and shipToRegistrant
.
The two parameters, giftMessage
and shipToRegistrant
are specific for
Gift Registry
. They apply to all the gift items inside the order which is purchased by the gift giver.
<code>orderId</code>: The order ID to be updated. <code>giftMessage</code>: The gift message along with the gift. <code>shipToRegistrant</code>: A parameter indicating to ship the gift to register or shopper.
orderId
, and the
orderItemId
. orderId
: The order ID of the order on which the gift
information update is based. orderItemId
: The updated order item ID.OrderException
public java.util.Map cancelShoppingCart(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("orderId", new String[] { "10001" });
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.cancelShoppingCart(parameters);
String[] outorderId = (String[]) response.get("orderId");
parameters
- The map that contains: orderId
.
<code>orderId</code>: The order ID of the order to delete.
orderId
.
orderId
: The order ID of the order to be canceled.OrderException
public RespondOrderDataAreaType updateRewardOption(OrderType order, RewardOptionType rewardOption) throws OrderException
order
- The order to be updated.rewardOption
- The reward option to be updated.RespondOrderDataAreaType
that contains the
orderId
.OrderException
public java.util.Map updateRewardOption(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("orderId",new String[]{"10001"});
parameters.put("rewardOptionId",new String[]{"801"});
parameters.put("catEntryId",new String[]{"10254", "10252"});
parameters.put("quantity",new String[]{"1", "1"});
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.updateRewardOption(parameters);
String[] outorderId = (String[]) response.get("orderId");
The behavior is:
buildOrder(Map, String)
method to
build the order object.buildRewardOption(Map, String)
method to build
reward option request information according to the given parameters.updateRewardOption(OrderIdentifierType, RewardOptionType)
method to send the request to update the reward option information.parameters
- The map that contains the following keys: orderId
, rewardOptionId
, catEntryId
, quantity
and optionally the UOM
of the quantity.
<code>orderId</code>: The order ID to which the reward option will be updated. <code>rewardOptionId</code>: The reward option ID to update. <code>catEntryId</code>: The ID of the catalog entry chosen. <code>quantity</code>: The quantity of the catalog entry chosen. <code>UOM</code>: The unit of measure of the quantity of the catalog entry chosen. If nothing is specified, then the default value of "C62" is used.
orderId
.orderId
: The order ID of the order to which the
reward option is updated. OrderException
public java.util.Map addPaymentInstruction(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("orderId",new String[]{"10001"});
parameters.put("payMethodId",new String[]{"VISA"});
parameters.put("piAmount",new String[]{"200"});
parameters.put("billing_address_id",new String[]{"11301"});
parameters.put("account",new String[]{"4111111111111111"});
parameters.put("cc_brand",new String[]{"VISA"});
parameters.put("expire_month",new String[]{"12"});
parameters.put("expire_year",new String[]{"2009"});
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.addPaymentInstruction(parameters);
String[] outorderId = (String[]) response.get("orderId");
String[] outpiId = (String[]) response.get("piId");
parameters
- The map that contains the following keys: orderId
, payMethodId
, piAmount
,
paymentTCId
, billing_address_id
and
protocol data (such as account, and expire_year).
<code>orderId</code>: The order ID to which the payment instruction will be added; <code>payMethodId</code>: The payment method. <code>piAmount</code>: The amount of the payment instruction. <code>paymentTCId</code>: The <code>paymentTC</code> ID. <code>billing_address_id</code>: The billing address of the payment instruction.
orderId
and the
piId
list. orderId
: The order ID of the order to which the
payment instruction is added. piId
: The payment instruction identifier to be
added.OrderException
public java.util.Map updatePaymentInstruction(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("piId",new String[]{"10002"});
parameters.put("orderId",new String[]{"10001"});
parameters.put("payMethodId",new String[]{"VISA"});
parameters.put("piAmount",new String[]{"300"});
parameters.put("billing_address_id",new String[]{"11301"});
parameters.put("account",new String[]{"4111111111111111"});
parameters.put("cc_brand",new String[]{"VISA"});
parameters.put("expire_month",new String[]{"12"});
parameters.put("expire_year",new String[]{"2009"});
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.updatePaymentInstruction(parameters);
String[] outorderId = (String[]) response.get("orderId");
String[] outpiId = (String[]) response.get("piId");
parameters
- The map that contains the following keys:
orderId
, piId
,
payMethodId
, piAmount
,
paymentTCId
, billing_address_id
and
protocol data (such as account, and expire_year).
orderId: The order ID of the order for which the payment instruction will be updated. piId: The payment instruction to be updated. payMethodId: The payment method. piAmount: The amount of the payment instruction. paymentTCId : The <code>paymentTC</code> ID. <code>billing_address_id</code>: The billing address of the payment instruction.
orderId
and the
piId
list. orderId
: The order ID of the order for which the
payment instruction is updated. piId
: The payment instruction identifier to be
updated.OrderException
public java.util.Map removePaymentInstruction(java.util.Map parameters) throws OrderException, java.lang.NumberFormatException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("piId",new String[]{"10002"});
parameters.put("orderId",new String[]{"10001"});
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.removePaymentInstruction(parameters);
String[] outorderId = (String[]) response.get("orderId");
parameters
- The map that contains the orderId
, and the
piId
.
<code>orderId</code>: The order ID of the order from which the payment instruction will be deleted. <code>piId</code>: The payment instruction to be deleted.
orderId
. orderId
: The order ID.OrderException
java.lang.NumberFormatException
public java.util.Map prepareOrder(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("orderId", new String[] { "10001"});
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.prepareOrder(parameters);
String[] outorderId = (String[]) response.get("orderId");
parameters
- The map that contains the orderId
. orderId
: The order ID of the order to prepare.orderId
: The order ID that has been prepared.OrderException
public java.util.Map submitOrder(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("orderId", new String[] { "10001"});
OrderFacadeClient client = new OrderFacadeClient(businessContext,null);
Map response = client.submitOrder(parameters);
String[] outorderId = (String[]) response.get("orderId");
parameters
- The map that contains the following keys:
purchaseorder_id
, orderId
,
payMethodId
, piAmount
,
paymentTCId
, billing_address_id
,
order notification parameters, and protocol data.
purchaseorder_id: The purchase order ID. orderId: The order ID to be submitted. orderId: The order ID to be submitted. payMethodId: The ID of the payment method. piAmount: The amount of the payment instruction of the order. paymentTCId: The <code>paymentTC</code> ID. billing_address_id: The billing address of the payment instruction. updateChannelId: Whether to update business channel id for order "Y" indicates that business channel id need to be updated "N" indicates that business channel id does not need to be updated
orderId
. orderId
: The order ID which is submitted.OrderException
public RespondOrderDataAreaType addOrderItem(OrderIdentifierType orderId, OrderItemType[] orderItems) throws OrderException
addOrderItem(OrderType, OrderItemType[])
orderId
- The order to which the order items are added.orderItems
- An array of order items to be added.RespondOrderDataAreaType
that contains the
orderId
and order item IDs.OrderException
public RespondOrderDataAreaType addOrderItem(OrderType order, OrderItemType[] orderItems) throws OrderException
addOrderItem(String, OrderType, OrderItemType[])
AbstractBusinessObjectDocumentFacadeClient.CHANGE_VERB_ACTION_CREATE
order
- The order to which the order items are added.orderItems
- An array of order items to be added.RespondOrderDataAreaType
that contains the
orderId
and order item IDs.OrderException
public RespondOrderDataAreaType addOrderItem(java.lang.String actionCode, OrderType order, OrderItemType[] orderItems) throws OrderException
actionCode
- The action code to use for the serviceorder
- The order to which the order items are added.orderItems
- An array of order items to be added.RespondOrderDataAreaType
that contains the
orderId
and order item IDs.OrderException
public RespondOrderDataAreaType updateOrderItem(OrderIdentifierType orderId, OrderItemType[] orderItems) throws OrderException
updateOrderItem(OrderType, OrderItemType[])
orderId
- The order to be updated.orderItems
- An array of order items to be updated.RespondOrderDataAreaType
that contains the
orderId
and order item IDs.OrderException
public RespondOrderDataAreaType updateOrderItem(OrderType order, OrderItemType[] orderItems) throws OrderException
order
- The order to be updated.orderItems
- An array of order items to be updated.RespondOrderDataAreaType
that contains the
orderId
and order item IDs.OrderException
public RespondOrderDataAreaType updateOrderShippingInfo(OrderIdentifierType orderId, java.lang.Boolean isShipAsComplete, OrderItemType[] orderItems) throws OrderException
updateOrderShippingInfo(OrderType, OrderItemType[])
orderId
- The order for which to update the shipping information.isShipAsComplete
- The boolean value to specify whether the order is shipped as
completed.orderItems
- The order items to be updated.RespondOrderDataAreaType
that contains the
orderId
and order item IDs.OrderException
public RespondOrderDataAreaType updateOrderShippingInfo(OrderType order, OrderItemType[] orderItems) throws OrderException
order
- The order for which to update the shipping information.orderItems
- The order items to be updated.RespondOrderDataAreaType
that contains the
orderId
and order item IDs.OrderException
public AcknowledgeOrderDataAreaType cancelShoppingCart(OrderIdentifierType orderId) throws OrderException
orderId
- The order to be deleted.RespondOrderDataAreaType
that contains the
deleted orderId
.OrderException
public RespondOrderDataAreaType addPaymentInstruction(OrderIdentifierType orderId, PaymentInstructionType[] paymentInstructions) throws OrderException
orderId
- The order ID of the order to which the payment instructions
are added.paymentInstructions
- The payment instructions list to be added.RespondOrderDataAreaType
that contains the
orderId
and payment instructions.OrderException
public RespondOrderDataAreaType updatePaymentInstruction(OrderIdentifierType orderId, PaymentInstructionType[] paymentInstructions) throws OrderException
orderId
- The order for which the payment instructions are updated.paymentInstructions
- The payment instructions list to be added.RespondOrderDataAreaType
that contains the
orderId and payment instructions.OrderException
public RespondOrderDataAreaType removePaymentInstruction(OrderIdentifierType orderId, PaymentInstructionType[] paymentInstruction) throws OrderException
orderId
- The ID of the order from which the payment instructions are
removed.paymentInstruction
- The payment instructions to be removed.RespondOrderDataAreaType
that contains the
orderId
and payment instructions.OrderException
public AcknowledgeOrderDataAreaType prepareOrder(OrderType order) throws OrderException
order
- The order to be prepared.AcknowledgeOrderDataAreaType
that contains the
order ID.OrderException
public AcknowledgeOrderDataAreaType submitOrder(OrderType order) throws OrderException
order
- The order to prepareAcknowledgeOrderDataAreaType
that contains the
order ID.OrderException
public AcknowledgeOrderDataAreaType processOrder(java.lang.String action, OrderType order) throws OrderException
action
- The action for processing the order.order
- The order to be processed.AcknowledgeOrderDataAreaType
that contains the
order ID.OrderException
public AcknowledgeOrderDataAreaType processOrder(java.lang.String action, OrderType order, java.lang.String expression)
action
- The action for processing the order.order
- The order to be processed.expression
- the expression.AcknowledgeOrderDataAreaType
that contains the
order ID.public ConfirmBODType syncOrder(java.lang.String actionCode, OrderType order) throws OrderException
actionCode
- The action code for synchronizing the order.order
- The order to be synchronized.ConfirmBODType
which indicates success or failure.OrderException
- if an error occurs.public ConfirmBODType syncOrder(java.lang.String actionCode, OrderType order, java.lang.String expression) throws OrderException
actionCode
- The action code for synchronizing the order.order
- The order to be synchronized.expression
- The expression.ConfirmBODType
which indicates success or failure.OrderException
- if an error occurs.public RespondOrderDataAreaType changeOrder(java.lang.String action, OrderType order, java.lang.String expression) throws OrderException
action
- The action for changing order.order
- The order to be changed.expression
- The expression.AcknowledgeOrderDataAreaType
that contains the
order ID.OrderException
public ShowOrderDataAreaType findShoppingCartItemsWithValue(java.lang.String storeId, java.lang.String memberId, java.lang.String dispayCurrency, java.lang.String startCreateDate, java.lang.String endCreateDate, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
storeId
- The store ID.memberId
- The member ID.dispayCurrency
- The currency to display the order item amount.startCreateDate
- The beginning of create date.endCreateDate
- The end of create date.recordSetStartNumber
- The record set start number.maxItems
- The maximum number of the shopping cart items to be returned.OrderException
public ShowOrderDataAreaType findShoppingCartItemsWithProductID(java.lang.String storeId, java.lang.String memberId, java.lang.String startCreateDate, java.lang.String endCreateDate, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
storeId
- The store ID.memberId
- The member IDs.startCreateDate
- The beginning of create date.endCreateDate
- The end of create date.recordSetStartNumber
- The record set start number.maxItems
- The maximum number of the shopping cart items to be returned.OrderException
public ShowOrderDataAreaType findPurchaseHistoryItemsWithValue(java.lang.String storeId, java.lang.String[] memberIds, java.lang.String dispayCurrency, java.lang.String startCreateDate, java.lang.String endCreateDate, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
storeId
- The store ID.memberIds
- The member IDs.dispayCurrency
- The currency to display the order item amount.startCreateDate
- The beginning of create date.endCreateDate
- The end of create date.recordSetStartNumber
- The record set start number.maxItems
- The maximum number of the shopping cart items to be returned.OrderException
public ShowOrderDataAreaType findPurchaseHistoryItemsWithProductID(java.lang.String storeId, java.lang.String[] memberIds, java.lang.String startCreateDate, java.lang.String endCreateDate, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
storeId
- The store ID.memberIds
- The member IDs.startCreateDate
- The beginning of create date.endCreateDate
- The end of create date.recordSetStartNumber
- The record set start number.maxItems
- The maximum number of order items to be returned.OrderException
public ShowOrderDataAreaType findPurchaseHistory(java.lang.String storeId, java.lang.String[] memberIds, java.lang.String dispayCurrency, java.lang.String startPlacedDate, java.lang.String endPlacedDate, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
storeId
- The store ID.memberIds
- The member IDs.dispayCurrency
- The currency in which the application displays the order
amount.startPlacedDate
- The beginning of placed date.endPlacedDate
- The end of placed date.recordSetStartNumber
- The record set start number.maxItems
- The maximum of items returned.OrderException
public ShowOrderDataAreaType findOrderItemByStoreMemberAndCreateDate(java.lang.String strAccessProfile, java.lang.String[] orderItemStatuses, java.lang.String storeId, java.lang.String[] memberIds, java.lang.String dispayCurrency, java.lang.String startCreateDate, java.lang.String endCreateDate, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
strAccessProfile
- The access profile.orderItemStatuses
- The order item statuses.storeId
- The store ID.memberIds
- The member IDs.dispayCurrency
- The currency in which the application displays the order item
amount.startCreateDate
- The beginning of create date.endCreateDate
- The end of create date.recordSetStartNumber
- The start index of the noun-part to be paginated. If null, no
pagination will be performed. If not null, should be >= 0.
If < 0, 0 will be used instead.maxItems
- The number of noun-parts per page. If null, no pagination will
be performed. If not null, should be > 0. If <= 0, no
items will be returned.OrderException
public ShowOrderDataAreaType findOrderByStoreMemberAndPlacedDate(java.lang.String strAccessProfile, java.lang.String[] orderStatuses, java.lang.String storeId, java.lang.String[] memberIds, java.lang.String dispayCurrency, java.lang.String startPlacedDate, java.lang.String endPlacedDate, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
strAccessProfile
- The access profile.orderStatuses
- The order statuses.storeId
- The store ID.memberIds
- The member IDs.dispayCurrency
- The currency to display the order amount.startPlacedDate
- The beginning of placed date.endPlacedDate
- The end of placed date.recordSetStartNumber
- The record set start number.maxItems
- The maximum of items returned.OrderException
public ShowOrderDataAreaType findByOrderStatus(java.lang.String[] orderStatusTypes, boolean isSummary) throws OrderException
orderStatusTypes
- The array of order status.isSummary
- The boolean value to specify whether it is a summary.OrderException
public ShowOrderDataAreaType findByOrderStatus(java.lang.String[] orderStatusTypes, boolean isSummary, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
orderStatusTypes
- The array of order status.isSummary
- The boolean value to specify whether it is a summary.recordSetStartNumber
- The start index of the noun-part to be paginated. If null or
< 0, 0 will be used instead.maxItems
- The number of noun-parts per page. If null, a default value
will be used. If not null, should be > 0, but will be
bounded by a maximum value. If <= 0, no items will be
returned.OrderException
public ShowOrderDataAreaType findByOrderId(java.lang.String[] orderIdTypes, boolean isSummary) throws OrderException
isSummary is false
, the
number of order items returned will be bounded by a default value.orderIdTypes
- An array which contains the order ID of all the orders to
find. Cannot be null.isSummary
- A value of true indicates that only summary data for the
orders should be returned, false indicates that details should
be returned for the orders.OrderException
- If there was an error in the Get action data.public ShowOrderDataAreaType findByOrderId(java.lang.String[] orderIDs, java.lang.String accessProfile) throws OrderException
orderIDs
- An array which contains the order ID of all the orders to
find. Cannot be null.accessProfile
- The access profile, like "IBM_Summary", "IBM_Details". Cannot
be null or empty.OrderException
- If there was an error in the Get action data.public ShowOrderDataAreaType findByOrderId(java.lang.String orderID, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
orderID
- The ID of the order to return.recordSetStartNumber
- The start index of the noun-part to be paginated. If null or
< 0, 0 will be used instead.maxItems
- The number of noun-parts per page. If null, a default value
will be used. If not null, should be > 0, but will be
bounded by a maximum value. If <= 0, no items will be
returned.OrderException
- If there was an error in the Get action data.public ShowOrderDataAreaType findCurrentShoppingCart(boolean isSummary) throws OrderException
isSummary
- A value of true indicates that only summary data for the order
should be returned, false indicates that details should be
returned for the order.OrderException
- If there was an error in the Get action data.public ShowOrderDataAreaType findCurrentShoppingCart(boolean isSummary, java.lang.String sortOrderItemBy) throws OrderException
isSummary
- A value of true indicates that only summary data for the order
should be returned, false indicates that details should be
returned for the order.sortOrderItemBy
- The name of the element to sort the orders by. If null, no
sorting will be performed. If not null, must be a valid
element name for a noun or noun-part.OrderException
- If there was an error in the Get action data.public ShowOrderDataAreaType findCurrentShoppingCart(java.lang.String sortOrderItemBy, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
sortOrderItemBy
- The name of the element to sort the orders by. If null, no
sorting will be performed. If not null, must be a valid
element name for a noun or noun-part.recordSetStartNumber
- The start index of the noun-part to be paginated. If null or
< 0, 0 will be used instead.maxItems
- The number of noun-parts per page. If null, a default value
will be used. If not null, should be > 0, but will be
bounded by a maximum value. If <= 0, no items will be
returned.OrderException
- If there was an error in the Get action data.public ShowOrderDataAreaType findUsablePaymentOrShipInformation(java.lang.String[] orderIdTypes, boolean isPaymentInfo) throws OrderException
orderIdTypes
- The array of order IDs
.isPaymentInfo
- The boolean value used to specify whether to find payment
information.OrderException
public static GetType createGetVerb(ExpressionType selectionCriteriaExpression, java.lang.String recordSetReferenceId, int recordSetStartNumber, int maxItems)
selectionCriteriaExpression
- A list of ExpressionType
for the request.recordSetReferenceId
- The internal identifier for the result set, so that it can be
resolved on a subsequent request.recordSetStartNumber
- The start index of the noun-part to be paginated. Should be
>= 0. If < 0, 0 will be used instead.maxItems
- The number of noun-parts per page. Should be > 0. If
<= 0, then no items will be returned.public ShowOrderDataAreaType findUsableShippingInfoByOrderID(java.lang.String orderID, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
orderID
- The ID of the order.recordSetStartNumber
- The start index of the order item to be paginated. If null,
no pagination will be performed. If not null, should be >=
0. If < 0, 0 will be used instead.maxItems
- The number of order items per page. If null, no pagination will
be performed. If not null, should be > 0. If <= 0,
no items will be returned.OrderException
- If there was an error in the Get action data.public java.util.Map scheduleOrder(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap();
parameters.put("orderId",new String[]{"10001"});
parameters.put("strStartDate",new String[]{"2006-12-24T03:32:34.953Z"});
parameters.put("interval",new String[]{"10"});
parameters.put("PONumber", new String[]{"PONumber101"});
Map response = client.scheduleOrder(parameters);
String[] outorderId = (String[]) response.get("orderId");
The behavior is:
com.ibm.commerce.order.commands.OrderScheduleCmd
command to
create a schedule order.parameters
- The map that contains: orderId
,strStartDate
,
interval
.
<code>orderId</code>: The order ID of the order to be schedule. <code>strStartDate</code>: The start date of the scheduled order. <code>interval</code>: The time interval of the repeated schedule task.
orderId
.
orderId
: The order ID of the order to be scheduled.OrderException
public ShowOrderDataAreaType findScheduledOrder(boolean isSummary, java.lang.String memberId, java.lang.String storeId, java.lang.String startTime, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
isSummary
- A value of true indicates that only summary data for the order
should be returned, false indicates that details should be
returned for the order.memberId
- The member ID.storeId
- The store ID.startTime
- The start time line of scheduled job.recordSetStartNumber
- The start index of the noun-part to be paginated. If null, no
pagination will be performed. If not null, should be >= 0.
If < 0, 0 will be used instead.maxItems
- The number of noun-parts per page. If null, no pagination will
be performed. If not null, should be > 0. If <= 0, no
items will be returned.OrderException
public java.util.Map cancelScheduledOrder(java.util.Map parameters) throws OrderException
The following sample code demonstrates how to use the API:
Map parameters = new HashMap(); parameters.put("orderId",new String[]{"10001"}); Map response = client.cancelScheduledOrder(parameters); String[] outorderId = (String[]) response.get("orderId");The behavior is:
com.ibm.commerce.order.commands.ScheduledOrderCancelCmd
command to
cancel a scheduled order.parameters
- The map that contains: orderId
.
orderId: The order ID of the order to be schedule.
orderId
.
orderId
: The order ID of the order to be canceled.OrderException
public ShowOrderDataAreaType findOrderByExternalOrderID(java.lang.String[] astrOrderId, boolean isSummary, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws OrderException
astrOrderId
- the array of external order identifier.isSummary
- A value of true indicates that only summary data for the order should be
returned, false indicates that details should be returned for
the order.recordSetStartNumber
- The start index of the noun-part to be paginated. If null or
< 0, 0 will be used instead.maxItems
- The number of noun-parts per page. If null, a default value
will be used. If not null, should be > 0, but will be
bounded by a maximum value. If <= 0, no items will be
returned.OrderException
- if there was an error in the Get action data.public ShowQuoteDataAreaType findQuoteByExternalQuoteID(java.lang.String[] astrQuoteId, boolean isSummary, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws QuoteException
astrQuoteId
- the array of external quote identifier.isSummary
- A value of true indicates that only summary data for the order should be
returned, false indicates that details should be returned for
the order.recordSetStartNumber
- The start index of the noun-part to be paginated. If null or
< 0, 0 will be used instead.maxItems
- The number of noun-parts per page. If null, a default value
will be used. If not null, should be > 0, but will be
bounded by a maximum value. If <= 0, no items will be
returned.QuoteException
public ShowQuoteDataAreaType findQuotesByStatus(java.lang.String[] orderStatusTypes, boolean isSummary, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems) throws QuoteException
orderStatusTypes
- The array of order status.isSummary
- The boolean value to specify whether it is a summary.recordSetStartNumber
- The start index of the noun-part to be paginated. If null or
< 0, 0 will be used instead.maxItems
- The number of noun-parts per page. If null, a default value
will be used. If not null, should be > 0, but will be
bounded by a maximum value. If <= 0, no items will be
returned.QuoteException
public java.util.Map repay(java.util.Map parameters) throws OrderException
repay(OrderType)
to get the server response, as AcknowledgeOrderDataAreaType
.parameters
- request parameters to construct a SDO.AcknowledgeOrderDataAreaType
OrderException
- if any errors occur.public AcknowledgeOrderDataAreaType repay(OrderType order) throws OrderException
order
- SDO sent to server to do the repay action.OrderException
- if any errors occur.public ShowOrderDataAreaType findConfigurationByOrderItemId(java.lang.String orderItemId) throws OrderException
orderItemId
- The order item id. CatEntry type of this order item should be DynamicKitBeanOrderException
public java.util.Map applyCoupon(java.util.Map parameters) throws OrderException
applyCoupon(OrderType)
to get the server response, as AcknowledgeOrderDataAreaType
.parameters
- request parameters to construct a SDO.AcknowledgeOrderDataAreaType
OrderException
- if any errors occur.public AcknowledgeOrderDataAreaType applyCoupon(OrderType order) throws OrderException
order
- SDO sent to server to do the applyCoupon action.OrderException
- if any errors occur.public java.util.Map removeCoupon(java.util.Map parameters) throws OrderException
removeCoupon(OrderType)
to get the server response, as AcknowledgeOrderDataAreaType
.parameters
- request parameters to construct a SDO.AcknowledgeOrderDataAreaType
OrderException
- if any errors occur.public AcknowledgeOrderDataAreaType removeCoupon(OrderType order) throws OrderException
order
- SDO sent to server to do the removeCoupon action.OrderException
- if any errors occur.public java.util.Map applyPromotionCode(java.util.Map parameters) throws OrderException
applyPromotionCode(OrderType)
to get the server response, as AcknowledgeOrderDataAreaType
.parameters
- request parameters to construct a SDO.AcknowledgeOrderDataAreaType
OrderException
- if any errors occur.public AcknowledgeOrderDataAreaType applyPromotionCode(OrderType order) throws OrderException
order
- SDO sent to server to do the applyPromotionCode action.OrderException
- if any errors occur.public java.util.Map removePromotionCode(java.util.Map parameters) throws OrderException
removePromotionCode(OrderType)
to get the server response, as AcknowledgeOrderDataAreaType
.parameters
- request parameters to construct a SDO.AcknowledgeOrderDataAreaType
OrderException
- if any errors occur.public AcknowledgeOrderDataAreaType removePromotionCode(OrderType order) throws OrderException
order
- SDO sent to server to do the removePromotionCode action.OrderException
- if any errors occur.public java.util.Map lockOrder(java.util.Map parameters) throws OrderException
lockOrder(OrderType)
to get the server response, as AcknowledgeOrderDataAreaType
.parameters
- request parameters to construct a SDO.AcknowledgeOrderDataAreaType
OrderException
- if any errors occur.public java.util.Map unlockOrder(java.util.Map parameters) throws OrderException
unlockOrder(OrderType)
to get the server response, as AcknowledgeOrderDataAreaType
.parameters
- request parameters to construct a SDO.AcknowledgeOrderDataAreaType
OrderException
- if any errors occur.public AcknowledgeOrderDataAreaType lockOrder(OrderType order) throws OrderException
order
- The order to be lockedAcknowledgeOrderDataAreaType
that contains the
order ID.OrderException
public AcknowledgeOrderDataAreaType unlockOrder(OrderType order) throws OrderException
order
- The order to unlockedAcknowledgeOrderDataAreaType
that contains the
order ID.OrderException
public java.util.Map calculateOrder(java.util.Map parameters) throws OrderException
calculateOrder(OrderType)
to get the server response, as AcknowledgeOrderDataAreaType
.parameters
- request parameters to construct a SDO.AcknowledgeOrderDataAreaType
OrderException
- if any errors occur.public AcknowledgeOrderDataAreaType calculateOrder(OrderType order) throws OrderException
order
- The order to be calculatedAcknowledgeOrderDataAreaType
that contains the
order ID.OrderException