commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ResourceByProjectKeyAsAssociate.php
1<?php
2
3declare(strict_types=1);
10
12use GuzzleHttp\ClientInterface;
13use Psr\Http\Message\UploadedFileInterface;
14
19{
23 public function __construct(array $args = [], ClientInterface $client = null)
24 {
25 parent::__construct('/{projectKey}/as-associate', $args, $client);
26 }
27
30 public function withAssociateIdValue(string $associateId = null): ResourceByProjectKeyAsAssociateByAssociateId
31 {
32 $args = $this->getArgs();
33 if (!is_null($associateId)) {
34 $args['associateId'] = $associateId;
35 }
36
38 }
39}