3 declare(strict_types=1);
132 ?
string $name =
null,
171 if (is_null($this->key)) {
173 $data = $this->
raw(self::FIELD_KEY);
174 if (is_null($data)) {
177 $this->key = (string) $data;
191 if (is_null($this->status)) {
193 $data = $this->
raw(self::FIELD_STATUS);
194 if (is_null($data)) {
197 $this->status = (string) $data;
214 if (is_null($this->stores)) {
216 $data = $this->
raw(self::FIELD_STORES);
217 if (is_null($data)) {
235 if (is_null($this->storeMode)) {
237 $data = $this->
raw(self::FIELD_STORE_MODE);
238 if (is_null($data)) {
241 $this->storeMode = (string) $data;
255 if (is_null($this->unitType)) {
257 $data = $this->
raw(self::FIELD_UNIT_TYPE);
258 if (is_null($data)) {
261 $this->unitType = (string) $data;
275 if (is_null($this->name)) {
277 $data = $this->
raw(self::FIELD_NAME);
278 if (is_null($data)) {
281 $this->name = (string) $data;
295 if (is_null($this->contactEmail)) {
297 $data = $this->
raw(self::FIELD_CONTACT_EMAIL);
298 if (is_null($data)) {
301 $this->contactEmail = (string) $data;
316 if (is_null($this->associateMode)) {
318 $data = $this->
raw(self::FIELD_ASSOCIATE_MODE);
319 if (is_null($data)) {
322 $this->associateMode = (string) $data;
336 if (is_null($this->associates)) {
338 $data = $this->
raw(self::FIELD_ASSOCIATES);
339 if (is_null($data)) {
358 if (is_null($this->approvalRuleMode)) {
360 $data = $this->
raw(self::FIELD_APPROVAL_RULE_MODE);
361 if (is_null($data)) {
364 $this->approvalRuleMode = (string) $data;
378 if (is_null($this->addresses)) {
380 $data = $this->
raw(self::FIELD_ADDRESSES);
381 if (is_null($data)) {
399 if (is_null($this->shippingAddresses)) {
401 $data = $this->
raw(self::FIELD_SHIPPING_ADDRESSES);
402 if (is_null($data)) {
405 $this->shippingAddresses = $data;
419 if (is_null($this->defaultShippingAddress)) {
421 $data = $this->
raw(self::FIELD_DEFAULT_SHIPPING_ADDRESS);
422 if (is_null($data)) {
425 $this->defaultShippingAddress = (int) $data;
440 if (is_null($this->billingAddresses)) {
442 $data = $this->
raw(self::FIELD_BILLING_ADDRESSES);
443 if (is_null($data)) {
446 $this->billingAddresses = $data;
460 if (is_null($this->defaultBillingAddress)) {
462 $data = $this->
raw(self::FIELD_DEFAULT_BILLING_ADDRESS);
463 if (is_null($data)) {
466 $this->defaultBillingAddress = (int) $data;
480 if (is_null($this->custom)) {
482 $data = $this->
raw(self::FIELD_CUSTOM);
483 if (is_null($data)) {