public function execute($request)
    {
        /** @var CallResponse $request */
        RequestNotSupportedException::assertSupports($this, $request);

        $model = ArrayObject::ensureArrayObject($request->getModel());

        $this->gateway->execute($httpRequest = new GetHttpRequest());
        if (isset($httpRequest->request['DATA'])) {
            $data = $this->api->response($httpRequest->request['DATA']);

            $model->replace($data);

            $request->setModel($model);
        }
    }
public function execute($request)
    {
        /** @var CallResponse $request */
        RequestNotSupportedException::assertSupports($this, $request);

        $model = ArrayObject::ensureArrayObject($request->getModel());

        $this->gateway->execute($httpRequest = new GetHttpRequest());
        if (isset($httpRequest->request['DATA'])) {
            $data = $this->api->response($httpRequest->request['DATA']);

            $model->replace($data);

            $request->setModel($model);
        }
    }
{@inheritDoc}