3 declare(strict_types=1);
102 if (is_null($this->cart)) {
104 $data = $this->
raw(self::FIELD_CART);
105 if (is_null($data)) {
123 if (is_null($this->cartVersion)) {
125 $data = $this->
raw(self::FIELD_CART_VERSION);
126 if (is_null($data)) {
129 $this->cartVersion = (int) $data;
143 if (is_null($this->key)) {
145 $data = $this->
raw(self::FIELD_KEY);
146 if (is_null($data)) {
149 $this->key = (string) $data;
163 if (is_null($this->comment)) {
165 $data = $this->
raw(self::FIELD_COMMENT);
166 if (is_null($data)) {
169 $this->comment = (string) $data;
183 if (is_null($this->custom)) {
185 $data = $this->
raw(self::FIELD_CUSTOM);
186 if (is_null($data)) {
205 if (is_null($this->state)) {
207 $data = $this->
raw(self::FIELD_STATE);
208 if (is_null($data)) {
227 if (is_null($this->purchaseOrderNumber)) {
229 $data = $this->
raw(self::FIELD_PURCHASE_ORDER_NUMBER);
230 if (is_null($data)) {
233 $this->purchaseOrderNumber = (string) $data;