commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
ImportContainerUpdateDraftBuilder.php
1<?php
2
3declare(strict_types=1);
10
16use stdClass;
17
22{
27 private $version;
28
33 private $resourceType;
34
41 public function getVersion()
42 {
43 return $this->version;
44 }
45
53 public function getResourceType()
54 {
55 return $this->resourceType;
56 }
57
62 public function withVersion(?int $version)
63 {
64 $this->version = $version;
65
66 return $this;
67 }
68
73 public function withResourceType(?string $resourceType)
74 {
75 $this->resourceType = $resourceType;
76
77 return $this;
78 }
79
80
82 {
84 $this->version,
85 $this->resourceType
86 );
87 }
88
89 public static function of(): ImportContainerUpdateDraftBuilder
90 {
91 return new self();
92 }
93}