mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
Merge branch 'diff-fork' of https://github.com/juspay/hyperswitch into diff-fork
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
//! Errors and error specific types for universal use
|
||||
|
||||
use crate::types::MinorUnit;
|
||||
use serde::Serialize;
|
||||
|
||||
use crate::types::MinorUnit;
|
||||
|
||||
/// Custom Result
|
||||
/// A custom datatype that wraps the error variant <E> into a report, allowing
|
||||
/// error_stack::Report<E> specific extendability
|
||||
|
||||
@ -4,11 +4,6 @@ pub mod revenue_recovery;
|
||||
pub mod subscriptions;
|
||||
use std::collections::HashMap;
|
||||
|
||||
use crate::{
|
||||
errors::api_error_response::ApiErrorResponse,
|
||||
router_request_types::{authentication::AuthNFlowType, ResponseId},
|
||||
vault::PaymentMethodVaultingData,
|
||||
};
|
||||
use api_models::payments::AddressDetails;
|
||||
use common_utils::{pii, request::Method, types::MinorUnit};
|
||||
pub use disputes::{
|
||||
@ -17,6 +12,12 @@ pub use disputes::{
|
||||
};
|
||||
use serde::Serialize;
|
||||
|
||||
use crate::{
|
||||
errors::api_error_response::ApiErrorResponse,
|
||||
router_request_types::{authentication::AuthNFlowType, ResponseId},
|
||||
vault::PaymentMethodVaultingData,
|
||||
};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct RefundsResponseData {
|
||||
pub connector_refund_id: String,
|
||||
|
||||
@ -63,8 +63,7 @@ use crate::{
|
||||
core::{
|
||||
api_locking,
|
||||
errors::{self, CustomResult},
|
||||
payments, unified_connector_service,
|
||||
utils as core_utils,
|
||||
payments, unified_connector_service, utils as core_utils,
|
||||
},
|
||||
events::{
|
||||
api_logs::{ApiEvent, ApiEventMetric, ApiEventsType},
|
||||
|
||||
Reference in New Issue
Block a user