commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
lib
commercetools-api
src
Client
Resource
ResourceByProjectKeyMe.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Client\Resource
;
10
11
use
Commercetools\Api\Models\Me\MyCustomerUpdate
;
12
use
Commercetools\Client\ApiResource
;
13
use GuzzleHttp\ClientInterface;
14
use Psr\Http\Message\UploadedFileInterface;
15
19
class
ResourceByProjectKeyMe
extends
ApiResource
20
{
24
public
function
__construct
(array $args = [], ClientInterface $client =
null
)
25
{
26
parent::__construct(
'/{projectKey}/me'
, $args, $client);
27
}
28
31
public
function
emailConfirm
():
ResourceByProjectKeyMeEmailConfirm
32
{
33
$args = $this->
getArgs
();
34
35
return
new
ResourceByProjectKeyMeEmailConfirm
($args, $this->
getClient
());
36
}
39
public
function
password
():
ResourceByProjectKeyMePassword
40
{
41
$args = $this->
getArgs
();
42
43
return
new
ResourceByProjectKeyMePassword
($args, $this->
getClient
());
44
}
47
public
function
signup
():
ResourceByProjectKeyMeSignup
48
{
49
$args = $this->
getArgs
();
50
51
return
new
ResourceByProjectKeyMeSignup
($args, $this->
getClient
());
52
}
55
public
function
login
():
ResourceByProjectKeyMeLogin
56
{
57
$args = $this->
getArgs
();
58
59
return
new
ResourceByProjectKeyMeLogin
($args, $this->
getClient
());
60
}
63
public
function
activeCart
():
ResourceByProjectKeyMeActiveCart
64
{
65
$args = $this->
getArgs
();
66
67
return
new
ResourceByProjectKeyMeActiveCart
($args, $this->
getClient
());
68
}
71
public
function
businessUnits
():
ResourceByProjectKeyMeBusinessUnits
72
{
73
$args = $this->
getArgs
();
74
75
return
new
ResourceByProjectKeyMeBusinessUnits
($args, $this->
getClient
());
76
}
79
public
function
carts
():
ResourceByProjectKeyMeCarts
80
{
81
$args = $this->
getArgs
();
82
83
return
new
ResourceByProjectKeyMeCarts
($args, $this->
getClient
());
84
}
87
public
function
orders
():
ResourceByProjectKeyMeOrders
88
{
89
$args = $this->
getArgs
();
90
91
return
new
ResourceByProjectKeyMeOrders
($args, $this->
getClient
());
92
}
95
public
function
payments
():
ResourceByProjectKeyMePayments
96
{
97
$args = $this->
getArgs
();
98
99
return
new
ResourceByProjectKeyMePayments
($args, $this->
getClient
());
100
}
103
public
function
quoteRequests
():
ResourceByProjectKeyMeQuoteRequests
104
{
105
$args = $this->
getArgs
();
106
107
return
new
ResourceByProjectKeyMeQuoteRequests
($args, $this->
getClient
());
108
}
111
public
function
quotes
():
ResourceByProjectKeyMeQuotes
112
{
113
$args = $this->
getArgs
();
114
115
return
new
ResourceByProjectKeyMeQuotes
($args, $this->
getClient
());
116
}
119
public
function
shoppingLists
():
ResourceByProjectKeyMeShoppingLists
120
{
121
$args = $this->
getArgs
();
122
123
return
new
ResourceByProjectKeyMeShoppingLists
($args, $this->
getClient
());
124
}
125
130
public
function
get
($body =
null
, array $headers = []):
ByProjectKeyMeGet
131
{
132
$args = $this->
getArgs
();
133
134
return
new
ByProjectKeyMeGet
($args[
'projectKey'
], $body, $headers, $this->
getClient
());
135
}
140
public
function
post
(?
MyCustomerUpdate
$body =
null
, array $headers = []):
ByProjectKeyMePost
141
{
142
$args = $this->
getArgs
();
143
144
return
new
ByProjectKeyMePost
($args[
'projectKey'
], $body, $headers, $this->
getClient
());
145
}
150
public
function
delete
($body =
null
, array $headers = []):
ByProjectKeyMeDelete
151
{
152
$args = $this->
getArgs
();
153
154
return
new
ByProjectKeyMeDelete
($args[
'projectKey'
], $body, $headers, $this->
getClient
());
155
}
156
}
Commercetools\Api\Client\Resource\ByProjectKeyMeDelete
Definition
ByProjectKeyMeDelete.php:39
Commercetools\Api\Client\Resource\ByProjectKeyMeGet
Definition
ByProjectKeyMeGet.php:41
Commercetools\Api\Client\Resource\ByProjectKeyMePost
Definition
ByProjectKeyMePost.php:36
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeActiveCart
Definition
ResourceByProjectKeyMeActiveCart.php:19
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeBusinessUnits
Definition
ResourceByProjectKeyMeBusinessUnits.php:20
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeCarts
Definition
ResourceByProjectKeyMeCarts.php:20
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeEmailConfirm
Definition
ResourceByProjectKeyMeEmailConfirm.php:20
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe
Definition
ResourceByProjectKeyMe.php:20
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\quoteRequests
quoteRequests()
Definition
ResourceByProjectKeyMe.php:103
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\businessUnits
businessUnits()
Definition
ResourceByProjectKeyMe.php:71
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\payments
payments()
Definition
ResourceByProjectKeyMe.php:95
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\quotes
quotes()
Definition
ResourceByProjectKeyMe.php:111
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\shoppingLists
shoppingLists()
Definition
ResourceByProjectKeyMe.php:119
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\post
post(?MyCustomerUpdate $body=null, array $headers=[])
Definition
ResourceByProjectKeyMe.php:140
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\emailConfirm
emailConfirm()
Definition
ResourceByProjectKeyMe.php:31
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\login
login()
Definition
ResourceByProjectKeyMe.php:55
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\activeCart
activeCart()
Definition
ResourceByProjectKeyMe.php:63
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\signup
signup()
Definition
ResourceByProjectKeyMe.php:47
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\orders
orders()
Definition
ResourceByProjectKeyMe.php:87
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\password
password()
Definition
ResourceByProjectKeyMe.php:39
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\__construct
__construct(array $args=[], ClientInterface $client=null)
Definition
ResourceByProjectKeyMe.php:24
Commercetools\Api\Client\Resource\ResourceByProjectKeyMe\carts
carts()
Definition
ResourceByProjectKeyMe.php:79
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeLogin
Definition
ResourceByProjectKeyMeLogin.php:20
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeOrders
Definition
ResourceByProjectKeyMeOrders.php:20
Commercetools\Api\Client\Resource\ResourceByProjectKeyMePassword
Definition
ResourceByProjectKeyMePassword.php:20
Commercetools\Api\Client\Resource\ResourceByProjectKeyMePayments
Definition
ResourceByProjectKeyMePayments.php:20
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeQuoteRequests
Definition
ResourceByProjectKeyMeQuoteRequests.php:20
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeQuotes
Definition
ResourceByProjectKeyMeQuotes.php:19
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeShoppingLists
Definition
ResourceByProjectKeyMeShoppingLists.php:20
Commercetools\Api\Client\Resource\ResourceByProjectKeyMeSignup
Definition
ResourceByProjectKeyMeSignup.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\Models\Me\MyCustomerUpdate
Definition
MyCustomerUpdate.php:15
Commercetools\Api\Client\Resource
Definition
ByProjectKeyApiClientsByIDDelete.php:9
Generated by
1.9.8