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: new
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Trait: AuthServiceBankAccountCredentials
// File: crates/pm_auth/src/types/api/auth_service.rs
// Module: pm_auth
pub trait AuthServiceBankAccountCredentials: super::ConnectorIntegration<
BankAccountCredentials,
BankAccountCredentialsRequest,
BankAccountCredentialsResponse,
> | crates/pm_auth/src/types/api/auth_service.rs | pm_auth | trait_definition | null | null | null | 57 | null | null | AuthServiceBankAccountCredentials | null | null | null | null |
// Struct: ErrorDistributionAccumulator
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Implementations: 0
pub struct ErrorDistributionAccumulator | crates/analytics/src/payment_intents/accumulator.rs | analytics | struct_definition | ErrorDistributionAccumulator | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl PaymentToken for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentToken for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Netcetera | PaymentToken for | 0 | 0 | null | null |
// Implementation: impl ApiEventMetric for for RevenueRecoveryDataBackfillResponse
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Methods: 1 total (0 public)
impl ApiEventMetric for for RevenueRecoveryDataBackfillResponse | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | impl_block | null | null | null | 61 | null | RevenueRecoveryDataBackfillResponse | ApiEventMetric for | 1 | 0 | null | null |
// Function: construct_router_data
// File: crates/router/src/core/authentication/transformers.rs
// Module: router
pub fn construct_router_data<F: Clone, Req, Res>(
state: &SessionState,
authentication_connector_name: String,
payment_method: PaymentMethod,
merchant_id: common_utils::id_type::MerchantI... | crates/router/src/core/authentication/transformers.rs | router | function_signature | null | null | null | 150 | construct_router_data | null | null | null | null | null | null |
// Struct: SyncDetails
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SyncDetails | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | SyncDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: get_merchant_reference_id
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_merchant_reference_id(&self) -> id_type::MerchantId | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 41 | get_merchant_reference_id | null | null | null | null | null | null |
// Function: get_additional_amount
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_additional_amount(&self) -> MinorUnit | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 43 | get_additional_amount | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Adyenplatform | api::RefundExecute for | 0 | 0 | null | null |
// Function: create_domain_model
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn create_domain_model(
payment_intent: &super::PaymentIntent,
cell_id: id_type::CellId,
storage_scheme: storage_enums::MerchantStorageScheme,
... | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 109 | create_domain_model | null | null | null | null | null | null |
// Function: create_domain_model_using_record_request
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn create_domain_model_using_record_request(
payment_intent: &super::PaymentIntent,
cell_id: id_type::CellId,
storage_scheme: ... | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 115 | create_domain_model_using_record_request | null | null | null | null | null | null |
// Struct: Mandates
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct Mandates | crates/router/src/routes/app.rs | router | struct_definition | Mandates | 1 | [] | 32 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// File: crates/router/src/core/disputes/transformers.rs
// Module: router
// Public functions: 5
use api_models::disputes::EvidenceType;
use common_utils::errors::CustomResult;
use error_stack::ResultExt;
use crate::{
core::{errors, files::helpers::retrieve_file_and_provider_file_id_from_file_id},
routes::Se... | crates/router/src/core/disputes/transformers.rs | router | full_file | null | null | null | 2,983 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/payment_intent.rs
// Module: diesel_models
// Public functions: 9
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods};
use super::generics;
#[cfg(feature = "v1")]
use crate::schema::payment_intent::dsl;
#[cfg(feature = "v2")]
use crate::schema_v2::pay... | crates/diesel_models/src/query/payment_intent.rs | diesel_models | full_file | null | null | null | 1,257 | null | null | null | null | null | null | null |
// Function: get_link_with_token
// File: crates/router/src/services/email/types.rs
// Module: router
pub fn get_link_with_token(
base_url: impl std::fmt::Display,
token: impl std::fmt::Display,
action: impl std::fmt::Display,
auth_id: &Option<impl std::fmt::Display>,
theme_id: &Option<impl std::fm... | crates/router/src/services/email/types.rs | router | function_signature | null | null | null | 93 | get_link_with_token | null | null | null | null | null | null |
// Function: validate
// File: crates/external_services/src/crm.rs
// Module: external_services
// Documentation: Verifies that the client configuration is usable
pub fn validate(&self) -> Result<(), InvalidCrmConfig> | crates/external_services/src/crm.rs | external_services | function_signature | null | null | null | 49 | validate | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Bambora
// File: crates/hyperswitch_connectors/src/connectors/bambora.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Bambora | crates/hyperswitch_connectors/src/connectors/bambora.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Bambora | api::RefundExecute for | 0 | 0 | null | null |
// Struct: Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Implementations: 20
// Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentToken, api::MandateSetup, api::PaymentVoid, api::ConnectorAccessToken, api::PaymentSync, api::PaymentC... | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | struct_definition | Bluesnap | 20 | [
"ConnectorCommon",
"ConnectorValidation",
"api::Payment",
"api::PaymentToken",
"api::MandateSetup",
"api::PaymentVoid",
"api::ConnectorAccessToken",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentSession",
"api::PaymentAuthorize",
"api::PaymentsCompleteAuthorize",
"api::Refund",
"... | 138 | null | null | null | null | null | null | null |
// Function: create_encrypted_data
// File: crates/payment_methods/src/controller.rs
// Module: payment_methods
pub fn create_encrypted_data<T>(
key_manager_state: &keymanager::KeyManagerState,
key_store: &merchant_key_store::MerchantKeyStore,
data: T,
) -> Result<
crypto::Encryptable<Secret<serde_json... | crates/payment_methods/src/controller.rs | payment_methods | function_signature | null | null | null | 102 | create_encrypted_data | null | null | null | null | null | null |
// Struct: LoonioAuthType
// File: crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct LoonioAuthType | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs | hyperswitch_connectors | struct_definition | LoonioAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ConnectorAuthMetadata
// File: crates/external_services/src/grpc_client/unified_connector_service.rs
// Module: external_services
// Implementations: 0
pub struct ConnectorAuthMetadata | crates/external_services/src/grpc_client/unified_connector_service.rs | external_services | struct_definition | ConnectorAuthMetadata | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Novalnet | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Novalnet | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: CalContractScoreEventRequest
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct CalContractScoreEventRequest | crates/api_models/src/routing.rs | api_models | struct_definition | CalContractScoreEventRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl RefundExecute for for DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundExecute for for DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | DummyConnector | RefundExecute for | 0 | 0 | null | null |
// File: crates/router/src/types/domain/merchant_connector_account.rs
// Module: router
pub use hyperswitch_domain_models::merchant_connector_account::*;
| crates/router/src/types/domain/merchant_connector_account.rs | router | full_file | null | null | null | 30 | null | null | null | null | null | null | null |
// Struct: TimeSeries
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct TimeSeries | crates/api_models/src/analytics.rs | api_models | struct_definition | TimeSeries | 0 | [] | 34 | null | null | null | null | null | null | null |
// Function: construct_payment_router_data_for_capture
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn construct_payment_router_data_for_capture<'a>(
state: &'a SessionState,
payment_data: hyperswitch_domain_models::payments::PaymentCaptureData<api::Capture>,
connector_id:... | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 153 | construct_payment_router_data_for_capture | null | null | null | null | null | null |
// Function: retrieve_payment_method_with_token
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn retrieve_payment_method_with_token(
state: &SessionState,
merchant_key_store: &domain::MerchantKeyStore,
token_data: &storage::PaymentTokenData,
payment_intent: &PaymentIntent,
... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 182 | retrieve_payment_method_with_token | null | null | null | null | null | null |
// Trait: PaymentIntentInterface
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
pub trait PaymentIntentInterface | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | trait_definition | null | null | null | 37 | null | null | PaymentIntentInterface | null | null | null | null |
// Function: add_filter_clause
// File: crates/analytics/src/opensearch.rs
// Module: analytics
pub fn add_filter_clause(&mut self, lhs: String, rhs: Vec<Value>) -> QueryResult<()> | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 46 | add_filter_clause | null | null | null | null | null | null |
ConnectorIntegration<
BillingConnectorPaymentsSync,
BillingConnectorPaymentsSyncRequest,
BillingConnectorPaymentsSyncResponse
> for $path::$connector
{}
)*
};
}
#[cfg(all(feature = "v2", feature = "revenue_recovery"))]
... | crates/hyperswitch_connectors/src/default_implementations.rs#chunk6 | hyperswitch_connectors | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: ApiError
// File: crates/api_models/src/errors/types.rs
// Module: api_models
// Implementations: 1
pub struct ApiError | crates/api_models/src/errors/types.rs | api_models | struct_definition | ApiError | 1 | [] | 34 | null | null | null | null | null | null | null |
// File: crates/analytics/src/api_event/core.rs
// Module: analytics
// Public functions: 3
use std::collections::HashMap;
use api_models::analytics::{
api_event::{
ApiEventMetricsBucketIdentifier, ApiEventMetricsBucketValue, ApiLogsRequest,
ApiMetricsBucketResponse,
},
AnalyticsMetadata, ... | crates/analytics/src/api_event/core.rs | analytics | full_file | null | null | null | 1,314 | null | null | null | null | null | null | null |
// Struct: Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::Pa... | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | struct_definition | Wellsfargopayout | 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... | 132 | null | null | null | null | null | null | null |
// Struct: ConnectorVolumeSplit
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct ConnectorVolumeSplit | crates/api_models/src/routing.rs | api_models | struct_definition | ConnectorVolumeSplit | 0 | [] | 36 | null | null | null | null | null | null | null |
// Function: find
// File: crates/diesel_models/src/query/gsm.rs
// Module: diesel_models
pub fn find(
conn: &PgPooledConn,
connector: String,
flow: String,
sub_flow: String,
code: String,
message: String,
) -> StorageResult<Self> | crates/diesel_models/src/query/gsm.rs | diesel_models | function_signature | null | null | null | 70 | find | null | null | null | null | null | null |
}
"installment_payment_enabled" => {
set_or_reject_duplicate(
&mut output.installment_payment_enabled,
"installment_payment_enabled",
map.next_value... | crates/api_models/src/payment_methods.rs#chunk2 | api_models | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Implementation: impl ProxyClient
// File: crates/router/src/services/api/client.rs
// Module: router
// Methods: 2 total (2 public)
impl ProxyClient | crates/router/src/services/api/client.rs | router | impl_block | null | null | null | 36 | null | ProxyClient | null | 2 | 2 | null | null |
// Function: start_producer
// File: crates/scheduler/src/producer.rs
// Module: scheduler
pub fn start_producer<T, U, F>(
state: &T,
scheduler_settings: Arc<SchedulerSettings>,
(tx, mut rx) | crates/scheduler/src/producer.rs | scheduler | function_signature | null | null | null | 56 | start_producer | null | null | null | null | null | null |
domain::Event {
event_id: event_id.into(),
event_type: enums::EventType::PaymentSucceeded,
event_class: enums::EventClass::Payments,
is_webhook_notified: false,
primary_object_id: payment_id.into(),
... | crates/router/src/db/events.rs#chunk1 | router | chunk | null | null | null | 3,230 | null | null | null | null | null | null | null |
// Struct: PayboxRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayboxRefundRequest | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | PayboxRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// the merchant connector account must only be cached if it's not disabled
Self::CacheVal(_) => false,
}
}
#[cfg(feature = "v1")]
pub fn is_test_mode_on(&self) -> Option<bool> {
match self {
Self::DbVal(val) => val.test_mode,
Self::CacheVal(_)... | crates/router/src/core/payments/helpers.rs#chunk4 | router | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: L2L3Data
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct L2L3Data | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | struct_definition | L2L3Data | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs
// Module: hyperswitch_interfaces
// Public functions: 3
// Public structs: 3
//! Module to manage encrypted and decrypted states for a given type.
use std::marker::PhantomData;
use serde::{Deserialize, Deserializer};
/// Trait defining th... | crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs | hyperswitch_interfaces | full_file | null | null | null | 454 | null | null | null | null | null | null | null |
// Struct: BillingContact
// File: crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillingContact | crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs | hyperswitch_connectors | struct_definition | BillingContact | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: GatewayStatusMappingNew
// File: crates/diesel_models/src/gsm.rs
// Module: diesel_models
// Implementations: 0
pub struct GatewayStatusMappingNew | crates/diesel_models/src/gsm.rs | diesel_models | struct_definition | GatewayStatusMappingNew | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Custombilling | api::PaymentCapture for | 0 | 0 | null | null |
// File: crates/common_types/src/domain.rs
// Module: common_types
// Public functions: 6
// Public structs: 8
//! Common types
use std::collections::HashMap;
use common_enums::enums;
use common_utils::{impl_to_sql_from_sql_json, types::MinorUnit};
use diesel::{sql_types::Jsonb, AsExpression, FromSqlRow};
#[cfg(feat... | crates/common_types/src/domain.rs | common_types | full_file | null | null | null | 1,581 | null | null | null | null | null | null | null |
// Function: list_merchants_for_user_in_org
// File: crates/router/src/routes/user.rs
// Module: router
pub fn list_merchants_for_user_in_org(
state: web::Data<AppState>,
req: HttpRequest,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 55 | list_merchants_for_user_in_org | null | null | null | null | null | null |
// Function: get_headers
// File: crates/router/src/core/proxy/utils.rs
// Module: router
pub fn get_headers(&self) -> Vec<(String, masking::Maskable<String>)> | crates/router/src/core/proxy/utils.rs | router | function_signature | null | null | null | 42 | get_headers | null | null | null | null | null | null |
// Struct: DeutschebankThreeDSInitializeRequest
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankThreeDSInitializeRequest | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankThreeDSInitializeRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl RefundDistributionAccumulator for for RefundErrorMessageDistributionAccumulator
// File: crates/analytics/src/refunds/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl RefundDistributionAccumulator for for RefundErrorMessageDistributionAccumulator | crates/analytics/src/refunds/accumulator.rs | analytics | impl_block | null | null | null | 64 | null | RefundErrorMessageDistributionAccumulator | RefundDistributionAccumulator for | 2 | 0 | null | null |
// Implementation: impl crate::events::ApiEventMetric for for AuthenticationId
// File: crates/common_utils/src/id_type/authentication.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl crate::events::ApiEventMetric for for AuthenticationId | crates/common_utils/src/id_type/authentication.rs | common_utils | impl_block | null | null | null | 56 | null | AuthenticationId | crate::events::ApiEventMetric for | 1 | 0 | null | null |
// Struct: Entity
// File: crates/api_models/src/user_role.rs
// Module: api_models
// Implementations: 0
pub struct Entity | crates/api_models/src/user_role.rs | api_models | struct_definition | Entity | 0 | [] | 32 | null | null | null | null | null | null | null |
// Function: get_role_information
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn get_role_information(
state: web::Data<AppState>,
http_req: HttpRequest,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 47 | get_role_information | null | null | null | null | null | null |
// Implementation: impl AddressInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 7 total (0 public)
impl AddressInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 45 | null | KafkaStore | AddressInterface for | 7 | 0 | null | null |
// Struct: GocardlessCustomerRequest
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessCustomerRequest | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessCustomerRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for TokenDataResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for TokenDataResponse | crates/api_models/src/payment_methods.rs | api_models | impl_block | null | null | null | 59 | null | TokenDataResponse | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// Function: update_by_merchant_id_authorization_id
// File: crates/diesel_models/src/query/authorization.rs
// Module: diesel_models
pub fn update_by_merchant_id_authorization_id(
conn: &PgPooledConn,
merchant_id: common_utils::id_type::MerchantId,
authorization_id: String,
authorizati... | crates/diesel_models/src/query/authorization.rs | diesel_models | function_signature | null | null | null | 84 | update_by_merchant_id_authorization_id | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Finix
// File: crates/hyperswitch_connectors/src/connectors/finix.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Finix | crates/hyperswitch_connectors/src/connectors/finix.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Finix | api::Payment for | 0 | 0 | null | null |
// Struct: NotificationContainer
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NotificationContainer | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | NotificationContainer | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Opayo | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Opayo | api::PaymentToken for | 0 | 0 | null | null |
// Struct: BlackhawknetworkRouterData
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BlackhawknetworkRouterData<T> | crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs | hyperswitch_connectors | struct_definition | BlackhawknetworkRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: AuthenticationSuccessCount
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
// Implementations: 0
pub struct AuthenticationSuccessCount | crates/api_models/src/analytics/auth_events.rs | api_models | struct_definition | AuthenticationSuccessCount | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/recon.rs
// Module: router
// Public functions: 4
use actix_web::{web, HttpRequest, HttpResponse};
use api_models::recon as recon_api;
use router_env::Flow;
use super::AppState;
use crate::{
core::{api_locking, recon},
services::{api, authentication, authorization::permission... | crates/router/src/routes/recon.rs | router | full_file | null | null | null | 589 | null | null | null | null | null | null | null |
// Function: get_connector_account_details
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_connector_account_details(
&self,
) -> error_stack::Result<router_data::ConnectorAuthType, common_utils::errors::ParsingError> | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 67 | get_connector_account_details | null | null | null | null | null | null |
// Struct: UnifiedAuthenticationServiceAuthenticateRequest
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct UnifiedAuthenticationServiceAuthenticateRequest | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | UnifiedAuthenticationServiceAuthenticateRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: get_merchant_details_as_secret
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_merchant_details_as_secret(
&self,
) -> CustomResult<Option<pii::SecretSerdeValue>, errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 58 | get_merchant_details_as_secret | null | null | null | null | null | null |
// Function: get_payment_method
// File: crates/common_types/src/payment_methods.rs
// Module: common_types
pub fn get_payment_method(&self) -> Option<common_enums::PaymentMethod> | crates/common_types/src/payment_methods.rs | common_types | function_signature | null | null | null | 42 | get_payment_method | null | null | null | null | null | null |
// Struct: ProcessingInformation
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProcessingInformation | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | ProcessingInformation | 0 | [] | 47 | null | null | null | null | null | null | null |
// Trait: PaymentInitiation
// File: crates/pm_auth/src/types/api/auth_service.rs
// Module: pm_auth
pub trait PaymentInitiation: super::ConnectorCommon + PaymentInitiationRecipientCreate | crates/pm_auth/src/types/api/auth_service.rs | pm_auth | trait_definition | null | null | null | 42 | null | null | PaymentInitiation | null | null | null | null |
// Function: get_apple_pay_session
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
pub fn get_apple_pay_session<F, T>(
instance_id: String,
secrets: &SdkSecretInfo,
apple_pay_init_result: TrustpayApplePayResponse,
item: ResponseRouterData... | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 119 | get_apple_pay_session | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Breadpay
// File: crates/hyperswitch_connectors/src/connectors/breadpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Breadpay | crates/hyperswitch_connectors/src/connectors/breadpay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Breadpay | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Function: retry_sync_task
// File: crates/router/src/workflows/process_dispute.rs
// Module: router
// Documentation: Schedule the task for retry Returns bool which indicates whether this was the last retry or not
pub fn retry_sync_task(
db: &dyn StorageInterface,
connector: String,
merchant_id: commo... | crates/router/src/workflows/process_dispute.rs | router | function_signature | null | null | null | 99 | retry_sync_task | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Thunes
// File: crates/hyperswitch_connectors/src/connectors/thunes.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Thunes | crates/hyperswitch_connectors/src/connectors/thunes.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Thunes | ConnectorValidation for | 0 | 0 | null | null |
// Function: update_merchant_scoped_metadata
// File: crates/router/src/utils/user/dashboard_metadata.rs
// Module: router
pub fn update_merchant_scoped_metadata(
state: &SessionState,
user_id: String,
merchant_id: id_type::MerchantId,
org_id: id_type::OrganizationId,
metadata_key: DBEnum,
meta... | crates/router/src/utils/user/dashboard_metadata.rs | router | function_signature | null | null | null | 93 | update_merchant_scoped_metadata | null | null | null | null | null | null |
// File: crates/router/tests/connectors/taxjar.rs
// Module: router
use masking::Secret;
use router::types::{self, api, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct TaxjarTest;
impl ConnectorActions for TaxjarTest {}
impl utils::Co... | crates/router/tests/connectors/taxjar.rs | router | full_file | null | null | null | 2,930 | null | null | null | null | null | null | null |
// Implementation: impl super::KafkaMessage for for KafkaPaymentIntentEvent
// File: crates/router/src/services/kafka/payment_intent_event.rs
// Module: router
// Methods: 2 total (0 public)
impl super::KafkaMessage for for KafkaPaymentIntentEvent | crates/router/src/services/kafka/payment_intent_event.rs | router | impl_block | null | null | null | 57 | null | KafkaPaymentIntentEvent | super::KafkaMessage for | 2 | 0 | null | null |
// Struct: RoutingRetrieveLinkQuery
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingRetrieveLinkQuery | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingRetrieveLinkQuery | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl State for for PmTokenized
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for PmTokenized | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | impl_block | null | null | null | 51 | null | PmTokenized | State for | 0 | 0 | null | null |
// Function: get_execute_revenue_recovery_id
// File: crates/common_utils/src/id_type/global_id/payment.rs
// Module: common_utils
// Documentation: Generate the id for revenue recovery Execute PT workflow
pub fn get_execute_revenue_recovery_id(
&self,
task: &str,
runner: enums::ProcessTracker... | crates/common_utils/src/id_type/global_id/payment.rs | common_utils | function_signature | null | null | null | 75 | get_execute_revenue_recovery_id | null | null | null | null | null | null |
// Function: get_address
// File: crates/api_models/src/customers.rs
// Module: api_models
pub fn get_address(&self) -> Option<payments::AddressDetails> | crates/api_models/src/customers.rs | api_models | function_signature | null | null | null | 39 | get_address | null | null | null | null | null | null |
// Struct: WebhookDetails
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 1
pub struct WebhookDetails | crates/api_models/src/admin.rs | api_models | struct_definition | WebhookDetails | 1 | [] | 35 | null | null | null | null | null | null | null |
// Struct: Shipping
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Shipping | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | Shipping | 0 | [] | 44 | null | null | null | null | null | null | null |
// File: crates/external_services/src/no_encryption.rs
// Module: external_services
//! No encryption functionalities
pub mod core;
pub mod implementers;
| crates/external_services/src/no_encryption.rs | external_services | full_file | null | null | null | 33 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorRedirectResponse for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payme | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Struct: TotalEventsResponse
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Implementations: 2
// Traits: common_utils::events::ApiEventMetric
pub struct TotalEventsResponse | crates/api_models/src/webhook_events.rs | api_models | struct_definition | TotalEventsResponse | 2 | [
"common_utils::events::ApiEventMetric"
] | 49 | null | null | null | null | null | null | null |
// Struct: UpdateUserAccountDetailsRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct UpdateUserAccountDetailsRequest | crates/api_models/src/user.rs | api_models | struct_definition | UpdateUserAccountDetailsRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/router/src/bin/router.rs
// Module: router
use error_stack::ResultExt;
use router::{
configs::settings::{CmdLineConf, Settings},
core::errors::{ApplicationError, ApplicationResult},
logger,
routes::metrics,
};
#[tokio::main]
async fn main() -> ApplicationResult<()> {
// get command... | crates/router/src/bin/router.rs | router | full_file | null | null | null | 382 | null | null | null | null | null | null | null |
// Struct: ForteRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ForteRefundRequest | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | ForteRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: CustomerListRequest
// File: crates/api_models/src/customers.rs
// Module: api_models
// Implementations: 0
pub struct CustomerListRequest | crates/api_models/src/customers.rs | api_models | struct_definition | CustomerListRequest | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: BarclaycardConsumerAuthInformationRequest
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardConsumerAuthInformationRequest | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardConsumerAuthInformationRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Threedsecureio | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Threedsecureio | ConnectorValidation for | 0 | 0 | null | null |
// Struct: PayLaterRequest
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayLaterRequest | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | PayLaterRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Helcim | api::PaymentToken for | 0 | 0 | null | null |
// Struct: CustomerNew
// File: crates/diesel_models/src/customers.rs
// Module: diesel_models
// Implementations: 2
pub struct CustomerNew | crates/diesel_models/src/customers.rs | diesel_models | struct_definition | CustomerNew | 2 | [] | 35 | null | null | null | null | null | null | null |
// Struct: CeleroMandateFields
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CeleroMandateFields | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroMandateFields | 0 | [] | 54 | 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.