commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Variables
$
a
d
e
f
g
o
r
s
t
u
•
All
Classes
Namespaces
Functions
Variables
Pages
Loading...
Searching...
No Matches
lib
commercetools-api
src
Client
Resource
ResourceByProjectKeyMeQuotes.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
ResourceByProjectKeyMeQuotes
extends
ApiResource
19
{
23
public
function
__construct
(array $args = [], ?ClientInterface $client =
null
)
24
{
25
parent::__construct(
'/{projectKey}/me/quotes'
, $args, $client);
26
}
23
public
function
__construct
(array $args = [], ?ClientInterface $client =
null
) {
…
}
27
30
public
function
withId
(?
string
$ID =
null
):
ResourceByProjectKeyMeQuotesByID
31
{
32
$args = $this->
getArgs
();
33
if
(!is_null($ID)) {
34
$args[
'ID'
] = $ID;
35
}
36
37
return
new
ResourceByProjectKeyMeQuotesByID
($args, $this->
getClient
());
38
}
30
public
function
withId
(?
string
$ID =
null
):
ResourceByProjectKeyMeQuotesByID
{
…
}
41
public
function
withKey
(?
string
$key =
null
):
ResourceByProjectKeyMeQuotesKeyByKey
42
{
43
$args = $this->
getArgs
();
44
if
(!is_null($key)) {
45
$args[
'key'
] = $key;
46
}
47
48
return
new
ResourceByProjectKeyMeQuotesKeyByKey
($args, $this->
getClient
());
49
}
41
public
function
withKey
(?
string
$key =
null
):
ResourceByProjectKeyMeQuotesKeyByKey
{
…
}
50
55
public
function
get
($body =
null
, array $headers = []):
ByProjectKeyMeQuotesGet
56
{
57
$args = $this->
getArgs
();
58
59
return
new
ByProjectKeyMeQuotesGet
($args[
'projectKey'
], $body, $headers, $this->
getClient
());
60
}
55
public
function
get
($body =
null
, array $headers = []):
ByProjectKeyMeQuotesGet
{
…
}
65
public
function
head
($body =
null
, array $headers = []):
ByProjectKeyMeQuotesHead
66
{
67
$args = $this->
getArgs
();
68
69
return
new
ByProjectKeyMeQuotesHead
($args[
'projectKey'
], $body, $headers, $this->
getClient
());
70
}
65
public
function
head
($body =
null
, array $headers = []):
ByProjectKeyMeQuotesHead
{
…
}
71
}
18
class
ResourceByProjectKeyMeQuotes
extends
ApiResource
{
…
};
Commercetools\Api\Client\Resource\ByProjectKeyMeQuotesGet
Definition
ByProjectKeyMeQuotesGet.php:41
Commercetools\Api\Client\Resource\ByProjectKeyMeQuotesHead
Definition
ByProjectKeyMeQuotesHead.php:35
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeQuotesByID
Definition
ResourceByProjectKeyMeQuotesByID.php:20
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeQuotes
Definition
ResourceByProjectKeyMeQuotes.php:19
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeQuotes\withKey
withKey(?string $key=null)
Definition
ResourceByProjectKeyMeQuotes.php:41
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeQuotes\__construct
__construct(array $args=[], ?ClientInterface $client=null)
Definition
ResourceByProjectKeyMeQuotes.php:23
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeQuotes\head
head($body=null, array $headers=[])
Definition
ResourceByProjectKeyMeQuotes.php:65
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeQuotes\withId
withId(?string $ID=null)
Definition
ResourceByProjectKeyMeQuotes.php:30
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeQuotesKeyByKey
Definition
ResourceByProjectKeyMeQuotesKeyByKey.php:20
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.8