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