3 declare(strict_types=1);
124 if (is_null($this->
id)) {
126 $data = $this->
raw(self::FIELD_ID);
127 if (is_null($data)) {
130 $this->
id = (string) $data;
145 if (is_null($this->cart)) {
147 $data = $this->
raw(self::FIELD_CART);
148 if (is_null($data)) {
166 if (is_null($this->version)) {
168 $data = $this->
raw(self::FIELD_VERSION);
169 if (is_null($data)) {
172 $this->version = (int) $data;
187 if (is_null($this->orderNumber)) {
189 $data = $this->
raw(self::FIELD_ORDER_NUMBER);
190 if (is_null($data)) {
193 $this->orderNumber = (string) $data;
208 if (is_null($this->purchaseOrderNumber)) {
210 $data = $this->
raw(self::FIELD_PURCHASE_ORDER_NUMBER);
211 if (is_null($data)) {
214 $this->purchaseOrderNumber = (string) $data;
228 if (is_null($this->paymentState)) {
230 $data = $this->
raw(self::FIELD_PAYMENT_STATE);
231 if (is_null($data)) {
234 $this->paymentState = (string) $data;
248 if (is_null($this->shipmentState)) {
250 $data = $this->
raw(self::FIELD_SHIPMENT_STATE);
251 if (is_null($data)) {
254 $this->shipmentState = (string) $data;
268 if (is_null($this->orderState)) {
270 $data = $this->
raw(self::FIELD_ORDER_STATE);
271 if (is_null($data)) {
274 $this->orderState = (string) $data;
288 if (is_null($this->state)) {
290 $data = $this->
raw(self::FIELD_STATE);
291 if (is_null($data)) {
314 if (is_null($this->custom)) {
316 $data = $this->
raw(self::FIELD_CUSTOM);
317 if (is_null($data)) {