commercetools-sdk-php-v2
master
The platform, import-api and ml-api PHP sdks generated from our api reference.
lib
commercetools-api
src
Client
Resource
ResourceByProjectKeyShippingMethodsMatchingCart.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Client\Resource
;
10
11
use
Commercetools\Client\ApiResource
;
12
use GuzzleHttp\ClientInterface;
13
use Psr\Http\Message\UploadedFileInterface;
14
18
class
ResourceByProjectKeyShippingMethodsMatchingCart
extends
ApiResource
19
{
23
public
function
__construct
(array $args = [], ClientInterface $client =
null
)
24
{
25
parent::__construct(
'/{projectKey}/shipping-methods/matching-cart'
, $args, $client);
26
}
27
32
public
function
get
($body =
null
, array $headers = []):
ByProjectKeyShippingMethodsMatchingCartGet
33
{
34
$args = $this->
getArgs
();
35
36
return
new
ByProjectKeyShippingMethodsMatchingCartGet
($args[
'projectKey'
], $body, $headers, $this->
getClient
());
37
}
42
public
function
head
($body =
null
, array $headers = []):
ByProjectKeyShippingMethodsMatchingCartHead
43
{
44
$args = $this->
getArgs
();
45
46
return
new
ByProjectKeyShippingMethodsMatchingCartHead
($args[
'projectKey'
], $body, $headers, $this->
getClient
());
47
}
48
}
Commercetools\Api\Client\Resource\ByProjectKeyShippingMethodsMatchingCartGet
Definition:
ByProjectKeyShippingMethodsMatchingCartGet.php:38
Commercetools\Api\Client\Resource\ByProjectKeyShippingMethodsMatchingCartHead
Definition:
ByProjectKeyShippingMethodsMatchingCartHead.php:35
Commercetools\Api\Client\Resource\ResourceByProjectKeyShippingMethodsMatchingCart
Definition:
ResourceByProjectKeyShippingMethodsMatchingCart.php:19
Commercetools\Api\Client\Resource\ResourceByProjectKeyShippingMethodsMatchingCart\__construct
__construct(array $args=[], ClientInterface $client=null)
Definition:
ResourceByProjectKeyShippingMethodsMatchingCart.php:23
Commercetools\Api\Client\Resource\ResourceByProjectKeyShippingMethodsMatchingCart\head
head($body=null, array $headers=[])
Definition:
ResourceByProjectKeyShippingMethodsMatchingCart.php:42
Commercetools\Client\ApiResource
Definition:
ApiResource.php:15
Commercetools\Client\ApiResource\getClient
getClient()
Definition:
ApiResource.php:61
Commercetools\Client\ApiResource\getArgs
getArgs()
Definition:
ApiResource.php:56
Commercetools\Api\Client\Resource
Definition:
ByProjectKeyApiClientsByIDDelete.php:9
Generated by
1.9.1