3declare(strict_types=1);
129 if (is_null($this->name)) {
131 $data = $this->
raw(self::FIELD_NAME);
132 if (is_null($data)) {
136 $this->name = LocalizedStringModel::of($data);
150 if (is_null($this->categories)) {
152 $data = $this->
raw(self::FIELD_CATEGORIES);
153 if (is_null($data)) {
156 $this->categories = CategoryReferenceCollection::fromArray($data);
170 if (is_null($this->categoryOrderHints)) {
172 $data = $this->
raw(self::FIELD_CATEGORY_ORDER_HINTS);
173 if (is_null($data)) {
191 if (is_null($this->description)) {
193 $data = $this->
raw(self::FIELD_DESCRIPTION);
194 if (is_null($data)) {
198 $this->description = LocalizedStringModel::of($data);
214 if (is_null($this->slug)) {
216 $data = $this->
raw(self::FIELD_SLUG);
217 if (is_null($data)) {
221 $this->slug = LocalizedStringModel::of($data);
235 if (is_null($this->metaTitle)) {
237 $data = $this->
raw(self::FIELD_META_TITLE);
238 if (is_null($data)) {
242 $this->metaTitle = LocalizedStringModel::of($data);
256 if (is_null($this->metaDescription)) {
258 $data = $this->
raw(self::FIELD_META_DESCRIPTION);
259 if (is_null($data)) {
263 $this->metaDescription = LocalizedStringModel::of($data);
277 if (is_null($this->metaKeywords)) {
279 $data = $this->
raw(self::FIELD_META_KEYWORDS);
280 if (is_null($data)) {
284 $this->metaKeywords = LocalizedStringModel::of($data);
298 if (is_null($this->masterVariant)) {
300 $data = $this->
raw(self::FIELD_MASTER_VARIANT);
301 if (is_null($data)) {
319 if (is_null($this->variants)) {
321 $data = $this->
raw(self::FIELD_VARIANTS);
322 if (is_null($data)) {
339 if (is_null($this->searchKeywords)) {
341 $data = $this->
raw(self::FIELD_SEARCH_KEYWORDS);
342 if (is_null($data)) {