/**
  * Fetches a list of items from Amazon.
  *
  * The parameters are passed to the parent constructor, which are
  * in turn passed to the AmazonCore constructor. See it for more information
  * on these parameters and common methods.
  * Please note that an extra parameter comes before the usual Mock Mode parameters,
  * so be careful when setting up the object.
  *
  * @param string       $s      [optional] <p>Name for the store you want to use.
  *                             This parameter is optional if only one store is defined in the config file.</p>
  * @param string       $id     [optional] <p>The order ID to set for the object.</p>
  * @param boolean      $mock   [optional] <p>This is a flag for enabling Mock Mode.
  *                             This defaults to <b>FALSE</b>.</p>
  * @param array|string $m      [optional] <p>The files (or file) to use in Mock Mode.</p>
  * @param string       $config [optional] <p>An alternate config file to set. Used for testing.</p>
  */
 public function __construct($s = null, $id = null, $mock = false, $m = null, $config = null)
 {
     parent::__construct($s, $mock, $m, $config);
     if ($id) {
         $this->setShipmentId($id);
     }
 }
 /**
  * AmazonShipment ubmits a shipment to Amazon or updates it.
  * 
  * The parameters are passed to the parent constructor, which are
  * in turn passed to the AmazonCore constructor. See it for more information
  * on these parameters and common methods.
  * @param string $s [optional] <p>Name for the store you want to use.
  * This parameter is optional if only one store is defined in the config file.</p>
  * @param boolean $mock [optional] <p>This is a flag for enabling Mock Mode.
  * This defaults to <b>FALSE</b>.</p>
  * @param array|string $m [optional] <p>The files (or file) to use in Mock Mode.</p>
  * @param string $config [optional] <p>An alternate config file to set. Used for testing.</p>
  */
 public function __construct($s = null, $mock = false, $m = null, $config = null)
 {
     parent::__construct($s, $mock, $m, $config);
     $this->options['InboundShipmentHeader.ShipmentStatus'] = 'WORKING';
 }
 /**
  * AmazonShipmentList fetches a list of shipments from Amazon.
  * 
  * The parameters are passed to the parent constructor, which are
  * in turn passed to the AmazonCore constructor. See it for more information
  * on these parameters and common methods.
  * @param string $s [optional] <p>Name for the store you want to use.
  * This parameter is optional if only one store is defined in the config file.</p>
  * @param boolean $mock [optional] <p>This is a flag for enabling Mock Mode.
  * This defaults to <b>FALSE</b>.</p>
  * @param array|string $m [optional] <p>The files (or file) to use in Mock Mode.</p>
  * @param string $config [optional] <p>An alternate config file to set. Used for testing.</p>
  */
 public function __construct($s = null, $mock = false, $m = null, $config = null)
 {
     parent::__construct($s, $mock, $m, $config);
 }
Ejemplo n.º 4
0
 /**
  * AmazonShipmentPlanner fetches a shipment plan from Amazon. This is how you get a Shipment ID.
  *
  * The parameters are passed to the parent constructor, which are
  * in turn passed to the AmazonCore constructor. See it for more information
  * on these parameters and common methods.
  * @param string $s [optional] <p>Name for the store you want to use.
  * This parameter is optional if only one store is defined in the config file.</p>
  * @param boolean $mock [optional] <p>This is a flag for enabling Mock Mode.
  * This defaults to <b>FALSE</b>.</p>
  * @param array|string $m [optional] <p>The files (or file) to use in Mock Mode.</p>
  * @param string $config [optional] <p>An alternate config file to set. Used for testing.</p>
  */
 public function __construct($config, $mock = false, $m = null)
 {
     parent::__construct($config, $mock, $m);
     $this->options['Action'] = 'CreateInboundShipmentPlan';
 }
Ejemplo n.º 5
0
 /**
  * AmazonShipmentList fetches a list of shipments from Amazon.
  *
  * The parameters are passed to the parent constructor, which are
  * in turn passed to the AmazonCore constructor. See it for more information
  * on these parameters and common methods.
  * @param string $s [optional] <p>Name for the store you want to use.
  * This parameter is optional if only one store is defined in the config file.</p>
  * @param boolean $mock [optional] <p>This is a flag for enabling Mock Mode.
  * This defaults to <b>FALSE</b>.</p>
  * @param array|string $m [optional] <p>The files (or file) to use in Mock Mode.</p>
  * @param string $config [optional] <p>An alternate config file to set. Used for testing.</p>
  */
 public function __construct($config, $mock = false, $m = null)
 {
     parent::__construct($config, $mock, $m);
 }