src/Klarna.php
public function getCurrencyCode($currency = null)
    {
        if ($currency === null) {
            $currency = $this->_currency;
        }

        $code = KlarnaCurrency::getCode($currency);
        return (string) $code;
    }
public function getCurrencyCode($currency = null)
    {
        if ($currency === null) {
            $currency = $this->_currency;
        }

        $code = KlarnaCurrency::getCode($currency);
        return (string) $code;
    }
public function getCurrencyCode ( $ currency = null ) { if ( $ currency === null ) { $ currency = $ this -> _currency ; } $ code = KlarnaCurrency :: getCode ( $ currency ) ; return ( string ) $ code ; }
Returns the the currency code for the set currency constant.

@param int $currency {@link KlarnaCurrency Currency} constant.

@return string  Three letter currency code.
Returns the the currency code for the set currency constant .