commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
MyBusinessUnitUpdateBuilder.php
1<?php
2
3declare(strict_types=1);
10
17use stdClass;
18
23{
28 private $version;
29
34 private $actions;
35
43 public function getVersion()
44 {
45 return $this->version;
46 }
47
54 public function getActions()
55 {
56 return $this->actions;
57 }
58
63 public function withVersion(?int $version)
64 {
65 $this->version = $version;
66
67 return $this;
68 }
69
75 {
76 $this->actions = $actions;
77
78 return $this;
79 }
80
81
82 public function build(): MyBusinessUnitUpdate
83 {
85 $this->version,
86 $this->actions
87 );
88 }
89
90 public static function of(): MyBusinessUnitUpdateBuilder
91 {
92 return new self();
93 }
94}
withActions(?BusinessUnitUpdateActionCollection $actions)