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) | |
get ($body=null, array $headers=[]) | |
head ($body=null, array $headers=[]) | |
post (?StateDraft $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 ResourceByProjectKeyStates.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyStates::__construct | ( | array | $args = [] , |
ClientInterface | $client = null |
||
) |
@psalm-param array<string, string> $args
Definition at line 24 of file ResourceByProjectKeyStates.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyStates::get | ( | $body = null , |
|
array | $headers = [] |
||
) |
@psalm-param ?object|array|string $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 56 of file ResourceByProjectKeyStates.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyStates::head | ( | $body = null , |
|
array | $headers = [] |
||
) |
@psalm-param ?object|array|string $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 66 of file ResourceByProjectKeyStates.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyStates::post | ( | ?StateDraft | $body = null , |
array | $headers = [] |
||
) |
@psalm-param ?StateDraft $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 76 of file ResourceByProjectKeyStates.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyStates::withId | ( | string | $ID = null | ) |
Definition at line 42 of file ResourceByProjectKeyStates.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyStates::withKey | ( | string | $key = null | ) |
Definition at line 31 of file ResourceByProjectKeyStates.php.