3 declare(strict_types=1);
85 if (is_null($this->type)) {
87 $data = $this->
raw(self::FIELD_TYPE);
91 $this->type = (string) $data;
105 if (is_null($this->predicate)) {
107 $data = $this->
raw(self::FIELD_PREDICATE);
108 if (is_null($data)) {
111 $this->predicate = (string) $data;
125 if (is_null($this->triggerQuantity)) {
127 $data = $this->
raw(self::FIELD_TRIGGER_QUANTITY);
128 if (is_null($data)) {
131 $this->triggerQuantity = (int) $data;
146 if (is_null($this->discountedQuantity)) {
148 $data = $this->
raw(self::FIELD_DISCOUNTED_QUANTITY);
149 if (is_null($data)) {
152 $this->discountedQuantity = (int) $data;
167 if (is_null($this->maxOccurrence)) {
169 $data = $this->
raw(self::FIELD_MAX_OCCURRENCE);
170 if (is_null($data)) {
173 $this->maxOccurrence = (int) $data;
187 if (is_null($this->selectionMode)) {
189 $data = $this->
raw(self::FIELD_SELECTION_MODE);
190 if (is_null($data)) {
193 $this->selectionMode = (string) $data;