commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
PriceImportRequestBuilder.php
1 <?php
2 
3 declare(strict_types=1);
10 
17 use stdClass;
18 
22 final class PriceImportRequestBuilder implements Builder
23 {
28  private $resources;
29 
36  public function getResources()
37  {
38  return $this->resources;
39  }
40 
45  public function withResources(?PriceImportCollection $resources)
46  {
47  $this->resources = $resources;
48 
49  return $this;
50  }
51 
52 
53  public function build(): PriceImportRequest
54  {
55  return new PriceImportRequestModel(
56  $this->resources
57  );
58  }
59 
60  public static function of(): PriceImportRequestBuilder
61  {
62  return new self();
63  }
64 }