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) | |
matching () | |
withKey (string $key=null) | |
withId (string $ID=null) | |
get ($body=null, array $headers=[]) | |
head ($body=null, array $headers=[]) | |
post (?ProductDiscountDraft $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 ResourceByProjectKeyProductDiscounts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProductDiscounts::__construct | ( | array | $args = [] , |
ClientInterface | $client = null |
||
) |
@psalm-param array<string, string> $args
Definition at line 24 of file ResourceByProjectKeyProductDiscounts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProductDiscounts::get | ( | $body = null , |
|
array | $headers = [] |
||
) |
@psalm-param ?object|array|string $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 64 of file ResourceByProjectKeyProductDiscounts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProductDiscounts::head | ( | $body = null , |
|
array | $headers = [] |
||
) |
@psalm-param ?object|array|string $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 74 of file ResourceByProjectKeyProductDiscounts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProductDiscounts::matching | ( | ) |
Definition at line 31 of file ResourceByProjectKeyProductDiscounts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProductDiscounts::post | ( | ?ProductDiscountDraft | $body = null , |
array | $headers = [] |
||
) |
@psalm-param ?ProductDiscountDraft $body @psalm-param array<string, scalar|scalar[]> $headers
Definition at line 84 of file ResourceByProjectKeyProductDiscounts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProductDiscounts::withId | ( | string | $ID = null | ) |
Definition at line 50 of file ResourceByProjectKeyProductDiscounts.php.
Commercetools\Api\Client\Resource\ResourceByProjectKeyProductDiscounts::withKey | ( | string | $key = null | ) |
Definition at line 39 of file ResourceByProjectKeyProductDiscounts.php.