3 declare(strict_types=1);
82 if (is_null($this->type)) {
84 $data = $this->
raw(self::FIELD_TYPE);
88 $this->type = (string) $data;
100 if (is_null($this->change)) {
102 $data = $this->
raw(self::FIELD_CHANGE);
103 if (is_null($data)) {
106 $this->change = (string) $data;
120 if (is_null($this->previousValue)) {
122 $data = $this->
raw(self::FIELD_PREVIOUS_VALUE);
123 if (is_null($data)) {
141 if (is_null($this->nextValue)) {
143 $data = $this->
raw(self::FIELD_NEXT_VALUE);
144 if (is_null($data)) {
162 if (is_null($this->product)) {
164 $data = $this->
raw(self::FIELD_PRODUCT);
165 if (is_null($data)) {
__construct(?string $change=null, ?ProductVariantSelection $previousValue=null, ?ProductVariantSelection $nextValue=null, ?Reference $product=null, ?string $type=null)
setNextValue(?ProductVariantSelection $nextValue)
setPreviousValue(?ProductVariantSelection $previousValue)
setChange(?string $change)
const DISCRIMINATOR_VALUE
setProduct(?Reference $product)