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) | |
replicate () | |
withCustomerId (string $customerId=null) | |
withKey (string $key=null) | |
withId (string $ID=null) | |
get ($body=null, array $headers=[]) | |
head ($body=null, array $headers=[]) | |
post (?CartDraft $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 ResourceByProjectKeyCarts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyCarts::__construct | ( | array | $args = [] , |
ClientInterface | $client = null |
||
) |
@psalm-param array<string, string> $args
Definition at line 24 of file ResourceByProjectKeyCarts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyCarts::get | ( | $body = null , |
|
array | $headers = [] |
||
) |
@psalm-param ?object|array|string $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 75 of file ResourceByProjectKeyCarts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyCarts::head | ( | $body = null , |
|
array | $headers = [] |
||
) |
@psalm-param ?object|array|string $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 85 of file ResourceByProjectKeyCarts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyCarts::post | ( | ?CartDraft | $body = null , |
array | $headers = [] |
||
) |
@psalm-param ?CartDraft $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 95 of file ResourceByProjectKeyCarts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyCarts::replicate | ( | ) |
Definition at line 31 of file ResourceByProjectKeyCarts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyCarts::withCustomerId | ( | string | $customerId = null | ) |
Definition at line 39 of file ResourceByProjectKeyCarts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyCarts::withId | ( | string | $ID = null | ) |
Definition at line 61 of file ResourceByProjectKeyCarts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyCarts::withKey | ( | string | $key = null | ) |
Definition at line 50 of file ResourceByProjectKeyCarts.php.