/**
  * Delete product with given shopId and sourceId.
  *
  * Only the combination of both identifies a product uniquely. Do NOT
  * delete products just by their sourceId.
  *
  * You might receive delete requests for products, which are not available
  * in your shop. Just ignore them.
  *
  * @param string $shopId
  * @param string $sourceId
  * @return void
  */
 public function delete($shopId, $sourceId)
 {
     $shopProductId = $this->gateway->getBepadoShopProductId($shopId, $sourceId);
     if ($shopProductId) {
         $this->gateway->delete($shopProductId);
     }
 }
 /**
  * Get product data
  *
  * Get product data for all the product IDs specified in the given string
  * array.
  *
  * @param string[] $ids
  * @return Struct\Product[]
  */
 public function getProducts(array $ids)
 {
     $shopProducts = $this->gateway->findProductsById($ids);
     $sdkProducts = array();
     foreach ($shopProducts as $shopProduct) {
         $sdkProducts[] = $this->converter->convertToSDK($shopProduct);
     }
     return $sdkProducts;
 }