The following examples demonstrate the behavior of the HardgoodFulfiller in different situations.

Example 1: An order is received with one item that is IN_STOCK:

Example 2:HardgoodFulfiller.outOfStockIsError=false and an order is received with one item that is OUT_OF_STOCK:

Example 3:HardgoodFulfiller.outOfStockIsError=true and an order is received with one item that is OUT_OF_STOCK:

Example 4:HardgoodFulfiller.allowPartialShipmentDefault=true and HardgoodFulfiller.outOfStockIsError=false and an order is received with one item that is out of stock and one item that is available.

Example 5: An order is received with one item that has no information in the inventory system.

Example 6: An order contains a shipping group in a state of PENDING_MERCHANT_ACTION. HardgoodFulfiller.shippingGroupHasShipped is called with this shipping group.

Example 7: An order contains a shipping group in a state of PENDING_SHIPMENT. A ModifyOrder message with a GenericRemove Modification on the order is received by the OrderFulfiller.

Example 8: An order contains a shipping group in a state of NO_PENDING_ACTION. A ModifyOrder message with a GenericRemove Modification on the order is received by the OrderFulfiller.

 
loading table of contents...