commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
ResourceByProjectKeyInStoreKeyByStoreKeyMe.php
1 <?php
2 
3 declare(strict_types=1);
10 
13 use GuzzleHttp\ClientInterface;
14 use Psr\Http\Message\UploadedFileInterface;
15 
20 {
24  public function __construct(array $args = [], ClientInterface $client = null)
25  {
26  parent::__construct('/{projectKey}/in-store/key={storeKey}/me', $args, $client);
27  }
28 
32  {
33  $args = $this->getArgs();
34 
36  }
40  {
41  $args = $this->getArgs();
42 
44  }
48  {
49  $args = $this->getArgs();
50 
52  }
56  {
57  $args = $this->getArgs();
58 
60  }
64  {
65  $args = $this->getArgs();
66 
68  }
72  {
73  $args = $this->getArgs();
74 
76  }
80  {
81  $args = $this->getArgs();
82 
84  }
88  {
89  $args = $this->getArgs();
90 
92  }
93 
98  public function get($body = null, array $headers = []): ByProjectKeyInStoreKeyByStoreKeyMeGet
99  {
100  $args = $this->getArgs();
101 
102  return new ByProjectKeyInStoreKeyByStoreKeyMeGet($args['projectKey'], $args['storeKey'], $body, $headers, $this->getClient());
103  }
108  public function post(?MyCustomerUpdate $body = null, array $headers = []): ByProjectKeyInStoreKeyByStoreKeyMePost
109  {
110  $args = $this->getArgs();
111 
112  return new ByProjectKeyInStoreKeyByStoreKeyMePost($args['projectKey'], $args['storeKey'], $body, $headers, $this->getClient());
113  }
118  public function delete($body = null, array $headers = []): ByProjectKeyInStoreKeyByStoreKeyMeDelete
119  {
120  $args = $this->getArgs();
121 
122  return new ByProjectKeyInStoreKeyByStoreKeyMeDelete($args['projectKey'], $args['storeKey'], $body, $headers, $this->getClient());
123  }
124 }