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)) {
132 $this->previousValue = (int) $data;
146 if (is_null($this->nextValue)) {
148 $data = $this->
raw(self::FIELD_NEXT_VALUE);
149 if (is_null($data)) {
152 $this->nextValue = (int) $data;
166 if (is_null($this->lineItem)) {
168 $data = $this->
raw(self::FIELD_LINE_ITEM);
169 if (is_null($data)) {
187 if (is_null($this->lineItemId)) {
189 $data = $this->
raw(self::FIELD_LINE_ITEM_ID);
190 if (is_null($data)) {
193 $this->lineItemId = (string) $data;
setPreviousValue(?int $previousValue)
const DISCRIMINATOR_VALUE
setLineItem(?LocalizedString $lineItem)
setNextValue(?int $nextValue)
setChange(?string $change)
setLineItemId(?string $lineItemId)
__construct(?string $change=null, ?int $previousValue=null, ?int $nextValue=null, ?LocalizedString $lineItem=null, ?string $lineItemId=null, ?string $type=null)