Пример #1
0
 /**
  * Create Fulfillment Order
  * The SellerFulfillmentOrderId must be unique for all fulfillment
  *   orders created by the seller. If your system already has a
  *   unique order identifier, then that may be a good value to put in
  *   this field.
  *
  *   This DisplayableOrderDateTime will appear as the "order date" in
  *   recipient-facing materials such as the packing slip.  The format
  *   must be timestamp.
  *
  *
  *   The DisplayableOrderId will appear as the "order id" in those
  *   materials, and the DisplayableOrderComment will appear as well.
  *
  *   ShippingSpeedCategory is the Service Level Agreement for how long it
  *   will take a shipment to be transported from the fulfillment center
  *   to the recipient, once shipped. no default.
  *   The following shipping speeds are available for US domestic:
  *    * Standard, 3-5 business days
  *    * Expedited, 2 business days
  *    * Priority, 1 business day
  *
  *   Shipping speeds may vary elsewhere.  Please consult your manual for published SLAs.
  *
  *
  *   DestinationAddress is the address the items will be shipped to.
  *
  *   FulfillmentPolicy indicates how unfulfillable items should be
  *   handled. default is FillOrKill.
  *    * FillOrKill if any item is determined to be unfulfillable
  *      before any items have started shipping, the entire order is
  *      considered unfulfillable.  Once any part of the order has
  *      started shipping, as much of the order as possible will be
  *      shipped.
  *    * FillAll never consider any item unfulfillable.  Items must
  *      either be fulfilled or merchant-cancelled.
  *    * FillAllAvailable fulfill as much of the order as possible.
  *
  *   FulfillmentMethod indicates the intended recipient channel for the
  *   order whether it be a consumer order or inventory return.
  *   default is Consumer.
  *   The available methods to fulfill a given order:
  *    * Consumer indicates a customer order, this is the default.
  *    * Removal indicates that the inventory should be returned to the
  *      specified destination address.
  *
  *
  *   NotificationEmailList can be used to provide a list of e-mail
  *   addresses to receive ship-complete e-mail notifications. These
  *   e-mails are customer-facing e-mails sent by FBA on behalf of
  *   the seller.
  *
  * @param mixed $request array of parameters for FBAOutboundServiceMWS_Model_CreateFulfillmentOrder request or FBAOutboundServiceMWS_Model_CreateFulfillmentOrder object itself
  * @see FBAOutboundServiceMWS_Model_CreateFulfillmentOrderRequest
  * @return FBAOutboundServiceMWS_Model_CreateFulfillmentOrderResponse
  *
  * @throws FBAOutboundServiceMWS_Exception
  */
 public function createFulfillmentOrder($request)
 {
     if (!$request instanceof FBAOutboundServiceMWS_Model_CreateFulfillmentOrderRequest) {
         $request = new FBAOutboundServiceMWS_Model_CreateFulfillmentOrderRequest($request);
     }
     $parameters = $request->toQueryParameterArray();
     $parameters['Action'] = 'CreateFulfillmentOrder';
     $httpResponse = $this->_invoke($parameters);
     $response = FBAOutboundServiceMWS_Model_CreateFulfillmentOrderResponse::fromXML($httpResponse['ResponseBody']);
     $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
     return $response;
 }
Пример #2
0
 /**
  * Create Fulfillment Order
  * The SellerFulfillmentOrderId must be unique for all fulfillment
  *   orders created by the seller. If your system already has a
  *   unique order identifier, then that may be a good value to put in
  *   this field.
  *
  *   This DisplayableOrderDateTime will appear as the "order date" in
  *   recipient-facing materials such as the packing slip.  The format
  *   must be timestamp.
  *
  *
  *   The DisplayableOrderId will appear as the "order id" in those
  *   materials, and the DisplayableOrderComment will appear as well.
  *
  *   ShippingSpeedCategory is the Service Level Agreement for how long it
  *   will take a shipment to be transported from the fulfillment center
  *   to the recipient, once shipped. no default.
  *   The following shipping speeds are available for US domestic:
  *    * Standard, 3-5 business days
  *    * Expedited, 2 business days
  *    * Priority, 1 business day
  *
  *   Shipping speeds may vary elsewhere.  Please consult your manual for published SLAs.
  *
  *
  *   DestinationAddress is the address the items will be shipped to.
  *
  *   FulfillmentPolicy indicates how unfulfillable items should be
  *   handled. default is FillOrKill.
  *    * FillOrKill if any item is determined to be unfulfillable
  *      before any items have started shipping, the entire order is
  *      considered unfulfillable.  Once any part of the order has
  *      started shipping, as much of the order as possible will be
  *      shipped.
  *    * FillAll never consider any item unfulfillable.  Items must
  *      either be fulfilled or merchant-cancelled.
  *    * FillAllAvailable fulfill as much of the order as possible.
  *
  *   FulfillmentMethod indicates the intended recipient channel for the
  *   order whether it be a consumer order or inventory return.
  *   default is Consumer.
  *   The available methods to fulfill a given order:
  *    * Consumer indicates a customer order, this is the default.
  *    * Removal indicates that the inventory should be returned to the
  *      specified destination address.
  *
  *
  *   NotificationEmailList can be used to provide a list of e-mail
  *   addresses to receive ship-complete e-mail notifications. These
  *   e-mails are customer-facing e-mails sent by FBA on behalf of
  *   the seller.
  *
  * @param mixed $request array of parameters for FBAOutboundServiceMWS_Model_CreateFulfillmentOrder request or FBAOutboundServiceMWS_Model_CreateFulfillmentOrder object itself
  * @see FBAOutboundServiceMWS_Model_CreateFulfillmentOrder
  * @return FBAOutboundServiceMWS_Model_CreateFulfillmentOrderResponse
  *
  * @throws FBAOutboundServiceMWS_Exception
  */
 public function createFulfillmentOrder($request)
 {
     return FBAOutboundServiceMWS_Model_CreateFulfillmentOrderResponse::fromXML($this->_invoke('CreateFulfillmentOrder'));
 }
 public function createFulfillmentOrder($request)
 {
     if (!$request instanceof FBAOutboundServiceMWS_Model_CreateFulfillmentOrderRequest) {
         $request = new FBAOutboundServiceMWS_Model_CreateFulfillmentOrderRequest($request);
     }
     return FBAOutboundServiceMWS_Model_CreateFulfillmentOrderResponse::fromXML($this->_invoke($this->_convertCreateFulfillmentOrder($request)));
 }
 /**
  * Create Fulfillment Order
  * The SellerFulfillmentOrderId must be unique for all fulfillment
  *   orders created by the seller. If your system already has a
  *   unique order identifier, then that may be a good value to put in
  *   this field.
  * 
  *   This DisplayableOrderDateTime will appear as the "order date" in
  *   recipient-facing materials such as the packing slip.  The format
  *   must be timestamp.
  * 
  * 
  *   The DisplayableOrderId will appear as the "order id" in those
  *   materials, and the DisplayableOrderComment will appear as well.
  *   
  *   ShippingSpeedCategory is the Service Level Agreement for how long it
  *   will take a shipment to be transported from the fulfillment center
  *   to the recipient, once shipped. no default.
  *   The following shipping speeds are available for US domestic:
  *    * Standard, 3-5 business days
  *    * Expedited, 2 business days
  *    * Priority, 1 business day
  * 
  *   Shipping speeds may vary elsewhere.  Please consult your manual for published SLAs.
  * 
  * 
  *   DestinationAddress is the address the items will be shipped to.
  * 
  *   FulfillmentPolicy indicates how unfulfillable items should be 
  *   handled. default is FillOrKill.
  *    * FillOrKill if any item is determined to be unfulfillable
  *      before any items have started shipping, the entire order is
  *      considered unfulfillable.  Once any part of the order has
  *      started shipping, as much of the order as possible will be
  *      shipped.
  *    * FillAll never consider any item unfulfillable.  Items must
  *      either be fulfilled or merchant-cancelled.
  *    * FillAllAvailable fulfill as much of the order as possible.
  *   
  *   FulfillmentMethod indicates the intended recipient channel for the 
  *   order whether it be a consumer order or inventory return.
  *   default is Consumer.
  *   The available methods to fulfill a given order:
  *    * Consumer indicates a customer order, this is the default.
  *    * Removal indicates that the inventory should be returned to the
  *      specified destination address.
  *   
  *   
  *   NotificationEmailList can be used to provide a list of e-mail 
  *   addresses to receive ship-complete e-mail notifications. These 
  *   e-mails are customer-facing e-mails sent by FBA on behalf of 
  *   the seller.
  *
  * @param mixed $request array of parameters for FBAOutboundServiceMWS_Model_CreateFulfillmentOrder request or FBAOutboundServiceMWS_Model_CreateFulfillmentOrder object itself
  * @see FBAOutboundServiceMWS_Model_CreateFulfillmentOrder
  * @return FBAOutboundServiceMWS_Model_CreateFulfillmentOrderResponse
  *
  * @throws FBAOutboundServiceMWS_Exception
  */
 public function createFulfillmentOrder($request)
 {
     require_once dirname(__FILE__) . '/Model/CreateFulfillmentOrderResponse.php';
     return FBAOutboundServiceMWS_Model_CreateFulfillmentOrderResponse::fromXML($this->_invoke('CreateFulfillmentOrder'));
 }