3 declare(strict_types=1);
94 if (is_null($this->name)) {
96 $data = $this->
raw(self::FIELD_NAME);
100 $this->name = (string) $data;
116 if (is_null($this->amount)) {
118 $data = $this->
raw(self::FIELD_AMOUNT);
119 if (is_null($data)) {
122 $this->amount = (float) $data;
136 if (is_null($this->includedInPrice)) {
138 $data = $this->
raw(self::FIELD_INCLUDED_IN_PRICE);
139 if (is_null($data)) {
142 $this->includedInPrice = (bool) $data;
156 if (is_null($this->country)) {
158 $data = $this->
raw(self::FIELD_COUNTRY);
159 if (is_null($data)) {
162 $this->country = (string) $data;
176 if (is_null($this->state)) {
178 $data = $this->
raw(self::FIELD_STATE);
179 if (is_null($data)) {
182 $this->state = (string) $data;
197 if (is_null($this->subRates)) {
199 $data = $this->
raw(self::FIELD_SUB_RATES);
200 if (is_null($data)) {
217 if (is_null($this->key)) {
219 $data = $this->
raw(self::FIELD_KEY);
220 if (is_null($data)) {
223 $this->key = (string) $data;