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\ResourceByProjectKeyMeOrders Class Reference
Inheritance diagram for Commercetools\Api\Client\Resource\ResourceByProjectKeyMeOrders:
Commercetools\Client\ApiResource

Public Member Functions

 __construct (array $args=[], ClientInterface $client=null)
 
 withId (string $ID=null)
 
 orderQuote ()
 
 get ($body=null, array $headers=[])
 
 head ($body=null, array $headers=[])
 
 post (?MyOrderFromCartDraft $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 ResourceByProjectKeyMeOrders.php.

Constructor & Destructor Documentation

◆ __construct()

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

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

Definition at line 24 of file ResourceByProjectKeyMeOrders.php.

Member Function Documentation

◆ get()

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

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

Definition at line 53 of file ResourceByProjectKeyMeOrders.php.

◆ head()

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

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

Definition at line 63 of file ResourceByProjectKeyMeOrders.php.

◆ orderQuote()

Commercetools\Api\Client\Resource\ResourceByProjectKeyMeOrders::orderQuote ( )

Definition at line 42 of file ResourceByProjectKeyMeOrders.php.

◆ post()

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

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

Definition at line 73 of file ResourceByProjectKeyMeOrders.php.

◆ withId()

Commercetools\Api\Client\Resource\ResourceByProjectKeyMeOrders::withId ( string  $ID = null)

Definition at line 31 of file ResourceByProjectKeyMeOrders.php.


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