3 declare(strict_types=1);
88 if (is_null($this->type)) {
90 $data = $this->
raw(self::FIELD_TYPE);
94 $this->type = (string) $data;
106 if (is_null($this->change)) {
108 $data = $this->
raw(self::FIELD_CHANGE);
109 if (is_null($data)) {
112 $this->change = (string) $data;
126 if (is_null($this->previousValue)) {
128 $data = $this->
raw(self::FIELD_PREVIOUS_VALUE);
129 if (is_null($data)) {
147 if (is_null($this->nextValue)) {
149 $data = $this->
raw(self::FIELD_NEXT_VALUE);
150 if (is_null($data)) {
171 if (is_null($this->catalogData)) {
173 $data = $this->
raw(self::FIELD_CATALOG_DATA);
174 if (is_null($data)) {
177 $this->catalogData = (string) $data;
191 if (is_null($this->variant)) {
193 $data = $this->
raw(self::FIELD_VARIANT);
194 if (is_null($data)) {
197 $this->variant = (string) $data;
setChange(?string $change)
setVariant(?string $variant)
const DISCRIMINATOR_VALUE
__construct(?string $change=null, ?ProductVariantAvailability $previousValue=null, ?ProductVariantAvailability $nextValue=null, ?string $catalogData=null, ?string $variant=null, ?string $type=null)
setPreviousValue(?ProductVariantAvailability $previousValue)
setNextValue(?ProductVariantAvailability $nextValue)
setCatalogData(?string $catalogData)