src/Payum/Offline/Action/PayoutAction.php
public function execute($request)
    {
        /** @var $request Payout */
        RequestNotSupportedException::assertSupports($this, $request);

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

        if ($model[Constants::FIELD_PAYOUT]) {
            $model[Constants::FIELD_STATUS] = Constants::STATUS_PAYEDOUT;
        } else {
            $model[Constants::FIELD_STATUS] = Constants::STATUS_PENDING;
        }
    }
public function execute($request)
    {
        /** @var $request Payout */
        RequestNotSupportedException::assertSupports($this, $request);

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

        if ($model[Constants::FIELD_PAYOUT]) {
            $model[Constants::FIELD_STATUS] = Constants::STATUS_PAYEDOUT;
        } else {
            $model[Constants::FIELD_STATUS] = Constants::STATUS_PENDING;
        }
    }
{@inheritDoc}