mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 11:24:45 +08:00
refactor(connector): [facilitapay] move destination bank account number to connector metadata (#8704)
This commit is contained in:
@ -193,7 +193,6 @@ enum RequiredField {
|
||||
PixCnpj,
|
||||
PixCpf,
|
||||
PixSourceBankAccountId,
|
||||
PixDestinationBankAccountId,
|
||||
GiftCardNumber,
|
||||
GiftCardCvc,
|
||||
DcbMsisdn,
|
||||
@ -808,17 +807,6 @@ impl RequiredField {
|
||||
value: None,
|
||||
},
|
||||
),
|
||||
Self::PixDestinationBankAccountId => (
|
||||
"payment_method_data.bank_transfer.pix.destination_bank_account_id".to_string(),
|
||||
RequiredFieldInfo {
|
||||
required_field:
|
||||
"payment_method_data.bank_transfer.pix.destination_bank_account_id"
|
||||
.to_string(),
|
||||
display_name: "destination_bank_account_id".to_string(),
|
||||
field_type: FieldType::UserDestinationBankAccountId,
|
||||
value: None,
|
||||
},
|
||||
),
|
||||
Self::GiftCardNumber => (
|
||||
"payment_method_data.gift_card.number".to_string(),
|
||||
RequiredFieldInfo {
|
||||
@ -3309,7 +3297,6 @@ fn get_bank_transfer_required_fields() -> HashMap<enums::PaymentMethodType, Conn
|
||||
non_mandate: HashMap::new(),
|
||||
common: HashMap::from([
|
||||
RequiredField::PixSourceBankAccountId.to_tuple(),
|
||||
RequiredField::PixDestinationBankAccountId.to_tuple(),
|
||||
RequiredField::BillingAddressCountries(vec!["BR"]).to_tuple(),
|
||||
RequiredField::BillingUserFirstName.to_tuple(),
|
||||
RequiredField::BillingUserLastName.to_tuple(),
|
||||
|
||||
Reference in New Issue
Block a user