3 declare(strict_types=1);
30 use DateTimeImmutable;
182 if (is_null($this->
id)) {
184 $data = $this->
raw(self::FIELD_ID);
185 if (is_null($data)) {
188 $this->
id = (string) $data;
202 if (is_null($this->version)) {
204 $data = $this->
raw(self::FIELD_VERSION);
205 if (is_null($data)) {
208 $this->version = (int) $data;
222 if (is_null($this->createdAt)) {
224 $data = $this->
raw(self::FIELD_CREATED_AT);
225 if (is_null($data)) {
229 if (
false === $data) {
232 $this->createdAt = $data;
246 if (is_null($this->lastModifiedAt)) {
248 $data = $this->
raw(self::FIELD_LAST_MODIFIED_AT);
249 if (is_null($data)) {
253 if (
false === $data) {
256 $this->lastModifiedAt = $data;
270 if (is_null($this->lastModifiedBy)) {
272 $data = $this->
raw(self::FIELD_LAST_MODIFIED_BY);
273 if (is_null($data)) {
291 if (is_null($this->createdBy)) {
293 $data = $this->
raw(self::FIELD_CREATED_BY);
294 if (is_null($data)) {
312 if (is_null($this->customer)) {
314 $data = $this->
raw(self::FIELD_CUSTOMER);
315 if (is_null($data)) {
333 if (is_null($this->anonymousId)) {
335 $data = $this->
raw(self::FIELD_ANONYMOUS_ID);
336 if (is_null($data)) {
339 $this->anonymousId = (string) $data;
354 if (is_null($this->interfaceId)) {
356 $data = $this->
raw(self::FIELD_INTERFACE_ID);
357 if (is_null($data)) {
360 $this->interfaceId = (string) $data;
375 if (is_null($this->amountPlanned)) {
377 $data = $this->
raw(self::FIELD_AMOUNT_PLANNED);
378 if (is_null($data)) {
396 if (is_null($this->paymentMethodInfo)) {
398 $data = $this->
raw(self::FIELD_PAYMENT_METHOD_INFO);
399 if (is_null($data)) {
417 if (is_null($this->paymentStatus)) {
419 $data = $this->
raw(self::FIELD_PAYMENT_STATUS);
420 if (is_null($data)) {
438 if (is_null($this->transactions)) {
440 $data = $this->
raw(self::FIELD_TRANSACTIONS);
441 if (is_null($data)) {
458 if (is_null($this->interfaceInteractions)) {
460 $data = $this->
raw(self::FIELD_INTERFACE_INTERACTIONS);
461 if (is_null($data)) {
478 if (is_null($this->custom)) {
480 $data = $this->
raw(self::FIELD_CUSTOM);
481 if (is_null($data)) {
499 if (is_null($this->key)) {
501 $data = $this->
raw(self::FIELD_KEY);
502 if (is_null($data)) {
505 $this->key = (string) $data;
641 #[\ReturnTypeWillChange]
652 return (
object) $data;