'GetQRCreversalStatus', 'TermNo' => $this->data->TermNo, ]; if ($this->data->payrrn !== null) $body['payrrn'] = $this->data->payrrn; if ($this->data->originalTrxId !== null) $body['originalTrxId'] = $this->data->originalTrxId; if ($this->data->trxId !== null) $body['trxId'] = $this->data->trxId; if ($this->data->messageID !== null) $body['messageID'] = $this->data->messageID; return $body; } public function createDtoFromResponse(Response $response): GetQrcReversalStatusResponseData { return GetQrcReversalStatusResponseData::from($response->json()); } }