3 declare(strict_types=1);
185 if (is_null($this->currency)) {
187 $data = $this->
raw(self::FIELD_CURRENCY);
188 if (is_null($data)) {
191 $this->currency = (string) $data;
205 if (is_null($this->customerEmail)) {
207 $data = $this->
raw(self::FIELD_CUSTOMER_EMAIL);
208 if (is_null($data)) {
211 $this->customerEmail = (string) $data;
225 if (is_null($this->businessUnit)) {
227 $data = $this->
raw(self::FIELD_BUSINESS_UNIT);
228 if (is_null($data)) {
246 if (is_null($this->store)) {
248 $data = $this->
raw(self::FIELD_STORE);
249 if (is_null($data)) {
267 if (is_null($this->lineItems)) {
269 $data = $this->
raw(self::FIELD_LINE_ITEMS);
270 if (is_null($data)) {
287 if (is_null($this->taxMode)) {
289 $data = $this->
raw(self::FIELD_TAX_MODE);
290 if (is_null($data)) {
293 $this->taxMode = (string) $data;
307 if (is_null($this->inventoryMode)) {
309 $data = $this->
raw(self::FIELD_INVENTORY_MODE);
310 if (is_null($data)) {
313 $this->inventoryMode = (string) $data;
327 if (is_null($this->billingAddress)) {
329 $data = $this->
raw(self::FIELD_BILLING_ADDRESS);
330 if (is_null($data)) {
348 if (is_null($this->shippingAddress)) {
350 $data = $this->
raw(self::FIELD_SHIPPING_ADDRESS);
351 if (is_null($data)) {
369 if (is_null($this->shippingMethod)) {
371 $data = $this->
raw(self::FIELD_SHIPPING_METHOD);
372 if (is_null($data)) {
392 if (is_null($this->itemShippingAddresses)) {
394 $data = $this->
raw(self::FIELD_ITEM_SHIPPING_ADDRESSES);
395 if (is_null($data)) {
415 if (is_null($this->shippingMode)) {
417 $data = $this->
raw(self::FIELD_SHIPPING_MODE);
418 if (is_null($data)) {
421 $this->shippingMode = (string) $data;
435 if (is_null($this->discountCodes)) {
437 $data = $this->
raw(self::FIELD_DISCOUNT_CODES);
438 if (is_null($data)) {
441 $this->discountCodes = $data;
456 if (is_null($this->country)) {
458 $data = $this->
raw(self::FIELD_COUNTRY);
459 if (is_null($data)) {
462 $this->country = (string) $data;
477 if (is_null($this->locale)) {
479 $data = $this->
raw(self::FIELD_LOCALE);
480 if (is_null($data)) {
483 $this->locale = (string) $data;
499 if (is_null($this->deleteDaysAfterLastModification)) {
501 $data = $this->
raw(self::FIELD_DELETE_DAYS_AFTER_LAST_MODIFICATION);
502 if (is_null($data)) {
505 $this->deleteDaysAfterLastModification = (int) $data;
519 if (is_null($this->custom)) {
521 $data = $this->
raw(self::FIELD_CUSTOM);
522 if (is_null($data)) {