commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
Public Member Functions | List of all members
Commercetools\Api\Client\Resource\ResourceByProjectKeyCustomObjects Class Reference
Inheritance diagram for Commercetools\Api\Client\Resource\ResourceByProjectKeyCustomObjects:
Commercetools\Client\ApiResource

Public Member Functions

 __construct (array $args=[], ClientInterface $client=null)
 
 withContainerAndKey (string $container=null, string $key=null)
 
 withContainer (string $container=null)
 
 get ($body=null, array $headers=[])
 
 head ($body=null, array $headers=[])
 
 post (?CustomObjectDraft $body=null, array $headers=[])
 
- Public Member Functions inherited from Commercetools\Client\ApiResource
 __construct (string $uri='', array $args=[], ClientInterface $client=null)
 
 getUri ()
 
 getArgs ()
 
 getClient ()
 

Detailed Description

@psalm-suppress PropertyNotSetInConstructor

Definition at line 19 of file ResourceByProjectKeyCustomObjects.php.

Constructor & Destructor Documentation

◆ __construct()

Commercetools\Api\Client\Resource\ResourceByProjectKeyCustomObjects::__construct ( array  $args = [],
ClientInterface  $client = null 
)

@psalm-param array<string, string> $args

Definition at line 24 of file ResourceByProjectKeyCustomObjects.php.

Member Function Documentation

◆ get()

Commercetools\Api\Client\Resource\ResourceByProjectKeyCustomObjects::get (   $body = null,
array  $headers = [] 
)

@psalm-param ?object|array|string $body @psalm-param array<string, scalar|scalar[]> $headers

Deprecated:

Definition at line 61 of file ResourceByProjectKeyCustomObjects.php.

◆ head()

Commercetools\Api\Client\Resource\ResourceByProjectKeyCustomObjects::head (   $body = null,
array  $headers = [] 
)

@psalm-param ?object|array|string $body @psalm-param array<string, scalar|scalar[]> $headers

Definition at line 71 of file ResourceByProjectKeyCustomObjects.php.

◆ post()

Commercetools\Api\Client\Resource\ResourceByProjectKeyCustomObjects::post ( ?CustomObjectDraft  $body = null,
array  $headers = [] 
)

@psalm-param ?CustomObjectDraft $body @psalm-param array<string, scalar|scalar[]> $headers

Definition at line 81 of file ResourceByProjectKeyCustomObjects.php.

◆ withContainer()

Commercetools\Api\Client\Resource\ResourceByProjectKeyCustomObjects::withContainer ( string  $container = null)

Definition at line 46 of file ResourceByProjectKeyCustomObjects.php.

◆ withContainerAndKey()

Commercetools\Api\Client\Resource\ResourceByProjectKeyCustomObjects::withContainerAndKey ( string  $container = null,
string  $key = null 
)

Definition at line 31 of file ResourceByProjectKeyCustomObjects.php.


The documentation for this class was generated from the following file: