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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: execute_three_ds_decision_rule
// File: crates/router/src/core/three_ds_decision_rule.rs
// Module: router
pub fn execute_three_ds_decision_rule(
state: SessionState,
merchant_context: MerchantContext,
request: api_models::three_ds_decision_rule::ThreeDsDecisionRuleExecuteRequest,
) -> RouterR... | crates/router/src/core/three_ds_decision_rule.rs | router | function_signature | null | null | null | 87 | execute_three_ds_decision_rule | null | null | null | null | null | null |
// File: crates/router/src/core/api_locking.rs
// Module: router
// Public functions: 2
// Public structs: 1
use std::fmt::Debug;
use actix_web::rt::time as actix_time;
use error_stack::{report, ResultExt};
use redis_interface::{self as redis, RedisKey};
use router_env::{instrument, logger, tracing};
use super::erro... | crates/router/src/core/api_locking.rs | router | full_file | null | null | null | 2,113 | null | null | null | null | null | null | null |
fn to_connector_meta<T>(&self) -> Result<T, Error>
where
T: serde::de::DeserializeOwned,
{
self.get_connector_meta()?
.parse_value(std::any::type_name::<T>())
.change_context(errors::ConnectorError::NoConnectorMetaData)
}
fn is_three_ds(&self) -> bool {
... | crates/hyperswitch_connectors/src/utils.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// File: crates/api_models/src/proxy.rs
// Module: api_models
// Public functions: 2
// Public structs: 3
use std::collections::HashMap;
use common_utils::request::Method;
use reqwest::header::HeaderMap;
use serde::{Deserialize, Serialize};
use serde_json::Value;
use utoipa::ToSchema;
#[derive(Clone, Debug, Deserial... | crates/api_models/src/proxy.rs | api_models | full_file | null | null | null | 593 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Mifinity | api::Payment for | 0 | 0 | null | null |
// Function: get_recovery_code_attempts_from_redis
// File: crates/router/src/utils/user/two_factor_auth.rs
// Module: router
pub fn get_recovery_code_attempts_from_redis(
state: &SessionState,
user_id: &str,
) -> UserResult<u8> | crates/router/src/utils/user/two_factor_auth.rs | router | function_signature | null | null | null | 59 | get_recovery_code_attempts_from_redis | null | null | null | null | null | null |
// Struct: PaymentInsightsInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentInsightsInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | PaymentInsightsInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
message: error_code.clone(),
reason: Some(error_code),
status_code: item.http_code,
attempt_status: None,
connector_transaction_id: None,
network_advice_code: None,
network_decline... | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 705 | null | null | null | null | null | null | null |
// Struct: PaymentMethodsSessionUpdateInternal
// File: crates/diesel_models/src/payment_methods_session.rs
// Module: diesel_models
// Implementations: 0
pub struct PaymentMethodsSessionUpdateInternal | crates/diesel_models/src/payment_methods_session.rs | diesel_models | struct_definition | PaymentMethodsSessionUpdateInternal | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: ChargebackData
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebackData | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | ChargebackData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: ThreeDSData
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSData | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDSData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorAccountFeatureMetadata
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct MerchantConnectorAccountFeatureMetadata | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | struct_definition | MerchantConnectorAccountFeatureMetadata | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: DecisionManagerRequest
// File: crates/api_models/src/conditional_configs.rs
// Module: api_models
// Implementations: 1
// Traits: events::ApiEventMetric
pub struct DecisionManagerRequest | crates/api_models/src/conditional_configs.rs | api_models | struct_definition | DecisionManagerRequest | 1 | [
"events::ApiEventMetric"
] | 46 | null | null | null | null | null | null | null |
Ok(Self::Wallet(StripeWallet::GooglepayToken(GooglePayToken {
token: Secret::new(
gpay_data
.tokenization_data
.get_encrypted_google_pay_token()
.change_context(ConnectorError::MissingRequiredField {
... | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Struct: SellerStatusDetailsResponse
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
// Implementations: 1
pub struct SellerStatusDetailsResponse | crates/router/src/types/api/connector_onboarding/paypal.rs | router | struct_definition | SellerStatusDetailsResponse | 1 | [] | 42 | null | null | null | null | null | null | null |
// Struct: RefundFilterValue
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct RefundFilterValue | crates/api_models/src/analytics.rs | api_models | struct_definition | RefundFilterValue | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: BokuPsyncResponse
// File: crates/hyperswitch_connectors/src/connectors/boku/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BokuPsyncResponse | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs | hyperswitch_connectors | struct_definition | BokuPsyncResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: invoke_lambda
// File: crates/analytics/src/lambda_utils.rs
// Module: analytics
pub fn invoke_lambda(
function_name: &str,
region: &str,
json_bytes: &[u8],
) -> CustomResult<(), AnalyticsError> | crates/analytics/src/lambda_utils.rs | analytics | function_signature | null | null | null | 57 | invoke_lambda | null | null | null | null | null | null |
// Function: customer_create
// File: crates/router/src/compatibility/stripe/customers.rs
// Module: router
pub fn customer_create(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::Config>,
req: HttpRequest,
form_payload: web::Bytes,
) -> HttpResponse | crates/router/src/compatibility/stripe/customers.rs | router | function_signature | null | null | null | 71 | customer_create | null | null | null | null | null | null |
// Function: get_profile_refund_filters
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_profile_refund_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<GetRefundFilterRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 70 | get_profile_refund_filters | null | null | null | null | null | null |
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Public functions: 12
// Public structs: 7
use api_models::enums as api_enums;
use common_utils::{
ext_traits::OptionExt, fp_utils::when, pii::Email, types::keymanager::KeyManagerState,
};
use error_stack::{repo... | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | full_file | null | null | null | 3,262 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use base64::Engine;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
req... | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | full_file | null | null | null | 6,701 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Nexixpay
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Nexixpay | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nexixpay | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Implementation: impl api::Refund for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Payeezy | api::Refund for | 0 | 0 | null | null |
// Implementation: impl PayoutAttemptInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 0 total (0 public)
impl PayoutAttemptInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 49 | null | KafkaStore | PayoutAttemptInterface for | 0 | 0 | null | null |
// Struct: BarclaycardVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardVoidRequest | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardVoidRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: GiftCardBalanceCheckResponseData
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GiftCardBalanceCheckResponseData | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | struct_definition | GiftCardBalanceCheckResponseData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PaypalPayoutMethodData
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalPayoutMethodData | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalPayoutMethodData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: Card
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Card | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | Card | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: OptionalDieselArray
// File: crates/diesel_models/src/lib.rs
// Module: diesel_models
// Implementations: 0
pub struct OptionalDieselArray<T> | crates/diesel_models/src/lib.rs | diesel_models | struct_definition | OptionalDieselArray | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_merchant_id
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn get_merchant_id(&self) -> Option<&id_type::MerchantId> | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 41 | get_merchant_id | null | null | null | null | null | null |
// Implementation: impl AuthEventMetricsAccumulator
// File: crates/analytics/src/auth_events/accumulator.rs
// Module: analytics
// Methods: 1 total (1 public)
impl AuthEventMetricsAccumulator | crates/analytics/src/auth_events/accumulator.rs | analytics | impl_block | null | null | null | 46 | null | AuthEventMetricsAccumulator | null | 1 | 1 | null | null |
api_locking::LockAction::NotApplicable,
))
.await
}
#[cfg(all(feature = "olap", feature = "v1", feature = "dynamic_routing"))]
#[instrument(skip_all)]
pub async fn toggle_success_based_routing(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<api_models::routing::ToggleDynami... | crates/router/src/routes/routing.rs#chunk1 | router | chunk | null | null | null | 4,633 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for UnifiedAuthenticationService | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | UnifiedAuthenticationService | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: get_secret
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_secret(self) -> String | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 30 | get_secret | null | null | null | null | null | null |
// Function: free_redis_lock
// File: crates/router/src/core/webhooks/utils.rs
// Module: router
pub fn free_redis_lock<A>(
state: &A,
unique_locking_key: &str,
merchant_id: common_utils::id_type::MerchantId,
lock_value: Option<String>,
) -> RouterResult<()>
where
A: SessionStateInfo, | crates/router/src/core/webhooks/utils.rs | router | function_signature | null | null | null | 81 | free_redis_lock | null | null | null | null | null | null |
// Function: user_signup
// File: crates/router/src/routes/user.rs
// Module: router
pub fn user_signup(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<user_api::SignUpRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 58 | user_signup | null | null | null | null | null | null |
// Struct: VenmoAdditionalData
// File: crates/common_utils/src/payout_method_utils.rs
// Module: common_utils
// Implementations: 0
pub struct VenmoAdditionalData | crates/common_utils/src/payout_method_utils.rs | common_utils | struct_definition | VenmoAdditionalData | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: list_by_merchant_id
// File: crates/diesel_models/src/query/blocklist.rs
// Module: diesel_models
pub fn list_by_merchant_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/blocklist.rs | diesel_models | function_signature | null | null | null | 67 | list_by_merchant_id | null | null | null | null | null | null |
// Function: find_merchant_scoped_dashboard_metadata
// File: crates/diesel_models/src/query/dashboard_metadata.rs
// Module: diesel_models
pub fn find_merchant_scoped_dashboard_metadata(
conn: &PgPooledConn,
merchant_id: id_type::MerchantId,
org_id: id_type::OrganizationId,
data_types:... | crates/diesel_models/src/query/dashboard_metadata.rs | diesel_models | function_signature | null | null | null | 88 | find_merchant_scoped_dashboard_metadata | null | null | null | null | null | null |
// Function: insert_user_scoped_metadata_to_db
// File: crates/router/src/utils/user/dashboard_metadata.rs
// Module: router
pub fn insert_user_scoped_metadata_to_db(
state: &SessionState,
user_id: String,
merchant_id: id_type::MerchantId,
org_id: id_type::OrganizationId,
metadata_key: DBEnum,
... | crates/router/src/utils/user/dashboard_metadata.rs | router | function_signature | null | null | null | 95 | insert_user_scoped_metadata_to_db | null | null | null | null | null | null |
// Struct: PaymentGetIntent
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentGetIntent | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | PaymentGetIntent | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: close
// File: crates/common_utils/src/signals.rs
// Module: common_utils
// Documentation: Hollow implementation, for windows compatibility
pub fn close(self) | crates/common_utils/src/signals.rs | common_utils | function_signature | null | null | null | 37 | close | null | null | null | null | null | null |
// Struct: CardDetailsPaymentMethod
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct CardDetailsPaymentMethod | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CardDetailsPaymentMethod | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: get_three_ds_method_url
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
pub fn get_three_ds_method_url(&self) -> Option<String> | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 53 | get_three_ds_method_url | null | null | null | null | null | null |
// Implementation: impl ConvertRaw for for TransientDecryptDataRequest
// File: crates/common_utils/src/keymanager.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl ConvertRaw for for TransientDecryptDataRequest | crates/common_utils/src/keymanager.rs | common_utils | impl_block | null | null | null | 51 | null | TransientDecryptDataRequest | ConvertRaw for | 1 | 0 | null | null |
// Function: get_payout_link_data
// File: crates/diesel_models/src/generic_link.rs
// Module: diesel_models
pub fn get_payout_link_data(&self) -> Result<&PayoutLinkData, String> | crates/diesel_models/src/generic_link.rs | diesel_models | function_signature | null | null | null | 48 | get_payout_link_data | null | null | null | null | null | null |
// Struct: AciWebhookRiskDetails
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciWebhookRiskDetails | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciWebhookRiskDetails | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: ThreedsecureioAuthType
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreedsecureioAuthType | crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs | hyperswitch_connectors | struct_definition | ThreedsecureioAuthType | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Ebanx | api::PaymentSync for | 0 | 0 | null | null |
// Struct: KlarnaCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaCaptureResponse | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaCaptureResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: AuthipayVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthipayVoidRequest | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | AuthipayVoidRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router/src/services/api/request.rs
// Module: router
pub use common_utils::request::ContentType;
pub use masking::{Mask, Maskable};
| crates/router/src/services/api/request.rs | router | full_file | null | null | null | 34 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 7 total (0 public)
impl IncomingWebhook for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Riskified | IncomingWebhook for | 7 | 0 | null | null |
// Struct: AffirmPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AffirmPaymentsRequest | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | AffirmPaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Razorpay | api::MandateSetup for | 0 | 0 | null | null |
// Function: default_specific_dynamic_routing_setup
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn default_specific_dynamic_routing_setup(
state: &SessionState,
key_store: domain::MerchantKeyStore,
business_profile: domain::Profile,
feature_to_enable: routing_types::Dynamic... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 112 | default_specific_dynamic_routing_setup | null | null | null | null | null | null |
// Function: perform_eligibility_analysis_with_fallback
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_eligibility_analysis_with_fallback(
state: &SessionState,
key_store: &domain::MerchantKeyStore,
chosen: Vec<routing_types::RoutableConnectorChoice>,
transaction_d... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 127 | perform_eligibility_analysis_with_fallback | null | null | null | null | null | null |
// Struct: NumberComparison
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct NumberComparison | crates/api_models/src/routing.rs | api_models | struct_definition | NumberComparison | 0 | [] | 34 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Coinbase | api::PaymentSync for | 0 | 0 | null | null |
// Struct: FiuuPaymentRequest
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuPaymentRequest | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuPaymentRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: CountAccumulator
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: PaymentMetricAccumulator
pub struct CountAccumulator | crates/analytics/src/payments/accumulator.rs | analytics | struct_definition | CountAccumulator | 1 | [
"PaymentMetricAccumulator"
] | 48 | null | null | null | null | null | null | null |
// Implementation: impl Deref for for CardSecurityCode
// File: crates/cards/src/lib.rs
// Module: cards
// Methods: 1 total (0 public)
impl Deref for for CardSecurityCode | crates/cards/src/lib.rs | cards | impl_block | null | null | null | 44 | null | CardSecurityCode | Deref for | 1 | 0 | null | null |
// Function: fetch_disputes_from_connector
// File: crates/router/src/core/disputes.rs
// Module: router
pub fn fetch_disputes_from_connector(
state: SessionState,
merchant_context: domain::MerchantContext,
merchant_connector_id: common_utils::id_type::MerchantConnectorAccountId,
req: FetchDisputesRequ... | crates/router/src/core/disputes.rs | router | function_signature | null | null | null | 87 | fetch_disputes_from_connector | null | null | null | null | null | null |
// Struct: ThreedsecureioPreAuthenticationRequest
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreedsecureioPreAuthenticationRequest | crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs | hyperswitch_connectors | struct_definition | ThreedsecureioPreAuthenticationRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: get_id
// File: crates/hyperswitch_domain_models/src/merchant_account.rs
// Module: hyperswitch_domain_models
// Documentation: Get the unique identifier of MerchantAccount
pub fn get_id(&self) -> &common_utils::id_type::MerchantId | crates/hyperswitch_domain_models/src/merchant_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 58 | get_id | null | null | null | null | null | null |
// Struct: EventListItemResponse
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Implementations: 0
pub struct EventListItemResponse | crates/api_models/src/webhook_events.rs | api_models | struct_definition | EventListItemResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: insert_refunds
// File: crates/diesel_models/src/query/user/sample_data.rs
// Module: diesel_models
pub fn insert_refunds(
conn: &PgPooledConn,
batch: Vec<RefundNew>,
) -> StorageResult<Vec<Refund>> | crates/diesel_models/src/query/user/sample_data.rs | diesel_models | function_signature | null | null | null | 60 | insert_refunds | null | null | null | null | null | null |
// Struct: NordeaOAuthExchangeResponse
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaOAuthExchangeResponse | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | NordeaOAuthExchangeResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: get_data_from_hyperswitch_ai_workflow
// File: crates/router/src/core/chat.rs
// Module: router
pub fn get_data_from_hyperswitch_ai_workflow(
state: SessionState,
user_from_token: auth::UserFromToken,
req: chat_api::ChatRequest,
session_id: Option<&str>,
) -> CustomResult<ApplicationRespon... | crates/router/src/core/chat.rs | router | function_signature | null | null | null | 90 | get_data_from_hyperswitch_ai_workflow | null | null | null | null | null | null |
// Struct: Error
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Error | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | Error | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Function: retrieve_linked_routing_config
// File: crates/router/src/core/routing.rs
// Module: router
pub fn retrieve_linked_routing_config(
state: SessionState,
merchant_context: domain::MerchantContext,
authentication_profile_id: Option<common_utils::id_type::ProfileId>,
query_params: routing_type... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 97 | retrieve_linked_routing_config | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 70 | null | Fiservemea | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Function: validate_role_groups
// File: crates/router/src/utils/user_role.rs
// Module: router
pub fn validate_role_groups(groups: &[PermissionGroup]) -> UserResult<()> | crates/router/src/utils/user_role.rs | router | function_signature | null | null | null | 38 | validate_role_groups | null | null | null | null | null | null |
// Function: add_filter_clause
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn add_filter_clause(
&mut self,
key: impl ToSql<T>,
value: impl ToSql<T>,
) -> QueryResult<()> | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 55 | add_filter_clause | null | null | null | null | null | null |
// Implementation: impl EphemeralKey
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl EphemeralKey | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 39 | null | EphemeralKey | null | 1 | 1 | null | null |
// Function: get_stream_key_flag
// File: crates/drainer/src/stream.rs
// Module: drainer
pub fn get_stream_key_flag(&self, stream_index: u8) -> String | crates/drainer/src/stream.rs | drainer | function_signature | null | null | null | 41 | get_stream_key_flag | null | null | null | null | null | null |
// Module Structure
// File: crates/storage_impl/src/errors.rs
// Module: storage_impl
// Public exports:
pub use common_enums::{ApiClientError, ApplicationError, ApplicationResult};
pub use redis_interface::errors::RedisError;
| crates/storage_impl/src/errors.rs | storage_impl | module_structure | null | null | null | 49 | null | null | null | null | null | 0 | 2 |
// File: crates/hyperswitch_constraint_graph/src/builder.rs
// Module: hyperswitch_constraint_graph
// Public functions: 8
// Public structs: 1
use std::sync::Arc;
use rustc_hash::{FxHashMap, FxHashSet};
use crate::{
dense_map::DenseMap,
error::GraphError,
graph::ConstraintGraph,
types::{
Dom... | crates/hyperswitch_constraint_graph/src/builder.rs | hyperswitch_constraint_graph | full_file | null | null | null | 2,025 | null | null | null | null | null | null | null |
// Function: list_updatable_roles_at_entity_level
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn list_updatable_roles_at_entity_level(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<role_api::ListRolesAtEntityLevelRequest>,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 71 | list_updatable_roles_at_entity_level | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Airwallex | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Airwallex | ConnectorSpecifications for | 3 | 0 | null | null |
.associated_payment_methods
.or(associated_payment_methods),
associated_payment,
associated_token_id,
}
}
}
#[cfg(feature = "v2")]
pub struct PaymentMethodsSessionUpdateInternal {
pub billing: Option<Encryptable<Address>>,
pub psp_tokenization... | crates/hyperswitch_domain_models/src/payment_methods.rs#chunk1 | hyperswitch_domain_models | chunk | null | null | null | 2,992 | null | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/core/subscription.rs
// Module: router
pub fn new(
state: SessionState,
merchant_context: MerchantContext,
request: subscription_types::ConfirmSubscriptionRequest,
profile: hyperswitch_domain_models::business_profile::Profile,
) -> Self | crates/router/src/core/subscription.rs | router | function_signature | null | null | null | 65 | new | null | null | null | null | null | null |
// Function: upload_file_to_theme_storage
// File: crates/router/src/core/user/theme.rs
// Module: router
pub fn upload_file_to_theme_storage(
state: SessionState,
theme_id: String,
request: theme_api::UploadFileRequest,
) -> UserResponse<()> | crates/router/src/core/user/theme.rs | router | function_signature | null | null | null | 60 | upload_file_to_theme_storage | null | null | null | null | null | null |
// Function: get_role_name
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_role_name(self) -> String | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 32 | get_role_name | null | null | null | null | null | null |
// Implementation: impl RetrieveFile for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RetrieveFile for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Worldpayvantiv | RetrieveFile for | 0 | 0 | null | null |
// Function: payment_status
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payment_status(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
payload: web::Query<api_models::payments::PaymentsStatusRequest>,
path: web::Path<common_utils::id_type::GlobalPaymentId>,
) -... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 85 | payment_status | null | null | null | null | null | null |
// Struct: RoutingRule
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct RoutingRule | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | RoutingRule | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/chargebee.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/chargebee.rs | router | full_file | null | null | null | 2,932 | null | null | null | null | null | null | null |
// Struct: ArchipelRouterData
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelRouterData<T> | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: DeutschebankThreeDSInitializeResponseProcessed
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankThreeDSInitializeResponseProcessed | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankThreeDSInitializeResponseProcessed | 0 | [] | 56 | null | null | null | null | null | null | null |
// Implementation: impl MessagingInterface for for KafkaProducer
// File: crates/router/src/services/kafka.rs
// Module: router
// Methods: 1 total (0 public)
impl MessagingInterface for for KafkaProducer | crates/router/src/services/kafka.rs | router | impl_block | null | null | null | 44 | null | KafkaProducer | MessagingInterface for | 1 | 0 | null | null |
// Struct: ClientDetails
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientDetails | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | ClientDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: SquarePaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquarePaymentsRequest | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquarePaymentsRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl ConfigUpdateInternal
// File: crates/diesel_models/src/configs.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl ConfigUpdateInternal | crates/diesel_models/src/configs.rs | diesel_models | impl_block | null | null | null | 40 | null | ConfigUpdateInternal | null | 1 | 1 | null | null |
// Struct: PayuWallet
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuWallet | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuWallet | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/lib.rs
// Module: hyperswitch_connectors
//! Hyperswitch connectors
pub mod connectors;
pub mod constants;
pub mod default_implementations;
pub mod default_implementations_v2;
pub mod metrics;
pub mod types;
pub mod utils;
| crates/hyperswitch_connectors/src/lib.rs | hyperswitch_connectors | full_file | null | null | null | 64 | null | null | null | null | null | null | null |
// Struct: Customer
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Customer | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | Customer | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: PlaidBankAccountCredentialsResponse
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidBankAccountCredentialsResponse | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidBankAccountCredentialsResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.