3 declare(strict_types=1);
15 use DateTimeImmutable;
71 if (is_null($this->productSelection)) {
73 $data = $this->
raw(self::FIELD_PRODUCT_SELECTION);
93 if (is_null($this->variantSelection)) {
95 $data = $this->
raw(self::FIELD_VARIANT_SELECTION);
100 $this->variantSelection = $className::of($data);
115 if (is_null($this->variantExclusion)) {
117 $data = $this->
raw(self::FIELD_VARIANT_EXCLUSION);
118 if (is_null($data)) {
136 if (is_null($this->createdAt)) {
138 $data = $this->
raw(self::FIELD_CREATED_AT);
139 if (is_null($data)) {
143 if (
false === $data) {
146 $this->createdAt = $data;
186 #[\ReturnTypeWillChange]
193 return (
object) $data;