commercetools-sdk-php-v2
master
The platform, import-api and ml-api PHP sdks generated from our api reference.
|
Public Member Functions | |
__construct (array $args=[], ClientInterface $client=null) | |
withKey (string $key=null) | |
withId (string $ID=null) | |
search () | |
get ($body=null, array $headers=[]) | |
head ($body=null, array $headers=[]) | |
post (?ProductDraft $body=null, array $headers=[]) | |
Public Member Functions inherited from Commercetools\Client\ApiResource | |
__construct (string $uri='', array $args=[], ClientInterface $client=null) | |
getUri () | |
getArgs () | |
getClient () | |
@psalm-suppress PropertyNotSetInConstructor
Definition at line 19 of file ResourceByProjectKeyProducts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProducts::__construct | ( | array | $args = [] , |
ClientInterface | $client = null |
||
) |
@psalm-param array<string, string> $args
Definition at line 24 of file ResourceByProjectKeyProducts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProducts::get | ( | $body = null , |
|
array | $headers = [] |
||
) |
@psalm-param ?object|array|string $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 64 of file ResourceByProjectKeyProducts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProducts::head | ( | $body = null , |
|
array | $headers = [] |
||
) |
@psalm-param ?object|array|string $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 74 of file ResourceByProjectKeyProducts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProducts::post | ( | ?ProductDraft | $body = null , |
array | $headers = [] |
||
) |
@psalm-param ?ProductDraft $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 84 of file ResourceByProjectKeyProducts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProducts::search | ( | ) |
Definition at line 53 of file ResourceByProjectKeyProducts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProducts::withId | ( | string | $ID = null | ) |
Definition at line 42 of file ResourceByProjectKeyProducts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProducts::withKey | ( | string | $key = null | ) |
Definition at line 31 of file ResourceByProjectKeyProducts.php.