commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
VariantSetImagesActionBuilder.php
1<?php
2
3declare(strict_types=1);
10
17use stdClass;
18
23{
28 private $images;
29
34 private $staged;
35
42 public function getImages()
43 {
44 return $this->images;
45 }
46
53 public function getStaged()
54 {
55 return $this->staged;
56 }
57
62 public function withImages(?ImageCollection $images)
63 {
64 $this->images = $images;
65
66 return $this;
67 }
68
73 public function withStaged(?bool $staged)
74 {
75 $this->staged = $staged;
76
77 return $this;
78 }
79
80
81 public function build(): VariantSetImagesAction
82 {
84 $this->images,
85 $this->staged
86 );
87 }
88
89 public static function of(): VariantSetImagesActionBuilder
90 {
91 return new self();
92 }
93}