public function execute($request)
    {
        RequestNotSupportedException::assertSupports($this, $request);

        /** @var PaymentInterface $payment */
        $payment = $request->getModel();

        $this->gateway->execute(new Sync($payment));

        $status = new GetHumanStatus($payment);
        $this->gateway->execute($status);

        $payment->setState($status->getValue());
    }
public function execute($request)
    {
        RequestNotSupportedException::assertSupports($this, $request);

        /** @var PaymentInterface $payment */
        $payment = $request->getModel();

        $this->gateway->execute(new Sync($payment));

        $status = new GetHumanStatus($payment);
        $this->gateway->execute($status);

        $payment->setState($status->getValue());
    }
{@inheritDoc}

@param Status $request