3 declare(strict_types=1);
81 if (is_null($this->centAmount)) {
83 $data = $this->
raw(self::FIELD_CENT_AMOUNT);
87 $this->centAmount = (int) $data;
101 if (is_null($this->currencyCode)) {
103 $data = $this->
raw(self::FIELD_CURRENCY_CODE);
104 if (is_null($data)) {
107 $this->currencyCode = (string) $data;
121 if (is_null($this->type)) {
123 $data = $this->
raw(self::FIELD_TYPE);
124 if (is_null($data)) {
127 $this->type = (string) $data;
141 if (is_null($this->fractionDigits)) {
143 $data = $this->
raw(self::FIELD_FRACTION_DIGITS);
144 if (is_null($data)) {
147 $this->fractionDigits = (int) $data;
161 if (is_null($this->preciseAmount)) {
163 $data = $this->
raw(self::FIELD_PRECISE_AMOUNT);
164 if (is_null($data)) {
167 $this->preciseAmount = (int) $data;