const.py 835 B

1234567891011121314151617181920212223
  1. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  2. # List of ISO 15897 locale supported by Mollie
  3. # See full details at `locale` parameter at https://docs.mollie.com/reference/v2/payments-api/create-payment
  4. SUPPORTED_LOCALES = [
  5. 'en_US', 'nl_NL', 'nl_BE', 'fr_FR',
  6. 'fr_BE', 'de_DE', 'de_AT', 'de_CH',
  7. 'es_ES', 'ca_ES', 'pt_PT', 'it_IT',
  8. 'nb_NO', 'sv_SE', 'fi_FI', 'da_DK',
  9. 'is_IS', 'hu_HU', 'pl_PL', 'lv_LV',
  10. 'lt_LT'
  11. ]
  12. # Currency codes in ISO 4217 format supported by mollie.
  13. # See https://docs.mollie.com/payments/multicurrency
  14. SUPPORTED_CURRENCIES = [
  15. 'AED', 'AUD', 'BGN', 'BRL', 'CAD', 'CHF',
  16. 'CZK', 'DKK', 'EUR', 'GBP', 'HKD', 'HRK',
  17. 'HUF', 'ILS', 'ISK', 'JPY', 'MXN', 'MYR',
  18. 'NOK', 'NZD', 'PHP', 'PLN', 'RON', 'RUB',
  19. 'SEK', 'SGD', 'THB', 'TWD', 'USD', 'ZAR'
  20. ]