text
stringlengths
65
57.3k
file_path
stringlengths
22
92
module
stringclasses
38 values
type
stringclasses
7 values
struct_name
stringlengths
3
60
impl_count
int64
0
60
traits
listlengths
0
59
tokens
int64
16
8.19k
function_name
stringlengths
3
85
type_name
stringlengths
1
67
trait_name
stringclasses
573 values
method_count
int64
0
31
public_method_count
int64
0
19
submodule_count
int64
0
56
export_count
int64
0
9
// Struct: LocalPrice // File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct LocalPrice
crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
hyperswitch_connectors
struct_definition
LocalPrice
0
[]
46
null
null
null
null
null
null
null
// File: crates/api_models/src/events/gsm.rs // Module: api_models use common_utils::events::{ApiEventMetric, ApiEventsType}; use crate::gsm; impl ApiEventMetric for gsm::GsmCreateRequest { fn get_api_event_type(&self) -> Option<ApiEventsType> { Some(ApiEventsType::Gsm) } } impl ApiEventMetric for g...
crates/api_models/src/events/gsm.rs
api_models
full_file
null
null
null
289
null
null
null
null
null
null
null
// Struct: ApiKeyExpiryWorkflow // File: crates/router/src/workflows/api_key_expiry.rs // Module: router // Implementations: 0 pub struct ApiKeyExpiryWorkflow
crates/router/src/workflows/api_key_expiry.rs
router
struct_definition
ApiKeyExpiryWorkflow
0
[]
41
null
null
null
null
null
null
null
// Function: track_database_call // File: crates/diesel_models/src/query/generics.rs // Module: diesel_models pub fn track_database_call<T, Fut, U>(future: Fut, operation: DatabaseOperation) -> U where Fut: std::future::Future<Output = U>,
crates/diesel_models/src/query/generics.rs
diesel_models
function_signature
null
null
null
66
track_database_call
null
null
null
null
null
null
// Function: update_payment_method_status_internal // File: crates/router/src/core/payment_methods.rs // Module: router pub fn update_payment_method_status_internal( state: &SessionState, key_store: &domain::MerchantKeyStore, storage_scheme: enums::MerchantStorageScheme, status: enums::PaymentMethodSta...
crates/router/src/core/payment_methods.rs
router
function_signature
null
null
null
94
update_payment_method_status_internal
null
null
null
null
null
null
db.delete_payment_method_by_merchant_id_payment_method_id( &(self.state.into()), self.merchant_context.get_merchant_key_store(), self.merchant_context.get_merchant_account().get_id(), pm_id.payment_method_id.as_str(), ) .await .to_not_found...
crates/router/src/core/payment_methods/cards.rs#chunk1
router
chunk
null
null
null
8,183
null
null
null
null
null
null
null
// Struct: DummyConnectorRefundRequest // File: crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct DummyConnectorRefundRequest
crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs
hyperswitch_connectors
struct_definition
DummyConnectorRefundRequest
0
[]
52
null
null
null
null
null
null
null
// Struct: RefundListConstraints // File: crates/hyperswitch_domain_models/src/refunds.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct RefundListConstraints
crates/hyperswitch_domain_models/src/refunds.rs
hyperswitch_domain_models
struct_definition
RefundListConstraints
0
[]
44
null
null
null
null
null
null
null
// Struct: GigadatCpiRequest // File: crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct GigadatCpiRequest
crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs
hyperswitch_connectors
struct_definition
GigadatCpiRequest
0
[]
55
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs // Module: hyperswitch_connectors // Public structs: 1 use common_utils::errors::CustomResult; use error_stack::report; use hyperswitch_domain_models::{ router_data::{AccessToken, RouterData}, router_flow_types::{ access_token_auth...
crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
hyperswitch_connectors
full_file
null
null
null
1,046
null
null
null
null
null
null
null
// Implementation: impl RetryLimitsConfig // File: crates/router/src/types/storage/revenue_recovery.rs // Module: router // Methods: 1 total (1 public) impl RetryLimitsConfig
crates/router/src/types/storage/revenue_recovery.rs
router
impl_block
null
null
null
40
null
RetryLimitsConfig
null
1
1
null
null
// Module Structure // File: crates/router/src/core/revenue_recovery.rs // Module: router // Public submodules: pub mod api; pub mod transformers; pub mod types;
crates/router/src/core/revenue_recovery.rs
router
module_structure
null
null
null
38
null
null
null
null
null
3
0
// File: crates/router/src/bin/scheduler.rs // Module: router // Public functions: 5 // Public structs: 2 use std::{collections::HashMap, str::FromStr, sync::Arc}; use actix_web::{dev::Server, web, Scope}; use api_models::health_check::SchedulerHealthCheckResponse; use common_utils::ext_traits::{OptionExt, StringExt}...
crates/router/src/bin/scheduler.rs
router
full_file
null
null
null
2,733
null
null
null
null
null
null
null
// Function: relay // File: crates/router/src/routes/relay.rs // Module: router pub fn relay( state: web::Data<app::AppState>, req: actix_web::HttpRequest, payload: web::Json<api_models::relay::RelayRequest>, ) -> impl Responder
crates/router/src/routes/relay.rs
router
function_signature
null
null
null
66
relay
null
null
null
null
null
null
// Struct: SignifydErrorResponse // File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct SignifydErrorResponse
crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
hyperswitch_connectors
struct_definition
SignifydErrorResponse
0
[]
51
null
null
null
null
null
null
null
// Function: server // File: crates/router/src/routes/app.rs // Module: router pub fn server(state: AppState) -> Scope
crates/router/src/routes/app.rs
router
function_signature
null
null
null
29
server
null
null
null
null
null
null
// Struct: BillwerkErrorResponse // File: crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BillwerkErrorResponse
crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs
hyperswitch_connectors
struct_definition
BillwerkErrorResponse
0
[]
48
null
null
null
null
null
null
null
// Function: get_request_id // File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs // Module: hyperswitch_interfaces // Documentation: Returns the request ID of the event. pub fn get_request_id(&self) -> &str
crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
hyperswitch_interfaces
function_signature
null
null
null
53
get_request_id
null
null
null
null
null
null
// Implementation: impl api::PaymentAuthorize for for Adyen // File: crates/hyperswitch_connectors/src/connectors/adyen.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentAuthorize for for Adyen
crates/hyperswitch_connectors/src/connectors/adyen.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Adyen
api::PaymentAuthorize for
0
0
null
null
// Implementation: impl ConnectorTransactionId for for Helcim // File: crates/hyperswitch_connectors/src/connectors/helcim.rs // Module: hyperswitch_connectors // Methods: 2 total (0 public) impl ConnectorTransactionId for for Helcim
crates/hyperswitch_connectors/src/connectors/helcim.rs
hyperswitch_connectors
impl_block
null
null
null
59
null
Helcim
ConnectorTransactionId for
2
0
null
null
// Implementation: impl api::RefundExecute for for Mollie // File: crates/hyperswitch_connectors/src/connectors/mollie.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::RefundExecute for for Mollie
crates/hyperswitch_connectors/src/connectors/mollie.rs
hyperswitch_connectors
impl_block
null
null
null
62
null
Mollie
api::RefundExecute for
0
0
null
null
// Implementation: impl api::MandateSetup for for Authipay // File: crates/hyperswitch_connectors/src/connectors/authipay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::MandateSetup for for Authipay
crates/hyperswitch_connectors/src/connectors/authipay.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Authipay
api::MandateSetup for
0
0
null
null
// Function: get_three_ds_decision_rule_output // File: crates/router/src/core/three_ds_decision_rule.rs // Module: router pub fn get_three_ds_decision_rule_output( state: &SessionState, merchant_id: &common_utils::id_type::MerchantId, request: api_models::three_ds_decision_rule::ThreeDsDecisionRuleExecute...
crates/router/src/core/three_ds_decision_rule.rs
router
function_signature
null
null
null
97
get_three_ds_decision_rule_output
null
null
null
null
null
null
// Trait: Operation // File: crates/router/src/core/payments/operations.rs // Module: router pub trait Operation<F: Clone, T>: Send + std::fmt::Debug
crates/router/src/core/payments/operations.rs
router
trait_definition
null
null
null
39
null
null
Operation
null
null
null
null
// Implementation: impl Responder // File: crates/router/src/analytics.rs // Module: router // Methods: 0 total (0 public) impl Responder
crates/router/src/analytics.rs
router
impl_block
null
null
null
35
null
Responder
null
0
0
null
null
// Struct: RSyncSearchData // File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RSyncSearchData
crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
hyperswitch_connectors
struct_definition
RSyncSearchData
0
[]
50
null
null
null
null
null
null
null
// Implementation: impl RefundMetricAccumulator for for RefundProcessedAmountAccumulator // File: crates/analytics/src/refunds/accumulator.rs // Module: analytics // Methods: 2 total (0 public) impl RefundMetricAccumulator for for RefundProcessedAmountAccumulator
crates/analytics/src/refunds/accumulator.rs
analytics
impl_block
null
null
null
64
null
RefundProcessedAmountAccumulator
RefundMetricAccumulator for
2
0
null
null
// File: crates/router/src/core/authentication/utils.rs // Module: router // Public functions: 5 use common_utils::ext_traits::AsyncExt; use error_stack::ResultExt; use hyperswitch_domain_models::router_data_v2::ExternalAuthenticationFlowData; use masking::ExposeInterface; use crate::{ consts, core::{ ...
crates/router/src/core/authentication/utils.rs
router
full_file
null
null
null
2,885
null
null
null
null
null
null
null
// Function: build_and_send_decision_engine_http_request // File: crates/router/src/core/payments/routing/utils.rs // Module: router pub fn build_and_send_decision_engine_http_request<Req, Res, ErrRes>( state: &SessionState, http_method: services::Method, path: &str, request_body: Option<Req>, _tim...
crates/router/src/core/payments/routing/utils.rs
router
function_signature
null
null
null
178
build_and_send_decision_engine_http_request
null
null
null
null
null
null
// Struct: ErrorResponse // File: crates/hyperswitch_connectors/src/connectors/payone/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ErrorResponse
crates/hyperswitch_connectors/src/connectors/payone/transformers.rs
hyperswitch_connectors
struct_definition
ErrorResponse
0
[]
43
null
null
null
null
null
null
null
// Function: get_crm_client // File: crates/external_services/src/crm.rs // Module: external_services // Documentation: Retrieves the appropriate Crm client based on the configuration. pub fn get_crm_client(&self) -> Arc<dyn CrmInterface>
crates/external_services/src/crm.rs
external_services
function_signature
null
null
null
56
get_crm_client
null
null
null
null
null
null
// Function: signal_handler // File: crates/common_utils/src/signals.rs // Module: common_utils pub fn signal_handler(mut sig: signal_hook_tokio::Signals, sender: mpsc::Sender<()
crates/common_utils/src/signals.rs
common_utils
function_signature
null
null
null
45
signal_handler
null
null
null
null
null
null
// File: crates/analytics/src/refunds/accumulator.rs // Module: analytics // Public functions: 1 // Public structs: 9 use api_models::analytics::refunds::{ ErrorMessagesResult, ReasonsResult, RefundMetricsBucketValue, }; use bigdecimal::ToPrimitive; use diesel_models::enums as storage_enums; use super::{distribut...
crates/analytics/src/refunds/accumulator.rs
analytics
full_file
null
null
null
2,173
null
null
null
null
null
null
null
// Function: populate_vault_session_details // File: crates/router/src/core/payments/vault_session.rs // Module: router pub fn populate_vault_session_details<F, RouterDReq, ApiRequest, D>( state: &SessionState, req_state: ReqState, customer: &Option<domain::Customer>, merchant_context: &domain::Merchan...
crates/router/src/core/payments/vault_session.rs
router
function_signature
null
null
null
259
populate_vault_session_details
null
null
null
null
null
null
// File: crates/scheduler/src/consumer.rs // Module: scheduler // Public functions: 7 // TODO: Figure out what to log use std::{ sync::{self, atomic}, time as std_time, }; pub mod types; pub mod workflows; use common_utils::{errors::CustomResult, id_type, signals::get_allowed_signals}; use diesel_models::enu...
crates/scheduler/src/consumer.rs
scheduler
full_file
null
null
null
2,137
null
null
null
null
null
null
null
// Function: get_payments_aggregates // File: crates/router/src/routes/payments.rs // Module: router pub fn get_payments_aggregates( state: web::Data<app::AppState>, req: actix_web::HttpRequest, payload: web::Query<common_utils::types::TimeRange>, ) -> impl Responder
crates/router/src/routes/payments.rs
router
function_signature
null
null
null
73
get_payments_aggregates
null
null
null
null
null
null
// Implementation: impl api::Refund for for Adyen // File: crates/hyperswitch_connectors/src/connectors/adyen.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Adyen
crates/hyperswitch_connectors/src/connectors/adyen.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Adyen
api::Refund for
0
0
null
null
// Struct: RetryMapping // File: crates/scheduler/src/consumer/types/process_data.rs // Module: scheduler // Implementations: 0 pub struct RetryMapping
crates/scheduler/src/consumer/types/process_data.rs
scheduler
struct_definition
RetryMapping
0
[]
36
null
null
null
null
null
null
null
// File: crates/common_utils/src/tokenization.rs // Module: common_utils // Public functions: 1 //! Module for tokenization-related functionality //! //! This module provides types and functions for handling tokenized payment data, //! including response structures and token generation utilities. use crate::consts::T...
crates/common_utils/src/tokenization.rs
common_utils
full_file
null
null
null
130
null
null
null
null
null
null
null
// Struct: RefundData // File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RefundData
crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
hyperswitch_connectors
struct_definition
RefundData
0
[]
48
null
null
null
null
null
null
null
// Function: update_role // File: crates/router/src/routes/user_role.rs // Module: router pub fn update_role( state: web::Data<AppState>, req: HttpRequest, json_payload: web::Json<role_api::UpdateRoleRequest>, path: web::Path<String>, ) -> HttpResponse
crates/router/src/routes/user_role.rs
router
function_signature
null
null
null
67
update_role
null
null
null
null
null
null
// Implementation: impl Braintree // File: crates/hyperswitch_connectors/src/connectors/braintree.rs // Module: hyperswitch_connectors // Methods: 1 total (0 public) impl Braintree
crates/hyperswitch_connectors/src/connectors/braintree.rs
hyperswitch_connectors
impl_block
null
null
null
46
null
Braintree
null
1
0
null
null
// Struct: EuclidApiClient // File: crates/router/src/core/payments/routing/utils.rs // Module: router // Implementations: 1 // Traits: DecisionEngineApiHandler pub struct EuclidApiClient
crates/router/src/core/payments/routing/utils.rs
router
struct_definition
EuclidApiClient
1
[ "DecisionEngineApiHandler" ]
46
null
null
null
null
null
null
null
// Implementation: impl CardNetworkTokenizeExecutor // File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs // Module: router // Methods: 3 total (0 public) impl CardNetworkTokenizeExecutor
crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
router
impl_block
null
null
null
47
null
CardNetworkTokenizeExecutor
null
3
0
null
null
// Struct: PartnerReferralRequest // File: crates/router/src/types/api/connector_onboarding/paypal.rs // Module: router // Implementations: 1 pub struct PartnerReferralRequest
crates/router/src/types/api/connector_onboarding/paypal.rs
router
struct_definition
PartnerReferralRequest
1
[]
42
null
null
null
null
null
null
null
// File: crates/masking/src/secret.rs // Module: masking // Public functions: 5 // Public structs: 1 //! Structure describing secret. use std::{fmt, marker::PhantomData}; use crate::{strategy::Strategy, PeekInterface, StrongSecret}; /// Secret thing. /// /// To get access to value use method `expose()` of trait [`c...
crates/masking/src/secret.rs
masking
full_file
null
null
null
3,372
null
null
null
null
null
null
null
// Implementation: impl ConnectorValidation for for Katapult // File: crates/hyperswitch_connectors/src/connectors/katapult.rs // Module: hyperswitch_connectors // Methods: 2 total (0 public) impl ConnectorValidation for for Katapult
crates/hyperswitch_connectors/src/connectors/katapult.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Katapult
ConnectorValidation for
2
0
null
null
// Struct: PaysafePaymentsResponse // File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaysafePaymentsResponse
crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
hyperswitch_connectors
struct_definition
PaysafePaymentsResponse
0
[]
50
null
null
null
null
null
null
null
// Struct: ArchipelCard // File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ArchipelCard
crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
hyperswitch_connectors
struct_definition
ArchipelCard
0
[]
47
null
null
null
null
null
null
null
// Implementation: impl ForexMetric for for DisputeMetrics // File: crates/api_models/src/analytics/disputes.rs // Module: api_models // Methods: 1 total (0 public) impl ForexMetric for for DisputeMetrics
crates/api_models/src/analytics/disputes.rs
api_models
impl_block
null
null
null
50
null
DisputeMetrics
ForexMetric for
1
0
null
null
// Function: get_struct_fields // File: crates/router_derive/src/macros/helpers.rs // Module: router_derive pub fn get_struct_fields( data: syn::Data, ) -> syn::Result<Punctuated<syn::Field, syn::token::Comma>>
crates/router_derive/src/macros/helpers.rs
router_derive
function_signature
null
null
null
60
get_struct_fields
null
null
null
null
null
null
// Struct: GigadatErrorResponse // File: crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct GigadatErrorResponse
crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs
hyperswitch_connectors
struct_definition
GigadatErrorResponse
0
[]
51
null
null
null
null
null
null
null
// Function: toggle_blocklist_guard // File: crates/router/src/core/blocklist.rs // Module: router pub fn toggle_blocklist_guard( state: SessionState, merchant_context: domain::MerchantContext, query: api_blocklist::ToggleBlocklistQuery, ) -> RouterResponse<api_blocklist::ToggleBlocklistResponse>
crates/router/src/core/blocklist.rs
router
function_signature
null
null
null
72
toggle_blocklist_guard
null
null
null
null
null
null
// Implementation: impl api::ConnectorAccessToken for for Opayo // File: crates/hyperswitch_connectors/src/connectors/opayo.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::ConnectorAccessToken for for Opayo
crates/hyperswitch_connectors/src/connectors/opayo.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Opayo
api::ConnectorAccessToken for
0
0
null
null
// Struct: ConnectorDetailsCore // File: crates/router/src/core/fraud_check/types.rs // Module: router // Implementations: 0 pub struct ConnectorDetailsCore
crates/router/src/core/fraud_check/types.rs
router
struct_definition
ConnectorDetailsCore
0
[]
37
null
null
null
null
null
null
null
// Function: api_key_update // File: crates/openapi/src/routes/api_keys.rs // Module: openapi pub fn api_key_update()
crates/openapi/src/routes/api_keys.rs
openapi
function_signature
null
null
null
31
api_key_update
null
null
null
null
null
null
// Implementation: impl api::Refund for for Shift4 // File: crates/hyperswitch_connectors/src/connectors/shift4.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Shift4
crates/hyperswitch_connectors/src/connectors/shift4.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Shift4
api::Refund for
0
0
null
null
// Struct: FailedTransactionData // File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct FailedTransactionData
crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
hyperswitch_connectors
struct_definition
FailedTransactionData
0
[]
49
null
null
null
null
null
null
null
// Implementation: impl api::PaymentVoid for for Paytm // File: crates/hyperswitch_connectors/src/connectors/paytm.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentVoid for for Paytm
crates/hyperswitch_connectors/src/connectors/paytm.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Paytm
api::PaymentVoid for
0
0
null
null
// Module Structure // File: crates/hyperswitch_connectors/src/connectors/paytm.rs // Module: hyperswitch_connectors // Public submodules: pub mod transformers;
crates/hyperswitch_connectors/src/connectors/paytm.rs
hyperswitch_connectors
module_structure
null
null
null
38
null
null
null
null
null
1
0
// Struct: RoutingAlgorithmHelpers // File: crates/router/src/core/routing/helpers.rs // Module: router // Implementations: 1 pub struct RoutingAlgorithmHelpers<'h>
crates/router/src/core/routing/helpers.rs
router
struct_definition
RoutingAlgorithmHelpers
1
[]
39
null
null
null
null
null
null
null
// Struct: PaypalLiabilityResponse // File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaypalLiabilityResponse
crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
hyperswitch_connectors
struct_definition
PaypalLiabilityResponse
0
[]
49
null
null
null
null
null
null
null
// Struct: DeviceData // File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct DeviceData
crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
hyperswitch_connectors
struct_definition
DeviceData
0
[]
47
null
null
null
null
null
null
null
// Function: get_api_event_dimensions // File: crates/analytics/src/utils.rs // Module: analytics pub fn get_api_event_dimensions() -> Vec<NameDescription>
crates/analytics/src/utils.rs
analytics
function_signature
null
null
null
36
get_api_event_dimensions
null
null
null
null
null
null
// Function: refunds_retrieve // File: crates/router/src/routes/refunds.rs // Module: router pub fn refunds_retrieve( state: web::Data<AppState>, req: HttpRequest, path: web::Path<common_utils::id_type::GlobalRefundId>, query_params: web::Query<api_models::refunds::RefundsRetrieveBody>, ) -> HttpRespon...
crates/router/src/routes/refunds.rs
router
function_signature
null
null
null
83
refunds_retrieve
null
null
null
null
null
null
// Struct: TempLockerCardSupport // File: crates/router/src/core/payment_methods/cards.rs // Module: router // Implementations: 1 pub struct TempLockerCardSupport
crates/router/src/core/payment_methods/cards.rs
router
struct_definition
TempLockerCardSupport
1
[]
38
null
null
null
null
null
null
null
// Function: get_method // File: crates/router/src/core/proxy/utils.rs // Module: router pub fn get_method(&self) -> common_utils::request::Method
crates/router/src/core/proxy/utils.rs
router
function_signature
null
null
null
37
get_method
null
null
null
null
null
null
// Implementation: impl api::PaymentsCompleteAuthorize for for Nmi // File: crates/hyperswitch_connectors/src/connectors/nmi.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentsCompleteAuthorize for for Nmi
crates/hyperswitch_connectors/src/connectors/nmi.rs
hyperswitch_connectors
impl_block
null
null
null
59
null
Nmi
api::PaymentsCompleteAuthorize for
0
0
null
null
// Struct: Nuvei // File: crates/hyperswitch_connectors/src/connectors/nuvei.rs // Module: hyperswitch_connectors // Implementations: 24 // Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentToken, api::MandateSetup, api::PaymentVoid, api::PaymentSync, api::PaymentCapture, api::PaymentSession, api:...
crates/hyperswitch_connectors/src/connectors/nuvei.rs
hyperswitch_connectors
struct_definition
Nuvei
24
[ "ConnectorCommon", "ConnectorValidation", "api::Payment", "api::PaymentToken", "api::MandateSetup", "api::PaymentVoid", "api::PaymentSync", "api::PaymentCapture", "api::PaymentSession", "api::PaymentAuthorize", "api::PaymentAuthorizeSessionToken", "api::Refund", "api::RefundExecute", "api:...
169
null
null
null
null
null
null
null
// Struct: OpenSearchClient // File: crates/analytics/src/opensearch.rs // Module: analytics // Implementations: 2 // Traits: HealthCheck pub struct OpenSearchClient
crates/analytics/src/opensearch.rs
analytics
struct_definition
OpenSearchClient
2
[ "HealthCheck" ]
42
null
null
null
null
null
null
null
// Struct: GooglePayTransactionInfo // File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct GooglePayTransactionInfo
crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
hyperswitch_connectors
struct_definition
GooglePayTransactionInfo
0
[]
50
null
null
null
null
null
null
null
// Function: payment_method_session_list_payment_methods // File: crates/openapi/src/routes/payment_method.rs // Module: openapi pub fn payment_method_session_list_payment_methods()
crates/openapi/src/routes/payment_method.rs
openapi
function_signature
null
null
null
37
payment_method_session_list_payment_methods
null
null
null
null
null
null
// Function: get_merchant_account // File: crates/router/src/core/admin.rs // Module: router pub fn get_merchant_account( state: SessionState, req: api::MerchantId, _profile_id: Option<id_type::ProfileId>, ) -> RouterResponse<api::MerchantAccountResponse>
crates/router/src/core/admin.rs
router
function_signature
null
null
null
68
get_merchant_account
null
null
null
null
null
null
// Implementation: impl Default for for ConnectorAuthentication // File: crates/test_utils/src/connector_auth.rs // Module: test_utils // Methods: 1 total (0 public) impl Default for for ConnectorAuthentication
crates/test_utils/src/connector_auth.rs
test_utils
impl_block
null
null
null
44
null
ConnectorAuthentication
Default for
1
0
null
null
// Trait: GetPaymentMethodDetails // File: crates/router/src/routes/dummy_connector/types.rs // Module: router pub trait GetPaymentMethodDetails
crates/router/src/routes/dummy_connector/types.rs
router
trait_definition
null
null
null
32
null
null
GetPaymentMethodDetails
null
null
null
null
// File: crates/diesel_models/src/query/dispute.rs // Module: diesel_models // Public functions: 5 use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods, Table}; use super::generics; use crate::{ dispute::{Dispute, DisputeNew, DisputeUpdate, DisputeUpdateInternal}, errors, schema::...
crates/diesel_models/src/query/dispute.rs
diesel_models
full_file
null
null
null
686
null
null
null
null
null
null
null
// Struct: AdjustedBy // File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct AdjustedBy
crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
hyperswitch_connectors
struct_definition
AdjustedBy
0
[]
46
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/thunes.rs // Module: hyperswitch_connectors // Public functions: 1 // Public structs: 1 pub mod transformers; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{Amount...
crates/hyperswitch_connectors/src/connectors/thunes.rs
hyperswitch_connectors
full_file
null
null
null
4,518
null
null
null
null
null
null
null
// Implementation: impl super::refunds::metrics::RefundMetricAnalytics for for ClickhouseClient // File: crates/analytics/src/clickhouse.rs // Module: analytics // Methods: 0 total (0 public) impl super::refunds::metrics::RefundMetricAnalytics for for ClickhouseClient
crates/analytics/src/clickhouse.rs
analytics
impl_block
null
null
null
65
null
ClickhouseClient
super::refunds::metrics::RefundMetricAnalytics for
0
0
null
null
// Implementation: impl webhooks::IncomingWebhook for for Loonio // File: crates/hyperswitch_connectors/src/connectors/loonio.rs // Module: hyperswitch_connectors // Methods: 3 total (0 public) impl webhooks::IncomingWebhook for for Loonio
crates/hyperswitch_connectors/src/connectors/loonio.rs
hyperswitch_connectors
impl_block
null
null
null
62
null
Loonio
webhooks::IncomingWebhook for
3
0
null
null
// Implementation: impl HashedApiKey // File: crates/diesel_models/src/api_keys.rs // Module: diesel_models // Methods: 1 total (1 public) impl HashedApiKey
crates/diesel_models/src/api_keys.rs
diesel_models
impl_block
null
null
null
40
null
HashedApiKey
null
1
1
null
null
// Struct: Placetopay // File: crates/hyperswitch_connectors/src/connectors/placetopay.rs // Module: hyperswitch_connectors // Implementations: 17 // Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, a...
crates/hyperswitch_connectors/src/connectors/placetopay.rs
hyperswitch_connectors
struct_definition
Placetopay
17
[ "api::Payment", "api::PaymentSession", "api::ConnectorAccessToken", "api::MandateSetup", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentCapture", "api::PaymentVoid", "api::Refund", "api::RefundExecute", "api::RefundSync", "api::PaymentToken", "ConnectorCommon", "ConnectorValidat...
128
null
null
null
null
null
null
null
// Struct: ClientProcessorInformation // File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ClientProcessorInformation
crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
hyperswitch_connectors
struct_definition
ClientProcessorInformation
0
[]
49
null
null
null
null
null
null
null
// Struct: Klarna // File: crates/hyperswitch_connectors/src/connectors/klarna.rs // Module: hyperswitch_connectors // Implementations: 17 // Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentAuthorize, api::PaymentSync, api::PaymentVoid, api::PaymentCapture, api::PaymentSession, api::ConnectorAcc...
crates/hyperswitch_connectors/src/connectors/klarna.rs
hyperswitch_connectors
struct_definition
Klarna
17
[ "ConnectorCommon", "ConnectorValidation", "api::Payment", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentVoid", "api::PaymentCapture", "api::PaymentSession", "api::ConnectorAccessToken", "api::PaymentToken", "api::MandateSetup", "api::Refund", "api::RefundExecute", "api::RefundS...
123
null
null
null
null
null
null
null
// Implementation: impl AsSchedulerInterface for for T // File: crates/scheduler/src/scheduler.rs // Module: scheduler // Methods: 1 total (0 public) impl AsSchedulerInterface for for T
crates/scheduler/src/scheduler.rs
scheduler
impl_block
null
null
null
44
null
T
AsSchedulerInterface for
1
0
null
null
// Implementation: impl Default for for AnalyticsProvider // File: crates/analytics/src/lib.rs // Module: analytics // Methods: 1 total (0 public) impl Default for for AnalyticsProvider
crates/analytics/src/lib.rs
analytics
impl_block
null
null
null
41
null
AnalyticsProvider
Default for
1
0
null
null
// Struct: PaymentsPostSessionTokensData // File: crates/hyperswitch_domain_models/src/router_request_types.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct PaymentsPostSessionTokensData
crates/hyperswitch_domain_models/src/router_request_types.rs
hyperswitch_domain_models
struct_definition
PaymentsPostSessionTokensData
0
[]
47
null
null
null
null
null
null
null
// Implementation: impl webhooks::IncomingWebhook for for Bluecode // File: crates/hyperswitch_connectors/src/connectors/bluecode.rs // Module: hyperswitch_connectors // Methods: 6 total (0 public) impl webhooks::IncomingWebhook for for Bluecode
crates/hyperswitch_connectors/src/connectors/bluecode.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Bluecode
webhooks::IncomingWebhook for
6
0
null
null
// Function: update // File: crates/diesel_models/src/query/dispute.rs // Module: diesel_models pub fn update(self, conn: &PgPooledConn, dispute: DisputeUpdate) -> StorageResult<Self>
crates/diesel_models/src/query/dispute.rs
diesel_models
function_signature
null
null
null
48
update
null
null
null
null
null
null
// Implementation: impl api::RefundExecute for for Nomupay // File: crates/hyperswitch_connectors/src/connectors/nomupay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::RefundExecute for for Nomupay
crates/hyperswitch_connectors/src/connectors/nomupay.rs
hyperswitch_connectors
impl_block
null
null
null
63
null
Nomupay
api::RefundExecute for
0
0
null
null
// File: crates/openapi/src/routes/refunds.rs // Module: openapi // Public functions: 11 /// Refunds - Create /// /// Creates a refund against an already processed payment. In case of some processors, you can even opt to refund only a partial amount multiple times until the original charge amount has been refunded #[u...
crates/openapi/src/routes/refunds.rs
openapi
full_file
null
null
null
2,123
null
null
null
null
null
null
null
// Struct: DwollaPaymentSyncResponse // File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct DwollaPaymentSyncResponse
crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
hyperswitch_connectors
struct_definition
DwollaPaymentSyncResponse
0
[]
52
null
null
null
null
null
null
null
// Implementation: impl ConstraintGraphBuilder // File: crates/hyperswitch_constraint_graph/src/builder.rs // Module: hyperswitch_constraint_graph // Methods: 11 total (8 public) impl ConstraintGraphBuilder
crates/hyperswitch_constraint_graph/src/builder.rs
hyperswitch_constraint_graph
impl_block
null
null
null
46
null
ConstraintGraphBuilder
null
11
8
null
null
// Implementation: impl api::PaymentVoid for for Peachpayments // File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentVoid for for Peachpayments
crates/hyperswitch_connectors/src/connectors/peachpayments.rs
hyperswitch_connectors
impl_block
null
null
null
59
null
Peachpayments
api::PaymentVoid for
0
0
null
null
// File: crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs // Module: hyperswitch_connectors // Public structs: 8 use common_enums::enums; use common_utils::types::StringMinorUnit; use hyperswitch_domain_models::{ payment_method_data::PaymentMethodData, router_data::{ConnectorAuthType, RouterD...
crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs
hyperswitch_connectors
full_file
null
null
null
1,717
null
null
null
null
null
null
null
// File: crates/common_utils/src/access_token.rs // Module: common_utils // Public functions: 1 //! Commonly used utilities for access token use std::fmt::Display; use crate::id_type; /// Create a key for fetching the access token from redis pub fn create_access_token_key( merchant_id: &id_type::MerchantId, ...
crates/common_utils/src/access_token.rs
common_utils
full_file
null
null
null
107
null
null
null
null
null
null
null
// Function: to_storage_model // File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs // Module: hyperswitch_domain_models pub fn to_storage_model(self) -> diesel_models::PaymentAttemptUpdate
crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
hyperswitch_domain_models
function_signature
null
null
null
46
to_storage_model
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs // Module: hyperswitch_connectors // Public structs: 14 use cards::CardNumber; use common_enums::{enums, AttemptStatus, CaptureMethod, Currency, PaymentMethod}; use common_utils::{errors::ParsingError, ext_traits::Encode}; use error_stack::R...
crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
hyperswitch_connectors
full_file
null
null
null
4,386
null
null
null
null
null
null
null
// Function: call_database // File: crates/storage_impl/src/lib.rs // Module: storage_impl pub fn call_database<D, R, M>( &self, state: &KeyManagerState, key_store: &MerchantKeyStore, execute_query: R, ) -> error_stack::Result<D, StorageError> where D: Debug + Sync + Con...
crates/storage_impl/src/lib.rs
storage_impl
function_signature
null
null
null
117
call_database
null
null
null
null
null
null
// Implementation: impl ConnectorSpecifications for for Nordea // File: crates/hyperswitch_connectors/src/connectors/nordea.rs // Module: hyperswitch_connectors // Methods: 4 total (0 public) impl ConnectorSpecifications for for Nordea
crates/hyperswitch_connectors/src/connectors/nordea.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Nordea
ConnectorSpecifications for
4
0
null
null