'GetCashUniQrStatus', 'TermNo' => $this->data->TermNo, 'uniQrId' => $this->data->uniQrId, 'paramsId' => $this->data->paramsId, ]; if ($this->data->messageID !== null) $body['messageID'] = $this->data->messageID; if ($this->data->payrrn !== null) $body['payrrn'] = $this->data->payrrn; return $body; } public function createDtoFromResponse(Response $response): GetCashUniQrStatusResponseData { return GetCashUniQrStatusResponseData::from($response->json()); } }