commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
StateSetTransitionsActionBuilder.php
1 <?php
2 
3 declare(strict_types=1);
10 
16 use stdClass;
17 
22 {
27  private $transitions;
28 
41  public function getTransitions()
42  {
43  return $this->transitions;
44  }
45 
50  public function withTransitions(?StateResourceIdentifierCollection $transitions)
51  {
52  $this->transitions = $transitions;
53 
54  return $this;
55  }
56 
57 
58  public function build(): StateSetTransitionsAction
59  {
61  $this->transitions
62  );
63  }
64 
65  public static function of(): StateSetTransitionsActionBuilder
66  {
67  return new self();
68  }
69 }