chore: code refinement

This commit is contained in:
Amitsingh Tanwar
2025-10-24 18:28:19 +05:30
parent 7e08d4489b
commit 6cb029a463
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,5 @@
use common_enums::AttemptStatus;
use common_types::primitive_wrappers::{ExtendedAuthorizationAppliedBool, OvercaptureEnabledBool};
use hyperswitch_domain_models::{
router_data::{
AdditionalPaymentMethodConnectorResponse, ConnectorResponseData, ErrorResponse,
@ -8,7 +9,6 @@ use hyperswitch_domain_models::{
};
use crate::{helpers::ForeignTryFrom, unified_connector_service::payments_grpc};
use common_types::primitive_wrappers::{ExtendedAuthorizationAppliedBool, OvercaptureEnabledBool};
/// Unified Connector Service error variants
#[derive(Debug, Clone, thiserror::Error)]

View File

@ -1,7 +1,5 @@
use std::{borrow::Cow, collections::HashSet, net::IpAddr, ops::Deref, str::FromStr};
pub use hyperswitch_domain_models::customer;
pub use ::payment_methods::helpers::{
populate_bin_details_for_payment_method_create,
validate_payment_method_type_against_payment_method,
@ -36,6 +34,7 @@ use error_stack::{report, ResultExt};
#[cfg(feature = "v1")]
use external_services::grpc_client;
use futures::future::Either;
pub use hyperswitch_domain_models::customer;
#[cfg(feature = "v1")]
use hyperswitch_domain_models::payments::payment_intent::CustomerData;
use hyperswitch_domain_models::{