src/Payum/Core/Action/GetCurrencyAction.php
public function execute($request)
    {
        RequestNotSupportedException::assertSupports($this, $request);

        $currency = is_numeric($request->code) ?
            $this->iso4217->findByNumeric($request->code) :
            $this->iso4217->findByAlpha3($request->code)
        ;

        $request->alpha3 = $currency->getAlpha3();
        $request->country = $currency->getCountry();
        $request->exp = $currency->getExp();
        $request->name = $currency->getName();
        $request->numeric = $currency->getNumeric();
    }
public function execute($request)
    {
        RequestNotSupportedException::assertSupports($this, $request);

        $currency = is_numeric($request->code) ?
            $this->iso4217->findByNumeric($request->code) :
            $this->iso4217->findByAlpha3($request->code)
        ;

        $request->alpha3 = $currency->getAlpha3();
        $request->country = $currency->getCountry();
        $request->exp = $currency->getExp();
        $request->name = $currency->getName();
        $request->numeric = $currency->getNumeric();
    }
{@inheritDoc}

@param GetCurrency $request