/** * {@inheritdoc} */ protected function process() { parent::process(); foreach ($this->result->GetCompetitivePricingForASINResult as $resultSet) { $node[] = $resultSet; } $this->result = $node; }
/** * Build the HTTP request */ protected function build() { parent::build(); // Change path $this->getRequest()->setPath('/Orders/2011-01-01'); // Copy Merchant parameter to SellerId, because Amazon is stupid and can't even follow their own standards $this->getRequest()->getQuery()->set('SellerId', $this->getRequest()->getQuery()->get('Merchant')); }
/** * {@inheritdoc} */ protected function process() { parent::process(); foreach ($this->result->GetLowestOfferListingsForASINResult as $resultSet) { $node[] = $resultSet; } $this->result = $node; }