Skip to content

Commit

Permalink
fix(payment_methods_v2): Fixed errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak1799 committed Aug 22, 2024
1 parent 5009e57 commit 0dd4f3d
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions crates/router/src/core/payment_methods/cards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,19 @@ use std::{
any(feature = "v1", feature = "v2"),
not(feature = "payment_methods_v2")
))]
use api_models::{
admin::PaymentMethodsEnabled,
payment_methods::{
CardNetworkTypes, PaymentExperienceTypes, RequiredFieldInfo, ResponsePaymentMethodTypes,
},
pm_auth::PaymentMethodAuthConfig,
};
use api_models::admin::PaymentMethodsEnabled;
use api_models::{
enums as api_enums,
payment_methods::{
BankAccountTokenData, Card, CardDetailUpdate, CardDetailsPaymentMethod,
BankAccountTokenData, Card, CardDetailUpdate, CardDetailsPaymentMethod, CardNetworkTypes,
CountryCodeWithName, CustomerDefaultPaymentMethodResponse, ListCountriesCurrenciesRequest,
ListCountriesCurrenciesResponse, MaskedBankDetails, PaymentMethodsData,
RequestPaymentMethodTypes, ResponsePaymentMethodIntermediate,
ListCountriesCurrenciesResponse, MaskedBankDetails, PaymentExperienceTypes,
PaymentMethodsData, RequestPaymentMethodTypes, RequiredFieldInfo,
ResponsePaymentMethodIntermediate, ResponsePaymentMethodTypes,
ResponsePaymentMethodsEnabled,
},
payments::BankCodeResponse,
pm_auth::PaymentMethodAuthConfig,
surcharge_decision_configs as api_surcharge_decision_configs,
};
use common_enums::{enums::MerchantStorageScheme, ConnectorType};
Expand Down

0 comments on commit 0dd4f3d

Please # to comment.