commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ResourceByProjectKeyCustomersSearch.php
1<?php
2
3declare(strict_types=1);
10
13use GuzzleHttp\ClientInterface;
14use Psr\Http\Message\UploadedFileInterface;
15
20{
24 public function __construct(array $args = [], ClientInterface $client = null)
25 {
26 parent::__construct('/{projectKey}/customers/search', $args, $client);
27 }
28
33 public function post(?CustomerSearchRequest $body = null, array $headers = []): ByProjectKeyCustomersSearchPost
34 {
35 $args = $this->getArgs();
36
37 return new ByProjectKeyCustomersSearchPost($args['projectKey'], $body, $headers, $this->getClient());
38 }
43 public function head($body = null, array $headers = []): ByProjectKeyCustomersSearchHead
44 {
45 $args = $this->getArgs();
46
47 return new ByProjectKeyCustomersSearchHead($args['projectKey'], $body, $headers, $this->getClient());
48 }
49}