3 declare(strict_types=1);
72 if (is_null($this->discountedAmount)) {
74 $data = $this->
raw(self::FIELD_DISCOUNTED_AMOUNT);
79 $this->discountedAmount = $className::of($data);
93 if (is_null($this->includedDiscounts)) {
95 $data = $this->
raw(self::FIELD_INCLUDED_DISCOUNTS);
114 if (is_null($this->discountedNetAmount)) {
116 $data = $this->
raw(self::FIELD_DISCOUNTED_NET_AMOUNT);
117 if (is_null($data)) {
121 $this->discountedNetAmount = $className::of($data);
136 if (is_null($this->discountedGrossAmount)) {
138 $data = $this->
raw(self::FIELD_DISCOUNTED_GROSS_AMOUNT);
139 if (is_null($data)) {
143 $this->discountedGrossAmount = $className::of($data);