diff --git "a/diffs/pr_6678/fe738f6/diff.json" "b/diffs/pr_6678/fe738f6/diff.json" new file mode 100644--- /dev/null +++ "b/diffs/pr_6678/fe738f6/diff.json" @@ -0,0 +1,39 @@ +{ + "commit_sha": "fe738f65bef0076f5f4b49cce3d62fa99ebca91f", + "pr_number": 6678, + "rust_files": [ + "crates/router/src/configs/defaults/payment_connector_required_fields.rs" + ], + "diffs": [ + { + "id": "crates/router/src/configs/defaults/payment_connector_required_fields.rs::settings::RequiredFields::function::default", + "file": "crates/router/src/configs/defaults/payment_connector_required_fields.rs", + "kind": "function_item", + "status": "modified", + "code_changed": true, + "imports_changed": false, + "before_code": "fn default() -> Self {\n Self(HashMap::from([\n (\n enums::PaymentMethod::Card,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Debit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bambora,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Billwerk,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Boku,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Coinbase,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Dlocal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n common:HashMap::new(),\n }\n ),\n #[cfg(feature = \"dummy_connector\")] \n (\n enums::Connector::DummyConnector1,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector2,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector3,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector5,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector6,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector7,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Elavon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiserv,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiuu,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Forte,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common:HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Helcim,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Iatapay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nmi,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"billing_zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Paybox,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n\n ]\n ),\n }\n ),\n (\n enums::Connector::Payme,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Powertranz,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Square,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Stax,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Tsys,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Worldline,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Worldpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Credit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bambora,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Billwerk,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Boku,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Coinbase,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Dlocal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n common:HashMap::new(),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector1,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector2,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector3,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector5,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector6,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector7,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Elavon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiserv,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiuu,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Forte,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common:HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Helcim,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Iatapay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexixpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nmi,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"billing_zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),(\n enums::Connector::Paybox,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n\n ]\n ),\n }\n ),\n (\n enums::Connector::Payme,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Powertranz,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Square,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Stax,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Tsys,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Worldline,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Worldpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n\n ])),\n ),\n (\n enums::PaymentMethod::BankRedirect,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::OpenBankingUk,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Volt,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap:: from([\n (\n \"payment_method_data.bank_redirect.open_banking_uk.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_uk.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Trustly,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingCzechRepublic,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_czech_republic.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_czech_republic.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingFinland,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingPoland,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_poland.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_poland.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingSlovakia,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_slovakia.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_slovakia.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingFpx,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_fpx.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_fpx.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingThailand,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_thailand.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_thailand.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bizum,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Przelewy24,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )]),\n },\n ),\n (\n enums::PaymentMethodType::BancontactCard,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Giropay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"DE\".to_string(),\n ]},\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Ideal,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n\n ]),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"billing_email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Sofort,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"SE\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"BE\".to_string(),\n \"FR\".to_string(),\n \"FI\".to_string(),\n \"IT\".to_string(),\n \"PL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"DE\".to_string(),\n \"ES\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"IT\".to_string(),\n \"DE\".to_string(),\n \"FR\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"NL\".to_string(),\n \"BE\".to_string(),\n \"SK\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n ( \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"BE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate : HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"BE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"account_holder_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"account_holder_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )]),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"SE\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"BE\".to_string(),\n \"FR\".to_string(),\n \"FI\".to_string(),\n \"IT\".to_string(),\n \"PL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Eps,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.eps.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.eps.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"bank_account_country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ])\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"bank_account_country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Blik,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n display_name: \"blik_code\".to_string(),\n field_type: enums::FieldType::UserBlikCode,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n display_name: \"blik_code\".to_string(),\n field_type: enums::FieldType::UserBlikCode,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n }\n )\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Wallet,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::ApplePay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n\n ]),\n },\n ),\n (\n enums::PaymentMethodType::GooglePay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::WeChatPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::AliPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::AliPayHk,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Cashapp,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MbWay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n common: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::KakaoPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Twint,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Gcash,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Vipps,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Dana,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Momo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Swish,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::TouchNGo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n // Added shipping fields for the SDK flow to accept it from wallet directly,\n // this won't show up in SDK in payment's sheet but will be used in the background\n enums::PaymentMethodType::Paypal,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(\n ),\n common: HashMap::from(\n [\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Mifinity,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Mifinity,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.wallet.mifinity.date_of_birth\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.wallet.mifinity.date_of_birth\".to_string(),\n display_name: \"date_of_birth\".to_string(),\n field_type: enums::FieldType::UserDateOfBirth,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"nationality\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"BR\".to_string(),\n \"CN\".to_string(),\n \"SG\".to_string(),\n \"MY\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"DK\".to_string(),\n \"GB\".to_string(),\n \"ES\".to_string(),\n \"AD\".to_string(),\n \"GI\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"HR\".to_string(),\n \"IT\".to_string(),\n \"JP\".to_string(),\n \"MX\".to_string(),\n \"AR\".to_string(),\n \"CO\".to_string(),\n \"CL\".to_string(),\n \"PE\".to_string(),\n \"VE\".to_string(),\n \"UY\".to_string(),\n \"PY\".to_string(),\n \"BO\".to_string(),\n \"EC\".to_string(),\n \"GT\".to_string(),\n \"HN\".to_string(),\n \"SV\".to_string(),\n \"NI\".to_string(),\n \"CR\".to_string(),\n \"PA\".to_string(),\n \"DO\".to_string(),\n \"CU\".to_string(),\n \"PR\".to_string(),\n \"NL\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"SE\".to_string(),\n \"RU\".to_string(),\n \"TR\".to_string(),\n \"TW\".to_string(),\n \"HK\".to_string(),\n \"MO\".to_string(),\n \"AX\".to_string(),\n \"AL\".to_string(),\n \"DZ\".to_string(),\n \"AS\".to_string(),\n \"AO\".to_string(),\n \"AI\".to_string(),\n \"AG\".to_string(),\n \"AM\".to_string(),\n \"AW\".to_string(),\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"AZ\".to_string(),\n \"BS\".to_string(),\n \"BH\".to_string(),\n \"BD\".to_string(),\n \"BB\".to_string(),\n \"BE\".to_string(),\n \"BZ\".to_string(),\n \"BJ\".to_string(),\n \"BM\".to_string(),\n \"BT\".to_string(),\n \"BQ\".to_string(),\n \"BA\".to_string(),\n \"BW\".to_string(),\n \"IO\".to_string(),\n \"BN\".to_string(),\n \"BG\".to_string(),\n \"BF\".to_string(),\n \"BI\".to_string(),\n \"KH\".to_string(),\n \"CM\".to_string(),\n \"CA\".to_string(),\n \"CV\".to_string(),\n \"KY\".to_string(),\n \"CF\".to_string(),\n \"TD\".to_string(),\n \"CX\".to_string(),\n \"CC\".to_string(),\n \"KM\".to_string(),\n \"CG\".to_string(),\n \"CK\".to_string(),\n \"CI\".to_string(),\n \"CW\".to_string(),\n \"CY\".to_string(),\n \"CZ\".to_string(),\n \"DJ\".to_string(),\n \"DM\".to_string(),\n \"EG\".to_string(),\n \"GQ\".to_string(),\n \"ER\".to_string(),\n \"EE\".to_string(),\n \"ET\".to_string(),\n \"FK\".to_string(),\n \"FO\".to_string(),\n \"FJ\".to_string(),\n \"GF\".to_string(),\n \"PF\".to_string(),\n \"TF\".to_string(),\n \"GA\".to_string(),\n \"GM\".to_string(),\n \"GE\".to_string(),\n \"GH\".to_string(),\n \"GL\".to_string(),\n \"GD\".to_string(),\n \"GP\".to_string(),\n \"GU\".to_string(),\n \"GG\".to_string(),\n \"GN\".to_string(),\n \"GW\".to_string(),\n \"GY\".to_string(),\n \"HT\".to_string(),\n \"HM\".to_string(),\n \"VA\".to_string(),\n \"IS\".to_string(),\n \"IN\".to_string(),\n \"ID\".to_string(),\n \"IE\".to_string(),\n \"IM\".to_string(),\n \"IL\".to_string(),\n \"JE\".to_string(),\n \"JO\".to_string(),\n \"KZ\".to_string(),\n \"KE\".to_string(),\n \"KI\".to_string(),\n \"KW\".to_string(),\n \"KG\".to_string(),\n \"LA\".to_string(),\n \"LV\".to_string(),\n \"LB\".to_string(),\n \"LS\".to_string(),\n \"LI\".to_string(),\n \"LT\".to_string(),\n \"LU\".to_string(),\n \"MK\".to_string(),\n \"MG\".to_string(),\n \"MW\".to_string(),\n \"MV\".to_string(),\n \"ML\".to_string(),\n \"MT\".to_string(),\n \"MH\".to_string(),\n \"MQ\".to_string(),\n \"MR\".to_string(),\n \"MU\".to_string(),\n \"YT\".to_string(),\n \"FM\".to_string(),\n \"MD\".to_string(),\n \"MC\".to_string(),\n \"MN\".to_string(),\n \"ME\".to_string(),\n \"MS\".to_string(),\n \"MA\".to_string(),\n \"MZ\".to_string(),\n \"NA\".to_string(),\n \"NR\".to_string(),\n \"NP\".to_string(),\n \"NC\".to_string(),\n \"NZ\".to_string(),\n \"NE\".to_string(),\n \"NG\".to_string(),\n \"NU\".to_string(),\n \"NF\".to_string(),\n \"MP\".to_string(),\n \"OM\".to_string(),\n \"PK\".to_string(),\n \"PW\".to_string(),\n \"PS\".to_string(),\n \"PG\".to_string(),\n \"PH\".to_string(),\n \"PN\".to_string(),\n \"QA\".to_string(),\n \"RE\".to_string(),\n \"RO\".to_string(),\n \"RW\".to_string(),\n \"BL\".to_string(),\n \"SH\".to_string(),\n \"KN\".to_string(),\n \"LC\".to_string(),\n \"MF\".to_string(),\n \"PM\".to_string(),\n \"VC\".to_string(),\n \"WS\".to_string(),\n \"SM\".to_string(),\n \"ST\".to_string(),\n \"SA\".to_string(),\n \"SN\".to_string(),\n \"RS\".to_string(),\n \"SC\".to_string(),\n \"SL\".to_string(),\n \"SX\".to_string(),\n \"SK\".to_string(),\n \"SI\".to_string(),\n \"SB\".to_string(),\n \"SO\".to_string(),\n \"ZA\".to_string(),\n \"GS\".to_string(),\n \"KR\".to_string(),\n \"LK\".to_string(),\n \"SR\".to_string(),\n \"SJ\".to_string(),\n \"SZ\".to_string(),\n \"TH\".to_string(),\n \"TL\".to_string(),\n \"TG\".to_string(),\n \"TK\".to_string(),\n \"TO\".to_string(),\n \"TT\".to_string(),\n \"TN\".to_string(),\n \"TM\".to_string(),\n \"TC\".to_string(),\n \"TV\".to_string(),\n \"UG\".to_string(),\n \"UA\".to_string(),\n \"AE\".to_string(),\n \"UZ\".to_string(),\n \"VU\".to_string(),\n \"VN\".to_string(),\n \"VG\".to_string(),\n \"VI\".to_string(),\n \"WF\".to_string(),\n \"EH\".to_string(),\n \"ZM\".to_string(), \n ]\n },\n value: None,\n }\n\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.wallet.mifinity.language_preference\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.wallet.mifinity.language_preference\".to_string(),\n display_name: \"language_preference\".to_string(),\n field_type: enums::FieldType::LanguagePreference{\n options: vec![\n \"BR\".to_string(),\n \"PT_BR\".to_string(),\n \"CN\".to_string(),\n \"ZH_CN\".to_string(),\n \"DE\".to_string(),\n \"DK\".to_string(),\n \"DA\".to_string(),\n \"DA_DK\".to_string(),\n \"EN\".to_string(),\n \"ES\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"EL\".to_string(),\n \"EL_GR\".to_string(),\n \"HR\".to_string(),\n \"IT\".to_string(),\n \"JP\".to_string(),\n \"JA\".to_string(),\n \"JA_JP\".to_string(),\n \"LA\".to_string(),\n \"ES_LA\".to_string(),\n \"NL\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"RU\".to_string(),\n \"SV\".to_string(),\n \"SE\".to_string(),\n \"SV_SE\".to_string(),\n \"ZH\".to_string(),\n \"TW\".to_string(),\n \"ZH_TW\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n }\n ),\n ]),\n }\n ),\n ])),\n ),\n (\n enums::PaymentMethod::PayLater,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::AfterpayClearpay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine2,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Klarna,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n ( \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n display_name: \"billing_country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"CA\".to_string(),\n \"CZ\".to_string(),\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"DE\".to_string(),\n \"IE\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n \"NZ\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"RO\".to_string(),\n \"ES\".to_string(),\n \"SE\".to_string(),\n \"CH\".to_string(),\n \"GB\".to_string(),\n \"US\".to_string(),\n ]\n },\n value: None,\n }),\n (\"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n })\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::new(),\n common : HashMap::from([\n ( \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n display_name: \"billing_country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n }\n ),\n (\n enums::Connector::Klarna,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"CA\".to_string(),\n \"CZ\".to_string(),\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"DE\".to_string(),\n \"GR\".to_string(),\n \"IE\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n \"NZ\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"ES\".to_string(),\n \"SE\".to_string(),\n \"CH\".to_string(),\n \"GB\".to_string(),\n \"US\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Affirm,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"US\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"US\".to_string(),\n ]},\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::PayBright,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"CA\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine2,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Walley,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"NO\".to_string(),\n \"SE\".to_string(),\n ]},\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Alma,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"FR\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Atome,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"MY\".to_string(),\n \"SG\".to_string()\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Crypto,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::CryptoCurrency,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Cryptopay,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.crypto.pay_currency\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.crypto.pay_currency\".to_string(),\n display_name: \"currency\".to_string(),\n field_type: enums::FieldType::UserCurrency{\n options: vec![\n \"BTC\".to_string(),\n \"LTC\".to_string(),\n \"ETH\".to_string(),\n \"XRP\".to_string(),\n \"XLM\".to_string(),\n \"BCH\".to_string(),\n \"ADA\".to_string(),\n \"SOL\".to_string(),\n \"SHIB\".to_string(),\n \"TRX\".to_string(),\n \"DOGE\".to_string(),\n \"BNB\".to_string(),\n \"USDT\".to_string(),\n \"USDC\".to_string(),\n \"DAI\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.crypto.network\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.crypto.network\".to_string(),\n display_name: \"network\".to_string(),\n field_type: enums::FieldType::UserCryptoCurrencyNetwork,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Voucher,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Boleto,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"payment_method_data.voucher.boleto.social_security_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.voucher.boleto.social_security_number\".to_string(),\n display_name: \"social_security_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"BR\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Alfamart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Indomaret,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Oxxo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::SevenEleven,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n )\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Lawson,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MiniStop,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::FamilyMart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Seicomart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::PayEasy,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Upi,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::UpiCollect,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Razorpay,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"payment_method_data.upi.upi_collect.vpa_id\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.upi.upi_collect.vpa_id\".to_string(),\n display_name: \"vpa_id\".to_string(),\n field_type: enums::FieldType::UserVpaId,\n value: None,\n }\n ),\n ]),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::BankDebit,\n PaymentMethodType(HashMap::from([(\n enums::PaymentMethodType::Ach,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n }),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]\n )}\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Deutschebank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\"UK\".to_string()],\n },\n value: None,\n },\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n },\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n },\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Becs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs.bsb_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs.bsb_number\".to_string(),\n display_name: \"bsb_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n ]))),\n (\n enums::PaymentMethod::BankTransfer,\n PaymentMethodType(HashMap::from([(\n enums::PaymentMethodType::Multibanco,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n ])}),\n (enums::PaymentMethodType::LocalBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Zsl,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([ (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"CN\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n },\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ])}),\n (enums::PaymentMethodType::Ach,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ])\n }\n ),\n ])}),\n (enums::PaymentMethodType::Pix,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Itaubank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.bank_transfer.pix.pix_key\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.pix_key\".to_string(),\n display_name: \"pix_key\".to_string(),\n field_type: enums::FieldType::UserPixKey,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_transfer.pix.cnpj\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.cnpj\".to_string(),\n display_name: \"cnpj\".to_string(),\n field_type: enums::FieldType::UserCnpj,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_transfer.pix.cpf\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.cpf\".to_string(),\n display_name: \"cpf\".to_string(),\n field_type: enums::FieldType::UserCpf,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ])}),\n (\n enums::PaymentMethodType::PermataBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BcaBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BniVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BriVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::CimbVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::DanamonVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MandiriVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"BE\".to_string(),\n \"DE\".to_string(),\n \"ES\".to_string(),\n \"FR\".to_string(),\n \"IE\".to_string(),\n \"NL\".to_string(), \n ],\n },\n value: None,\n },\n ),\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n ]))),\n (\n enums::PaymentMethod::GiftCard,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::PaySafeCard,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Givex,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n\n (\n \"payment_method_data.gift_card.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.gift_card.number\".to_string(),\n display_name: \"gift_card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.gift_card.cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.gift_card.cvc\".to_string(),\n display_name: \"gift_card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ]))\n ),\n (\n enums::PaymentMethod::CardRedirect,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Benefit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Knet,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MomoAtm,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n )\n ]))\n ),\n (\n enums::PaymentMethod::MobilePayment,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::DirectCarrierBilling,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Digitalvirgo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.mobile_payment.direct_carrier_billing.msisdn\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.mobile_payment.direct_carrier_billing.msisdn\".to_string(),\n display_name: \"mobile_number\".to_string(),\n field_type: enums::FieldType::UserMsisdn,\n value: None,\n }\n ),\n (\n \"payment_method_data.mobile_payment.direct_carrier_billing.client_uid\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.mobile_payment.direct_carrier_billing.client_uid\".to_string(),\n display_name: \"client_identifier\".to_string(),\n field_type: enums::FieldType::UserClientIdentifier,\n value: None,\n }\n ),\n (\n \"order_details.0.product_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"order_details.0.product_name\".to_string(),\n display_name: \"product_name\".to_string(),\n field_type: enums::FieldType::OrderDetailsProductName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ])\n }\n )\n ]))\n )\n ]))\n }", + "after_code": "fn default() -> Self {\n Self(HashMap::from([\n (\n enums::PaymentMethod::Card,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Debit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bambora,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Billwerk,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Boku,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Coinbase,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Dlocal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n common:HashMap::new(),\n }\n ),\n #[cfg(feature = \"dummy_connector\")] \n (\n enums::Connector::DummyConnector1,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector2,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector3,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector5,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector6,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector7,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Elavon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiserv,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiuu,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Forte,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common:HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Helcim,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Iatapay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nmi,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"billing_zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Paybox,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n\n ]\n ),\n }\n ),\n (\n enums::Connector::Payme,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Powertranz,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Square,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Stax,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Tsys,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Worldline,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Worldpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Credit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bambora,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Billwerk,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Boku,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Coinbase,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Dlocal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n common:HashMap::new(),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector1,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector2,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector3,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector5,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector6,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector7,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Elavon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiserv,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiuu,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Forte,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common:HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Helcim,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Iatapay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexixpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nmi,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"billing_zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),(\n enums::Connector::Paybox,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n\n ]\n ),\n }\n ),\n (\n enums::Connector::Payme,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Powertranz,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Square,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Stax,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Tsys,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Worldline,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Worldpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n\n ])),\n ),\n (\n enums::PaymentMethod::BankRedirect,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::OpenBankingUk,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Volt,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap:: from([\n (\n \"payment_method_data.bank_redirect.open_banking_uk.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_uk.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Trustly,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingCzechRepublic,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_czech_republic.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_czech_republic.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingFinland,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingPoland,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_poland.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_poland.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingSlovakia,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_slovakia.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_slovakia.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingFpx,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_fpx.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_fpx.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingThailand,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_thailand.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_thailand.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bizum,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Przelewy24,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )]),\n },\n ),\n (\n enums::PaymentMethodType::BancontactCard,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Giropay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"DE\".to_string(),\n ]},\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Ideal,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n\n ]),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"billing_email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Sofort,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"SE\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"BE\".to_string(),\n \"FR\".to_string(),\n \"FI\".to_string(),\n \"IT\".to_string(),\n \"PL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"DE\".to_string(),\n \"ES\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"IT\".to_string(),\n \"DE\".to_string(),\n \"FR\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"NL\".to_string(),\n \"BE\".to_string(),\n \"SK\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n ( \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"BE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate : HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"BE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"account_holder_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"account_holder_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )]),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"SE\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"BE\".to_string(),\n \"FR\".to_string(),\n \"FI\".to_string(),\n \"IT\".to_string(),\n \"PL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Eps,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.eps.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.eps.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"bank_account_country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ])\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"bank_account_country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Blik,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n display_name: \"blik_code\".to_string(),\n field_type: enums::FieldType::UserBlikCode,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n display_name: \"blik_code\".to_string(),\n field_type: enums::FieldType::UserBlikCode,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n }\n )\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Wallet,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::ApplePay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n\n ]),\n },\n ),\n (\n enums::PaymentMethodType::GooglePay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::WeChatPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::AliPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::AliPayHk,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Cashapp,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MbWay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n common: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::KakaoPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Twint,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Gcash,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Vipps,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Dana,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Momo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Swish,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::TouchNGo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n // Added shipping fields for the SDK flow to accept it from wallet directly,\n // this won't show up in SDK in payment's sheet but will be used in the background\n enums::PaymentMethodType::Paypal,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(\n ),\n common: HashMap::from(\n [\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Mifinity,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Mifinity,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.wallet.mifinity.date_of_birth\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.wallet.mifinity.date_of_birth\".to_string(),\n display_name: \"date_of_birth\".to_string(),\n field_type: enums::FieldType::UserDateOfBirth,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"nationality\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"BR\".to_string(),\n \"CN\".to_string(),\n \"SG\".to_string(),\n \"MY\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"DK\".to_string(),\n \"GB\".to_string(),\n \"ES\".to_string(),\n \"AD\".to_string(),\n \"GI\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"HR\".to_string(),\n \"IT\".to_string(),\n \"JP\".to_string(),\n \"MX\".to_string(),\n \"AR\".to_string(),\n \"CO\".to_string(),\n \"CL\".to_string(),\n \"PE\".to_string(),\n \"VE\".to_string(),\n \"UY\".to_string(),\n \"PY\".to_string(),\n \"BO\".to_string(),\n \"EC\".to_string(),\n \"GT\".to_string(),\n \"HN\".to_string(),\n \"SV\".to_string(),\n \"NI\".to_string(),\n \"CR\".to_string(),\n \"PA\".to_string(),\n \"DO\".to_string(),\n \"CU\".to_string(),\n \"PR\".to_string(),\n \"NL\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"SE\".to_string(),\n \"RU\".to_string(),\n \"TR\".to_string(),\n \"TW\".to_string(),\n \"HK\".to_string(),\n \"MO\".to_string(),\n \"AX\".to_string(),\n \"AL\".to_string(),\n \"DZ\".to_string(),\n \"AS\".to_string(),\n \"AO\".to_string(),\n \"AI\".to_string(),\n \"AG\".to_string(),\n \"AM\".to_string(),\n \"AW\".to_string(),\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"AZ\".to_string(),\n \"BS\".to_string(),\n \"BH\".to_string(),\n \"BD\".to_string(),\n \"BB\".to_string(),\n \"BE\".to_string(),\n \"BZ\".to_string(),\n \"BJ\".to_string(),\n \"BM\".to_string(),\n \"BT\".to_string(),\n \"BQ\".to_string(),\n \"BA\".to_string(),\n \"BW\".to_string(),\n \"IO\".to_string(),\n \"BN\".to_string(),\n \"BG\".to_string(),\n \"BF\".to_string(),\n \"BI\".to_string(),\n \"KH\".to_string(),\n \"CM\".to_string(),\n \"CA\".to_string(),\n \"CV\".to_string(),\n \"KY\".to_string(),\n \"CF\".to_string(),\n \"TD\".to_string(),\n \"CX\".to_string(),\n \"CC\".to_string(),\n \"KM\".to_string(),\n \"CG\".to_string(),\n \"CK\".to_string(),\n \"CI\".to_string(),\n \"CW\".to_string(),\n \"CY\".to_string(),\n \"CZ\".to_string(),\n \"DJ\".to_string(),\n \"DM\".to_string(),\n \"EG\".to_string(),\n \"GQ\".to_string(),\n \"ER\".to_string(),\n \"EE\".to_string(),\n \"ET\".to_string(),\n \"FK\".to_string(),\n \"FO\".to_string(),\n \"FJ\".to_string(),\n \"GF\".to_string(),\n \"PF\".to_string(),\n \"TF\".to_string(),\n \"GA\".to_string(),\n \"GM\".to_string(),\n \"GE\".to_string(),\n \"GH\".to_string(),\n \"GL\".to_string(),\n \"GD\".to_string(),\n \"GP\".to_string(),\n \"GU\".to_string(),\n \"GG\".to_string(),\n \"GN\".to_string(),\n \"GW\".to_string(),\n \"GY\".to_string(),\n \"HT\".to_string(),\n \"HM\".to_string(),\n \"VA\".to_string(),\n \"IS\".to_string(),\n \"IN\".to_string(),\n \"ID\".to_string(),\n \"IE\".to_string(),\n \"IM\".to_string(),\n \"IL\".to_string(),\n \"JE\".to_string(),\n \"JO\".to_string(),\n \"KZ\".to_string(),\n \"KE\".to_string(),\n \"KI\".to_string(),\n \"KW\".to_string(),\n \"KG\".to_string(),\n \"LA\".to_string(),\n \"LV\".to_string(),\n \"LB\".to_string(),\n \"LS\".to_string(),\n \"LI\".to_string(),\n \"LT\".to_string(),\n \"LU\".to_string(),\n \"MK\".to_string(),\n \"MG\".to_string(),\n \"MW\".to_string(),\n \"MV\".to_string(),\n \"ML\".to_string(),\n \"MT\".to_string(),\n \"MH\".to_string(),\n \"MQ\".to_string(),\n \"MR\".to_string(),\n \"MU\".to_string(),\n \"YT\".to_string(),\n \"FM\".to_string(),\n \"MD\".to_string(),\n \"MC\".to_string(),\n \"MN\".to_string(),\n \"ME\".to_string(),\n \"MS\".to_string(),\n \"MA\".to_string(),\n \"MZ\".to_string(),\n \"NA\".to_string(),\n \"NR\".to_string(),\n \"NP\".to_string(),\n \"NC\".to_string(),\n \"NZ\".to_string(),\n \"NE\".to_string(),\n \"NG\".to_string(),\n \"NU\".to_string(),\n \"NF\".to_string(),\n \"MP\".to_string(),\n \"OM\".to_string(),\n \"PK\".to_string(),\n \"PW\".to_string(),\n \"PS\".to_string(),\n \"PG\".to_string(),\n \"PH\".to_string(),\n \"PN\".to_string(),\n \"QA\".to_string(),\n \"RE\".to_string(),\n \"RO\".to_string(),\n \"RW\".to_string(),\n \"BL\".to_string(),\n \"SH\".to_string(),\n \"KN\".to_string(),\n \"LC\".to_string(),\n \"MF\".to_string(),\n \"PM\".to_string(),\n \"VC\".to_string(),\n \"WS\".to_string(),\n \"SM\".to_string(),\n \"ST\".to_string(),\n \"SA\".to_string(),\n \"SN\".to_string(),\n \"RS\".to_string(),\n \"SC\".to_string(),\n \"SL\".to_string(),\n \"SX\".to_string(),\n \"SK\".to_string(),\n \"SI\".to_string(),\n \"SB\".to_string(),\n \"SO\".to_string(),\n \"ZA\".to_string(),\n \"GS\".to_string(),\n \"KR\".to_string(),\n \"LK\".to_string(),\n \"SR\".to_string(),\n \"SJ\".to_string(),\n \"SZ\".to_string(),\n \"TH\".to_string(),\n \"TL\".to_string(),\n \"TG\".to_string(),\n \"TK\".to_string(),\n \"TO\".to_string(),\n \"TT\".to_string(),\n \"TN\".to_string(),\n \"TM\".to_string(),\n \"TC\".to_string(),\n \"TV\".to_string(),\n \"UG\".to_string(),\n \"UA\".to_string(),\n \"AE\".to_string(),\n \"UZ\".to_string(),\n \"VU\".to_string(),\n \"VN\".to_string(),\n \"VG\".to_string(),\n \"VI\".to_string(),\n \"WF\".to_string(),\n \"EH\".to_string(),\n \"ZM\".to_string(), \n ]\n },\n value: None,\n }\n\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.wallet.mifinity.language_preference\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.wallet.mifinity.language_preference\".to_string(),\n display_name: \"language_preference\".to_string(),\n field_type: enums::FieldType::LanguagePreference{\n options: vec![\n \"BR\".to_string(),\n \"PT_BR\".to_string(),\n \"CN\".to_string(),\n \"ZH_CN\".to_string(),\n \"DE\".to_string(),\n \"DK\".to_string(),\n \"DA\".to_string(),\n \"DA_DK\".to_string(),\n \"EN\".to_string(),\n \"ES\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"EL\".to_string(),\n \"EL_GR\".to_string(),\n \"HR\".to_string(),\n \"IT\".to_string(),\n \"JP\".to_string(),\n \"JA\".to_string(),\n \"JA_JP\".to_string(),\n \"LA\".to_string(),\n \"ES_LA\".to_string(),\n \"NL\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"RU\".to_string(),\n \"SV\".to_string(),\n \"SE\".to_string(),\n \"SV_SE\".to_string(),\n \"ZH\".to_string(),\n \"TW\".to_string(),\n \"ZH_TW\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n }\n ),\n ]),\n }\n ),\n ])),\n ),\n (\n enums::PaymentMethod::PayLater,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::AfterpayClearpay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine2,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Klarna,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n ( \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n display_name: \"billing_country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"CA\".to_string(),\n \"CZ\".to_string(),\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"DE\".to_string(),\n \"IE\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n \"NZ\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"RO\".to_string(),\n \"ES\".to_string(),\n \"SE\".to_string(),\n \"CH\".to_string(),\n \"GB\".to_string(),\n \"US\".to_string(),\n ]\n },\n value: None,\n }),\n (\"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n })\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::new(),\n common : HashMap::from([\n ( \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n display_name: \"billing_country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n }\n ),\n (\n enums::Connector::Klarna,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"CA\".to_string(),\n \"CZ\".to_string(),\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"DE\".to_string(),\n \"GR\".to_string(),\n \"IE\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n \"NZ\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"ES\".to_string(),\n \"SE\".to_string(),\n \"CH\".to_string(),\n \"GB\".to_string(),\n \"US\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Affirm,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"US\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"US\".to_string(),\n ]},\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::PayBright,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"CA\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine2,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Walley,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"NO\".to_string(),\n \"SE\".to_string(),\n ]},\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Alma,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"FR\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Atome,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"MY\".to_string(),\n \"SG\".to_string()\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Crypto,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::CryptoCurrency,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Cryptopay,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.crypto.pay_currency\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.crypto.pay_currency\".to_string(),\n display_name: \"currency\".to_string(),\n field_type: enums::FieldType::UserCurrency{\n options: vec![\n \"BTC\".to_string(),\n \"LTC\".to_string(),\n \"ETH\".to_string(),\n \"XRP\".to_string(),\n \"XLM\".to_string(),\n \"BCH\".to_string(),\n \"ADA\".to_string(),\n \"SOL\".to_string(),\n \"SHIB\".to_string(),\n \"TRX\".to_string(),\n \"DOGE\".to_string(),\n \"BNB\".to_string(),\n \"USDT\".to_string(),\n \"USDC\".to_string(),\n \"DAI\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.crypto.network\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.crypto.network\".to_string(),\n display_name: \"network\".to_string(),\n field_type: enums::FieldType::UserCryptoCurrencyNetwork,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Voucher,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Boleto,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"payment_method_data.voucher.boleto.social_security_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.voucher.boleto.social_security_number\".to_string(),\n display_name: \"social_security_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"BR\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Alfamart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Indomaret,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Oxxo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::SevenEleven,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n )\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Lawson,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MiniStop,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::FamilyMart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Seicomart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::PayEasy,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Upi,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::UpiCollect,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Razorpay,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"payment_method_data.upi.upi_collect.vpa_id\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.upi.upi_collect.vpa_id\".to_string(),\n display_name: \"vpa_id\".to_string(),\n field_type: enums::FieldType::UserVpaId,\n value: None,\n }\n ),\n ]),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::BankDebit,\n PaymentMethodType(HashMap::from([(\n enums::PaymentMethodType::Ach,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n }),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]\n )}\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Deutschebank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\"UK\".to_string()],\n },\n value: None,\n },\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n },\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n },\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Becs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.bsb_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.bsb_number\".to_string(),\n display_name: \"bsb_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n ]))),\n (\n enums::PaymentMethod::BankTransfer,\n PaymentMethodType(HashMap::from([(\n enums::PaymentMethodType::Multibanco,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n ])}),\n (enums::PaymentMethodType::LocalBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Zsl,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([ (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"CN\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n },\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ])}),\n (enums::PaymentMethodType::Ach,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ])\n }\n ),\n ])}),\n (enums::PaymentMethodType::Pix,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Itaubank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.bank_transfer.pix.pix_key\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.pix_key\".to_string(),\n display_name: \"pix_key\".to_string(),\n field_type: enums::FieldType::UserPixKey,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_transfer.pix.cnpj\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.cnpj\".to_string(),\n display_name: \"cnpj\".to_string(),\n field_type: enums::FieldType::UserCnpj,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_transfer.pix.cpf\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.cpf\".to_string(),\n display_name: \"cpf\".to_string(),\n field_type: enums::FieldType::UserCpf,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ])}),\n (\n enums::PaymentMethodType::PermataBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BcaBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BniVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BriVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::CimbVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::DanamonVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MandiriVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"BE\".to_string(),\n \"DE\".to_string(),\n \"ES\".to_string(),\n \"FR\".to_string(),\n \"IE\".to_string(),\n \"NL\".to_string(), \n ],\n },\n value: None,\n },\n ),\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n ]))),\n (\n enums::PaymentMethod::GiftCard,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::PaySafeCard,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Givex,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n\n (\n \"payment_method_data.gift_card.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.gift_card.number\".to_string(),\n display_name: \"gift_card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.gift_card.cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.gift_card.cvc\".to_string(),\n display_name: \"gift_card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ]))\n ),\n (\n enums::PaymentMethod::CardRedirect,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Benefit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Knet,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MomoAtm,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n )\n ]))\n ),\n (\n enums::PaymentMethod::MobilePayment,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::DirectCarrierBilling,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Digitalvirgo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.mobile_payment.direct_carrier_billing.msisdn\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.mobile_payment.direct_carrier_billing.msisdn\".to_string(),\n display_name: \"mobile_number\".to_string(),\n field_type: enums::FieldType::UserMsisdn,\n value: None,\n }\n ),\n (\n \"payment_method_data.mobile_payment.direct_carrier_billing.client_uid\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.mobile_payment.direct_carrier_billing.client_uid\".to_string(),\n display_name: \"client_identifier\".to_string(),\n field_type: enums::FieldType::UserClientIdentifier,\n value: None,\n }\n ),\n (\n \"order_details.0.product_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"order_details.0.product_name\".to_string(),\n display_name: \"product_name\".to_string(),\n field_type: enums::FieldType::OrderDetailsProductName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ])\n }\n )\n ]))\n )\n ]))\n }", + "diff_span": { + "before": " ),\n (\n \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n }),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]\n )}\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Deutschebank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\"UK\".to_string()],\n },\n value: None,\n },\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n },\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n },\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Becs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs.bsb_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs.bsb_number\".to_string(),\n display_name: \"bsb_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,", + "after": " ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n }),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]\n )}\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Deutschebank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\"UK\".to_string()],\n },\n value: None,\n },\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n },\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n },\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Becs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.bsb_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.bsb_number\".to_string(),\n display_name: \"bsb_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text," + }, + "commit_sha": "fe738f65bef0076f5f4b49cce3d62fa99ebca91f" + }, + { + "id": "crates/router/src/configs/defaults/payment_connector_required_fields.rs::impl::settings::RequiredFields", + "file": "crates/router/src/configs/defaults/payment_connector_required_fields.rs", + "kind": "impl_item", + "status": "modified", + "code_changed": true, + "imports_changed": false, + "before_code": "impl Default for settings::RequiredFields {\n fn default() -> Self {\n Self(HashMap::from([\n (\n enums::PaymentMethod::Card,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Debit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bambora,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Billwerk,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Boku,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Coinbase,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Dlocal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n common:HashMap::new(),\n }\n ),\n #[cfg(feature = \"dummy_connector\")] \n (\n enums::Connector::DummyConnector1,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector2,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector3,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector5,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector6,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector7,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Elavon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiserv,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiuu,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Forte,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common:HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Helcim,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Iatapay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nmi,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"billing_zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Paybox,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n\n ]\n ),\n }\n ),\n (\n enums::Connector::Payme,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Powertranz,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Square,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Stax,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Tsys,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Worldline,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Worldpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Credit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bambora,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Billwerk,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Boku,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Coinbase,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Dlocal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n common:HashMap::new(),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector1,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector2,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector3,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector5,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector6,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector7,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Elavon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiserv,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiuu,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Forte,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common:HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Helcim,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Iatapay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexixpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nmi,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"billing_zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),(\n enums::Connector::Paybox,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n\n ]\n ),\n }\n ),\n (\n enums::Connector::Payme,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Powertranz,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Square,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Stax,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Tsys,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Worldline,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Worldpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n\n ])),\n ),\n (\n enums::PaymentMethod::BankRedirect,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::OpenBankingUk,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Volt,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap:: from([\n (\n \"payment_method_data.bank_redirect.open_banking_uk.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_uk.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Trustly,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingCzechRepublic,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_czech_republic.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_czech_republic.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingFinland,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingPoland,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_poland.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_poland.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingSlovakia,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_slovakia.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_slovakia.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingFpx,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_fpx.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_fpx.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingThailand,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_thailand.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_thailand.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bizum,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Przelewy24,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )]),\n },\n ),\n (\n enums::PaymentMethodType::BancontactCard,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Giropay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"DE\".to_string(),\n ]},\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Ideal,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n\n ]),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"billing_email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Sofort,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"SE\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"BE\".to_string(),\n \"FR\".to_string(),\n \"FI\".to_string(),\n \"IT\".to_string(),\n \"PL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"DE\".to_string(),\n \"ES\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"IT\".to_string(),\n \"DE\".to_string(),\n \"FR\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"NL\".to_string(),\n \"BE\".to_string(),\n \"SK\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n ( \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"BE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate : HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"BE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"account_holder_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"account_holder_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )]),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"SE\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"BE\".to_string(),\n \"FR\".to_string(),\n \"FI\".to_string(),\n \"IT\".to_string(),\n \"PL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Eps,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.eps.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.eps.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"bank_account_country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ])\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"bank_account_country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Blik,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n display_name: \"blik_code\".to_string(),\n field_type: enums::FieldType::UserBlikCode,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n display_name: \"blik_code\".to_string(),\n field_type: enums::FieldType::UserBlikCode,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n }\n )\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Wallet,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::ApplePay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n\n ]),\n },\n ),\n (\n enums::PaymentMethodType::GooglePay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::WeChatPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::AliPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::AliPayHk,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Cashapp,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MbWay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n common: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::KakaoPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Twint,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Gcash,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Vipps,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Dana,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Momo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Swish,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::TouchNGo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n // Added shipping fields for the SDK flow to accept it from wallet directly,\n // this won't show up in SDK in payment's sheet but will be used in the background\n enums::PaymentMethodType::Paypal,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(\n ),\n common: HashMap::from(\n [\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Mifinity,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Mifinity,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.wallet.mifinity.date_of_birth\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.wallet.mifinity.date_of_birth\".to_string(),\n display_name: \"date_of_birth\".to_string(),\n field_type: enums::FieldType::UserDateOfBirth,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"nationality\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"BR\".to_string(),\n \"CN\".to_string(),\n \"SG\".to_string(),\n \"MY\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"DK\".to_string(),\n \"GB\".to_string(),\n \"ES\".to_string(),\n \"AD\".to_string(),\n \"GI\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"HR\".to_string(),\n \"IT\".to_string(),\n \"JP\".to_string(),\n \"MX\".to_string(),\n \"AR\".to_string(),\n \"CO\".to_string(),\n \"CL\".to_string(),\n \"PE\".to_string(),\n \"VE\".to_string(),\n \"UY\".to_string(),\n \"PY\".to_string(),\n \"BO\".to_string(),\n \"EC\".to_string(),\n \"GT\".to_string(),\n \"HN\".to_string(),\n \"SV\".to_string(),\n \"NI\".to_string(),\n \"CR\".to_string(),\n \"PA\".to_string(),\n \"DO\".to_string(),\n \"CU\".to_string(),\n \"PR\".to_string(),\n \"NL\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"SE\".to_string(),\n \"RU\".to_string(),\n \"TR\".to_string(),\n \"TW\".to_string(),\n \"HK\".to_string(),\n \"MO\".to_string(),\n \"AX\".to_string(),\n \"AL\".to_string(),\n \"DZ\".to_string(),\n \"AS\".to_string(),\n \"AO\".to_string(),\n \"AI\".to_string(),\n \"AG\".to_string(),\n \"AM\".to_string(),\n \"AW\".to_string(),\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"AZ\".to_string(),\n \"BS\".to_string(),\n \"BH\".to_string(),\n \"BD\".to_string(),\n \"BB\".to_string(),\n \"BE\".to_string(),\n \"BZ\".to_string(),\n \"BJ\".to_string(),\n \"BM\".to_string(),\n \"BT\".to_string(),\n \"BQ\".to_string(),\n \"BA\".to_string(),\n \"BW\".to_string(),\n \"IO\".to_string(),\n \"BN\".to_string(),\n \"BG\".to_string(),\n \"BF\".to_string(),\n \"BI\".to_string(),\n \"KH\".to_string(),\n \"CM\".to_string(),\n \"CA\".to_string(),\n \"CV\".to_string(),\n \"KY\".to_string(),\n \"CF\".to_string(),\n \"TD\".to_string(),\n \"CX\".to_string(),\n \"CC\".to_string(),\n \"KM\".to_string(),\n \"CG\".to_string(),\n \"CK\".to_string(),\n \"CI\".to_string(),\n \"CW\".to_string(),\n \"CY\".to_string(),\n \"CZ\".to_string(),\n \"DJ\".to_string(),\n \"DM\".to_string(),\n \"EG\".to_string(),\n \"GQ\".to_string(),\n \"ER\".to_string(),\n \"EE\".to_string(),\n \"ET\".to_string(),\n \"FK\".to_string(),\n \"FO\".to_string(),\n \"FJ\".to_string(),\n \"GF\".to_string(),\n \"PF\".to_string(),\n \"TF\".to_string(),\n \"GA\".to_string(),\n \"GM\".to_string(),\n \"GE\".to_string(),\n \"GH\".to_string(),\n \"GL\".to_string(),\n \"GD\".to_string(),\n \"GP\".to_string(),\n \"GU\".to_string(),\n \"GG\".to_string(),\n \"GN\".to_string(),\n \"GW\".to_string(),\n \"GY\".to_string(),\n \"HT\".to_string(),\n \"HM\".to_string(),\n \"VA\".to_string(),\n \"IS\".to_string(),\n \"IN\".to_string(),\n \"ID\".to_string(),\n \"IE\".to_string(),\n \"IM\".to_string(),\n \"IL\".to_string(),\n \"JE\".to_string(),\n \"JO\".to_string(),\n \"KZ\".to_string(),\n \"KE\".to_string(),\n \"KI\".to_string(),\n \"KW\".to_string(),\n \"KG\".to_string(),\n \"LA\".to_string(),\n \"LV\".to_string(),\n \"LB\".to_string(),\n \"LS\".to_string(),\n \"LI\".to_string(),\n \"LT\".to_string(),\n \"LU\".to_string(),\n \"MK\".to_string(),\n \"MG\".to_string(),\n \"MW\".to_string(),\n \"MV\".to_string(),\n \"ML\".to_string(),\n \"MT\".to_string(),\n \"MH\".to_string(),\n \"MQ\".to_string(),\n \"MR\".to_string(),\n \"MU\".to_string(),\n \"YT\".to_string(),\n \"FM\".to_string(),\n \"MD\".to_string(),\n \"MC\".to_string(),\n \"MN\".to_string(),\n \"ME\".to_string(),\n \"MS\".to_string(),\n \"MA\".to_string(),\n \"MZ\".to_string(),\n \"NA\".to_string(),\n \"NR\".to_string(),\n \"NP\".to_string(),\n \"NC\".to_string(),\n \"NZ\".to_string(),\n \"NE\".to_string(),\n \"NG\".to_string(),\n \"NU\".to_string(),\n \"NF\".to_string(),\n \"MP\".to_string(),\n \"OM\".to_string(),\n \"PK\".to_string(),\n \"PW\".to_string(),\n \"PS\".to_string(),\n \"PG\".to_string(),\n \"PH\".to_string(),\n \"PN\".to_string(),\n \"QA\".to_string(),\n \"RE\".to_string(),\n \"RO\".to_string(),\n \"RW\".to_string(),\n \"BL\".to_string(),\n \"SH\".to_string(),\n \"KN\".to_string(),\n \"LC\".to_string(),\n \"MF\".to_string(),\n \"PM\".to_string(),\n \"VC\".to_string(),\n \"WS\".to_string(),\n \"SM\".to_string(),\n \"ST\".to_string(),\n \"SA\".to_string(),\n \"SN\".to_string(),\n \"RS\".to_string(),\n \"SC\".to_string(),\n \"SL\".to_string(),\n \"SX\".to_string(),\n \"SK\".to_string(),\n \"SI\".to_string(),\n \"SB\".to_string(),\n \"SO\".to_string(),\n \"ZA\".to_string(),\n \"GS\".to_string(),\n \"KR\".to_string(),\n \"LK\".to_string(),\n \"SR\".to_string(),\n \"SJ\".to_string(),\n \"SZ\".to_string(),\n \"TH\".to_string(),\n \"TL\".to_string(),\n \"TG\".to_string(),\n \"TK\".to_string(),\n \"TO\".to_string(),\n \"TT\".to_string(),\n \"TN\".to_string(),\n \"TM\".to_string(),\n \"TC\".to_string(),\n \"TV\".to_string(),\n \"UG\".to_string(),\n \"UA\".to_string(),\n \"AE\".to_string(),\n \"UZ\".to_string(),\n \"VU\".to_string(),\n \"VN\".to_string(),\n \"VG\".to_string(),\n \"VI\".to_string(),\n \"WF\".to_string(),\n \"EH\".to_string(),\n \"ZM\".to_string(), \n ]\n },\n value: None,\n }\n\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.wallet.mifinity.language_preference\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.wallet.mifinity.language_preference\".to_string(),\n display_name: \"language_preference\".to_string(),\n field_type: enums::FieldType::LanguagePreference{\n options: vec![\n \"BR\".to_string(),\n \"PT_BR\".to_string(),\n \"CN\".to_string(),\n \"ZH_CN\".to_string(),\n \"DE\".to_string(),\n \"DK\".to_string(),\n \"DA\".to_string(),\n \"DA_DK\".to_string(),\n \"EN\".to_string(),\n \"ES\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"EL\".to_string(),\n \"EL_GR\".to_string(),\n \"HR\".to_string(),\n \"IT\".to_string(),\n \"JP\".to_string(),\n \"JA\".to_string(),\n \"JA_JP\".to_string(),\n \"LA\".to_string(),\n \"ES_LA\".to_string(),\n \"NL\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"RU\".to_string(),\n \"SV\".to_string(),\n \"SE\".to_string(),\n \"SV_SE\".to_string(),\n \"ZH\".to_string(),\n \"TW\".to_string(),\n \"ZH_TW\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n }\n ),\n ]),\n }\n ),\n ])),\n ),\n (\n enums::PaymentMethod::PayLater,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::AfterpayClearpay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine2,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Klarna,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n ( \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n display_name: \"billing_country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"CA\".to_string(),\n \"CZ\".to_string(),\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"DE\".to_string(),\n \"IE\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n \"NZ\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"RO\".to_string(),\n \"ES\".to_string(),\n \"SE\".to_string(),\n \"CH\".to_string(),\n \"GB\".to_string(),\n \"US\".to_string(),\n ]\n },\n value: None,\n }),\n (\"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n })\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::new(),\n common : HashMap::from([\n ( \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n display_name: \"billing_country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n }\n ),\n (\n enums::Connector::Klarna,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"CA\".to_string(),\n \"CZ\".to_string(),\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"DE\".to_string(),\n \"GR\".to_string(),\n \"IE\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n \"NZ\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"ES\".to_string(),\n \"SE\".to_string(),\n \"CH\".to_string(),\n \"GB\".to_string(),\n \"US\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Affirm,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"US\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"US\".to_string(),\n ]},\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::PayBright,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"CA\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine2,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Walley,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"NO\".to_string(),\n \"SE\".to_string(),\n ]},\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Alma,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"FR\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Atome,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"MY\".to_string(),\n \"SG\".to_string()\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Crypto,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::CryptoCurrency,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Cryptopay,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.crypto.pay_currency\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.crypto.pay_currency\".to_string(),\n display_name: \"currency\".to_string(),\n field_type: enums::FieldType::UserCurrency{\n options: vec![\n \"BTC\".to_string(),\n \"LTC\".to_string(),\n \"ETH\".to_string(),\n \"XRP\".to_string(),\n \"XLM\".to_string(),\n \"BCH\".to_string(),\n \"ADA\".to_string(),\n \"SOL\".to_string(),\n \"SHIB\".to_string(),\n \"TRX\".to_string(),\n \"DOGE\".to_string(),\n \"BNB\".to_string(),\n \"USDT\".to_string(),\n \"USDC\".to_string(),\n \"DAI\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.crypto.network\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.crypto.network\".to_string(),\n display_name: \"network\".to_string(),\n field_type: enums::FieldType::UserCryptoCurrencyNetwork,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Voucher,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Boleto,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"payment_method_data.voucher.boleto.social_security_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.voucher.boleto.social_security_number\".to_string(),\n display_name: \"social_security_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"BR\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Alfamart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Indomaret,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Oxxo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::SevenEleven,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n )\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Lawson,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MiniStop,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::FamilyMart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Seicomart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::PayEasy,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Upi,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::UpiCollect,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Razorpay,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"payment_method_data.upi.upi_collect.vpa_id\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.upi.upi_collect.vpa_id\".to_string(),\n display_name: \"vpa_id\".to_string(),\n field_type: enums::FieldType::UserVpaId,\n value: None,\n }\n ),\n ]),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::BankDebit,\n PaymentMethodType(HashMap::from([(\n enums::PaymentMethodType::Ach,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n }),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]\n )}\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Deutschebank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\"UK\".to_string()],\n },\n value: None,\n },\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n },\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n },\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Becs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs.bsb_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs.bsb_number\".to_string(),\n display_name: \"bsb_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n ]))),\n (\n enums::PaymentMethod::BankTransfer,\n PaymentMethodType(HashMap::from([(\n enums::PaymentMethodType::Multibanco,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n ])}),\n (enums::PaymentMethodType::LocalBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Zsl,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([ (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"CN\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n },\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ])}),\n (enums::PaymentMethodType::Ach,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ])\n }\n ),\n ])}),\n (enums::PaymentMethodType::Pix,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Itaubank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.bank_transfer.pix.pix_key\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.pix_key\".to_string(),\n display_name: \"pix_key\".to_string(),\n field_type: enums::FieldType::UserPixKey,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_transfer.pix.cnpj\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.cnpj\".to_string(),\n display_name: \"cnpj\".to_string(),\n field_type: enums::FieldType::UserCnpj,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_transfer.pix.cpf\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.cpf\".to_string(),\n display_name: \"cpf\".to_string(),\n field_type: enums::FieldType::UserCpf,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ])}),\n (\n enums::PaymentMethodType::PermataBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BcaBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BniVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BriVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::CimbVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::DanamonVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MandiriVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"BE\".to_string(),\n \"DE\".to_string(),\n \"ES\".to_string(),\n \"FR\".to_string(),\n \"IE\".to_string(),\n \"NL\".to_string(), \n ],\n },\n value: None,\n },\n ),\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n ]))),\n (\n enums::PaymentMethod::GiftCard,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::PaySafeCard,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Givex,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n\n (\n \"payment_method_data.gift_card.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.gift_card.number\".to_string(),\n display_name: \"gift_card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.gift_card.cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.gift_card.cvc\".to_string(),\n display_name: \"gift_card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ]))\n ),\n (\n enums::PaymentMethod::CardRedirect,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Benefit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Knet,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MomoAtm,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n )\n ]))\n ),\n (\n enums::PaymentMethod::MobilePayment,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::DirectCarrierBilling,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Digitalvirgo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.mobile_payment.direct_carrier_billing.msisdn\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.mobile_payment.direct_carrier_billing.msisdn\".to_string(),\n display_name: \"mobile_number\".to_string(),\n field_type: enums::FieldType::UserMsisdn,\n value: None,\n }\n ),\n (\n \"payment_method_data.mobile_payment.direct_carrier_billing.client_uid\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.mobile_payment.direct_carrier_billing.client_uid\".to_string(),\n display_name: \"client_identifier\".to_string(),\n field_type: enums::FieldType::UserClientIdentifier,\n value: None,\n }\n ),\n (\n \"order_details.0.product_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"order_details.0.product_name\".to_string(),\n display_name: \"product_name\".to_string(),\n field_type: enums::FieldType::OrderDetailsProductName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ])\n }\n )\n ]))\n )\n ]))\n }\n}", + "after_code": "impl Default for settings::RequiredFields {\n fn default() -> Self {\n Self(HashMap::from([\n (\n enums::PaymentMethod::Card,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Debit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bambora,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Billwerk,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Boku,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Coinbase,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Dlocal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n common:HashMap::new(),\n }\n ),\n #[cfg(feature = \"dummy_connector\")] \n (\n enums::Connector::DummyConnector1,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector2,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector3,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector5,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector6,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector7,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Elavon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiserv,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiuu,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Forte,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common:HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Helcim,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Iatapay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nmi,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"billing_zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Paybox,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n\n ]\n ),\n }\n ),\n (\n enums::Connector::Payme,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Powertranz,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Square,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Stax,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Tsys,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Worldline,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Worldpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Credit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bambora,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Billwerk,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Boku,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Coinbase,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Dlocal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n common:HashMap::new(),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector1,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector2,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector3,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector5,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector6,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n #[cfg(feature = \"dummy_connector\")]\n (\n enums::Connector::DummyConnector7,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Elavon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiserv,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Fiuu,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Forte,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common:HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Helcim,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Iatapay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nexixpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Nmi,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"billing_zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),(\n enums::Connector::Paybox,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n\n ]\n ),\n }\n ),\n (\n enums::Connector::Payme,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Powertranz,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Square,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Stax,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common:HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Tsys,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new()\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]\n ),\n }\n ),\n (\n enums::Connector::Worldline,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_cvc\".to_string(),\n display_name: \"card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Worldpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n\n ])),\n ),\n (\n enums::PaymentMethod::BankRedirect,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::OpenBankingUk,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Volt,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap:: from([\n (\n \"payment_method_data.bank_redirect.open_banking_uk.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_uk.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Trustly,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingCzechRepublic,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_czech_republic.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_czech_republic.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingFinland,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingPoland,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_poland.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_poland.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingSlovakia,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_slovakia.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_slovakia.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingFpx,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_fpx.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_fpx.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::OnlineBankingThailand,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.open_banking_thailand.issuer\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.open_banking_thailand.issuer\".to_string(),\n display_name: \"issuer\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bizum,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Przelewy24,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n )]),\n },\n ),\n (\n enums::PaymentMethodType::BancontactCard,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_number\".to_string(),\n display_name: \"card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_exp_month\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_exp_month\".to_string(),\n display_name: \"card_exp_month\".to_string(),\n field_type: enums::FieldType::UserCardExpiryMonth,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_redirect.bancontact_card.card_exp_year\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.bancontact_card.card_exp_year\".to_string(),\n display_name: \"card_exp_year\".to_string(),\n field_type: enums::FieldType::UserCardExpiryYear,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Giropay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"DE\".to_string(),\n ]},\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"DE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Ideal,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.ideal.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n ),\n\n ]),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"billing_email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Sofort,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"SE\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"BE\".to_string(),\n \"FR\".to_string(),\n \"FI\".to_string(),\n \"IT\".to_string(),\n \"PL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"DE\".to_string(),\n \"ES\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nexinets,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"IT\".to_string(),\n \"DE\".to_string(),\n \"FR\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"NL\".to_string(),\n \"BE\".to_string(),\n \"SK\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n ( \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"BE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n non_mandate : HashMap::new(),\n common: HashMap::from([\n (\"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"ES\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"BE\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"account_holder_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"account_holder_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n )]),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"ES\".to_string(),\n \"GB\".to_string(),\n \"SE\".to_string(),\n \"AT\".to_string(),\n \"NL\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"BE\".to_string(),\n \"FR\".to_string(),\n \"FI\".to_string(),\n \"IT\".to_string(),\n \"PL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Eps,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.eps.bank_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.eps.bank_name\".to_string(),\n display_name: \"bank_name\".to_string(),\n field_type: enums::FieldType::UserBank,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Aci,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"bank_account_country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ])\n }\n ),\n (\n enums::Connector::Mollie,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"bank_account_country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Shift4,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate:HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AT\".to_string(),\n ]\n },\n value: None,\n }\n )]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Blik,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n display_name: \"blik_code\".to_string(),\n field_type: enums::FieldType::UserBlikCode,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_redirect.blik.blik_code\".to_string(),\n display_name: \"blik_code\".to_string(),\n field_type: enums::FieldType::UserBlikCode,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n }\n )\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Wallet,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::ApplePay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n\n ]),\n },\n ),\n (\n enums::PaymentMethodType::GooglePay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bankofamerica,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Bluesnap,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Noon,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Nuvei,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Airwallex,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Authorizedotnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Checkout,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Globalpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Multisafepay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )]),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Cybersource,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Payu,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Rapyd,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Trustpay,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Wellsfargo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"email\".to_string(),\n RequiredFieldInfo {\n required_field: \"email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::WeChatPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::AliPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::AliPayHk,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Cashapp,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MbWay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n common: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::KakaoPay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Twint,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Gcash,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Vipps,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Dana,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Momo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Swish,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::TouchNGo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n // Added shipping fields for the SDK flow to accept it from wallet directly,\n // this won't show up in SDK in payment's sheet but will be used in the background\n enums::PaymentMethodType::Paypal,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )]\n ),\n }\n ),\n (\n enums::Connector::Braintree,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Novalnet,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Paypal,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(\n ),\n common: HashMap::from(\n [\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Mifinity,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Mifinity,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"payment_method_data.wallet.mifinity.date_of_birth\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.wallet.mifinity.date_of_birth\".to_string(),\n display_name: \"date_of_birth\".to_string(),\n field_type: enums::FieldType::UserDateOfBirth,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"nationality\".to_string(),\n field_type: enums::FieldType::UserCountry{\n options: vec![\n \"BR\".to_string(),\n \"CN\".to_string(),\n \"SG\".to_string(),\n \"MY\".to_string(),\n \"DE\".to_string(),\n \"CH\".to_string(),\n \"DK\".to_string(),\n \"GB\".to_string(),\n \"ES\".to_string(),\n \"AD\".to_string(),\n \"GI\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"HR\".to_string(),\n \"IT\".to_string(),\n \"JP\".to_string(),\n \"MX\".to_string(),\n \"AR\".to_string(),\n \"CO\".to_string(),\n \"CL\".to_string(),\n \"PE\".to_string(),\n \"VE\".to_string(),\n \"UY\".to_string(),\n \"PY\".to_string(),\n \"BO\".to_string(),\n \"EC\".to_string(),\n \"GT\".to_string(),\n \"HN\".to_string(),\n \"SV\".to_string(),\n \"NI\".to_string(),\n \"CR\".to_string(),\n \"PA\".to_string(),\n \"DO\".to_string(),\n \"CU\".to_string(),\n \"PR\".to_string(),\n \"NL\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"SE\".to_string(),\n \"RU\".to_string(),\n \"TR\".to_string(),\n \"TW\".to_string(),\n \"HK\".to_string(),\n \"MO\".to_string(),\n \"AX\".to_string(),\n \"AL\".to_string(),\n \"DZ\".to_string(),\n \"AS\".to_string(),\n \"AO\".to_string(),\n \"AI\".to_string(),\n \"AG\".to_string(),\n \"AM\".to_string(),\n \"AW\".to_string(),\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"AZ\".to_string(),\n \"BS\".to_string(),\n \"BH\".to_string(),\n \"BD\".to_string(),\n \"BB\".to_string(),\n \"BE\".to_string(),\n \"BZ\".to_string(),\n \"BJ\".to_string(),\n \"BM\".to_string(),\n \"BT\".to_string(),\n \"BQ\".to_string(),\n \"BA\".to_string(),\n \"BW\".to_string(),\n \"IO\".to_string(),\n \"BN\".to_string(),\n \"BG\".to_string(),\n \"BF\".to_string(),\n \"BI\".to_string(),\n \"KH\".to_string(),\n \"CM\".to_string(),\n \"CA\".to_string(),\n \"CV\".to_string(),\n \"KY\".to_string(),\n \"CF\".to_string(),\n \"TD\".to_string(),\n \"CX\".to_string(),\n \"CC\".to_string(),\n \"KM\".to_string(),\n \"CG\".to_string(),\n \"CK\".to_string(),\n \"CI\".to_string(),\n \"CW\".to_string(),\n \"CY\".to_string(),\n \"CZ\".to_string(),\n \"DJ\".to_string(),\n \"DM\".to_string(),\n \"EG\".to_string(),\n \"GQ\".to_string(),\n \"ER\".to_string(),\n \"EE\".to_string(),\n \"ET\".to_string(),\n \"FK\".to_string(),\n \"FO\".to_string(),\n \"FJ\".to_string(),\n \"GF\".to_string(),\n \"PF\".to_string(),\n \"TF\".to_string(),\n \"GA\".to_string(),\n \"GM\".to_string(),\n \"GE\".to_string(),\n \"GH\".to_string(),\n \"GL\".to_string(),\n \"GD\".to_string(),\n \"GP\".to_string(),\n \"GU\".to_string(),\n \"GG\".to_string(),\n \"GN\".to_string(),\n \"GW\".to_string(),\n \"GY\".to_string(),\n \"HT\".to_string(),\n \"HM\".to_string(),\n \"VA\".to_string(),\n \"IS\".to_string(),\n \"IN\".to_string(),\n \"ID\".to_string(),\n \"IE\".to_string(),\n \"IM\".to_string(),\n \"IL\".to_string(),\n \"JE\".to_string(),\n \"JO\".to_string(),\n \"KZ\".to_string(),\n \"KE\".to_string(),\n \"KI\".to_string(),\n \"KW\".to_string(),\n \"KG\".to_string(),\n \"LA\".to_string(),\n \"LV\".to_string(),\n \"LB\".to_string(),\n \"LS\".to_string(),\n \"LI\".to_string(),\n \"LT\".to_string(),\n \"LU\".to_string(),\n \"MK\".to_string(),\n \"MG\".to_string(),\n \"MW\".to_string(),\n \"MV\".to_string(),\n \"ML\".to_string(),\n \"MT\".to_string(),\n \"MH\".to_string(),\n \"MQ\".to_string(),\n \"MR\".to_string(),\n \"MU\".to_string(),\n \"YT\".to_string(),\n \"FM\".to_string(),\n \"MD\".to_string(),\n \"MC\".to_string(),\n \"MN\".to_string(),\n \"ME\".to_string(),\n \"MS\".to_string(),\n \"MA\".to_string(),\n \"MZ\".to_string(),\n \"NA\".to_string(),\n \"NR\".to_string(),\n \"NP\".to_string(),\n \"NC\".to_string(),\n \"NZ\".to_string(),\n \"NE\".to_string(),\n \"NG\".to_string(),\n \"NU\".to_string(),\n \"NF\".to_string(),\n \"MP\".to_string(),\n \"OM\".to_string(),\n \"PK\".to_string(),\n \"PW\".to_string(),\n \"PS\".to_string(),\n \"PG\".to_string(),\n \"PH\".to_string(),\n \"PN\".to_string(),\n \"QA\".to_string(),\n \"RE\".to_string(),\n \"RO\".to_string(),\n \"RW\".to_string(),\n \"BL\".to_string(),\n \"SH\".to_string(),\n \"KN\".to_string(),\n \"LC\".to_string(),\n \"MF\".to_string(),\n \"PM\".to_string(),\n \"VC\".to_string(),\n \"WS\".to_string(),\n \"SM\".to_string(),\n \"ST\".to_string(),\n \"SA\".to_string(),\n \"SN\".to_string(),\n \"RS\".to_string(),\n \"SC\".to_string(),\n \"SL\".to_string(),\n \"SX\".to_string(),\n \"SK\".to_string(),\n \"SI\".to_string(),\n \"SB\".to_string(),\n \"SO\".to_string(),\n \"ZA\".to_string(),\n \"GS\".to_string(),\n \"KR\".to_string(),\n \"LK\".to_string(),\n \"SR\".to_string(),\n \"SJ\".to_string(),\n \"SZ\".to_string(),\n \"TH\".to_string(),\n \"TL\".to_string(),\n \"TG\".to_string(),\n \"TK\".to_string(),\n \"TO\".to_string(),\n \"TT\".to_string(),\n \"TN\".to_string(),\n \"TM\".to_string(),\n \"TC\".to_string(),\n \"TV\".to_string(),\n \"UG\".to_string(),\n \"UA\".to_string(),\n \"AE\".to_string(),\n \"UZ\".to_string(),\n \"VU\".to_string(),\n \"VN\".to_string(),\n \"VG\".to_string(),\n \"VI\".to_string(),\n \"WF\".to_string(),\n \"EH\".to_string(),\n \"ZM\".to_string(), \n ]\n },\n value: None,\n }\n\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email_address\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.wallet.mifinity.language_preference\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.wallet.mifinity.language_preference\".to_string(),\n display_name: \"language_preference\".to_string(),\n field_type: enums::FieldType::LanguagePreference{\n options: vec![\n \"BR\".to_string(),\n \"PT_BR\".to_string(),\n \"CN\".to_string(),\n \"ZH_CN\".to_string(),\n \"DE\".to_string(),\n \"DK\".to_string(),\n \"DA\".to_string(),\n \"DA_DK\".to_string(),\n \"EN\".to_string(),\n \"ES\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"EL\".to_string(),\n \"EL_GR\".to_string(),\n \"HR\".to_string(),\n \"IT\".to_string(),\n \"JP\".to_string(),\n \"JA\".to_string(),\n \"JA_JP\".to_string(),\n \"LA\".to_string(),\n \"ES_LA\".to_string(),\n \"NL\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"RU\".to_string(),\n \"SV\".to_string(),\n \"SE\".to_string(),\n \"SV_SE\".to_string(),\n \"ZH\".to_string(),\n \"TW\".to_string(),\n \"ZH_TW\".to_string(),\n ]\n },\n value: None,\n }\n ),\n ]),\n }\n ),\n ]),\n }\n ),\n ])),\n ),\n (\n enums::PaymentMethod::PayLater,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::AfterpayClearpay,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.first_name\".to_string(),\n display_name: \"shipping_first_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.last_name\".to_string(),\n display_name: \"shipping_last_name\".to_string(),\n field_type: enums::FieldType::UserShippingName,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserShippingAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"billing_last_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"GB\".to_string(),\n \"AU\".to_string(),\n \"CA\".to_string(),\n \"US\".to_string(),\n \"NZ\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine2,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Klarna,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n ( \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n display_name: \"billing_country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"CA\".to_string(),\n \"CZ\".to_string(),\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"GR\".to_string(),\n \"DE\".to_string(),\n \"IE\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n \"NZ\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"RO\".to_string(),\n \"ES\".to_string(),\n \"SE\".to_string(),\n \"CH\".to_string(),\n \"GB\".to_string(),\n \"US\".to_string(),\n ]\n },\n value: None,\n }),\n (\"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n })\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::new(),\n common : HashMap::from([\n ( \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.pay_later.klarna.billing_country\".to_string(),\n display_name: \"billing_country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]),\n }\n ),\n (\n enums::Connector::Klarna,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"AU\".to_string(),\n \"AT\".to_string(),\n \"BE\".to_string(),\n \"CA\".to_string(),\n \"CZ\".to_string(),\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"FR\".to_string(),\n \"DE\".to_string(),\n \"GR\".to_string(),\n \"IE\".to_string(),\n \"IT\".to_string(),\n \"NL\".to_string(),\n \"NZ\".to_string(),\n \"NO\".to_string(),\n \"PL\".to_string(),\n \"PT\".to_string(),\n \"ES\".to_string(),\n \"SE\".to_string(),\n \"CH\".to_string(),\n \"GB\".to_string(),\n \"US\".to_string(),\n ]\n },\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Affirm,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"US\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserCountry {\n options: vec![\n \"US\".to_string(),\n ]},\n value: None,\n }\n ),\n\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::PayBright,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"CA\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n (\n \"shipping.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCity,\n value: None,\n }\n ),\n (\n \"shipping.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserShippingAddressPincode,\n value: None,\n }\n ),\n (\n \"shipping.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserShippingAddressCountry{\n options: vec![\n \"ALL\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"shipping.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine1,\n value: None,\n }\n ),\n (\n \"shipping.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"shipping.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserShippingAddressLine2,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Walley,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"DK\".to_string(),\n \"FI\".to_string(),\n \"NO\".to_string(),\n \"SE\".to_string(),\n ]},\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Alma,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"FR\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Atome,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"MY\".to_string(),\n \"SG\".to_string()\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"billing.phone.number\".to_string(),\n display_name: \"phone_number\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Crypto,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::CryptoCurrency,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Cryptopay,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"payment_method_data.crypto.pay_currency\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.crypto.pay_currency\".to_string(),\n display_name: \"currency\".to_string(),\n field_type: enums::FieldType::UserCurrency{\n options: vec![\n \"BTC\".to_string(),\n \"LTC\".to_string(),\n \"ETH\".to_string(),\n \"XRP\".to_string(),\n \"XLM\".to_string(),\n \"BCH\".to_string(),\n \"ADA\".to_string(),\n \"SOL\".to_string(),\n \"SHIB\".to_string(),\n \"TRX\".to_string(),\n \"DOGE\".to_string(),\n \"BNB\".to_string(),\n \"USDT\".to_string(),\n \"USDC\".to_string(),\n \"DAI\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"payment_method_data.crypto.network\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.crypto.network\".to_string(),\n display_name: \"network\".to_string(),\n field_type: enums::FieldType::UserCryptoCurrencyNetwork,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Voucher,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Boleto,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"payment_method_data.voucher.boleto.social_security_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.voucher.boleto.social_security_number\".to_string(),\n display_name: \"social_security_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n }\n ),\n (\n \"billing.address.state\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.state\".to_string(),\n display_name: \"state\".to_string(),\n field_type: enums::FieldType::UserAddressState,\n value: None,\n }\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"BR\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n }\n ),\n (\n \"billing.address.line2\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line2\".to_string(),\n display_name: \"line2\".to_string(),\n field_type: enums::FieldType::UserAddressLine2,\n value: None,\n }\n ),\n ]),\n common : HashMap::new(),\n }\n ),\n (\n enums::Connector::Zen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Alfamart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Indomaret,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Oxxo,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::SevenEleven,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n )\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Lawson,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MiniStop,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::FamilyMart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Seicomart,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::PayEasy,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n ]\n ),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::Upi,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::UpiCollect,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Razorpay,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"payment_method_data.upi.upi_collect.vpa_id\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.upi.upi_collect.vpa_id\".to_string(),\n display_name: \"vpa_id\".to_string(),\n field_type: enums::FieldType::UserVpaId,\n value: None,\n }\n ),\n ]),\n }\n ),\n ]),\n },\n ),\n ])),\n ),\n (\n enums::PaymentMethod::BankDebit,\n PaymentMethodType(HashMap::from([(\n enums::PaymentMethodType::Ach,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n }),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]\n )}\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Deutschebank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\"UK\".to_string()],\n },\n value: None,\n },\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n },\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n },\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Becs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.bsb_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.bsb_number\".to_string(),\n display_name: \"bsb_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n ]))),\n (\n enums::PaymentMethod::BankTransfer,\n PaymentMethodType(HashMap::from([(\n enums::PaymentMethodType::Multibanco,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n common: HashMap::new(),\n }\n ),\n ])}),\n (enums::PaymentMethodType::LocalBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Zsl,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([ (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry{\n options: vec![\n \"CN\".to_string(),\n ]\n },\n value: None,\n }\n ),\n (\n \"billing.address.city\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.city\".to_string(),\n display_name: \"city\".to_string(),\n field_type: enums::FieldType::UserAddressCity,\n value: None,\n },\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ])}),\n (enums::PaymentMethodType::Ach,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ])\n }\n ),\n ])}),\n (enums::PaymentMethodType::Pix,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Itaubank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.bank_transfer.pix.pix_key\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.pix_key\".to_string(),\n display_name: \"pix_key\".to_string(),\n field_type: enums::FieldType::UserPixKey,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_transfer.pix.cnpj\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.cnpj\".to_string(),\n display_name: \"cnpj\".to_string(),\n field_type: enums::FieldType::UserCnpj,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_transfer.pix.cpf\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_transfer.pix.cpf\".to_string(),\n display_name: \"cpf\".to_string(),\n field_type: enums::FieldType::UserCpf,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ])}),\n (\n enums::PaymentMethodType::PermataBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BcaBankTransfer,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BniVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::BriVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::CimbVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::DanamonVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MandiriVa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n common : HashMap::new(),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\n \"BE\".to_string(),\n \"DE\".to_string(),\n \"ES\".to_string(),\n \"FR\".to_string(),\n \"IE\".to_string(),\n \"NL\".to_string(), \n ],\n },\n value: None,\n },\n ),\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate : HashMap::new(),\n non_mandate : HashMap::new(),\n common : HashMap::from([\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"card_holder_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n ]))),\n (\n enums::PaymentMethod::GiftCard,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::PaySafeCard,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Givex,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from([\n\n (\n \"payment_method_data.gift_card.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.gift_card.number\".to_string(),\n display_name: \"gift_card_number\".to_string(),\n field_type: enums::FieldType::UserCardNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.gift_card.cvc\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.gift_card.cvc\".to_string(),\n display_name: \"gift_card_cvc\".to_string(),\n field_type: enums::FieldType::UserCardCvc,\n value: None,\n }\n ),\n ]),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n ]))\n ),\n (\n enums::PaymentMethod::CardRedirect,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::Benefit,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Knet,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::from(\n [(\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"first_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"last_name\".to_string(),\n field_type: enums::FieldType::UserFullName,\n value: None,\n }\n ),\n (\n \"billing.phone.number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.number\".to_string(),\n display_name: \"phone\".to_string(),\n field_type: enums::FieldType::UserPhoneNumber,\n value: None,\n }\n ),\n (\n \"billing.phone.country_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.phone.country_code\".to_string(),\n display_name: \"dialing_code\".to_string(),\n field_type: enums::FieldType::UserPhoneNumberCountryCode,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]\n ),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n ),\n (\n enums::PaymentMethodType::MomoAtm,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::new(),\n }\n ),\n ]),\n },\n )\n ]))\n ),\n (\n enums::PaymentMethod::MobilePayment,\n PaymentMethodType(HashMap::from([\n (\n enums::PaymentMethodType::DirectCarrierBilling,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Digitalvirgo,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from(\n [\n (\n \"payment_method_data.mobile_payment.direct_carrier_billing.msisdn\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.mobile_payment.direct_carrier_billing.msisdn\".to_string(),\n display_name: \"mobile_number\".to_string(),\n field_type: enums::FieldType::UserMsisdn,\n value: None,\n }\n ),\n (\n \"payment_method_data.mobile_payment.direct_carrier_billing.client_uid\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.mobile_payment.direct_carrier_billing.client_uid\".to_string(),\n display_name: \"client_identifier\".to_string(),\n field_type: enums::FieldType::UserClientIdentifier,\n value: None,\n }\n ),\n (\n \"order_details.0.product_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"order_details.0.product_name\".to_string(),\n display_name: \"product_name\".to_string(),\n field_type: enums::FieldType::OrderDetailsProductName,\n value: None,\n }\n ),\n ]\n ),\n }\n ),\n ])\n }\n )\n ]))\n )\n ]))\n }\n}", + "diff_span": { + "before": " ),\n (\n \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n }),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]\n )}\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Deutschebank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\"UK\".to_string()],\n },\n value: None,\n },\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n },\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n },\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Becs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs.bsb_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs.bsb_number\".to_string(),\n display_name: \"bsb_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,", + "after": " ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n }),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.ach_bank_debit.routing_number\".to_string(),\n display_name: \"bank_routing_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]\n )}\n ),\n (\n enums::PaymentMethodType::Sepa,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Deutschebank,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.sepa_bank_debit.iban\".to_string(),\n display_name: \"iban\".to_string(),\n field_type: enums::FieldType::UserIban,\n value: None,\n }\n )\n ]),\n }\n )\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Bacs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.address.country\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.country\".to_string(),\n display_name: \"country\".to_string(),\n field_type: enums::FieldType::UserAddressCountry {\n options: vec![\"UK\".to_string()],\n },\n value: None,\n },\n ),\n (\n \"billing.address.zip\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.zip\".to_string(),\n display_name: \"zip\".to_string(),\n field_type: enums::FieldType::UserAddressPincode,\n value: None,\n },\n ),\n (\n \"billing.address.line1\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.line1\".to_string(),\n display_name: \"line1\".to_string(),\n field_type: enums::FieldType::UserAddressLine1,\n value: None,\n },\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.bacs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n )\n ]),\n })\n ]),\n },\n ),\n (\n enums::PaymentMethodType::Becs,\n ConnectorFields {\n fields: HashMap::from([\n (\n enums::Connector::Stripe,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"billing_first_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.bsb_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.bsb_number\".to_string(),\n display_name: \"bsb_number\".to_string(),\n field_type: enums::FieldType::Text,\n value: None,\n }\n ),\n (\n \"billing.email\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.email\".to_string(),\n display_name: \"email\".to_string(),\n field_type: enums::FieldType::UserEmailAddress,\n value: None,\n }\n )\n ]),\n }\n ),\n (\n enums::Connector::Adyen,\n RequiredFieldFinal {\n mandate: HashMap::new(),\n non_mandate: HashMap::new(),\n common: HashMap::from([ (\n \"billing.address.first_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.first_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }),\n (\n \"billing.address.last_name\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.billing.address.last_name\".to_string(),\n display_name: \"owner_name\".to_string(),\n field_type: enums::FieldType::UserBillingName,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.account_number\".to_string(),\n display_name: \"bank_account_number\".to_string(),\n field_type: enums::FieldType::UserBankAccountNumber,\n value: None,\n }\n ),\n (\n \"payment_method_data.bank_debit.becs_bank_debit.sort_code\".to_string(),\n RequiredFieldInfo {\n required_field: \"payment_method_data.bank_debit.becs_bank_debit.sort_code\".to_string(),\n display_name: \"bank_sort_code\".to_string(),\n field_type: enums::FieldType::Text," + }, + "commit_sha": "fe738f65bef0076f5f4b49cce3d62fa99ebca91f" + } + ] +} \ No newline at end of file