3 declare(strict_types=1);
92 if (is_null($this->
id)) {
94 $data = $this->
raw(self::FIELD_ID);
98 $this->
id = (string) $data;
110 if (is_null($this->name)) {
112 $data = $this->
raw(self::FIELD_NAME);
113 if (is_null($data)) {
116 $this->name = (string) $data;
128 if (is_null($this->amount)) {
130 $data = $this->
raw(self::FIELD_AMOUNT);
131 if (is_null($data)) {
134 $this->amount = (float) $data;
146 if (is_null($this->includedInPrice)) {
148 $data = $this->
raw(self::FIELD_INCLUDED_IN_PRICE);
149 if (is_null($data)) {
152 $this->includedInPrice = (bool) $data;
166 if (is_null($this->country)) {
168 $data = $this->
raw(self::FIELD_COUNTRY);
169 if (is_null($data)) {
172 $this->country = (string) $data;
184 if (is_null($this->state)) {
186 $data = $this->
raw(self::FIELD_STATE);
187 if (is_null($data)) {
190 $this->state = (string) $data;
202 if (is_null($this->subRates)) {
204 $data = $this->
raw(self::FIELD_SUB_RATES);
205 if (is_null($data)) {