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
⌀
// Implementation: impl ApiEventMetric for for AuthenticationCreateRequest // File: crates/api_models/src/authentication.rs // Module: api_models // Methods: 1 total (0 public) impl ApiEventMetric for for AuthenticationCreateRequest
crates/api_models/src/authentication.rs
api_models
impl_block
null
null
null
48
null
AuthenticationCreateRequest
ApiEventMetric for
1
0
null
null
// Implementation: impl ConnectorPostAuthentication for for Threedsecureio // File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl ConnectorPostAuthentication for for Threedsecureio
crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Threedsecureio
ConnectorPostAuthentication for
0
0
null
null
// Struct: ApplepayHeader // File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ApplepayHeader
crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
hyperswitch_connectors
struct_definition
ApplepayHeader
0
[]
48
null
null
null
null
null
null
null
// File: crates/router/tests/connectors/loonio.rs // Module: router use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData}; use masking::Secret; use router::types::{self, api, storage::enums}; use test_utils::connector_auth; use crate::utils::{self, ConnectorActions}; #[derive(Clone, Copy)] st...
crates/router/tests/connectors/loonio.rs
router
full_file
null
null
null
2,932
null
null
null
null
null
null
null
// Function: is_step_up_possible // File: crates/common_types/src/domain.rs // Module: common_types // Documentation: Checks if step-up retry is possible. pub fn is_step_up_possible(&self) -> bool
crates/common_types/src/domain.rs
common_types
function_signature
null
null
null
46
is_step_up_possible
null
null
null
null
null
null
// File: crates/payment_methods/src/controller.rs // Module: payment_methods // Public functions: 1 // Public structs: 1 use std::fmt::Debug; #[cfg(feature = "payouts")] use api_models::payouts; use api_models::{enums as api_enums, payment_methods as api}; #[cfg(feature = "v1")] use common_enums::enums as common_enum...
crates/payment_methods/src/controller.rs
payment_methods
full_file
null
null
null
2,426
null
null
null
null
null
null
null
// Function: find_user_scoped_dashboard_metadata // File: crates/diesel_models/src/query/dashboard_metadata.rs // Module: diesel_models pub fn find_user_scoped_dashboard_metadata( conn: &PgPooledConn, user_id: String, merchant_id: id_type::MerchantId, org_id: id_type::OrganizationId, ...
crates/diesel_models/src/query/dashboard_metadata.rs
diesel_models
function_signature
null
null
null
92
find_user_scoped_dashboard_metadata
null
null
null
null
null
null
// Function: wrap // File: crates/common_utils/src/id_type/merchant_connector_account.rs // Module: common_utils // Documentation: Get a merchant connector account id from String pub fn wrap(merchant_connector_account_id: String) -> CustomResult<Self, ValidationError>
crates/common_utils/src/id_type/merchant_connector_account.rs
common_utils
function_signature
null
null
null
56
wrap
null
null
null
null
null
null
// Implementation: impl api::RefundExecute for for Aci // File: crates/hyperswitch_connectors/src/connectors/aci.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::RefundExecute for for Aci
crates/hyperswitch_connectors/src/connectors/aci.rs
hyperswitch_connectors
impl_block
null
null
null
59
null
Aci
api::RefundExecute for
0
0
null
null
// Module Structure // File: crates/hyperswitch_domain_models/src/router_data_v2.rs // Module: hyperswitch_domain_models // Public submodules: pub mod flow_common_types; // Public exports: pub use flow_common_types::FrmFlowData; pub use flow_common_types::PayoutFlowData; pub use flow_common_types::{ AccessTokenFl...
crates/hyperswitch_domain_models/src/router_data_v2.rs
hyperswitch_domain_models
module_structure
null
null
null
139
null
null
null
null
null
1
3
// Function: unlink_routing_config // File: crates/router/src/core/routing.rs // Module: router pub fn unlink_routing_config( state: SessionState, merchant_context: domain::MerchantContext, request: routing_types::RoutingConfigRequest, authentication_profile_id: Option<common_utils::id_type::ProfileId>...
crates/router/src/core/routing.rs
router
function_signature
null
null
null
91
unlink_routing_config
null
null
null
null
null
null
// File: crates/router/src/core/connector_onboarding.rs // Module: router // Public functions: 3 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,...
crates/router/src/core/connector_onboarding.rs
router
full_file
null
null
null
959
null
null
null
null
null
null
null
// Struct: RefundFiltersResponse // File: crates/api_models/src/analytics.rs // Module: api_models // Implementations: 0 pub struct RefundFiltersResponse
crates/api_models/src/analytics.rs
api_models
struct_definition
RefundFiltersResponse
0
[]
38
null
null
null
null
null
null
null
// Function: get_id // File: crates/diesel_models/src/payment_method.rs // Module: diesel_models pub fn get_id(&self) -> &String
crates/diesel_models/src/payment_method.rs
diesel_models
function_signature
null
null
null
34
get_id
null
null
null
null
null
null
// Implementation: impl ConnectorSpecifications for for Rapyd // File: crates/hyperswitch_connectors/src/connectors/rapyd.rs // Module: hyperswitch_connectors // Methods: 3 total (0 public) impl ConnectorSpecifications for for Rapyd
crates/hyperswitch_connectors/src/connectors/rapyd.rs
hyperswitch_connectors
impl_block
null
null
null
56
null
Rapyd
ConnectorSpecifications for
3
0
null
null
// File: crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs // Module: hyperswitch_connectors // Public functions: 18 // Public structs: 84 use std::str::FromStr; #[cfg(feature = "payouts")] use api_models::payouts::{self, PayoutMethodData}; use api_models::{ enums, payments::{self, PollConfig...
crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs#chunk0
hyperswitch_connectors
chunk
null
null
null
8,189
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/payme.rs // Module: hyperswitch_connectors // Public structs: 1 pub mod transformers; use std::sync::LazyLock; use api_models::enums::AuthenticationType; use common_enums::enums; use common_utils::{ crypto, errors::CustomResult, ext_traits::BytesExt, ...
crates/hyperswitch_connectors/src/connectors/payme.rs#chunk0
hyperswitch_connectors
chunk
null
null
null
8,183
null
null
null
null
null
null
null
// Implementation: impl ProfileAcquirer // File: crates/router/src/routes/app.rs // Module: router // Methods: 1 total (1 public) impl ProfileAcquirer
crates/router/src/routes/app.rs
router
impl_block
null
null
null
37
null
ProfileAcquirer
null
1
1
null
null
// Implementation: impl NetworkTokenizationBuilder // File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs // Module: router // Methods: 1 total (1 public) impl NetworkTokenizationBuilder
crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
router
impl_block
null
null
null
45
null
NetworkTokenizationBuilder
null
1
1
null
null
// Struct: ThreeDSecure // File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ThreeDSecure
crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
hyperswitch_connectors
struct_definition
ThreeDSecure
0
[]
48
null
null
null
null
null
null
null
// Struct: NuveiPaymentsResponse // File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct NuveiPaymentsResponse
crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
hyperswitch_connectors
struct_definition
NuveiPaymentsResponse
0
[]
53
null
null
null
null
null
null
null
// Struct: RequestPaymentMethodTypes // File: crates/api_models/src/payment_methods.rs // Module: api_models // Implementations: 1 pub struct RequestPaymentMethodTypes
crates/api_models/src/payment_methods.rs
api_models
struct_definition
RequestPaymentMethodTypes
1
[]
38
null
null
null
null
null
null
null
// Implementation: impl DummyConnector // File: crates/router/src/routes/app.rs // Module: router // Methods: 1 total (1 public) impl DummyConnector
crates/router/src/routes/app.rs
router
impl_block
null
null
null
35
null
DummyConnector
null
1
1
null
null
// Struct: RefundResponse // File: crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RefundResponse
crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs
hyperswitch_connectors
struct_definition
RefundResponse
0
[]
48
null
null
null
null
null
null
null
// Implementation: impl PaymentToken for for DummyConnector // File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl PaymentToken for for DummyConnector
crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
DummyConnector
PaymentToken for
0
0
null
null
// Function: delete_merchant_account // File: crates/openapi/src/routes/merchant_account.rs // Module: openapi pub fn delete_merchant_account()
crates/openapi/src/routes/merchant_account.rs
openapi
function_signature
null
null
null
34
delete_merchant_account
null
null
null
null
null
null
// File: crates/hyperswitch_interfaces/src/api/revenue_recovery.rs // Module: hyperswitch_interfaces //! Revenue Recovery Interface use hyperswitch_domain_models::{ router_flow_types::{ BillingConnectorInvoiceSync, BillingConnectorPaymentsSync, InvoiceRecordBack, }, router_request_types::revenue_r...
crates/hyperswitch_interfaces/src/api/revenue_recovery.rs
hyperswitch_interfaces
full_file
null
null
null
357
null
null
null
null
null
null
null
// File: crates/router/src/core/surcharge_decision_config.rs // Module: router // Public functions: 5 use api_models::surcharge_decision_configs::{ SurchargeDecisionConfigReq, SurchargeDecisionManagerRecord, SurchargeDecisionManagerResponse, }; use common_utils::ext_traits::StringExt; use error_stack::ResultExt; ...
crates/router/src/core/surcharge_decision_config.rs
router
full_file
null
null
null
1,847
null
null
null
null
null
null
null
// Struct: PaystackEftRedirect // File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaystackEftRedirect
crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
hyperswitch_connectors
struct_definition
PaystackEftRedirect
0
[]
51
null
null
null
null
null
null
null
// Struct: PaypalAuthUpdateResponse // File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaypalAuthUpdateResponse
crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
hyperswitch_connectors
struct_definition
PaypalAuthUpdateResponse
0
[]
49
null
null
null
null
null
null
null
// Implementation: impl api::ConnectorAccessToken for for Barclaycard // File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::ConnectorAccessToken for for Barclaycard
crates/hyperswitch_connectors/src/connectors/barclaycard.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Barclaycard
api::ConnectorAccessToken for
0
0
null
null
// Struct: ApplePayWalletDetails // File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ApplePayWalletDetails
crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
hyperswitch_connectors
struct_definition
ApplePayWalletDetails
0
[]
50
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs // Module: hyperswitch_connectors // Public functions: 1 // Public structs: 1 pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::IncomingWebhookEvent; use base64::Engine; use common_enums::{enums, CallConnectorAction, CaptureMethod,...
crates/hyperswitch_connectors/src/connectors/xendit.rs
hyperswitch_connectors
full_file
null
null
null
8,130
null
null
null
null
null
null
null
// File: crates/common_utils/src/link_utils.rs // Module: common_utils // Public functions: 2 // Public structs: 4 //! This module has common utilities for links in HyperSwitch use std::{collections::HashSet, primitive::i64}; use common_enums::{enums, UIWidgetFormLayout}; use diesel::{ backend::Backend, dese...
crates/common_utils/src/link_utils.rs
common_utils
full_file
null
null
null
2,927
null
null
null
null
null
null
null
// Struct: JuspaythreedsserverRouterData // File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct JuspaythreedsserverRouterData<T>
crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs
hyperswitch_connectors
struct_definition
JuspaythreedsserverRouterData
0
[]
66
null
null
null
null
null
null
null
// Function: payment_confirm_intent // File: crates/router/src/routes/payments.rs // Module: router pub fn payment_confirm_intent( state: web::Data<app::AppState>, req: actix_web::HttpRequest, json_payload: web::Json<api_models::payments::PaymentsConfirmIntentRequest>, path: web::Path<common_utils::id_...
crates/router/src/routes/payments.rs
router
function_signature
null
null
null
89
payment_confirm_intent
null
null
null
null
null
null
// Function: list_chat_conversations // File: crates/router/src/core/chat.rs // Module: router pub fn list_chat_conversations( state: SessionState, user_from_token: auth::UserFromToken, req: chat_api::ChatListRequest, ) -> CustomResult<ApplicationResponse<chat_api::ChatListResponse>, ChatErrors>
crates/router/src/core/chat.rs
router
function_signature
null
null
null
74
list_chat_conversations
null
null
null
null
null
null
// File: crates/api_models/src/events/user.rs // Module: api_models use common_utils::events::{ApiEventMetric, ApiEventsType}; #[cfg(feature = "dummy_connector")] use crate::user::sample_data::SampleDataRequest; #[cfg(feature = "control_center_theme")] use crate::user::theme::{ CreateThemeRequest, CreateUserTheme...
crates/api_models/src/events/user.rs
api_models
full_file
null
null
null
683
null
null
null
null
null
null
null
// Function: get_network_token_data // File: crates/hyperswitch_domain_models/src/payments.rs // Module: hyperswitch_domain_models pub fn get_network_token_data(&self) -> Option<payment_method_data::NetworkTokenData>
crates/hyperswitch_domain_models/src/payments.rs
hyperswitch_domain_models
function_signature
null
null
null
51
get_network_token_data
null
null
null
null
null
null
// Implementation: impl DashboardRequestPayload // File: crates/connector_configs/src/transformer.rs // Module: connector_configs // Methods: 4 total (4 public) impl DashboardRequestPayload
crates/connector_configs/src/transformer.rs
connector_configs
impl_block
null
null
null
41
null
DashboardRequestPayload
null
4
4
null
null
// Struct: ThunesErrorResponse // File: crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ThunesErrorResponse
crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs
hyperswitch_connectors
struct_definition
ThunesErrorResponse
0
[]
47
null
null
null
null
null
null
null
// Function: merchant_account_toggle_kv // File: crates/router/src/routes/admin.rs // Module: router pub fn merchant_account_toggle_kv( state: web::Data<AppState>, req: HttpRequest, path: web::Path<common_utils::id_type::MerchantId>, json_payload: web::Json<admin::ToggleKVRequest>, ) -> HttpResponse
crates/router/src/routes/admin.rs
router
function_signature
null
null
null
77
merchant_account_toggle_kv
null
null
null
null
null
null
// Function: create_new_merchant_and_insert_in_db // File: crates/router/src/types/domain/user.rs // Module: router pub fn create_new_merchant_and_insert_in_db( &self, state: SessionState, ) -> UserResult<domain::MerchantAccount>
crates/router/src/types/domain/user.rs
router
function_signature
null
null
null
60
create_new_merchant_and_insert_in_db
null
null
null
null
null
null
// Function: call_frm_service // File: crates/router/src/core/fraud_check.rs // Module: router pub fn call_frm_service<D: Clone, F, Req, OperationData>( state: &SessionState, payment_data: &OperationData, frm_data: &mut FrmData, merchant_context: &domain::MerchantContext, customer: &Option<domain::...
crates/router/src/core/fraud_check.rs
router
function_signature
null
null
null
227
call_frm_service
null
null
null
null
null
null
// Struct: StripeCreateRefundRequest // File: crates/router/src/compatibility/stripe/refunds/types.rs // Module: router // Implementations: 0 pub struct StripeCreateRefundRequest
crates/router/src/compatibility/stripe/refunds/types.rs
router
struct_definition
StripeCreateRefundRequest
0
[]
44
null
null
null
null
null
null
null
// Function: find_by_merchant_id // File: crates/diesel_models/src/query/merchant_connector_account.rs // Module: diesel_models pub fn find_by_merchant_id( conn: &PgPooledConn, merchant_id: &common_utils::id_type::MerchantId, get_disabled: bool, ) -> StorageResult<Vec<Self>>
crates/diesel_models/src/query/merchant_connector_account.rs
diesel_models
function_signature
null
null
null
75
find_by_merchant_id
null
null
null
null
null
null
// Function: new // File: crates/router_env/src/logger/storage.rs // Module: router_env // Documentation: Default constructor. pub fn new() -> Self
crates/router_env/src/logger/storage.rs
router_env
function_signature
null
null
null
34
new
null
null
null
null
null
null
// File: crates/router/src/types/storage/merchant_account.rs // Module: router pub use diesel_models::merchant_account::{ MerchantAccount, MerchantAccountNew, MerchantAccountUpdateInternal, }; pub use crate::types::domain::MerchantAccountUpdate;
crates/router/src/types/storage/merchant_account.rs
router
full_file
null
null
null
52
null
null
null
null
null
null
null
// Implementation: impl api::Payment for for Nexinets // File: crates/hyperswitch_connectors/src/connectors/nexinets.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Payment for for Nexinets
crates/hyperswitch_connectors/src/connectors/nexinets.rs
hyperswitch_connectors
impl_block
null
null
null
59
null
Nexinets
api::Payment for
0
0
null
null
// Struct: RSyncEdgeData // File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RSyncEdgeData
crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
hyperswitch_connectors
struct_definition
RSyncEdgeData
0
[]
50
null
null
null
null
null
null
null
// Struct: SessionTokenRoutingResult // File: crates/router/src/core/payments.rs // Module: router // Implementations: 0 pub struct SessionTokenRoutingResult
crates/router/src/core/payments.rs
router
struct_definition
SessionTokenRoutingResult
0
[]
37
null
null
null
null
null
null
null
// Implementation: impl api::Refund for for Aci // File: crates/hyperswitch_connectors/src/connectors/aci.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Aci
crates/hyperswitch_connectors/src/connectors/aci.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Aci
api::Refund for
0
0
null
null
// Struct: SubmitSingleRefundResponse // File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct SubmitSingleRefundResponse
crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
hyperswitch_connectors
struct_definition
SubmitSingleRefundResponse
0
[]
54
null
null
null
null
null
null
null
// Implementation: impl api::Payment for for Flexiti // File: crates/hyperswitch_connectors/src/connectors/flexiti.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Payment for for Flexiti
crates/hyperswitch_connectors/src/connectors/flexiti.rs
hyperswitch_connectors
impl_block
null
null
null
56
null
Flexiti
api::Payment for
0
0
null
null
// Struct: CtpServiceDetails // File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct CtpServiceDetails
crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
hyperswitch_domain_models
struct_definition
CtpServiceDetails
0
[]
49
null
null
null
null
null
null
null
// Struct: Authorizedotnet // File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs // Module: hyperswitch_connectors // Implementations: 20 // Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentAuthorize, api::PaymentSync, api::PaymentVoid, api::PaymentCapture, api::PaymentSession,...
crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
hyperswitch_connectors
struct_definition
Authorizedotnet
20
[ "ConnectorCommon", "ConnectorValidation", "api::Payment", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentVoid", "api::PaymentCapture", "api::PaymentSession", "api::ConnectorAccessToken", "api::PaymentToken", "api::ConnectorCustomer", "MandateSetup", "api::Refund", "api::RefundEx...
143
null
null
null
null
null
null
null
// Implementation: impl DecisionEngineSRSubLevelInputConfig // File: crates/api_models/src/open_router.rs // Module: api_models // Methods: 1 total (1 public) impl DecisionEngineSRSubLevelInputConfig
crates/api_models/src/open_router.rs
api_models
impl_block
null
null
null
47
null
DecisionEngineSRSubLevelInputConfig
null
1
1
null
null
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs // Module: hyperswitch_connectors // Public functions: 1 // Public structs: 1 pub mod transformers; use std::sync::LazyLock; use common_enums::{enums, PaymentAction}; use common_utils::{ crypto, errors::CustomResult, ext_traits::Byte...
crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs#chunk0
hyperswitch_connectors
chunk
null
null
null
8,188
null
null
null
null
null
null
null
// Implementation: impl api::PaymentCapture for for Shift4 // File: crates/hyperswitch_connectors/src/connectors/shift4.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentCapture for for Shift4
crates/hyperswitch_connectors/src/connectors/shift4.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Shift4
api::PaymentCapture for
0
0
null
null
// Implementation: impl Responder // File: crates/router/src/routes/recovery_webhooks.rs // Module: router // Methods: 0 total (0 public) impl Responder
crates/router/src/routes/recovery_webhooks.rs
router
impl_block
null
null
null
38
null
Responder
null
0
0
null
null
// File: crates/analytics/src/refunds/metrics/sessionized_metrics.rs // Module: analytics mod refund_count; mod refund_error_message; mod refund_processed_amount; mod refund_reason; mod refund_success_count; mod refund_success_rate; pub(super) use refund_count::RefundCount; pub(super) use refund_error_message::Refund...
crates/analytics/src/refunds/metrics/sessionized_metrics.rs
analytics
full_file
null
null
null
140
null
null
null
null
null
null
null
// Implementation: impl api::RefundExecute for for Thunes // File: crates/hyperswitch_connectors/src/connectors/thunes.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::RefundExecute for for Thunes
crates/hyperswitch_connectors/src/connectors/thunes.rs
hyperswitch_connectors
impl_block
null
null
null
59
null
Thunes
api::RefundExecute for
0
0
null
null
// Function: new // File: crates/hyperswitch_constraint_graph/src/builder.rs // Module: hyperswitch_constraint_graph pub fn new() -> Self
crates/hyperswitch_constraint_graph/src/builder.rs
hyperswitch_constraint_graph
function_signature
null
null
null
34
new
null
null
null
null
null
null
// Function: connector_create // File: crates/openapi/src/routes/merchant_connector_account.rs // Module: openapi pub fn connector_create()
crates/openapi/src/routes/merchant_connector_account.rs
openapi
function_signature
null
null
null
31
connector_create
null
null
null
null
null
null
// Struct: PaymentIntentListParams // File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct PaymentIntentListParams
crates/hyperswitch_domain_models/src/payments/payment_intent.rs
hyperswitch_domain_models
struct_definition
PaymentIntentListParams
0
[]
46
null
null
null
null
null
null
null
// Module Structure // File: crates/router/src/core/payments/routing.rs // Module: router // Public submodules: pub mod utils;
crates/router/src/core/payments/routing.rs
router
module_structure
null
null
null
31
null
null
null
null
null
1
0
// Struct: Bitpay // File: crates/hyperswitch_connectors/src/connectors/bitpay.rs // Module: hyperswitch_connectors // Implementations: 17 // Traits: api::Payment, api::PaymentToken, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::Pay...
crates/hyperswitch_connectors/src/connectors/bitpay.rs
hyperswitch_connectors
struct_definition
Bitpay
17
[ "api::Payment", "api::PaymentToken", "api::PaymentSession", "api::ConnectorAccessToken", "api::MandateSetup", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentCapture", "api::PaymentVoid", "api::Refund", "api::RefundExecute", "api::RefundSync", "ConnectorCommon", "ConnectorValidat...
125
null
null
null
null
null
null
null
// Struct: PaymentLink // File: crates/diesel_models/src/payment_link.rs // Module: diesel_models // Implementations: 0 pub struct PaymentLink
crates/diesel_models/src/payment_link.rs
diesel_models
struct_definition
PaymentLink
0
[]
35
null
null
null
null
null
null
null
// Function: new // File: crates/hyperswitch_connectors/src/connectors/chargebee.rs // Module: hyperswitch_connectors pub fn new() -> &'static Self
crates/hyperswitch_connectors/src/connectors/chargebee.rs
hyperswitch_connectors
function_signature
null
null
null
39
new
null
null
null
null
null
null
// Trait: FrmMetric // File: crates/analytics/src/frm/metrics.rs // Module: analytics pub trait FrmMetric<T>
crates/analytics/src/frm/metrics.rs
analytics
trait_definition
null
null
null
30
null
null
FrmMetric
null
null
null
null
// Function: get_id // File: crates/hyperswitch_domain_models/src/payments.rs // Module: hyperswitch_domain_models pub fn get_id(&self) -> &id_type::PaymentId
crates/hyperswitch_domain_models/src/payments.rs
hyperswitch_domain_models
function_signature
null
null
null
43
get_id
null
null
null
null
null
null
// Implementation: impl UserRoleNew // File: crates/diesel_models/src/query/user_role.rs // Module: diesel_models // Methods: 1 total (0 public) impl UserRoleNew
crates/diesel_models/src/query/user_role.rs
diesel_models
impl_block
null
null
null
39
null
UserRoleNew
null
1
0
null
null
// Struct: ChargebeeInvoiceBillingAddress // File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ChargebeeInvoiceBillingAddress
crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
hyperswitch_connectors
struct_definition
ChargebeeInvoiceBillingAddress
0
[]
52
null
null
null
null
null
null
null
// Implementation: impl EmailData for for InviteUser // File: crates/router/src/services/email/types.rs // Module: router // Methods: 1 total (0 public) impl EmailData for for InviteUser
crates/router/src/services/email/types.rs
router
impl_block
null
null
null
44
null
InviteUser
EmailData for
1
0
null
null
// Function: get_profile_id // File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs // Module: hyperswitch_interfaces // Documentation: Returns the profile ID of the event. pub fn get_profile_id(&self) -> &str
crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
hyperswitch_interfaces
function_signature
null
null
null
53
get_profile_id
null
null
null
null
null
null
// Struct: Shipping // File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct Shipping
crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
hyperswitch_connectors
struct_definition
Shipping
0
[]
43
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs // Module: hyperswitch_connectors // Public functions: 2 // Public structs: 1 pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::IncomingWebhookEvent; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_tr...
crates/hyperswitch_connectors/src/connectors/helcim.rs
hyperswitch_connectors
full_file
null
null
null
7,284
null
null
null
null
null
null
null
// Function: server // File: crates/router/src/routes/app.rs // Module: router pub fn server(config: AppState) -> Scope
crates/router/src/routes/app.rs
router
function_signature
null
null
null
29
server
null
null
null
null
null
null
// Implementation: impl api::Payment for for Tesouro // File: crates/hyperswitch_connectors/src/connectors/tesouro.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Payment for for Tesouro
crates/hyperswitch_connectors/src/connectors/tesouro.rs
hyperswitch_connectors
impl_block
null
null
null
56
null
Tesouro
api::Payment for
0
0
null
null
// Struct: MonerisAuthErrorResponse // File: crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct MonerisAuthErrorResponse
crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs
hyperswitch_connectors
struct_definition
MonerisAuthErrorResponse
0
[]
53
null
null
null
null
null
null
null
// Implementation: impl api::Refund for for Getnet // File: crates/hyperswitch_connectors/src/connectors/getnet.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Getnet
crates/hyperswitch_connectors/src/connectors/getnet.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Getnet
api::Refund for
0
0
null
null
// Function: update // File: crates/diesel_models/src/query/file.rs // Module: diesel_models pub fn update( self, conn: &PgPooledConn, file_metadata: FileMetadataUpdate, ) -> StorageResult<Self>
crates/diesel_models/src/query/file.rs
diesel_models
function_signature
null
null
null
54
update
null
null
null
null
null
null
#[serde(rename_all = "snake_case")] pub enum NmiStatus { Abandoned, Cancelled, Pendingsettlement, Pending, Failed, Complete, InProgress, Unknown, } impl<F, T> TryFrom<ResponseRouterData<F, SyncResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData> { type ...
crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs#chunk1
hyperswitch_connectors
chunk
null
null
null
2,509
null
null
null
null
null
null
null
// File: crates/analytics/src/active_payments/metrics.rs // Module: analytics // Public structs: 1 use std::collections::HashSet; use api_models::analytics::{ active_payments::{ActivePaymentsMetrics, ActivePaymentsMetricsBucketIdentifier}, Granularity, TimeRange, }; use time::PrimitiveDateTime; use crate::{ ...
crates/analytics/src/active_payments/metrics.rs
analytics
full_file
null
null
null
461
null
null
null
null
null
null
null
// Implementation: impl api::Payment for for Trustpayments // File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Payment for for Trustpayments
crates/hyperswitch_connectors/src/connectors/trustpayments.rs
hyperswitch_connectors
impl_block
null
null
null
56
null
Trustpayments
api::Payment for
0
0
null
null
)) } fn handle_response( &self, data: &RefundSyncRouterData, event_builder: Option<&mut ConnectorEvent>, res: Response, ) -> CustomResult<RefundSyncRouterData, errors::ConnectorError> { let response: bluesnap::BluesnapPaymentsResponse = res .respo...
crates/hyperswitch_connectors/src/connectors/bluesnap.rs#chunk1
hyperswitch_connectors
chunk
null
null
null
5,025
null
null
null
null
null
null
null
// Struct: Block // File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct Block
crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
hyperswitch_connectors
struct_definition
Block
0
[]
44
null
null
null
null
null
null
null
// Function: get_bluecode_webhook_event // File: crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs // Module: hyperswitch_connectors pub fn get_bluecode_webhook_event( status: BluecodePaymentStatus, ) -> api_models::webhooks::IncomingWebhookEvent
crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs
hyperswitch_connectors
function_signature
null
null
null
67
get_bluecode_webhook_event
null
null
null
null
null
null
// File: crates/router/src/configs/validations.rs // Module: router // Public functions: 19 use common_utils::ext_traits::ConfigExt; use masking::PeekInterface; use storage_impl::errors::ApplicationError; impl super::settings::Secrets { pub fn validate(&self) -> Result<(), ApplicationError> { use common_u...
crates/router/src/configs/validations.rs
router
full_file
null
null
null
2,331
null
null
null
null
null
null
null
// Function: new // File: crates/injector/src/types.rs // Module: injector pub fn new( endpoint: String, http_method: HttpMethod, template: String, token_data: TokenData, headers: Option<HashMap<String, Secret<String>>>, proxy_url: Option<Secret<S...
crates/injector/src/types.rs
injector
function_signature
null
null
null
99
new
null
null
null
null
null
null
// Implementation: impl api::PaymentSync for for Prophetpay // File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentSync for for Prophetpay
crates/hyperswitch_connectors/src/connectors/prophetpay.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Prophetpay
api::PaymentSync for
0
0
null
null
// Function: get_response_data // File: crates/router/src/core/webhooks/network_tokenization_incoming.rs // Module: router pub fn get_response_data(self) -> Box<dyn NetworkTokenWebhookResponseExt>
crates/router/src/core/webhooks/network_tokenization_incoming.rs
router
function_signature
null
null
null
45
get_response_data
null
null
null
null
null
null
// Struct: MandatePayment // File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct MandatePayment
crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
hyperswitch_connectors
struct_definition
MandatePayment
0
[]
47
null
null
null
null
null
null
null
// Trait: ToEncryptable // File: crates/common_utils/src/types/keymanager.rs // Module: common_utils // Documentation: A trait which converts the struct to Hashmap required for encryption and back to struct pub trait ToEncryptable<T, S: Clone, E>: Sized
crates/common_utils/src/types/keymanager.rs
common_utils
trait_definition
null
null
null
59
null
null
ToEncryptable
null
null
null
null
// Implementation: impl CardDetailsPaymentMethod // File: crates/hyperswitch_domain_models/src/payment_method_data.rs // Module: hyperswitch_domain_models // Methods: 2 total (2 public) impl CardDetailsPaymentMethod
crates/hyperswitch_domain_models/src/payment_method_data.rs
hyperswitch_domain_models
impl_block
null
null
null
48
null
CardDetailsPaymentMethod
null
2
2
null
null
// Function: trigger_webhook_and_handle_response // File: crates/router/src/core/payouts.rs // Module: router pub fn trigger_webhook_and_handle_response( state: &SessionState, merchant_context: &domain::MerchantContext, payout_data: &PayoutData, ) -> RouterResponse<payouts::PayoutCreateResponse>
crates/router/src/core/payouts.rs
router
function_signature
null
null
null
75
trigger_webhook_and_handle_response
null
null
null
null
null
null
// Implementation: impl api::Refund for for Authipay // File: crates/hyperswitch_connectors/src/connectors/authipay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Authipay
crates/hyperswitch_connectors/src/connectors/authipay.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Authipay
api::Refund for
0
0
null
null
// File: crates/router/src/core/proxy.rs // Module: router // Public functions: 1 use super::errors::{self, RouterResponse, RouterResult}; use crate::{logger, routes::SessionState, services, types::domain}; pub mod utils; use api_models::proxy as proxy_api_models; use common_utils::{ ext_traits::BytesExt, requ...
crates/router/src/core/proxy.rs
router
full_file
null
null
null
1,070
null
null
null
null
null
null
null
// Function: invite_multiple_user // File: crates/router/src/routes/user.rs // Module: router pub fn invite_multiple_user( state: web::Data<AppState>, req: HttpRequest, payload: web::Json<Vec<user_api::InviteUserRequest>>, auth_id_query_param: web::Query<user_api::AuthIdAndThemeIdQueryParam>, ) -> Http...
crates/router/src/routes/user.rs
router
function_signature
null
null
null
80
invite_multiple_user
null
null
null
null
null
null
// Function: list_customer_payment_method // File: crates/router/src/core/payment_methods/cards.rs // Module: router pub fn list_customer_payment_method( state: &routes::SessionState, merchant_context: domain::MerchantContext, payment_intent: Option<storage::PaymentIntent>, customer_id: &id_type::Custo...
crates/router/src/core/payment_methods/cards.rs
router
function_signature
null
null
null
94
list_customer_payment_method
null
null
null
null
null
null