3 declare(strict_types=1);
19 use DateTimeImmutable;
91 if (is_null($this->timestamp)) {
93 $data = $this->
raw(self::FIELD_TIMESTAMP);
98 if (
false === $data) {
101 $this->timestamp = $data;
115 if (is_null($this->type)) {
117 $data = $this->
raw(self::FIELD_TYPE);
118 if (is_null($data)) {
121 $this->type = (string) $data;
135 if (is_null($this->amount)) {
137 $data = $this->
raw(self::FIELD_AMOUNT);
138 if (is_null($data)) {
157 if (is_null($this->interactionId)) {
159 $data = $this->
raw(self::FIELD_INTERACTION_ID);
160 if (is_null($data)) {
163 $this->interactionId = (string) $data;
177 if (is_null($this->state)) {
179 $data = $this->
raw(self::FIELD_STATE);
180 if (is_null($data)) {
183 $this->state = (string) $data;
197 if (is_null($this->custom)) {
199 $data = $this->
raw(self::FIELD_CUSTOM);
200 if (is_null($data)) {
260 #[\ReturnTypeWillChange]
267 return (
object) $data;