3 declare(strict_types=1);
80 if (is_null($this->key)) {
82 $data = $this->
raw(self::FIELD_KEY);
86 $this->key = (string) $data;
100 if (is_null($this->name)) {
102 $data = $this->
raw(self::FIELD_NAME);
103 if (is_null($data)) {
106 $this->name = (string) $data;
120 if (is_null($this->buyerAssignable)) {
122 $data = $this->
raw(self::FIELD_BUYER_ASSIGNABLE);
123 if (is_null($data)) {
126 $this->buyerAssignable = (bool) $data;
140 if (is_null($this->permissions)) {
142 $data = $this->
raw(self::FIELD_PERMISSIONS);
143 if (is_null($data)) {
146 $this->permissions = $data;
160 if (is_null($this->custom)) {
162 $data = $this->
raw(self::FIELD_CUSTOM);
163 if (is_null($data)) {