3 declare(strict_types=1);
77 if (is_null($this->type)) {
79 $data = $this->
raw(self::FIELD_TYPE);
83 $this->type = (string) $data;
95 if (is_null($this->fractionDigits)) {
97 $data = $this->
raw(self::FIELD_FRACTION_DIGITS);
101 $this->fractionDigits = (int) $data;
113 if (is_null($this->centAmount)) {
115 $data = $this->
raw(self::FIELD_CENT_AMOUNT);
116 if (is_null($data)) {
119 $this->centAmount = (int) $data;
133 if (is_null($this->currencyCode)) {
135 $data = $this->
raw(self::FIELD_CURRENCY_CODE);
136 if (is_null($data)) {
139 $this->currencyCode = (string) $data;
151 if (is_null($this->preciseAmount)) {
153 $data = $this->
raw(self::FIELD_PRECISE_AMOUNT);
154 if (is_null($data)) {
157 $this->preciseAmount = (int) $data;