commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
LocalizableTextSetAttributeBuilder.php
1<?php
2
3declare(strict_types=1);
10
17use stdClass;
18
23{
28 private $name;
29
34 private $value;
35
44 public function getName()
45 {
46 return $this->name;
47 }
48
55 public function getValue()
56 {
57 return $this->value;
58 }
59
64 public function withName(?string $name)
65 {
66 $this->name = $name;
67
68 return $this;
69 }
70
75 public function withValue(?LocalizedStringCollection $value)
76 {
77 $this->value = $value;
78
79 return $this;
80 }
81
82
84 {
86 $this->name,
87 $this->value
88 );
89 }
90
91 public static function of(): LocalizableTextSetAttributeBuilder
92 {
93 return new self();
94 }
95}