Add gateway type

This commit is contained in:
Hillel Coren 2021-10-07 13:37:45 +03:00
parent b2e04878f2
commit 0fa21c5c9d
2 changed files with 6 additions and 0 deletions

View File

@ -246,6 +246,7 @@ const String kGatewayTypeSEPA = '9';
const String kGatewayTypeCredit = '10';
const String kGatewayTypeKBC = '11';
const String kGatewayTypeBancontact = '12';
const String kGatewayTypeIDeal = '13';
const kGatewayTypes = {
kGatewayTypeCreditCard: 'credit_card',
@ -258,6 +259,7 @@ const kGatewayTypes = {
kGatewayTypeApplePay: 'apple_pay',
kGatewayTypeKBC: 'kbc',
kGatewayTypeBancontact: 'bancontact',
kGatewayTypeIDeal: 'ideal',
};
const String kNotificationChannelEmail = 'email';

View File

@ -15,6 +15,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
static final Map<String, Map<String, String>> _localizedValues = {
'en': {
// STARTER: lang key - do not remove comment
'ideal': 'iDEAL',
'update_all_records': 'Update all records',
'system': 'System',
'set_default_company': 'Set Default Company',
@ -62670,6 +62671,9 @@ mixin LocalizationsProvider on LocaleCodeAware {
_localizedValues[localeCode]['update_all_records'] ??
_localizedValues['en']['update_all_records'];
String get ideal =>
_localizedValues[localeCode]['ideal'] ?? _localizedValues['en']['ideal'];
// STARTER: lang field - do not remove comment
String lookup(String key) {