public static function getISO4217CurrencyCode($currency) {
    return (array_key_exists($currency, Connect2PayCurrencyHelper::$currencies)) ? Connect2PayCurrencyHelper::$currencies[$currency]["code"] : null;
  }
public static function getISO4217CurrencyCode($currency) {
    return (array_key_exists($currency, Connect2PayCurrencyHelper::$currencies)) ? Connect2PayCurrencyHelper::$currencies[$currency]["code"] : null;
  }
public static function getISO4217CurrencyCode ( $ currency ) { return ( array_key_exists ( $ currency , Connect2PayCurrencyHelper :: $ currencies ) ) ? Connect2PayCurrencyHelper :: $ currencies [ $ currency ] [ "code" ] : null ; }
Return the ISO4217 currency code.

@param string $currency
The currency to look for
@return string The ISO4217 code or null if not found
Return the ISO4217 currency code .