accountId = $accountId; $this->transactionId = $transactionId; $this->amount = $amount; $this->resultCode = $resultCode; $this->signature = $signature; $this->cms = $cms; } /** * @param array $attributes `INVENTORY`, `CLIENT`, `CUSTOMER`, `PHONE` * @throws \DOMException */ public function toXml(array $attributes = []): CallbackResponse { return CallbackResponse::xml( MntResponseXml::build( $this->accountId, $this->transactionId, $this->resultCode, $this->amount, $this->signature->forResponse($this->resultCode, $this->accountId, $this->transactionId), $this->cms, $attributes, ), ); } }