commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
VariantRemoveAssetActionBuilder.php
1<?php
2
3declare(strict_types=1);
10
16use stdClass;
17
22{
27 private $staged;
28
33 private $assetId;
34
39 private $assetKey;
40
47 public function getStaged()
48 {
49 return $this->staged;
50 }
51
58 public function getAssetId()
59 {
60 return $this->assetId;
61 }
62
69 public function getAssetKey()
70 {
71 return $this->assetKey;
72 }
73
78 public function withStaged(?bool $staged)
79 {
80 $this->staged = $staged;
81
82 return $this;
83 }
84
89 public function withAssetId(?string $assetId)
90 {
91 $this->assetId = $assetId;
92
93 return $this;
94 }
95
100 public function withAssetKey(?string $assetKey)
101 {
102 $this->assetKey = $assetKey;
103
104 return $this;
105 }
106
107
109 {
111 $this->staged,
112 $this->assetId,
113 $this->assetKey
114 );
115 }
116
117 public static function of(): VariantRemoveAssetActionBuilder
118 {
119 return new self();
120 }
121}