/** * @param $product */ private function changeProductType($product) { $productWrapper = new ProductWrapper($this->userToken, $this->store, $this->service); $this->deleteProduct($product->getSku()); $productWrapper->post($product); }
/** * @expectedException \StoreIntegrator\Exceptions\EbayErrorException * @expectedExceptionMessage Very Big Error * @expectedExceptionCode 1234 */ public function testGetttingProductsError() { $this->createErrorResponseForOperation('GetSellerList'); $this->productWrapper->getAll(new DateTime('-1 week')); }
/** * Returns the settigns used to configure the product (and the rest) wrapper * * @return mixed */ public function getConfig() { return $this->productWrapper->getConfig(); }