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
ResourceByProjectKeyShippingMethodsMatchingCartLocation.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
ResourceByProjectKeyShippingMethodsMatchingCartLocation
extends
ApiResource
19
{
23
public
function
__construct
(array $args = [], ClientInterface $client =
null
)
24
{
25
parent::__construct(
'/{projectKey}/shipping-methods/matching-cart-location'
, $args, $client);
26
}
27
32
public
function
get
($body =
null
, array $headers = []):
ByProjectKeyShippingMethodsMatchingCartLocationGet
33
{
34
$args = $this->
getArgs
();
35
36
return
new
ByProjectKeyShippingMethodsMatchingCartLocationGet
($args[
'projectKey'
], $body, $headers, $this->
getClient
());
37
}
42
public
function
head
($body =
null
, array $headers = []):
ByProjectKeyShippingMethodsMatchingCartLocationHead
43
{
44
$args = $this->
getArgs
();
45
46
return
new
ByProjectKeyShippingMethodsMatchingCartLocationHead
($args[
'projectKey'
], $body, $headers, $this->
getClient
());
47
}
48
}
Commercetools\Api\Client\Resource\ByProjectKeyShippingMethodsMatchingCartLocationGet
Definition:
ByProjectKeyShippingMethodsMatchingCartLocationGet.php:38
Commercetools\Api\Client\Resource\ByProjectKeyShippingMethodsMatchingCartLocationHead
Definition:
ByProjectKeyShippingMethodsMatchingCartLocationHead.php:35
Commercetools\Api\Client\Resource\ResourceByProjectKeyShippingMethodsMatchingCartLocation
Definition:
ResourceByProjectKeyShippingMethodsMatchingCartLocation.php:19
Commercetools\Api\Client\Resource\ResourceByProjectKeyShippingMethodsMatchingCartLocation\head
head($body=null, array $headers=[])
Definition:
ResourceByProjectKeyShippingMethodsMatchingCartLocation.php:42
Commercetools\Api\Client\Resource\ResourceByProjectKeyShippingMethodsMatchingCartLocation\__construct
__construct(array $args=[], ClientInterface $client=null)
Definition:
ResourceByProjectKeyShippingMethodsMatchingCartLocation.php:23
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