/**
  * @param StoreEntity $store
  * @param ErpProductEntity $erpProduct
  * @return ShopifyProductEntity
  */
 public function saveProduct(StoreEntity $store, ErpProductEntity $erpProduct)
 {
     $this->setSettings($store);
     $image = new \StdClass();
     $image->src = $erpProduct->getImage();
     $productData = ['published' => true, 'title' => $erpProduct->getTitle(), 'product_type' => $erpProduct->getCategory(), 'body_html' => $erpProduct->getFullDesription(), 'images' => [$image], 'variants' => [['price' => $erpProduct->getPrice(), 'sku' => $erpProduct->getSku(), 'inventory_management' => $erpProduct->getStockManagement(), 'inventory_policy' => $erpProduct->getInventoryPolicy(), 'inventory_quantity' => $erpProduct->getQty(), 'fulfillment_service' => $erpProduct->getFulFilmentService()]]];
     $response = $this->client->createProduct(['product' => $productData]);
     $product = ShopifyProductEntity::createFromProductCreationResponse($response);
     return $product;
 }