3 declare(strict_types=1);
19 use DateTimeImmutable;
83 if (is_null($this->timestamp)) {
85 $data = $this->
raw(self::FIELD_TIMESTAMP);
90 if (
false === $data) {
93 $this->timestamp = $data;
108 if (is_null($this->type)) {
110 $data = $this->
raw(self::FIELD_TYPE);
111 if (is_null($data)) {
114 $this->type = (string) $data;
128 if (is_null($this->amount)) {
130 $data = $this->
raw(self::FIELD_AMOUNT);
131 if (is_null($data)) {
150 if (is_null($this->interactionId)) {
152 $data = $this->
raw(self::FIELD_INTERACTION_ID);
153 if (is_null($data)) {
156 $this->interactionId = (string) $data;
170 if (is_null($this->custom)) {
172 $data = $this->
raw(self::FIELD_CUSTOM);
173 if (is_null($data)) {
225 #[\ReturnTypeWillChange]
232 return (
object) $data;