3 declare(strict_types=1);
69 if (is_null($this->code)) {
71 $data = $this->
raw(self::FIELD_CODE);
75 $this->code = (string) $data;
89 if (is_null($this->message)) {
91 $data = $this->
raw(self::FIELD_MESSAGE);
95 $this->message = (string) $data;
109 if (is_null($this->lineItems)) {
111 $data = $this->
raw(self::FIELD_LINE_ITEMS);
112 if (is_null($data)) {
115 $this->lineItems = $data;
129 if (is_null($this->skus)) {
131 $data = $this->
raw(self::FIELD_SKUS);
132 if (is_null($data)) {
169 public function by(
string $key)
171 $data = $this->
raw($key);
172 if (is_null($data)) {