'ChangeAccForCashQRc', 'TermNo' => $this->TermNo, 'qrcId' => $this->qrcId, 'account' => $this->account, ]; if ($this->NewTermNo !== null) $body['NewTermNo'] = $this->NewTermNo; if ($this->NewMerchantId !== null) $body['NewMerchantId'] = $this->NewMerchantId; if ($this->redirectUrl !== null) $body['redirectUrl'] = $this->redirectUrl; return $body; } public function createDtoFromResponse(\Saloon\Http\Response $response): array { return $response->json(); } }