commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-import
src
Client
Resource
ResourceByProjectKeyInventories.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Import\Client\Resource
;
10
11
use
Commercetools\Client\ApiResource
;
12
use GuzzleHttp\ClientInterface;
13
use Psr\Http\Message\UploadedFileInterface;
14
18
class
ResourceByProjectKeyInventories
extends
ApiResource
19
{
23
public
function
__construct
(array $args = [], ClientInterface $client =
null
)
24
{
25
parent::__construct(
'/{projectKey}/inventories'
, $args, $client);
26
}
27
30
public
function
importContainers
():
ResourceByProjectKeyInventoriesImportContainers
31
{
32
$args = $this->
getArgs
();
33
34
return
new
ResourceByProjectKeyInventoriesImportContainers
($args, $this->
getClient
());
35
}
36
}
Commercetools\Client\ApiResource
Definition:
ApiResource.php:15
Commercetools\Client\ApiResource\getClient
getClient()
Definition:
ApiResource.php:61
Commercetools\Client\ApiResource\getArgs
getArgs()
Definition:
ApiResource.php:56
Commercetools\Import\Client\Resource\ResourceByProjectKeyInventories
Definition:
ResourceByProjectKeyInventories.php:19
Commercetools\Import\Client\Resource\ResourceByProjectKeyInventories\importContainers
importContainers()
Definition:
ResourceByProjectKeyInventories.php:30
Commercetools\Import\Client\Resource\ResourceByProjectKeyInventories\__construct
__construct(array $args=[], ClientInterface $client=null)
Definition:
ResourceByProjectKeyInventories.php:23
Commercetools\Import\Client\Resource\ResourceByProjectKeyInventoriesImportContainers
Definition:
ResourceByProjectKeyInventoriesImportContainers.php:19
Commercetools\Import\Client\Resource
Definition:
ByProjectKeyCategoriesImportContainersByImportContainerKeyPost.php:9
Generated by
1.9.1