3 declare(strict_types=1);
85 if (is_null($this->name)) {
87 $data = $this->
raw(self::FIELD_NAME);
91 $this->name = (string) $data;
103 if (is_null($this->amount)) {
105 $data = $this->
raw(self::FIELD_AMOUNT);
106 if (is_null($data)) {
109 $this->amount = (float) $data;
121 if (is_null($this->country)) {
123 $data = $this->
raw(self::FIELD_COUNTRY);
124 if (is_null($data)) {
127 $this->country = (string) $data;
139 if (is_null($this->state)) {
141 $data = $this->
raw(self::FIELD_STATE);
142 if (is_null($data)) {
145 $this->state = (string) $data;
157 if (is_null($this->subRates)) {
159 $data = $this->
raw(self::FIELD_SUB_RATES);
160 if (is_null($data)) {
175 if (is_null($this->includedInPrice)) {
177 $data = $this->
raw(self::FIELD_INCLUDED_IN_PRICE);
178 if (is_null($data)) {
181 $this->includedInPrice = (bool) $data;