3 declare(strict_types=1);
69 if (is_null($this->type)) {
71 $data = $this->
raw(self::FIELD_TYPE);
75 $this->type = (string) $data;
87 if (is_null($this->fractionDigits)) {
89 $data = $this->
raw(self::FIELD_FRACTION_DIGITS);
93 $this->fractionDigits = (int) $data;
105 if (is_null($this->centAmount)) {
107 $data = $this->
raw(self::FIELD_CENT_AMOUNT);
108 if (is_null($data)) {
111 $this->centAmount = (int) $data;
125 if (is_null($this->currencyCode)) {
127 $data = $this->
raw(self::FIELD_CURRENCY_CODE);
128 if (is_null($data)) {
131 $this->currencyCode = (string) $data;