/** * AmazonReportList gets a list of reports 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 <p>Name for the store you want to use.</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, $mock = false, $m = null, $config = null) { parent::__construct($s, $mock, $m, $config); include $this->env; if (isset($THROTTLE_LIMIT_REPORTLIST)) { $this->throttleLimit = $THROTTLE_LIMIT_REPORTLIST; } if (isset($THROTTLE_TIME_REPORTLIST)) { $this->throttleTime = $THROTTLE_TIME_REPORTLIST; } }
/** * AmazonReportsScheduleManager manages report schedules. * * 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 <p>Name for the store you want to use.</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, $mock = false, $m = null, $config = null) { parent::__construct($s, $mock, $m, $config); include $this->env; $this->options['Action'] = 'ManageReportSchedule'; if (isset($THROTTLE_LIMIT_REPORTSCHEDULE)) { $this->throttleLimit = $THROTTLE_LIMIT_REPORTSCHEDULE; } if (isset($THROTTLE_TIME_REPORTSCHEDULE)) { $this->throttleTime = $THROTTLE_TIME_REPORTSCHEDULE; } }
/** * AmazonReportRequest sends a report request to 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 <p>Name for the store you want to use.</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, $mock = false, $m = null, $config = null) { parent::__construct($s, $mock, $m, $config); include $this->env; $this->options['Action'] = 'RequestReport'; if (isset($THROTTLE_LIMIT_REPORTREQUEST)) { $this->throttleLimit = $THROTTLE_LIMIT_REPORTREQUEST; } if (isset($THROTTLE_TIME_REPORTREQUEST)) { $this->throttleTime = $THROTTLE_TIME_REPORTREQUEST; } $this->throttleGroup = 'RequestReport'; }
/** * AmazonReport fetches a report 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 <p>Name for the store you want to use.</p> * @param string $id [optional] <p>The report 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, $id = null, $mock = false, $m = null, $config = null) { parent::__construct($s, $mock, $m, $config); include $this->env; if ($id) { $this->setReportId($id); } $this->options['Action'] = 'GetReport'; if (isset($THROTTLE_LIMIT_REPORT)) { $this->throttleLimit = $THROTTLE_LIMIT_REPORT; } if (isset($THROTTLE_TIME_REPORT)) { $this->throttleTime = $THROTTLE_TIME_REPORT; } }