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 api::PaymentVoid for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Stax | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: MessagesResponseData
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MessagesResponseData | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | MessagesResponseData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_payment_processor_token_using_token_id
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
pub fn get_payment_processor_token_using_token_id(
state: &SessionState,
connector_customer_id: &str,
payment_processor_token: &str,
) -> Cu... | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 81 | get_payment_processor_token_using_token_id | null | null | null | null | null | null |
// File: crates/hsdev/src/input_file.rs
// Module: hsdev
// Public functions: 2
// Public structs: 1
use std::string::String;
use serde::Deserialize;
use toml::Value;
#[derive(Deserialize)]
pub struct InputData {
username: String,
password: String,
dbname: String,
host: String,
port: u16,
}
impl... | crates/hsdev/src/input_file.rs | hsdev | full_file | null | null | null | 172 | null | null | null | null | null | null | null |
// Implementation: impl RevenueRecoveryOutgoingWebhook
// File: crates/router/src/core/revenue_recovery/types.rs
// Module: router
// Methods: 1 total (0 public)
impl RevenueRecoveryOutgoingWebhook | crates/router/src/core/revenue_recovery/types.rs | router | impl_block | null | null | null | 48 | null | RevenueRecoveryOutgoingWebhook | null | 1 | 0 | null | null |
// File: crates/router/src/routes/dummy_connector/utils.rs
// Module: router
// Public functions: 9
use std::fmt::Debug;
use common_utils::ext_traits::AsyncExt;
use error_stack::{report, ResultExt};
use masking::PeekInterface;
use maud::html;
use rand::{distributions::Uniform, prelude::Distribution};
use tokio::time ... | crates/router/src/routes/dummy_connector/utils.rs | router | full_file | null | null | null | 3,499 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 7
use common_enums::enums;
use common_utils::types::StringMinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::RouterData,
rou... | crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,566 | null | null | null | null | null | null | null |
// Struct: PaymentSessionIntent
// File: crates/router/src/core/payments/operations/payment_session_intent.rs
// Module: router
// Implementations: 1
// Traits: ValidateStatusForOperation
pub struct PaymentSessionIntent | crates/router/src/core/payments/operations/payment_session_intent.rs | router | struct_definition | PaymentSessionIntent | 1 | [
"ValidateStatusForOperation"
] | 48 | null | null | null | null | null | null | null |
// Function: switch_merchant_for_user_in_org
// File: crates/router/src/core/user.rs
// Module: router
pub fn switch_merchant_for_user_in_org(
state: SessionState,
request: user_api::SwitchMerchantRequest,
user_from_token: auth::UserFromToken,
) -> UserResponse<user_api::TokenResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 74 | switch_merchant_for_user_in_org | null | null | null | null | null | null |
// Function: get_merchant_sankey
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_merchant_sankey(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<TimeRange>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 67 | get_merchant_sankey | null | null | null | null | null | null |
// Implementation: impl GetRequestIncrementalAuthorization for for PaymentsAuthorizeData
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl GetRequestIncrementalAuthorization for for PaymentsAuthorizeData | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | PaymentsAuthorizeData | GetRequestIncrementalAuthorization for | 1 | 0 | null | null |
// Struct: Address
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Address | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | Address | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: update_profile_acquirer_config
// File: crates/router/src/core/profile_acquirer.rs
// Module: router
pub fn update_profile_acquirer_config(
state: SessionState,
profile_id: common_utils::id_type::ProfileId,
profile_acquirer_id: common_utils::id_type::ProfileAcquirerId,
request: profile_acq... | crates/router/src/core/profile_acquirer.rs | router | function_signature | null | null | null | 105 | update_profile_acquirer_config | null | null | null | null | null | null |
// Function: list_all_merchant_accounts
// File: crates/diesel_models/src/query/merchant_account.rs
// Module: diesel_models
pub fn list_all_merchant_accounts(
conn: &PgPooledConn,
limit: u32,
offset: Option<u32>,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/merchant_account.rs | diesel_models | function_signature | null | null | null | 69 | list_all_merchant_accounts | null | null | null | null | null | null |
// Implementation: impl RecoveryDeciderClientInterface for for DeciderClient
// File: crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs
// Module: external_services
// Methods: 1 total (0 public)
impl RecoveryDeciderClientInterface for for DeciderClient | crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs | external_services | impl_block | null | null | null | 62 | null | DeciderClient | RecoveryDeciderClientInterface for | 1 | 0 | null | null |
// Implementation: impl RecordMigrationStatusBuilder
// File: crates/payment_methods/src/core/migration.rs
// Module: payment_methods
// Methods: 6 total (6 public)
impl RecordMigrationStatusBuilder | crates/payment_methods/src/core/migration.rs | payment_methods | impl_block | null | null | null | 42 | null | RecordMigrationStatusBuilder | null | 6 | 6 | null | null |
// File: crates/api_models/src/events/customer.rs
// Module: api_models
use common_utils::events::{ApiEventMetric, ApiEventsType};
use crate::customers::{
CustomerDeleteResponse, CustomerRequest, CustomerResponse, CustomerUpdateRequestInternal,
};
#[cfg(feature = "v1")]
impl ApiEventMetric for CustomerDeleteResp... | crates/api_models/src/events/customer.rs | api_models | full_file | null | null | null | 513 | null | null | null | null | null | null | null |
// Struct: ProfileAcquirerResponse
// File: crates/api_models/src/profile_acquirer.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct ProfileAcquirerResponse | crates/api_models/src/profile_acquirer.rs | api_models | struct_definition | ProfileAcquirerResponse | 1 | [
"common_utils::events::ApiEventMetric"
] | 51 | null | null | null | null | null | null | null |
// Struct: ResponsePaymentMethodIntermediate
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 1
pub struct ResponsePaymentMethodIntermediate | crates/api_models/src/payment_methods.rs | api_models | struct_definition | ResponsePaymentMethodIntermediate | 1 | [] | 38 | null | null | null | null | null | null | null |
// Function: payment_external_authentication
// File: crates/router/src/core/payments.rs
// Module: router
pub fn payment_external_authentication(
_state: SessionState,
_merchant_context: domain::MerchantContext,
_req: api_models::payments::PaymentsExternalAuthenticationRequest,
) -> RouterResponse<api_mod... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 75 | payment_external_authentication | null | null | null | null | null | null |
// File: crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
refunds::{RefundDimensions, RefundFilters, RefundMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitc... | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs | analytics | full_file | null | null | null | 896 | null | null | null | null | null | null | null |
// Struct: CardInfoMigrationResponse
// File: crates/api_models/src/cards_info.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct CardInfoMigrationResponse | crates/api_models/src/cards_info.rs | api_models | struct_definition | CardInfoMigrationResponse | 1 | [
"ApiEventMetric"
] | 45 | null | null | null | null | null | null | null |
// Struct: LogSpanInitializer
// File: crates/router/src/middleware.rs
// Module: router
// Implementations: 0
// Documentation: Middleware to build a TOP level domain span for each request.
pub struct LogSpanInitializer | crates/router/src/middleware.rs | router | struct_definition | LogSpanInitializer | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Deutschebank
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Deutschebank | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Deutschebank | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl ValidateStatusForOperation for for PaymentAttemptRecord
// File: crates/router/src/core/payments/operations/payment_attempt_record.rs
// Module: router
// Methods: 1 total (0 public)
impl ValidateStatusForOperation for for PaymentAttemptRecord | crates/router/src/core/payments/operations/payment_attempt_record.rs | router | impl_block | null | null | null | 55 | null | PaymentAttemptRecord | ValidateStatusForOperation for | 1 | 0 | null | null |
// Function: is_external_vault_enabled
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn is_external_vault_enabled(&self) -> bool | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 44 | is_external_vault_enabled | null | null | null | null | null | null |
// Struct: PaymentVoidResponse
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentVoidResponse | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | PaymentVoidResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
#[async_trait::async_trait]
impl webhooks::IncomingWebhook for Nordea {
fn get_webhook_object_reference_id(
&self,
_request: &webhooks::IncomingWebhookRequestDetails<'_>,
) -> CustomResult<api_models::webhooks::ObjectReferenceId, errors::ConnectorError> {
Err(report!(errors::ConnectorErr... | crates/hyperswitch_connectors/src/connectors/nordea.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 647 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Zsl
// File: crates/hyperswitch_connectors/src/connectors/zsl.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Zsl | crates/hyperswitch_connectors/src/connectors/zsl.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Zsl | api::Refund for | 0 | 0 | null | null |
// Struct: RoutingAlgorithmRecord
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct RoutingAlgorithmRecord | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | RoutingAlgorithmRecord | 0 | [] | 38 | null | null | null | null | null | null | null |
}
#[cfg(feature = "v1")]
pub async fn save_in_locker_external(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payment_method_request: api::PaymentMethodCreate,
card_detail: Option<api::CardDetail>,
external_vault_connector_details: &ExternalVaultConnectorDetails,
) -> RouterResul... | crates/router/src/core/payments/tokenization.rs#chunk1 | router | chunk | null | null | null | 5,617 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | function_signature | null | null | null | 41 | new | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nomupay | api::PaymentSession for | 0 | 0 | null | null |
// Struct: Mistercash
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Mistercash | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | Mistercash | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_vault_data
// File: crates/router/src/core/proxy/utils.rs
// Module: router
pub fn get_vault_data(
&self,
state: &SessionState,
merchant_context: domain::MerchantContext,
) -> RouterResult<Value> | crates/router/src/core/proxy/utils.rs | router | function_signature | null | null | null | 59 | get_vault_data | null | null | null | null | null | null |
// Function: call_decision_manager
// File: crates/router/src/core/payments.rs
// Module: router
pub fn call_decision_manager<F, D>(
state: &SessionState,
merchant_context: &domain::MerchantContext,
_business_profile: &domain::Profile,
payment_data: &D,
) -> RouterResult<Option<enums::AuthenticationTyp... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 93 | call_decision_manager | null | null | null | null | null | null |
// Function: refund_payment
// File: crates/router/src/routes/dummy_connector/core.rs
// Module: router
pub fn refund_payment(
state: SessionState,
req: types::DummyConnectorRefundRequest,
) -> types::DummyConnectorResponse<types::DummyConnectorRefundResponse> | crates/router/src/routes/dummy_connector/core.rs | router | function_signature | null | null | null | 62 | refund_payment | null | null | null | null | null | null |
// Struct: EnhancedAuthResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EnhancedAuthResponse | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | EnhancedAuthResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: References
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct References | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | References | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: PaymentIntentMetricRow
// File: crates/analytics/src/payment_intents/metrics.rs
// Module: analytics
// Implementations: 0
pub struct PaymentIntentMetricRow | crates/analytics/src/payment_intents/metrics.rs | analytics | struct_definition | PaymentIntentMetricRow | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Gpayments | api::PaymentToken for | 0 | 0 | null | null |
// Function: get_header_value_by_key
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn get_header_value_by_key(key: String, headers: &HeaderMap) -> RouterResult<Option<&str>> | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 48 | get_header_value_by_key | null | null | null | null | null | null |
maud::html! {
(maud::DOCTYPE)
html {
head {
meta name="viewport" content="width=device-width, initial-scale=1";
}
body style="background-color: #ffffff; padding: 20px; font-family: Arial, Helvetica, Sans-Serif;" ... | crates/router/src/services/api.rs#chunk2 | router | chunk | null | null | null | 6,138 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Sift | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl Default for for ZeroMandates
// File: crates/payment_methods/src/configs/payment_connector_required_fields.rs
// Module: payment_methods
// Methods: 1 total (0 public)
impl Default for for ZeroMandates | crates/payment_methods/src/configs/payment_connector_required_fields.rs | payment_methods | impl_block | null | null | null | 51 | null | ZeroMandates | Default for | 1 | 0 | null | null |
// Function: parse_and_log_keys_in_url_encoded_response
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
pub fn parse_and_log_keys_in_url_encoded_response<T>(data: &[u8]) | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | function_signature | null | null | null | 56 | parse_and_log_keys_in_url_encoded_response | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/finix/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 8
use common_enums::enums;
use common_utils::types::MinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
... | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,657 | null | null | null | null | null | null | null |
// Function: get_payment_status_for_sync
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn get_payment_status_for_sync(&self) -> common_enums::AttemptStatus | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 55 | get_payment_status_for_sync | null | null | null | null | null | null |
// Implementation: impl Hash for for ApiEventMetricsBucketIdentifier
// File: crates/api_models/src/analytics/api_event.rs
// Module: api_models
// Methods: 1 total (0 public)
impl Hash for for ApiEventMetricsBucketIdentifier | crates/api_models/src/analytics/api_event.rs | api_models | impl_block | null | null | null | 51 | null | ApiEventMetricsBucketIdentifier | Hash for | 1 | 0 | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Payme | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Function: insert_org_in_db
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn insert_org_in_db(self, state: SessionState) -> UserResult<Organization> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 43 | insert_org_in_db | null | null | null | null | null | null |
// Struct: CybersourceAuthValidateRequest
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceAuthValidateRequest | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceAuthValidateRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: get_should_call_gsm_key
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: Get should call gsm key for payment
pub fn get_should_call_gsm_key(&self) -> String | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 54 | get_should_call_gsm_key | null | null | null | null | null | null |
// Struct: BankOfAmericaRouterData
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaRouterData<T> | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaRouterData | 0 | [] | 56 | null | null | null | null | null | null | null |
// Struct: GsmDeleteResponse
// File: crates/api_models/src/gsm.rs
// Module: api_models
// Implementations: 0
pub struct GsmDeleteResponse | crates/api_models/src/gsm.rs | api_models | struct_definition | GsmDeleteResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: check_two_factor_auth_status
// File: crates/router/src/routes/user.rs
// Module: router
pub fn check_two_factor_auth_status(
state: web::Data<AppState>,
req: HttpRequest,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 49 | check_two_factor_auth_status | null | null | null | null | null | null |
// Function: contract_based_routing_update_configs
// File: crates/router/src/core/routing.rs
// Module: router
pub fn contract_based_routing_update_configs(
state: SessionState,
request: routing_types::ContractBasedRoutingConfig,
merchant_context: domain::MerchantContext,
algorithm_id: common_utils::i... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 97 | contract_based_routing_update_configs | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// File: crates/api_models/src/blocklist.rs
// Module: api_models
// Public structs: 7
use common_enums::enums;
use common_utils::events::ApiEventMetric;
use masking::StrongSecret;
use utoipa::ToSchema;
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, ToSchema)]
#[serde(rename_all = "snake_case", tag = "t... | crates/api_models/src/blocklist.rs | api_models | full_file | null | null | null | 608 | null | null | null | null | null | null | null |
// Function: handle_unified_connector_service_response_for_payment_get
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
pub fn handle_unified_connector_service_response_for_payment_get(
response: payments_grpc::PaymentServiceGetResponse,
) -> UnifiedConnectorServiceResult | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 61 | handle_unified_connector_service_response_for_payment_get | null | null | null | null | null | null |
// Struct: Address
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Address | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Address | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl DisputeMetricAccumulator for for DisputedAmountAccumulator
// File: crates/analytics/src/disputes/accumulators.rs
// Module: analytics
// Methods: 2 total (0 public)
impl DisputeMetricAccumulator for for DisputedAmountAccumulator | crates/analytics/src/disputes/accumulators.rs | analytics | impl_block | null | null | null | 64 | null | DisputedAmountAccumulator | DisputeMetricAccumulator for | 2 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Rapyd | api::RefundExecute for | 0 | 0 | null | null |
// Function: create_merchant_account
// File: crates/router/src/core/admin.rs
// Module: router
pub fn create_merchant_account(
state: SessionState,
req: api::MerchantAccountCreate,
org_data_from_auth: Option<authentication::AuthenticationDataWithOrg>,
) -> RouterResponse<api::MerchantAccountResponse> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 71 | create_merchant_account | null | null | null | null | null | null |
// Struct: PaypalRedirectionStruct
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalRedirectionStruct | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalRedirectionStruct | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 8 total (0 public)
impl IncomingWebhook for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Adyenplatform | IncomingWebhook for | 8 | 0 | null | null |
// Function: get_api_key
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn get_api_key(headers: &HeaderMap) -> RouterResult<&str> | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 39 | get_api_key | null | null | null | null | null | null |
// Struct: PaypalAdditionalData
// File: crates/common_utils/src/payout_method_utils.rs
// Module: common_utils
// Implementations: 0
pub struct PaypalAdditionalData | crates/common_utils/src/payout_method_utils.rs | common_utils | struct_definition | PaypalAdditionalData | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Digitalvirgo | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Digitalvirgo | api::PaymentToken for | 0 | 0 | null | null |
// Struct: Customer
// File: crates/hyperswitch_domain_models/src/customer.rs
// Module: hyperswitch_domain_models
// Implementations: 3
// Traits: behaviour::Conversion, behaviour::Conversion
pub struct Customer | crates/hyperswitch_domain_models/src/customer.rs | hyperswitch_domain_models | struct_definition | Customer | 3 | [
"behaviour::Conversion",
"behaviour::Conversion"
] | 48 | null | null | null | null | null | null | null |
// Implementation: impl RecoveryPaymentTuple
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
// Methods: 2 total (1 public)
impl RecoveryPaymentTuple | crates/router/src/core/webhooks/recovery_incoming.rs | router | impl_block | null | null | null | 42 | null | RecoveryPaymentTuple | null | 2 | 1 | null | null |
// Struct: Log
// File: crates/router_env/src/logger/config.rs
// Module: router_env
// Implementations: 0
pub struct Log | crates/router_env/src/logger/config.rs | router_env | struct_definition | Log | 0 | [] | 32 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/webhooks.rs
// Module: hyperswitch_interfaces
// Public structs: 1
//! Webhooks interface
use common_utils::{crypto, errors::CustomResult, ext_traits::ValueExt};
use error_stack::ResultExt;
use hyperswitch_domain_models::{
api::ApplicationResponse, errors::api_error_resp... | crates/hyperswitch_interfaces/src/webhooks.rs | hyperswitch_interfaces | full_file | null | null | null | 2,452 | null | null | null | null | null | null | null |
// Function: get_expiry_date_as_mmyy
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Get the expiry date in MMYY format from the Google Pay pre-decrypt data
pub fn get_expiry_date_as_mmyy(&self) -> Result<Secret<String>, errors::ValidationError> | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 70 | get_expiry_date_as_mmyy | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 7 total (0 public)
impl webhooks::IncomingWebhook for for Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Inespay | webhooks::IncomingWebhook for | 7 | 0 | null | null |
// Struct: ZenWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZenWebhookBody | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ZenWebhookBody | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Stax | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: ServiceSessionIds
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ServiceSessionIds | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | ServiceSessionIds | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: DwollaAccessTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaAccessTokenResponse | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaAccessTokenResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Breadpay
// File: crates/hyperswitch_connectors/src/connectors/breadpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Breadpay | crates/hyperswitch_connectors/src/connectors/breadpay.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Breadpay | api::Payment for | 0 | 0 | null | null |
// Implementation: impl api::Refund for for Barclaycard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Barclaycard | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Barclaycard | api::Refund for | 0 | 0 | null | null |
// Struct: ResetPassword
// File: crates/router/src/services/email/types.rs
// Module: router
// Implementations: 1
// Traits: EmailData
pub struct ResetPassword | crates/router/src/services/email/types.rs | router | struct_definition | ResetPassword | 1 | [
"EmailData"
] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Opennode | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Opennode | api::MandateSetup for | 0 | 0 | null | null |
// Struct: BillwerkCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillwerkCaptureRequest | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs | hyperswitch_connectors | struct_definition | BillwerkCaptureRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: merchant_account_retrieve
// File: crates/openapi/src/routes/merchant_account.rs
// Module: openapi
pub fn merchant_account_retrieve() | crates/openapi/src/routes/merchant_account.rs | openapi | function_signature | null | null | null | 34 | merchant_account_retrieve | null | null | null | null | null | null |
// Implementation: impl api::payments::PaymentsCompleteAuthorize for for Prophetpay
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::payments::PaymentsCompleteAuthorize for for Prophetpay | crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Prophetpay | api::payments::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Function: new
// File: crates/storage_impl/src/mock_db.rs
// Module: storage_impl
pub fn new(redis: &RedisSettings) -> error_stack::Result<Self, StorageError> | crates/storage_impl/src/mock_db.rs | storage_impl | function_signature | null | null | null | 41 | new | null | null | null | null | null | null |
// Function: list_invitations_for_user
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn list_invitations_for_user(
state: web::Data<AppState>,
req: HttpRequest,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 50 | list_invitations_for_user | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Public functions: 5
// Public structs: 30
use error_stack::ResultExt;
use hyperswitch_interfaces::errors;
use masking::Secret;
use serde::{Deserialize, Serialize};
use url::Url;
use super::requests::*;
#[d... | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | full_file | null | null | null | 3,126 | null | null | null | null | null | null | null |
// Struct: DeleteUserRoleRequest
// File: crates/api_models/src/user_role.rs
// Module: api_models
// Implementations: 0
pub struct DeleteUserRoleRequest | crates/api_models/src/user_role.rs | api_models | struct_definition | DeleteUserRoleRequest | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: ErrorObject
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorObject | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | ErrorObject | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: OpensearchHits
// File: crates/api_models/src/analytics/search.rs
// Module: api_models
// Implementations: 0
pub struct OpensearchHits | crates/api_models/src/analytics/search.rs | api_models | struct_definition | OpensearchHits | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: connector-template/transformers.rs
// Module: connector-template
// Public structs: 1
use common_enums::enums;
use serde::{Deserialize, Serialize};
use masking::Secret;
use common_utils::types::{StringMinorUnit};
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{Co... | connector-template/transformers.rs | connector-template | full_file | null | null | null | 1,881 | null | null | null | null | null | null | null |
// Implementation: impl Profile
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Profile | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Profile | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentCapture for for Tesouro
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Tesouro | crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Tesouro | api::PaymentCapture for | 0 | 0 | null | null |
// Function: get_metadata_as_secret
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_metadata_as_secret(
&self,
) -> CustomResult<Option<pii::SecretSerdeValue>, errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 54 | get_metadata_as_secret | null | null | null | null | null | null |
// Struct: GetSubscriptionPlansData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GetSubscriptionPlansData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | GetSubscriptionPlansData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: customer_update
// File: crates/router/src/compatibility/stripe/customers.rs
// Module: router
pub fn customer_update(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::Config>,
req: HttpRequest,
path: web::Path<id_type::CustomerId>,
form_payload: web::Bytes,
) -> Http... | crates/router/src/compatibility/stripe/customers.rs | router | function_signature | null | null | null | 83 | customer_update | null | null | null | null | null | null |
// Struct: RapydIncomingWebhook
// File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RapydIncomingWebhook | crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs | hyperswitch_connectors | struct_definition | RapydIncomingWebhook | 0 | [] | 54 | null | null | null | null | null | null | null |
// Trait: PaymentIntentMetricAccumulator
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
pub trait PaymentIntentMetricAccumulator | crates/analytics/src/payment_intents/accumulator.rs | analytics | trait_definition | null | null | null | 37 | null | null | PaymentIntentMetricAccumulator | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.