3 declare(strict_types=1);
89 if (is_null($this->code)) {
91 $data = $this->
raw(self::FIELD_CODE);
95 $this->code = (string) $data;
113 if (is_null($this->message)) {
115 $data = $this->
raw(self::FIELD_MESSAGE);
116 if (is_null($data)) {
119 $this->message = (string) $data;
133 if (is_null($this->associate)) {
135 $data = $this->
raw(self::FIELD_ASSOCIATE);
136 if (is_null($data)) {
154 if (is_null($this->businessUnit)) {
156 $data = $this->
raw(self::FIELD_BUSINESS_UNIT);
157 if (is_null($data)) {
175 if (is_null($this->associateOnBehalf)) {
177 $data = $this->
raw(self::FIELD_ASSOCIATE_ON_BEHALF);
178 if (is_null($data)) {
196 if (is_null($this->permissions)) {
198 $data = $this->
raw(self::FIELD_PERMISSIONS);
199 if (is_null($data)) {
202 $this->permissions = $data;
252 public function by(
string $key)
254 $data = $this->
raw($key);
255 if (is_null($data)) {