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 PaymentToken for for Payone // File: crates/hyperswitch_connectors/src/connectors/payone.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl PaymentToken for for Payone
crates/hyperswitch_connectors/src/connectors/payone.rs
hyperswitch_connectors
impl_block
null
null
null
53
null
Payone
PaymentToken for
0
0
null
null
// Function: get_paysafe_payment_status // File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs // Module: hyperswitch_connectors pub fn get_paysafe_payment_status( status: PaysafePaymentStatus, capture_method: Option<common_enums::CaptureMethod>, ) -> common_enums::AttemptStatus
crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
hyperswitch_connectors
function_signature
null
null
null
77
get_paysafe_payment_status
null
null
null
null
null
null
// Struct: Juspaythreedsserver // File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs // Module: hyperswitch_connectors // Implementations: 22 // Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, a...
crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
hyperswitch_connectors
struct_definition
Juspaythreedsserver
22
[ "api::Payment", "api::PaymentSession", "api::ConnectorAccessToken", "api::MandateSetup", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentCapture", "api::PaymentVoid", "api::Refund", "api::RefundExecute", "api::RefundSync", "api::PaymentToken", "api::UnifiedAuthenticationService", ...
173
null
null
null
null
null
null
null
// Function: delete_evidence // File: crates/router/src/core/disputes.rs // Module: router pub fn delete_evidence( state: SessionState, merchant_context: domain::MerchantContext, delete_evidence_request: dispute_models::DeleteEvidenceRequest, ) -> RouterResponse<serde_json::Value>
crates/router/src/core/disputes.rs
router
function_signature
null
null
null
68
delete_evidence
null
null
null
null
null
null
// Function: execute_decision_rule // File: crates/router/src/routes/three_ds_decision_rule.rs // Module: router pub fn execute_decision_rule( state: web::Data<app::AppState>, req: actix_web::HttpRequest, payload: web::Json<api_models::three_ds_decision_rule::ThreeDsDecisionRuleExecuteRequest>, ) -> impl R...
crates/router/src/routes/three_ds_decision_rule.rs
router
function_signature
null
null
null
79
execute_decision_rule
null
null
null
null
null
null
// Function: get_proxy_record // File: crates/router/src/core/proxy/utils.rs // Module: router pub fn get_proxy_record( &self, state: &SessionState, key_store: &domain::MerchantKeyStore, storage_scheme: common_enums::enums::MerchantStorageScheme, ) -> RouterResult<ProxyRecord>
crates/router/src/core/proxy/utils.rs
router
function_signature
null
null
null
75
get_proxy_record
null
null
null
null
null
null
// Struct: SubscriptionWithHandler // File: crates/router/src/core/subscription.rs // Module: router // Implementations: 1 pub struct SubscriptionWithHandler<'a>
crates/router/src/core/subscription.rs
router
struct_definition
SubscriptionWithHandler
1
[]
38
null
null
null
null
null
null
null
// Struct: MonerisErrorResponse // File: crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct MonerisErrorResponse
crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs
hyperswitch_connectors
struct_definition
MonerisErrorResponse
0
[]
51
null
null
null
null
null
null
null
// Struct: Wise // File: crates/hyperswitch_connectors/src/connectors/wise.rs // Module: hyperswitch_connectors // Implementations: 25 // Traits: ConnectorCommon, api::Payment, api::PaymentAuthorize, api::PaymentSync, api::PaymentVoid, api::PaymentCapture, api::MandateSetup, api::ConnectorAccessToken, api::PaymentToken...
crates/hyperswitch_connectors/src/connectors/wise.rs
hyperswitch_connectors
struct_definition
Wise
25
[ "ConnectorCommon", "api::Payment", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentVoid", "api::PaymentCapture", "api::MandateSetup", "api::ConnectorAccessToken", "api::PaymentToken", "api::ConnectorValidation", "api::PaymentSession", "api::Payouts", "api::PayoutCancel", "api::Pa...
167
null
null
null
null
null
null
null
// File: crates/hyperswitch_interfaces/src/events.rs // Module: hyperswitch_interfaces //! Events interface pub mod connector_api_logs; pub mod routing_api_logs;
crates/hyperswitch_interfaces/src/events.rs
hyperswitch_interfaces
full_file
null
null
null
36
null
null
null
null
null
null
null
// Struct: DisputeId // File: crates/router/src/types/api/disputes.rs // Module: router // Implementations: 0 pub struct DisputeId
crates/router/src/types/api/disputes.rs
router
struct_definition
DisputeId
0
[]
37
null
null
null
null
null
null
null
// Struct: WebhookEvents // File: crates/router/src/routes/app.rs // Module: router // Implementations: 1 pub struct WebhookEvents
crates/router/src/routes/app.rs
router
struct_definition
WebhookEvents
1
[]
34
null
null
null
null
null
null
null
// Struct: OpennodeAuthType // File: crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct OpennodeAuthType
crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs
hyperswitch_connectors
struct_definition
OpennodeAuthType
0
[]
51
null
null
null
null
null
null
null
// Struct: RefundResponse // File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RefundResponse
crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
hyperswitch_connectors
struct_definition
RefundResponse
0
[]
48
null
null
null
null
null
null
null
// Implementation: impl ConnectorSpecifications for for Payload // File: crates/hyperswitch_connectors/src/connectors/payload.rs // Module: hyperswitch_connectors // Methods: 3 total (0 public) impl ConnectorSpecifications for for Payload
crates/hyperswitch_connectors/src/connectors/payload.rs
hyperswitch_connectors
impl_block
null
null
null
51
null
Payload
ConnectorSpecifications for
3
0
null
null
// File: crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs // Module: hyperswitch_connectors // Public structs: 3 use api_models::payments::DeviceChannel; use base64::Engine; use common_utils::{consts::BASE64_ENGINE, date_time, types::MinorUnit}; use error_stack::ResultExt; use hyperswitch_domain_...
crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs
hyperswitch_connectors
full_file
null
null
null
2,957
null
null
null
null
null
null
null
// Struct: BluesnapConnectorMetaData // File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BluesnapConnectorMetaData
crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
hyperswitch_connectors
struct_definition
BluesnapConnectorMetaData
0
[]
50
null
null
null
null
null
null
null
// Implementation: impl api::PaymentSync for for Adyenplatform // File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentSync for for Adyenplatform
crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Adyenplatform
api::PaymentSync for
0
0
null
null
// Implementation: impl api::Refund for for Prophetpay // File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Prophetpay
crates/hyperswitch_connectors/src/connectors/prophetpay.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Prophetpay
api::Refund for
0
0
null
null
// Function: new // File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs // Module: hyperswitch_connectors pub fn new() -> &'static Self
crates/hyperswitch_connectors/src/connectors/cryptopay.rs
hyperswitch_connectors
function_signature
null
null
null
40
new
null
null
null
null
null
null
// Function: get_payment_method_collect_data // File: crates/diesel_models/src/generic_link.rs // Module: diesel_models pub fn get_payment_method_collect_data(&self) -> Result<&PaymentMethodCollectLinkData, String>
crates/diesel_models/src/generic_link.rs
diesel_models
function_signature
null
null
null
49
get_payment_method_collect_data
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs // Module: hyperswitch_connectors // Public functions: 1 // Public structs: 20 use common_enums::{enums, AttemptStatus}; use common_utils::{errors::CustomResult, types::StringMajorUnit}; use error_stack::{report, ResultExt}; use hyperswitch_d...
crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
hyperswitch_connectors
full_file
null
null
null
4,602
null
null
null
null
null
null
null
// Function: get_client_secret_or_add_payment_method_for_migration // File: crates/payment_methods/src/core/migration/payment_methods.rs // Module: payment_methods pub fn get_client_secret_or_add_payment_method_for_migration( state: &state::PaymentMethodsState, req: pm_api::PaymentMethodCreate, merchant_co...
crates/payment_methods/src/core/migration/payment_methods.rs
payment_methods
function_signature
null
null
null
117
get_client_secret_or_add_payment_method_for_migration
null
null
null
null
null
null
// Struct: SignUpRequest // File: crates/api_models/src/user.rs // Module: api_models // Implementations: 0 pub struct SignUpRequest
crates/api_models/src/user.rs
api_models
struct_definition
SignUpRequest
0
[]
33
null
null
null
null
null
null
null
// Struct: CeleroRefundResponse // File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct CeleroRefundResponse
crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
hyperswitch_connectors
struct_definition
CeleroRefundResponse
0
[]
52
null
null
null
null
null
null
null
// Function: toggle_kv_for_all_merchants // File: crates/router/src/core/admin.rs // Module: router pub fn toggle_kv_for_all_merchants( state: SessionState, enable: bool, ) -> RouterResponse<api_models::admin::ToggleAllKVResponse>
crates/router/src/core/admin.rs
router
function_signature
null
null
null
62
toggle_kv_for_all_merchants
null
null
null
null
null
null
// Module Structure // File: crates/analytics/src/lib.rs // Module: analytics // Public submodules: pub mod active_payments; pub mod api_event; pub mod auth_events; pub mod connector_events; pub mod core; pub mod disputes; pub mod enums; pub mod errors; pub mod frm; pub mod health_check; pub mod metrics; pub mod opens...
crates/analytics/src/lib.rs
analytics
module_structure
null
null
null
123
null
null
null
null
null
21
2
// File: crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs // Module: analytics use std::collections::HashSet; use api_models::analytics::{ refunds::{RefundDimensions, RefundFilters, RefundMetricsBucketIdentifier}, Granularity, TimeRange, }; use common_utils::errors::ReportSwitchExt; us...
crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs
analytics
full_file
null
null
null
877
null
null
null
null
null
null
null
// Struct: NetworkToken // File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct NetworkToken
crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
hyperswitch_connectors
struct_definition
NetworkToken
0
[]
44
null
null
null
null
null
null
null
// Function: get_cookie_from_header // File: crates/router/src/services/authentication.rs // Module: router pub fn get_cookie_from_header(headers: &HeaderMap) -> RouterResult<&str>
crates/router/src/services/authentication.rs
router
function_signature
null
null
null
41
get_cookie_from_header
null
null
null
null
null
null
// Function: voucher_next_steps_check // File: crates/router/src/core/payments/transformers.rs // Module: router pub fn voucher_next_steps_check( payment_attempt: storage::PaymentAttempt, ) -> RouterResult<Option<api_models::payments::VoucherNextStepData>>
crates/router/src/core/payments/transformers.rs
router
function_signature
null
null
null
60
voucher_next_steps_check
null
null
null
null
null
null
// Function: insert // File: crates/diesel_models/src/query/payment_method.rs // Module: diesel_models pub fn insert(self, conn: &PgPooledConn) -> StorageResult<PaymentMethod>
crates/diesel_models/src/query/payment_method.rs
diesel_models
function_signature
null
null
null
44
insert
null
null
null
null
null
null
// Implementation: impl api::RefundSync for for Razorpay // File: crates/hyperswitch_connectors/src/connectors/razorpay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::RefundSync for for Razorpay
crates/hyperswitch_connectors/src/connectors/razorpay.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Razorpay
api::RefundSync for
0
0
null
null
// Implementation: impl api::ConnectorAccessToken for for Zen // File: crates/hyperswitch_connectors/src/connectors/zen.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::ConnectorAccessToken for for Zen
crates/hyperswitch_connectors/src/connectors/zen.rs
hyperswitch_connectors
impl_block
null
null
null
55
null
Zen
api::ConnectorAccessToken for
0
0
null
null
// Struct: Deposited // File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct Deposited
crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
hyperswitch_connectors
struct_definition
Deposited
0
[]
46
null
null
null
null
null
null
null
// Function: refund_retrieve // File: crates/router/src/compatibility/stripe/refunds.rs // Module: router pub fn refund_retrieve( state: web::Data<routes::AppState>, req: HttpRequest, path: web::Path<String>, ) -> HttpResponse
crates/router/src/compatibility/stripe/refunds.rs
router
function_signature
null
null
null
60
refund_retrieve
null
null
null
null
null
null
// Implementation: impl GlobalPaymentMethodId // File: crates/common_utils/src/id_type/global_id/payment_methods.rs // Module: common_utils // Methods: 3 total (3 public) impl GlobalPaymentMethodId
crates/common_utils/src/id_type/global_id/payment_methods.rs
common_utils
impl_block
null
null
null
45
null
GlobalPaymentMethodId
null
3
3
null
null
// File: crates/router/src/core/fraud_check/flows/fulfillment_flow.rs // Module: router // Public functions: 2 use common_utils::ext_traits::{OptionExt, ValueExt}; use error_stack::ResultExt; use router_env::tracing::{self, instrument}; use crate::{ core::{ errors::RouterResult, fraud_check::frm_core_type...
crates/router/src/core/fraud_check/flows/fulfillment_flow.rs
router
full_file
null
null
null
1,100
null
null
null
null
null
null
null
// Function: retrieve_payment_method_from_vault_internal // File: crates/router/src/core/payment_methods/vault.rs // Module: router pub fn retrieve_payment_method_from_vault_internal( state: &routes::SessionState, merchant_context: &domain::MerchantContext, vault_id: &domain::VaultId, customer_id: &id_...
crates/router/src/core/payment_methods/vault.rs
router
function_signature
null
null
null
96
retrieve_payment_method_from_vault_internal
null
null
null
null
null
null
// Function: generate_digest_from_request // File: crates/hyperswitch_connectors/src/connectors/nordea.rs // Module: hyperswitch_connectors pub fn generate_digest_from_request(&self, payload: &RequestContent) -> String
crates/hyperswitch_connectors/src/connectors/nordea.rs
hyperswitch_connectors
function_signature
null
null
null
51
generate_digest_from_request
null
null
null
null
null
null
// Function: iso_4217 // File: crates/common_enums/src/enums.rs // Module: common_enums pub fn iso_4217(self) -> &'static str
crates/common_enums/src/enums.rs
common_enums
function_signature
null
null
null
43
iso_4217
null
null
null
null
null
null
// Function: update_customer_payment_method // File: crates/router/src/core/payment_methods/cards.rs // Module: router pub fn update_customer_payment_method( state: routes::SessionState, merchant_context: domain::MerchantContext, req: api::PaymentMethodUpdate, payment_method_id: &str, ) -> errors::Rout...
crates/router/src/core/payment_methods/cards.rs
router
function_signature
null
null
null
79
update_customer_payment_method
null
null
null
null
null
null
// Struct: MandateCardDetails // File: crates/api_models/src/mandates.rs // Module: api_models // Implementations: 0 pub struct MandateCardDetails
crates/api_models/src/mandates.rs
api_models
struct_definition
MandateCardDetails
0
[]
39
null
null
null
null
null
null
null
// Struct: ExternalAuthentication // File: crates/router/src/core/unified_authentication_service/types.rs // Module: router // Implementations: 0 pub struct ExternalAuthentication
crates/router/src/core/unified_authentication_service/types.rs
router
struct_definition
ExternalAuthentication
0
[]
36
null
null
null
null
null
null
null
// Struct: ReconUpdateMerchantRequest // File: crates/api_models/src/recon.rs // Module: api_models // Implementations: 0 pub struct ReconUpdateMerchantRequest
crates/api_models/src/recon.rs
api_models
struct_definition
ReconUpdateMerchantRequest
0
[]
38
null
null
null
null
null
null
null
// Function: get_card_from_hs_locker // File: crates/router/src/core/payment_methods/cards.rs // Module: router pub fn get_card_from_hs_locker<'a>( state: &'a routes::SessionState, customer_id: &id_type::CustomerId, merchant_id: &id_type::MerchantId, card_reference: &'a str, locker_choice: api_enum...
crates/router/src/core/payment_methods/cards.rs
router
function_signature
null
null
null
101
get_card_from_hs_locker
null
null
null
null
null
null
// Function: new // File: crates/hyperswitch_connectors/src/connectors/paytm.rs // Module: hyperswitch_connectors pub fn new() -> &'static Self
crates/hyperswitch_connectors/src/connectors/paytm.rs
hyperswitch_connectors
function_signature
null
null
null
38
new
null
null
null
null
null
null
// Implementation: impl api::RefundSync for for Jpmorgan // File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::RefundSync for for Jpmorgan
crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
hyperswitch_connectors
impl_block
null
null
null
62
null
Jpmorgan
api::RefundSync for
0
0
null
null
// Module Structure // File: crates/router/src/types.rs // Module: router // Public submodules: pub mod api; pub mod authentication; pub mod connector_transformers; pub mod domain; pub mod fraud_check; pub mod payment_methods; pub mod pm_auth; pub mod storage; pub mod transformers; // Public exports: pub use api_mode...
crates/router/src/types.rs
router
module_structure
null
null
null
1,000
null
null
null
null
null
9
9
// File: crates/router/tests/connectors/bluecode.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)] ...
crates/router/tests/connectors/bluecode.rs
router
full_file
null
null
null
2,931
null
null
null
null
null
null
null
// Implementation: impl TransactionType // File: crates/common_enums/src/enums.rs // Module: common_enums // Methods: 1 total (1 public) impl TransactionType
crates/common_enums/src/enums.rs
common_enums
impl_block
null
null
null
39
null
TransactionType
null
1
1
null
null
// Struct: CheckoutRequest // File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct CheckoutRequest
crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
hyperswitch_connectors
struct_definition
CheckoutRequest
0
[]
47
null
null
null
null
null
null
null
// Function: get_encrypted_google_pay_payment_data_mandatory // File: crates/common_types/src/payments.rs // Module: common_types // Documentation: Get the encrypted Google Pay payment data, returning an error if it does not exist pub fn get_encrypted_google_pay_payment_data_mandatory( &self, ) -> Result<...
crates/common_types/src/payments.rs
common_types
function_signature
null
null
null
83
get_encrypted_google_pay_payment_data_mandatory
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) -> &common_utils::id_type::GlobalPaymentMethodId
crates/diesel_models/src/payment_method.rs
diesel_models
function_signature
null
null
null
43
get_id
null
null
null
null
null
null
// Implementation: impl api::MandateSetup for for Nmi // File: crates/hyperswitch_connectors/src/connectors/nmi.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::MandateSetup for for Nmi
crates/hyperswitch_connectors/src/connectors/nmi.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Nmi
api::MandateSetup for
0
0
null
null
// Function: get_card // File: crates/hyperswitch_domain_models/src/vault.rs // Module: hyperswitch_domain_models pub fn get_card(&self) -> Option<&payment_methods::CardDetail>
crates/hyperswitch_domain_models/src/vault.rs
hyperswitch_domain_models
function_signature
null
null
null
45
get_card
null
null
null
null
null
null
// Function: from_predefined_roles // File: crates/router/src/services/authorization/roles.rs // Module: router pub fn from_predefined_roles(role_id: &str) -> Option<Self>
crates/router/src/services/authorization/roles.rs
router
function_signature
null
null
null
42
from_predefined_roles
null
null
null
null
null
null
// Function: generic_filter // File: crates/diesel_models/src/query/generics.rs // Module: diesel_models pub fn generic_filter<T, P, O, R>( conn: &PgPooledConn, predicate: P, limit: Option<i64>, offset: Option<i64>, order: Option<O>, ) -> StorageResult<Vec<R>> where T: HasTable<Table = T> + Tab...
crates/diesel_models/src/query/generics.rs
diesel_models
function_signature
null
null
null
255
generic_filter
null
null
null
null
null
null
// Implementation: impl RoutingType // File: crates/api_models/src/routing.rs // Module: api_models // Methods: 1 total (1 public) impl RoutingType
crates/api_models/src/routing.rs
api_models
impl_block
null
null
null
37
null
RoutingType
null
1
1
null
null
// Function: assertion // File: crates/euclid/src/dssa/types.rs // Module: euclid pub fn assertion(value: &'a dir::DirValue, metadata: &'a Metadata) -> Self
crates/euclid/src/dssa/types.rs
euclid
function_signature
null
null
null
44
assertion
null
null
null
null
null
null
// Implementation: impl common_utils::events::ApiEventMetric for for RoutingEvaluateRequest // File: crates/api_models/src/routing.rs // Module: api_models // Methods: 0 total (0 public) impl common_utils::events::ApiEventMetric for for RoutingEvaluateRequest
crates/api_models/src/routing.rs
api_models
impl_block
null
null
null
59
null
RoutingEvaluateRequest
common_utils::events::ApiEventMetric for
0
0
null
null
// Struct: AuthEventMetricsBucketValue // File: crates/api_models/src/analytics/auth_events.rs // Module: api_models // Implementations: 0 pub struct AuthEventMetricsBucketValue
crates/api_models/src/analytics/auth_events.rs
api_models
struct_definition
AuthEventMetricsBucketValue
0
[]
42
null
null
null
null
null
null
null
// Struct: StripeConnectRecipientCreateRequest // File: crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct StripeConnectRecipientCreateRequest
crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
hyperswitch_connectors
struct_definition
StripeConnectRecipientCreateRequest
0
[]
52
null
null
null
null
null
null
null
impl ForeignFrom< &hyperswitch_domain_models::payments::payment_attempt::PaymentAttemptFeatureMetadata, > for api_models::payments::PaymentAttemptFeatureMetadata { fn foreign_from( feature_metadata: &hyperswitch_domain_models::payments::payment_attempt::PaymentAttemptFeatureMetadata, ) -...
crates/router/src/core/payments/transformers.rs#chunk6
router
chunk
null
null
null
3,486
null
null
null
null
null
null
null
// Struct: PaytmRouterData // File: crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaytmRouterData<T>
crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs
hyperswitch_connectors
struct_definition
PaytmRouterData
0
[]
51
null
null
null
null
null
null
null
// Function: payments_dynamic_tax_calculation // File: crates/router/src/routes/payments.rs // Module: router pub fn payments_dynamic_tax_calculation( state: web::Data<app::AppState>, req: actix_web::HttpRequest, json_payload: web::Json<payment_types::PaymentsDynamicTaxCalculationRequest>, path: web::P...
crates/router/src/routes/payments.rs
router
function_signature
null
null
null
92
payments_dynamic_tax_calculation
null
null
null
null
null
null
// Struct: Paypal // File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct Paypal
crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
hyperswitch_connectors
struct_definition
Paypal
0
[]
45
null
null
null
null
null
null
null
// Implementation: impl ConnectorValidation for for Dlocal // File: crates/hyperswitch_connectors/src/connectors/dlocal.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl ConnectorValidation for for Dlocal
crates/hyperswitch_connectors/src/connectors/dlocal.rs
hyperswitch_connectors
impl_block
null
null
null
53
null
Dlocal
ConnectorValidation for
0
0
null
null
// Function: set_response_body // File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs // Module: hyperswitch_interfaces // Documentation: fn set_response_body pub fn set_response_body<T: Serialize>(&mut self, response: &T)
crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
hyperswitch_interfaces
function_signature
null
null
null
56
set_response_body
null
null
null
null
null
null
// Struct: FinixPaymentsResponse // File: crates/hyperswitch_connectors/src/connectors/finix/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct FinixPaymentsResponse
crates/hyperswitch_connectors/src/connectors/finix/transformers.rs
hyperswitch_connectors
struct_definition
FinixPaymentsResponse
0
[]
50
null
null
null
null
null
null
null
// File: crates/api_models/src/webhooks.rs // Module: api_models // Public functions: 6 // Public structs: 3 use common_utils::custom_serde; use serde::{Deserialize, Serialize}; use time::PrimitiveDateTime; use utoipa::ToSchema; #[cfg(feature = "payouts")] use crate::payouts; use crate::{disputes, enums as api_enums,...
crates/api_models/src/webhooks.rs
api_models
full_file
null
null
null
4,029
null
null
null
null
null
null
null
// File: crates/masking/src/strategy.rs // Module: masking use core::fmt; /// Debugging trait which is specialized for handling secret values pub trait Strategy<T> { /// Format information about the secret's type. fn fmt(value: &T, fmt: &mut fmt::Formatter<'_>) -> fmt::Result; } /// Debug with type #[cfg_att...
crates/masking/src/strategy.rs
masking
full_file
null
null
null
222
null
null
null
null
null
null
null
// Function: new // File: crates/api_models/src/admin.rs // Module: api_models pub fn new( connector_label: String, merchant_connector_id: id_type::MerchantConnectorAccountId, ) -> Self
crates/api_models/src/admin.rs
api_models
function_signature
null
null
null
47
new
null
null
null
null
null
null
// Function: create_de_euclid_routing_algo // File: crates/router/src/core/payments/routing/utils.rs // Module: router pub fn create_de_euclid_routing_algo( state: &SessionState, routing_request: &RoutingRule, ) -> RoutingResult<String>
crates/router/src/core/payments/routing/utils.rs
router
function_signature
null
null
null
61
create_de_euclid_routing_algo
null
null
null
null
null
null
Ok(state_abbreviation) => Ok(state_abbreviation), Err(_) => match value.as_str() { "Ajdovščina Municipality" => Ok(Self::Ajdovščina), "Ankaran Municipality" => Ok(Self::Ankaran), "Beltinci Municipality" => Ok(Self::Beltinci), "Bened...
crates/hyperswitch_connectors/src/utils.rs#chunk8
hyperswitch_connectors
chunk
null
null
null
8,191
null
null
null
null
null
null
null
// Trait: GsmValidation // File: crates/router/src/core/payments/retry.rs // Module: router pub trait GsmValidation<F: Send + Clone + Sync, FData: Send + Sync, Resp>
crates/router/src/core/payments/retry.rs
router
trait_definition
null
null
null
47
null
null
GsmValidation
null
null
null
null
// Struct: DecisionEngineEliminationData // File: crates/api_models/src/open_router.rs // Module: api_models // Implementations: 1 pub struct DecisionEngineEliminationData
crates/api_models/src/open_router.rs
api_models
struct_definition
DecisionEngineEliminationData
1
[]
40
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
// Function: customers_delete // File: crates/openapi/src/routes/customers.rs // Module: openapi pub fn customers_delete()
crates/openapi/src/routes/customers.rs
openapi
function_signature
null
null
null
29
customers_delete
null
null
null
null
null
null
// Struct: VoidData // File: crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct VoidData
crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs
hyperswitch_connectors
struct_definition
VoidData
0
[]
47
null
null
null
null
null
null
null
// Function: convert_backend_input_to_routing_eval // File: crates/router/src/core/payments/routing/utils.rs // Module: router pub fn convert_backend_input_to_routing_eval( created_by: String, input: BackendInput, fallback_output: Vec<DeRoutableConnectorChoice>, ) -> RoutingResult<RoutingEvaluateRequest>
crates/router/src/core/payments/routing/utils.rs
router
function_signature
null
null
null
72
convert_backend_input_to_routing_eval
null
null
null
null
null
null
// Implementation: impl ConnectorCommon for for Santander // File: crates/hyperswitch_connectors/src/connectors/santander.rs // Module: hyperswitch_connectors // Methods: 5 total (0 public) impl ConnectorCommon for for Santander
crates/hyperswitch_connectors/src/connectors/santander.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Santander
ConnectorCommon for
5
0
null
null
// File: crates/external_services/src/grpc_client/unified_connector_service.rs // Module: external_services // Public functions: 7 // Public structs: 4 use std::collections::{HashMap, HashSet}; use common_enums::connector_enums::Connector; use common_utils::{consts as common_utils_consts, errors::CustomResult, types:...
crates/external_services/src/grpc_client/unified_connector_service.rs
external_services
full_file
null
null
null
3,431
null
null
null
null
null
null
null
// Struct: ApiLogsResult // File: crates/analytics/src/api_event/events.rs // Module: analytics // Implementations: 0 pub struct ApiLogsResult
crates/analytics/src/api_event/events.rs
analytics
struct_definition
ApiLogsResult
0
[]
36
null
null
null
null
null
null
null
// Function: new // File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs // Module: router pub fn new() -> Self
crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
router
function_signature
null
null
null
32
new
null
null
null
null
null
null
// Function: new // File: crates/api_models/src/analytics/payment_intents.rs // Module: api_models pub fn new( status: Option<IntentStatus>, currency: Option<Currency>, profile_id: Option<String>, connector: Option<String>, auth_type: Option<AuthenticationType>, payment_...
crates/api_models/src/analytics/payment_intents.rs
api_models
function_signature
null
null
null
131
new
null
null
null
null
null
null
// Struct: CybersoucrePaymentInstrument // File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct CybersoucrePaymentInstrument
crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
hyperswitch_connectors
struct_definition
CybersoucrePaymentInstrument
0
[]
55
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs // Module: hyperswitch_connectors // Public structs: 24 use cards::CardNumber; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::{OptionExt, ValueExt}, pii::{self}, request::Method, }; use error_stack...
crates/hyperswitch_connectors/src/connectors/zen/transformers.rs#chunk0
hyperswitch_connectors
chunk
null
null
null
8,188
null
null
null
null
null
null
null
// Function: cache_store // File: crates/storage_impl/src/lib.rs // Module: storage_impl pub fn cache_store( cache_conf: &redis_interface::RedisSettings, cache_error_signal: tokio::sync::oneshot::Sender<()
crates/storage_impl/src/lib.rs
storage_impl
function_signature
null
null
null
54
cache_store
null
null
null
null
null
null
// Struct: FileUploadResponse // File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct FileUploadResponse
crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
hyperswitch_connectors
struct_definition
FileUploadResponse
0
[]
47
null
null
null
null
null
null
null
// Function: get // File: crates/hyperswitch_constraint_graph/src/dense_map.rs // Module: hyperswitch_constraint_graph pub fn get(&self, idx: K) -> Option<&V>
crates/hyperswitch_constraint_graph/src/dense_map.rs
hyperswitch_constraint_graph
function_signature
null
null
null
44
get
null
null
null
null
null
null
// Function: generate_vault_session_details // File: crates/router/src/core/payments/vault_session.rs // Module: router pub fn generate_vault_session_details( state: &SessionState, merchant_context: &domain::MerchantContext, merchant_connector_account_type: &domain::MerchantConnectorAccountTypeDetails, ...
crates/router/src/core/payments/vault_session.rs
router
function_signature
null
null
null
88
generate_vault_session_details
null
null
null
null
null
null
// Struct: Moneris // File: crates/hyperswitch_connectors/src/connectors/moneris.rs // Module: hyperswitch_connectors // Implementations: 17 // Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Re...
crates/hyperswitch_connectors/src/connectors/moneris.rs
hyperswitch_connectors
struct_definition
Moneris
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...
129
null
null
null
null
null
null
null
// File: crates/router/tests/connectors/rapyd.rs // Module: router use std::str::FromStr; use futures::future::OptionFuture; use masking::Secret; use router::types::{self, domain, storage::enums}; use serial_test::serial; use crate::{ connector_auth, utils::{self, ConnectorActions, PaymentInfo}, }; struct R...
crates/router/tests/connectors/rapyd.rs
router
full_file
null
null
null
1,379
null
null
null
null
null
null
null
// File: crates/router/src/core/payments/flows/complete_authorize_flow.rs // Module: router // Public functions: 1 use async_trait::async_trait; use masking::ExposeInterface; use super::{ConstructFlowSpecificData, Feature}; use crate::{ core::{ errors::{ApiErrorResponse, ConnectorErrorExt, RouterResult}, ...
crates/router/src/core/payments/flows/complete_authorize_flow.rs
router
full_file
null
null
null
2,461
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs // Module: hyperswitch_connectors // Public structs: 1 use std::sync::LazyLock; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::{ByteSliceExt, V...
crates/hyperswitch_connectors/src/connectors/archipel.rs#chunk0
hyperswitch_connectors
chunk
null
null
null
8,185
null
null
null
null
null
null
null
// File: crates/euclid/src/backend.rs // Module: euclid // Public functions: 1 // Public structs: 1 pub mod inputs; pub mod interpreter; #[cfg(feature = "valued_jit")] pub mod vir_interpreter; pub use inputs::BackendInput; pub use interpreter::InterpreterBackend; #[cfg(feature = "valued_jit")] pub use vir_interpreter...
crates/euclid/src/backend.rs
euclid
full_file
null
null
null
223
null
null
null
null
null
null
null
// Implementation: impl api::MandateSetup for for Chargebee // File: crates/hyperswitch_connectors/src/connectors/chargebee.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::MandateSetup for for Chargebee
crates/hyperswitch_connectors/src/connectors/chargebee.rs
hyperswitch_connectors
impl_block
null
null
null
62
null
Chargebee
api::MandateSetup for
0
0
null
null
// Implementation: impl ConnectorCommon for for Dlocal // File: crates/hyperswitch_connectors/src/connectors/dlocal.rs // Module: hyperswitch_connectors // Methods: 5 total (0 public) impl ConnectorCommon for for Dlocal
crates/hyperswitch_connectors/src/connectors/dlocal.rs
hyperswitch_connectors
impl_block
null
null
null
53
null
Dlocal
ConnectorCommon for
5
0
null
null
// Function: list_initial_attempts_by_merchant_id_primary_object_id // File: crates/diesel_models/src/query/events.rs // Module: diesel_models pub fn list_initial_attempts_by_merchant_id_primary_object_id( conn: &PgPooledConn, merchant_id: &common_utils::id_type::MerchantId, primary_object_id: ...
crates/diesel_models/src/query/events.rs
diesel_models
function_signature
null
null
null
84
list_initial_attempts_by_merchant_id_primary_object_id
null
null
null
null
null
null