factory method name. * * Keep the list in sync with the Mollie supported-currency list. Method names * default to the lowercase ISO code; EUR is special-cased to `euro` for * historical readability. */ $currencies = [ 'AED' => 'aed', 'AUD' => 'aud', 'BGN' => 'bgn', 'BRL' => 'brl', 'CAD' => 'cad', 'CHF' => 'chf', 'CZK' => 'czk', 'DKK' => 'dkk', 'EUR' => 'euro', 'GBP' => 'gbp', 'HKD' => 'hkd', 'HUF' => 'huf', 'ILS' => 'ils', 'ISK' => 'isk', 'JPY' => 'jpy', 'MXN' => 'mxn', 'MYR' => 'myr', 'NOK' => 'nok', 'NZD' => 'nzd', 'PHP' => 'php', 'PLN' => 'pln', 'RON' => 'ron', 'RUB' => 'rub', 'SEK' => 'sek', 'SGD' => 'sgd', 'THB' => 'thb', 'TWD' => 'twd', 'USD' => 'usd', 'ZAR' => 'zar', ]; $methods = []; foreach ($currencies as $code => $method) { $methods[] = <<