commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
ResourceByProjectKeyInStoreKeyByStoreKeyProducts.php
1 <?php
2 
3 declare(strict_types=1);
10 
12 use GuzzleHttp\ClientInterface;
13 use Psr\Http\Message\UploadedFileInterface;
14 
19 {
23  public function __construct(array $args = [], ClientInterface $client = null)
24  {
25  parent::__construct('/{projectKey}/in-store/key={storeKey}/products', $args, $client);
26  }
27 
31  {
32  $args = $this->getArgs();
33  if (!is_null($productID)) {
34  $args['productID'] = $productID;
35  }
36 
38  }
42  {
43  $args = $this->getArgs();
44  if (!is_null($productKey)) {
45  $args['productKey'] = $productKey;
46  }
47 
49  }
50 }