text
stringlengths
70
351k
source
stringclasses
4 values
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/cache.rs | crate: router use common_utils::errors::CustomResult; use error_stack::{report, ResultExt}; use storage_impl::redis::cache::{redact_from_redis_and_publish, CacheKind}; use super::errors; use crate::{routes::SessionState, services}; pub async fn inval...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/locker_migration.rs | crate: router use api_models::enums as api_enums; use api_models::locker_migration::MigrateCardResponse; use common_utils::{errors::CustomResult, id_type}; use diesel_models::enums as storage_enums; use error_stack::FutureExt; use error_st...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/locker_migration.rs | crate: router use common_utils::{errors::CustomResult, id_type}; use super::errors::StorageErrorExt; use crate::{errors, routes::SessionState, services, types::domain}; pub async fn call_to_locker( _state: &SessionState, _payment_m...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/locker_migration.rs | crate: router use api_models::locker_migration::MigrateCardResponse; use common_utils::{errors::CustomResult, id_type}; use super::errors::StorageErrorExt; use crate::services::logger; use crate::{errors, routes::SessionState, services, ty...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/locker_migration.rs | crate: router use api_models::enums as api_enums; use common_utils::{errors::CustomResult, id_type}; use diesel_models::enums as storage_enums; use super::errors::StorageErrorExt; use super::payment_methods::cards; use crate::services::log...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/conditional_config.rs | crate: router use api_models::conditional_configs::DecisionManagerRequest; use api_models::conditional_configs::{ DecisionManager, DecisionManagerRecord, DecisionManagerResponse, }; use common_utils::ext_traits::StringExt; use common...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/conditional_config.rs | crate: router use api_models::conditional_configs::DecisionManagerRequest; use api_models::conditional_configs::{ DecisionManager, DecisionManagerRecord, DecisionManagerResponse, }; use common_utils::ext_traits::StringExt; use common...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/conditional_config.rs | crate: router use api_models::conditional_configs::{ DecisionManager, DecisionManagerRecord, DecisionManagerResponse, }; use common_utils::types::keymanager::KeyManagerState; use crate::{ core::errors::{self, RouterResponse}, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/conditional_config.rs | crate: router use api_models::conditional_configs::{ DecisionManager, DecisionManagerRecord, DecisionManagerResponse, }; use crate::{ core::errors::{self, RouterResponse}, routes::SessionState, services::api as service_ap...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/conditional_config.rs | crate: router use crate::{ core::errors::{self, RouterResponse}, routes::SessionState, services::api as service_api, types::domain, }; pub async fn delete_conditional_config( _state: SessionState, _key_store: doma...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/conditional_config.rs | crate: router use api_models::conditional_configs::DecisionManagerRequest; use api_models::conditional_configs::{ DecisionManager, DecisionManagerRecord, DecisionManagerResponse, }; use common_utils::ext_traits::StringExt; use common...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router use self::{ flows::{self as frm_flows, FeatureFrm}, types::{ self as frm_core_types, ConnectorDetailsCore, FrmConfigsObject, FrmData, FrmInfo, PaymentDetails, PaymentToFrmData, }, }; use super::errors::...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router use self::{ flows::{self as frm_flows, FeatureFrm}, types::{ self as frm_core_types, ConnectorDetailsCore, FrmConfigsObject, FrmData, FrmInfo, PaymentDetails, PaymentToFrmData, }, }; use super::errors::...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router use common_enums::CaptureMethod; use router_env::{ logger, tracing::{self, instrument}, }; use self::{ flows::{self as frm_flows, FeatureFrm}, types::{ self as frm_core_types, ConnectorDetailsCore, FrmConfi...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router use masking::PeekInterface; use self::{ flows::{self as frm_flows, FeatureFrm}, types::{ self as frm_core_types, ConnectorDetailsCore, FrmConfigsObject, FrmData, FrmInfo, PaymentDetails, PaymentToFrmData, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router use self::{ flows::{self as frm_flows, FeatureFrm}, types::{ self as frm_core_types, ConnectorDetailsCore, FrmConfigsObject, FrmData, FrmInfo, PaymentDetails, PaymentToFrmData, }, }; use crate::{ co...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router use std::fmt::Debug; pub fn is_operation_allowed<Op: Debug>(operation: &Op) -> bool { <|fim_suffix|> <|fim_middle|> }
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router use api_models::{self, enums as api_enums}; fn fraud_check_operation_by_frm_preferred_flow_type<F, D>( frm_preferred_flow_type: api_enums::FrmPreferredFlowTypes, ) -> operation::BoxedFraudCheckOperation<F, D> where operati...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router use self::{ flows::{self as frm_flows, FeatureFrm}, types::{ self as frm_core_types, ConnectorDetailsCore, FrmConfigsObject, FrmData, FrmInfo, PaymentDetails, PaymentToFrmData, }, }; use crate::{ co...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router use self::{ flows::{self as frm_flows, FeatureFrm}, types::{ self as frm_core_types, ConnectorDetailsCore, FrmConfigsObject, FrmData, FrmInfo, PaymentDetails, PaymentToFrmData, }, }; use crate::{ co...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router use router_env::{ logger, tracing::{self, instrument}, }; use self::{ flows::{self as frm_flows, FeatureFrm}, types::{ self as frm_core_types, ConnectorDetailsCore, FrmConfigsObject, FrmData, FrmInfo, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router use api_models::{self, enums as api_enums}; use router_env::{ logger, tracing::{self, instrument}, }; use self::{ flows::{self as frm_flows, FeatureFrm}, types::{ self as frm_core_types, ConnectorDetailsCor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/fraud_check.rs | crate: router Option<FrmConfigsObject>, )> where F: Send + Clone, D: payments::OperationSessionGetters<F> + Send + Sync + Clone, { // Frm routing algorithm is not present in the merchant account // it has to be fetched from ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/configs.rs | crate: router use crate::{ core::errors::{self, utils::StorageErrorExt, RouterResponse}, routes::SessionState, services::ApplicationResponse, types::{api, transformers::ForeignInto}, }; pub async fn config_delete(state: SessionState...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/configs.rs | crate: router use crate::{ core::errors::{self, utils::StorageErrorExt, RouterResponse}, routes::SessionState, services::ApplicationResponse, types::{api, transformers::ForeignInto}, }; pub async fn update_config( state: Session...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/configs.rs | crate: router use crate::{ core::errors::{self, utils::StorageErrorExt, RouterResponse}, routes::SessionState, services::ApplicationResponse, types::{api, transformers::ForeignInto}, }; pub async fn read_config(state: SessionState, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/configs.rs | crate: router use crate::{ core::errors::{self, utils::StorageErrorExt, RouterResponse}, routes::SessionState, services::ApplicationResponse, types::{api, transformers::ForeignInto}, }; pub async fn set_config(state: SessionState, c...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/encryption.rs | crate: router use common_utils::{ keymanager::transfer_key_to_key_manager, types::keymanager::{EncryptionTransferRequest, Identifier}, }; use crate::{consts::BASE64_ENGINE, errors, types::domain::UserKeyStore, SessionState}; pub async fn...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/encryption.rs | crate: router use common_utils::{ keymanager::transfer_key_to_key_manager, types::keymanager::{EncryptionTransferRequest, Identifier}, }; use hyperswitch_domain_models::merchant_key_store::MerchantKeyStore; use crate::{consts::BASE64_ENG...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/encryption.rs | crate: router use api_models::admin::MerchantKeyTransferRequest; use crate::{consts::BASE64_ENGINE, errors, types::domain::UserKeyStore, SessionState}; pub async fn transfer_encryption_key( state: &SessionState, req: MerchantKeyTransferR...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/blocklist.rs | crate: router use api_models::blocklist as api_blocklist; use crate::{ core::errors::{self, RouterResponse}, routes::SessionState, services, types::domain, }; pub async fn toggle_blocklist_guard( state: SessionState, merch...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/blocklist.rs | crate: router use api_models::blocklist as api_blocklist; use crate::{ core::errors::{self, RouterResponse}, routes::SessionState, services, types::domain, }; pub async fn list_blocklist_entries( state: SessionState, merch...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/blocklist.rs | crate: router use api_models::blocklist as api_blocklist; use crate::{ core::errors::{self, RouterResponse}, routes::SessionState, services, types::domain, }; pub async fn remove_entry_from_blocklist( state: SessionState, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/blocklist.rs | crate: router use api_models::blocklist as api_blocklist; use crate::{ core::errors::{self, RouterResponse}, routes::SessionState, services, types::domain, }; pub async fn add_entry_to_blocklist( state: SessionState, merch...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/files.rs | crate: router use super::errors::{self, RouterResponse}; use crate::{ consts, routes::SessionState, services::ApplicationResponse, types::{api, domain}, }; pub async fn files_retrieve_core( state: SessionState, merchant_accoun...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/files.rs | crate: router use api_models::files; use super::errors::{self, RouterResponse}; use crate::{ consts, routes::SessionState, services::ApplicationResponse, types::{api, domain}, }; pub async fn files_create_core( state: SessionState...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/files.rs | crate: router use super::errors::{self, RouterResponse}; use crate::{ consts, routes::SessionState, services::ApplicationResponse, types::{api, domain}, }; pub async fn files_delete_core( state: SessionState, merchant_account:...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/currency.rs | crate: router use analytics::errors::AnalyticsError; use common_utils::errors::CustomResult; use currency_conversion::types::ExchangeRates; use router_env::logger; use crate::{ consts::DEFAULT_ANALYTICS_FOREX_RETRY_ATTEMPTS, core::errors::...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/currency.rs | crate: router use common_utils::errors::CustomResult; use crate::{ consts::DEFAULT_ANALYTICS_FOREX_RETRY_ATTEMPTS, core::errors::ApiErrorResponse, services::ApplicationResponse, utils::currency::{self, convert_currency, get_forex_r...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/currency.rs | crate: router use common_utils::errors::CustomResult; use crate::{ consts::DEFAULT_ANALYTICS_FOREX_RETRY_ATTEMPTS, core::errors::ApiErrorResponse, services::ApplicationResponse, utils::currency::{self, convert_currency, get_forex_r...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/surcharge_decision_config.rs | crate: router use api_models::surcharge_decision_configs::{ SurchargeDecisionConfigReq, SurchargeDecisionManagerRecord, SurchargeDecisionManagerResponse, }; use common_utils::ext_traits::StringExt; use error_stack::ResultExt; ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/surcharge_decision_config.rs | crate: router use api_models::surcharge_decision_configs::{ SurchargeDecisionConfigReq, SurchargeDecisionManagerRecord, SurchargeDecisionManagerResponse, }; use crate::{ core::errors::{self, RouterResponse}, routes::Se...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/surcharge_decision_config.rs | crate: router use crate::{ core::errors::{self, RouterResponse}, routes::SessionState, services::api as service_api, types::domain, }; pub async fn delete_surcharge_decision_config( _state: SessionState, _k...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/surcharge_decision_config.rs | crate: router use api_models::surcharge_decision_configs::{ SurchargeDecisionConfigReq, SurchargeDecisionManagerRecord, SurchargeDecisionManagerResponse, }; use crate::{ core::errors::{self, RouterResponse}, routes::Se...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/surcharge_decision_config.rs | crate: router use api_models::surcharge_decision_configs::{ SurchargeDecisionConfigReq, SurchargeDecisionManagerRecord, SurchargeDecisionManagerResponse, }; use common_utils::ext_traits::StringExt; use error_stack::ResultExt; ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/connector_onboarding.rs | crate: router use api_models::{connector_onboarding as api, enums}; use masking::Secret; use crate::{ core::errors::{ApiErrorResponse, RouterResponse, RouterResult}, routes::app::ReqState, services::{authentication as auth,...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/connector_onboarding.rs | crate: router use api_models::{connector_onboarding as api, enums}; use crate::{ core::errors::{ApiErrorResponse, RouterResponse, RouterResult}, routes::app::ReqState, services::{authentication as auth, ApplicationResponse}...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/connector_onboarding.rs | crate: router use api_models::{connector_onboarding as api, enums}; use crate::{ core::errors::{ApiErrorResponse, RouterResponse, RouterResult}, routes::app::ReqState, services::{authentication as auth, ApplicationResponse}...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/payment_methods.rs | crate: router use common_utils::{ext_traits::OptionExt, id_type}; use super::errors; use crate::{db::errors::StorageErrorExt, routes, types::domain}; pub async fn list_payment_methods( state: routes::SessionState, merchant_...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/payment_methods.rs | crate: router use super::errors; use crate::{db::errors::StorageErrorExt, routes, types::domain}; /// Validate if payment methods list can be performed on the current status of payment intent fn validate_payment_status_for_payment_...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/payment_methods.rs | crate: router fn perform_filtering(self) -> FilteredPaymentMethodsEnabled { <|fim_suffix|> <|fim_middle|> }
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/payment_methods.rs | crate: router fn perform_surcharge_calculation( self, ) -> RequiredFieldsAndSurchargeForEnabledPaymentMethodTypes { {<|fim_suffix|> <|fim_middle|> }}
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/payment_methods.rs | crate: router fn generate_response(self) -> api_models::payments::PaymentMethodListResponseForPayments { <|fim_suffix|> <|fim_middle|> }
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/payment_methods.rs | crate: router fn get_required_fields( self, _input: RequiredFieldsInput, ) -> RequiredFieldsForEnabledPaymentMethodTypes { <|fim_suffix|> <|fim_middle|> }
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/payment_methods.rs | crate: router fn new() -> Self { <|fim_suffix|> <|fim_middle|> }
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/conditional_configs.rs | crate: router use api_models::{conditional_configs::DecisionManagerRecord, routing}; use common_utils::ext_traits::StringExt; use euclid::backend::{self, inputs as dsl_inputs, EuclidBackend}; use storage_impl::redis::cache::{se...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/conditional_configs.rs | crate: router use euclid::backend::{self, inputs as dsl_inputs, EuclidBackend}; use crate::{ core::{errors, errors::ConditionalConfigError as ConfigError, routing as core_routing}, routes, }; pub type ConditionalConfigR...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/conditional_configs.rs | crate: router use api_models::{conditional_configs::DecisionManagerRecord, routing}; use euclid::backend::{self, inputs as dsl_inputs, EuclidBackend}; use super::routing::make_dsl_input; use crate::{core::errors::RouterResult, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/flows.rs | crate: router use hyperswitch_domain_models::{ mandates::CustomerAcceptance, router_flow_types::{ Authenticate, AuthenticationConfirmation, PostAuthenticate, PreAuthenticate, }, router_request_types::PaymentsCaptureDa...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/flows.rs | crate: router use hyperswitch_domain_models::router_flow_types::{ BillingConnectorPaymentsSync, RecoveryRecordBack, }; use hyperswitch_domain_models::{ mandates::CustomerAcceptance, router_flow_types::{ Authenticate, Auth...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/flows.rs | crate: router use hyperswitch_domain_models::{ mandates::CustomerAcceptance, router_flow_types::{ Authenticate, AuthenticationConfirmation, PostAuthenticate, PreAuthenticate, }, router_request_types::PaymentsCaptureDa...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/flows.rs | crate: router use crate::{ connector, core::{ errors::{ApiErrorResponse, ConnectorError, CustomResult, RouterResult}, payments::{self, helpers}, }, logger, routes::SessionState, services, types as rout...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/flows.rs | crate: router use hyperswitch_interfaces::api::{ payouts::Payouts, UasAuthentication, UasAuthenticationConfirmation, UasPostAuthentication, UasPreAuthentication, UnifiedAuthenticationService, }; use crate::{ connector, core::...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/flows.rs | crate: router use hyperswitch_interfaces::api::{ payouts::Payouts, UasAuthentication, UasAuthenticationConfirmation, UasPostAuthentication, UasPreAuthentication, UnifiedAuthenticationService, }; use crate::types::fraud_check as frm_t...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/flows.rs | crate: router use hyperswitch_interfaces::api::{ payouts::Payouts, UasAuthentication, UasAuthenticationConfirmation, UasPostAuthentication, UasPreAuthentication, UnifiedAuthenticationService, }; use crate::types::fraud_check as frm_t...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/flows.rs | crate: router use hyperswitch_interfaces::api::{ payouts::Payouts, UasAuthentication, UasAuthenticationConfirmation, UasPostAuthentication, UasPreAuthentication, UnifiedAuthenticationService, }; use crate::types::fraud_check as frm_t...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/flows.rs | crate: router use hyperswitch_interfaces::api::{ payouts::Payouts, UasAuthentication, UasAuthenticationConfirmation, UasPostAuthentication, UasPreAuthentication, UnifiedAuthenticationService, }; use crate::types::fraud_check as frm_t...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/flows.rs | crate: router use hyperswitch_interfaces::api::{ payouts::Payouts, UasAuthentication, UasAuthenticationConfirmation, UasPostAuthentication, UasPreAuthentication, UnifiedAuthenticationService, }; use crate::types::fraud_check as frm_t...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use api_models::enums::FrmSuggestion; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, operations, types as payment_types...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use api_models::enums::FrmSuggestion; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, operations, types as payment_types...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, operations, types as payment_types, CustomerDetails, PaymentAddress, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use api_models::enums::FrmSuggestion; use super::{BoxedOperation, Domain, GetTracker, Operation, UpdateTracker, ValidateRequest}; use crate::{ core::{ errors::{self, CustomResult, RouterResult, S...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, operations, types as payment_types, CustomerDetails, PaymentAddress, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, operations, types as payment_types, CustomerDetails, PaymentAddress, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, operations, types as payment_types, CustomerDetails, PaymentAddress, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, operations, types as payment_types, CustomerDetails, PaymentAddress, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use api_models::enums::FrmSuggestion; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, operations, types as payment_types...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use api_models::enums::FrmSuggestion; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, operations, types as payment_types...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use super::{BoxedOperation, Domain, GetTracker, Operation, UpdateTracker, ValidateRequest}; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use super::{BoxedOperation, Domain, GetTracker, Operation, UpdateTracker, ValidateRequest}; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use api_models::enums::FrmSuggestion; use common_utils::{ext_traits::AsyncExt, types::keymanager::KeyManagerState}; use error_stack::ResultExt; use crate::{ core::{ errors::{self, CustomResult, R...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_status.rs | crate: router use std::marker::PhantomData; use api_models::enums::FrmSuggestion; use router_env::{instrument, logger, tracing}; use super::{BoxedOperation, Domain, GetTracker, Operation, UpdateTracker, ValidateRequest}; ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_get.rs | crate: router use hyperswitch_domain_models::payments::PaymentStatusData; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, ope...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_get.rs | crate: router use hyperswitch_domain_models::payments::PaymentStatusData; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, ope...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_get.rs | crate: router use api_models::{enums::FrmSuggestion, payments::PaymentsRetrieveRequest}; use hyperswitch_domain_models::payments::PaymentStatusData; use crate::{ core::{ errors::{self, CustomResult, RouterResult,...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_get.rs | crate: router use hyperswitch_domain_models::payments::PaymentStatusData; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, ope...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_get.rs | crate: router use api_models::{enums::FrmSuggestion, payments::PaymentsRetrieveRequest}; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_get.rs | crate: router use api_models::{enums::FrmSuggestion, payments::PaymentsRetrieveRequest}; use super::{Domain, GetTracker, Operation, UpdateTracker, ValidateRequest}; use crate::{ core::{ errors::{self, CustomResul...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_get.rs | crate: router use api_models::{enums::FrmSuggestion, payments::PaymentsRetrieveRequest}; use super::{Domain, GetTracker, Operation, UpdateTracker, ValidateRequest}; use crate::{ core::{ errors::{self, CustomResul...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_get.rs | crate: router use api_models::{enums::FrmSuggestion, payments::PaymentsRetrieveRequest}; use super::{Domain, GetTracker, Operation, UpdateTracker, ValidateRequest}; use crate::{ core::{ errors::{self, CustomResul...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_get.rs | crate: router use api_models::{enums::FrmSuggestion, payments::PaymentsRetrieveRequest}; use super::{Domain, GetTracker, Operation, UpdateTracker, ValidateRequest}; use crate::{ core::{ errors::{self, CustomResul...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_get.rs | crate: router use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, operations::{self, ValidateStatusForOperation}, }, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_get.rs | crate: router use api_models::{enums::FrmSuggestion, payments::PaymentsRetrieveRequest}; use common_utils::ext_traits::AsyncExt; use hyperswitch_domain_models::payments::PaymentStatusData; use crate::{ core::{ er...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_capture_v2.rs | crate: router use api_models::{enums::FrmSuggestion, payments::PaymentsCaptureRequest}; use hyperswitch_domain_models::payments::PaymentCaptureData; use crate::{ core::{ errors::{self, CustomResult, Router...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_capture_v2.rs | crate: router use hyperswitch_domain_models::payments::PaymentCaptureData; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_capture_v2.rs | crate: router use hyperswitch_domain_models::payments::PaymentCaptureData; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_capture_v2.rs | crate: router use api_models::{enums::FrmSuggestion, payments::PaymentsCaptureRequest}; use hyperswitch_domain_models::payments::PaymentCaptureData; use crate::{ core::{ errors::{self, CustomResult, Router...
ast_fragments
// file: hyperswitch/crates/router/src/core/payments/operations/payment_capture_v2.rs | crate: router use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, operations::{self, ValidateStatusForOperation}, }, util...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_capture_v2.rs | crate: router use hyperswitch_domain_models::payments::PaymentCaptureData; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ helpers, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/core/payments/operations/payment_capture_v2.rs | crate: router use api_models::{enums::FrmSuggestion, payments::PaymentsCaptureRequest}; use crate::{ core::{ errors::{self, CustomResult, RouterResult, StorageErrorExt}, payments::{ hel...
ast_fragments