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::RefundExecute for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Tokenex | api::RefundExecute for | 0 | 0 | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Fiuu | api::Refund for | 0 | 0 | null | null |
// File: crates/scheduler/src/producer.rs
// Module: scheduler
// Public functions: 3
use std::sync::Arc;
use common_utils::{errors::CustomResult, id_type};
use diesel_models::enums::ProcessTrackerStatus;
use error_stack::{report, ResultExt};
use router_env::{
instrument,
tracing::{self, Instrument},
};
use t... | crates/scheduler/src/producer.rs | scheduler | full_file | null | null | null | 1,357 | null | null | null | null | null | null | null |
// Implementation: impl AuthenticationNew
// File: crates/diesel_models/src/query/authentication.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl AuthenticationNew | crates/diesel_models/src/query/authentication.rs | diesel_models | impl_block | null | null | null | 38 | null | AuthenticationNew | null | 1 | 0 | null | null |
// Struct: Prophetpay
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::payments::MandateSetup, api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::Paym... | crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | struct_definition | Prophetpay | 17 | [
"api::payments::MandateSetup",
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"api::payments::PaymentsComp... | 133 | null | null | null | null | null | null | null |
// Struct: DisputeTransaction
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DisputeTransaction | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | DisputeTransaction | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: StripebillingInvoiceBillingAddress
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingInvoiceBillingAddress | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingInvoiceBillingAddress | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: payment_intents_capture
// File: crates/router/src/compatibility/stripe/payment_intents.rs
// Module: router
pub fn payment_intents_capture(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::Config>,
req: HttpRequest,
form_payload: web::Bytes,
path: web::Path<common_ut... | crates/router/src/compatibility/stripe/payment_intents.rs | router | function_signature | null | null | null | 92 | payment_intents_capture | null | null | null | null | null | null |
// Struct: MollieCardTokenRequest
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MollieCardTokenRequest | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | MollieCardTokenRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: get_routing_dictionary_key
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn get_routing_dictionary_key(merchant_id: &str) -> String | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 40 | get_routing_dictionary_key | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Globalpay
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Globalpay | crates/hyperswitch_connectors/src/connectors/globalpay.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Globalpay | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: WorldpayCompleteAuthorizationRequest
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WorldpayCompleteAuthorizationRequest | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | WorldpayCompleteAuthorizationRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_dispute_evidence_vec
// File: crates/router/src/core/disputes/transformers.rs
// Module: router
pub fn get_dispute_evidence_vec(
state: &SessionState,
merchant_context: domain::MerchantContext,
dispute_evidence: DisputeEvidence,
) -> CustomResult<Vec<api_models::disputes::DisputeEvidenceBl... | crates/router/src/core/disputes/transformers.rs | router | function_signature | null | null | null | 87 | get_dispute_evidence_vec | null | null | null | null | null | null |
// Function: is_success
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn is_success(&self) -> bool | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 44 | is_success | null | null | null | null | null | null |
// Struct: PlaidPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlaidPaymentsResponse | crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs | hyperswitch_connectors | struct_definition | PlaidPaymentsResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Tsys
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Tsys | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Tsys | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl DisputeMetricsBucketIdentifier
// File: crates/api_models/src/analytics/disputes.rs
// Module: api_models
// Methods: 1 total (1 public)
impl DisputeMetricsBucketIdentifier | crates/api_models/src/analytics/disputes.rs | api_models | impl_block | null | null | null | 46 | null | DisputeMetricsBucketIdentifier | null | 1 | 1 | null | null |
// File: crates/hyperswitch_interfaces/src/events/connector_api_logs.rs
// Module: hyperswitch_interfaces
// Public functions: 4
// Public structs: 1
//! Connector API logs interface
use common_utils::request::Method;
use router_env::tracing_actix_web::RequestId;
use serde::Serialize;
use serde_json::json;
use time::... | crates/hyperswitch_interfaces/src/events/connector_api_logs.rs | hyperswitch_interfaces | full_file | null | null | null | 705 | null | null | null | null | null | null | null |
// Trait: KeyNode
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
pub trait KeyNode: fmt::Debug + Clone + hash::Hash + serde::Serialize + PartialEq + Eq | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | trait_definition | null | null | null | 50 | null | null | KeyNode | null | null | null | null |
// Implementation: impl api::subscriptions_v2::GetSubscriptionEstimateV2 for for Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::subscriptions_v2::GetSubscriptionEstimateV2 for for Recurly | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 76 | null | Recurly | api::subscriptions_v2::GetSubscriptionEstimateV2 for | 0 | 0 | null | null |
// File: crates/test_utils/tests/connectors/airwallex_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct AirwallexSeleniumTest;
impl SeleniumTest for AirwallexSeleniumTest {
fn get_connector_name(&self) -> String {
"airw... | crates/test_utils/tests/connectors/airwallex_ui.rs | test_utils | full_file | null | null | null | 598 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payments/types.rs
// Module: analytics
use api_models::analytics::payments::{PaymentDimensions, PaymentFilters};
use error_stack::ResultExt;
use crate::{
query::{QueryBuilder, QueryFilter, QueryResult, ToSql},
types::{AnalyticsCollection, AnalyticsDataSource},
};
impl<T> QueryFi... | crates/analytics/src/payments/types.rs | analytics | full_file | null | null | null | 1,122 | null | null | null | null | null | null | null |
// Function: generate_recovery_codes
// File: crates/router/src/core/user.rs
// Module: router
pub fn generate_recovery_codes(
state: SessionState,
user_token: auth::UserIdFromAuth,
) -> UserResponse<user_api::RecoveryCodes> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 56 | generate_recovery_codes | null | null | null | null | null | null |
// Struct: BankAccountCredentials
// File: crates/pm_auth/src/types/api/auth_service.rs
// Module: pm_auth
// Implementations: 0
pub struct BankAccountCredentials | crates/pm_auth/src/types/api/auth_service.rs | pm_auth | struct_definition | BankAccountCredentials | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: delete_by_customer_id_merchant_id
// File: crates/diesel_models/src/query/customers.rs
// Module: diesel_models
pub fn delete_by_customer_id_merchant_id(
conn: &PgPooledConn,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::MerchantId,
) -> StorageResult<bool> | crates/diesel_models/src/query/customers.rs | diesel_models | function_signature | null | null | null | 77 | delete_by_customer_id_merchant_id | null | null | null | null | null | null |
// Function: validate
// File: crates/scheduler/src/configs/validations.rs
// Module: scheduler
pub fn validate(&self) -> Result<(), ApplicationError> | crates/scheduler/src/configs/validations.rs | scheduler | function_signature | null | null | null | 36 | validate | null | null | null | null | null | null |
// Function: get_string_repr
// File: crates/common_utils/src/id_type/global_id/customer.rs
// Module: common_utils
// Documentation: Get string representation of the id
pub fn get_string_repr(&self) -> &str | crates/common_utils/src/id_type/global_id/customer.rs | common_utils | function_signature | null | null | null | 48 | get_string_repr | null | null | null | null | null | null |
// Function: generic_roles_list_for_org
// File: crates/diesel_models/src/query/role.rs
// Module: diesel_models
pub fn generic_roles_list_for_org(
conn: &PgPooledConn,
tenant_id: id_type::TenantId,
org_id: id_type::OrganizationId,
merchant_id: Option<id_type::MerchantId>,
entit... | crates/diesel_models/src/query/role.rs | diesel_models | function_signature | null | null | null | 101 | generic_roles_list_for_org | null | null | null | null | null | null |
// Struct: LoadTime
// File: crates/api_models/src/analytics/sdk_events.rs
// Module: api_models
// Implementations: 0
pub struct LoadTime | crates/api_models/src/analytics/sdk_events.rs | api_models | struct_definition | LoadTime | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl KafkaRefund
// File: crates/router/src/services/kafka/refund.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaRefund | crates/router/src/services/kafka/refund.rs | router | impl_block | null | null | null | 40 | null | KafkaRefund | null | 1 | 1 | null | null |
// Implementation: impl DenseMap
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Methods: 11 total (11 public)
impl DenseMap | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 46 | null | DenseMap | null | 11 | 11 | null | null |
// Function: get_mandate_reference_id
// File: crates/router/src/core/payments.rs
// Module: router
pub fn get_mandate_reference_id<F: Clone, D>(
action_type: Option<ActionType>,
connector_routing_data: api::ConnectorRoutingData,
payment_data: &mut D,
payment_method_info: &domain::PaymentMethod,
) -> R... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 120 | get_mandate_reference_id | null | null | null | null | null | null |
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Public functions: 1
// Public structs: 39
use std::fmt::Debug;
use api_models::enums as api_enums;
#[cfg(feature = "v1")]
use cards::CardNumber;
#[cfg(feature = "v2")]
use cards::{CardNumber, NetworkToken};
#[cfg(feature = "v2")]
use common_type... | crates/router/src/types/payment_methods.rs | router | full_file | null | null | null | 2,613 | null | null | null | null | null | null | null |
// Function: get_metrics
// File: crates/analytics/src/auth_events/core.rs
// Module: analytics
pub fn get_metrics(
pool: &AnalyticsProvider,
auth: &AuthInfo,
req: GetAuthEventMetricRequest,
) -> AnalyticsResult<AuthEventMetricsResponse<MetricsBucketResponse>> | crates/analytics/src/auth_events/core.rs | analytics | function_signature | null | null | null | 65 | get_metrics | null | null | null | null | null | null |
// Struct: SilverflowError
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SilverflowError | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | SilverflowError | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: PayuProductData
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuProductData | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuProductData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: update_merchant_creation_status_in_decision_engine
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update_merchant_creation_status_in_decision_engine(&mut self, is_created: bool) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 48 | update_merchant_creation_status_in_decision_engine | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Itaubank | api::PaymentToken for | 0 | 0 | null | null |
// Struct: ContextValue
// File: crates/euclid/src/dssa/types.rs
// Module: euclid
// Implementations: 1
pub struct ContextValue<'a> | crates/euclid/src/dssa/types.rs | euclid | struct_definition | ContextValue | 1 | [] | 39 | null | null | null | null | null | null | null |
// Function: payments_confirm_intent
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_confirm_intent() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 31 | payments_confirm_intent | null | null | null | null | null | null |
// Implementation: impl auth_service::PaymentInitiationRecipientCreate for for Plaid
// File: crates/pm_auth/src/connector/plaid.rs
// Module: pm_auth
// Methods: 0 total (0 public)
impl auth_service::PaymentInitiationRecipientCreate for for Plaid | crates/pm_auth/src/connector/plaid.rs | pm_auth | impl_block | null | null | null | 59 | null | Plaid | auth_service::PaymentInitiationRecipientCreate for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Shift4 | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Shift4 | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: TransactionDecisionData
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionDecisionData | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | TransactionDecisionData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: WalletTokenData
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
// Implementations: 0
pub struct WalletTokenData | crates/router/src/types/storage/payment_method.rs | router | struct_definition | WalletTokenData | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Helcim | api::ConnectorAccessToken for | 0 | 0 | null | null |
// File: crates/diesel_models/src/query/merchant_account.rs
// Module: diesel_models
// Public functions: 19
#[cfg(feature = "v1")]
use common_types::consts::API_VERSION;
#[cfg(feature = "v1")]
use diesel::BoolExpressionMethods;
use diesel::{associations::HasTable, ExpressionMethods, Table};
use super::generics;
#[cf... | crates/diesel_models/src/query/merchant_account.rs | diesel_models | full_file | null | null | null | 2,009 | null | null | null | null | null | null | null |
// Struct: Database
// File: crates/drainer/src/settings.rs
// Module: drainer
// Implementations: 3
// Traits: DbConnectionParams, Default
pub struct Database | crates/drainer/src/settings.rs | drainer | struct_definition | Database | 3 | [
"DbConnectionParams",
"Default"
] | 40 | null | null | null | null | null | null | null |
// Function: complete_create_recipient
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn complete_create_recipient(
state: &SessionState,
merchant_context: &domain::MerchantContext,
connector_data: &api::ConnectorData,
payout_data: &mut PayoutData,
) -> RouterResult<()> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 74 | complete_create_recipient | null | null | null | null | null | null |
// Struct: RecurlyRecoveryDetailsData
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RecurlyRecoveryDetailsData | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | struct_definition | RecurlyRecoveryDetailsData | 0 | [] | 56 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorAccount
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
// Implementations: 4
// Traits: behaviour::Conversion, behaviour::Conversion
pub struct MerchantConnectorAccount | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | struct_definition | MerchantConnectorAccount | 4 | [
"behaviour::Conversion",
"behaviour::Conversion"
] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Hyperwallet | api::RefundExecute for | 0 | 0 | null | null |
// Struct: RefundSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundSyncResponse | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | RefundSyncResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: RecurlyInvoiceSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RecurlyInvoiceSyncResponse | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | struct_definition | RecurlyInvoiceSyncResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: TrustpaymentsTokenizationRequest
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpaymentsTokenizationRequest | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsTokenizationRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: TrustpayAuthUpdateRequest
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpayAuthUpdateRequest | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | TrustpayAuthUpdateRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: NovalnetCard
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetCard | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetCard | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl FromStr for for ReversalReason
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl FromStr for for ReversalReason | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | ReversalReason | FromStr for | 1 | 0 | null | null |
// Function: get_sankey
// File: crates/analytics/src/payment_intents/core.rs
// Module: analytics
pub fn get_sankey(
pool: &AnalyticsProvider,
auth: &AuthInfo,
req: TimeRange,
) -> AnalyticsResult<Vec<SankeyRow>> | crates/analytics/src/payment_intents/core.rs | analytics | function_signature | null | null | null | 61 | get_sankey | null | null | null | null | null | null |
// Function: retrieve_payment_method_from_auth_service
// File: crates/router/src/core/pm_auth.rs
// Module: router
pub fn retrieve_payment_method_from_auth_service(
state: &SessionState,
key_store: &domain::MerchantKeyStore,
auth_token: &payment_methods::BankAccountTokenData,
payment_intent: &PaymentI... | crates/router/src/core/pm_auth.rs | router | function_signature | null | null | null | 102 | retrieve_payment_method_from_auth_service | null | null | null | null | null | null |
// Struct: CommitResponse
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CommitResponse | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | struct_definition | CommitResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: customers_create
// File: crates/router/src/routes/customers.rs
// Module: router
pub fn customers_create(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<customers::CustomerRequest>,
) -> HttpResponse | crates/router/src/routes/customers.rs | router | function_signature | null | null | null | 57 | customers_create | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: AccountReferenceMap
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct AccountReferenceMap | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | struct_definition | AccountReferenceMap | 1 | [] | 44 | null | null | null | null | null | null | null |
// Struct: AvsObject
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AvsObject | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | AvsObject | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: PaymentsRejectData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsRejectData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsRejectData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: is_connection_closed_before_message_could_complete
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_connection_closed_before_message_could_complete(&self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 46 | is_connection_closed_before_message_could_complete | null | null | null | null | null | null |
// Struct: PaystackRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaystackRefundRequest | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | struct_definition | PaystackRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl ValidateStatusForOperation for for PaymentSessionIntent
// File: crates/router/src/core/payments/operations/payment_session_intent.rs
// Module: router
// Methods: 1 total (0 public)
impl ValidateStatusForOperation for for PaymentSessionIntent | crates/router/src/core/payments/operations/payment_session_intent.rs | router | impl_block | null | null | null | 55 | null | PaymentSessionIntent | ValidateStatusForOperation for | 1 | 0 | null | null |
// Struct: FrmTriggeredAttempts
// File: crates/api_models/src/analytics/frm.rs
// Module: api_models
// Implementations: 0
pub struct FrmTriggeredAttempts | crates/api_models/src/analytics/frm.rs | api_models | struct_definition | FrmTriggeredAttempts | 0 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/gsm.rs
// Module: diesel_models
// Public structs: 4
//! Gateway status mapping
use common_enums::ErrorCategory;
use common_utils::{
custom_serde,
events::{ApiEventMetric, ApiEventsType},
};
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use time::... | crates/diesel_models/src/gsm.rs | diesel_models | full_file | null | null | null | 1,005 | null | null | null | null | null | null | null |
// Struct: CustombillingRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustombillingRefundRequest | crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs | hyperswitch_connectors | struct_definition | CustombillingRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl AccountsStorageInterface for for MockDb
// File: crates/router/src/db.rs
// Module: router
// Methods: 0 total (0 public)
impl AccountsStorageInterface for for MockDb | crates/router/src/db.rs | router | impl_block | null | null | null | 44 | null | MockDb | AccountsStorageInterface for | 0 | 0 | null | null |
// Struct: ContractBasedRoutingPayloadWrapper
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct ContractBasedRoutingPayloadWrapper | crates/api_models/src/routing.rs | api_models | struct_definition | ContractBasedRoutingPayloadWrapper | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl PaymentIntentInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 12 total (0 public)
impl PaymentIntentInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 48 | null | KafkaStore | PaymentIntentInterface for | 12 | 0 | null | null |
// Function: profile_create
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn profile_create(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<admin::ProfileCreate>,
path: web::Path<common_utils::id_type::MerchantId>,
) -> HttpResponse | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 73 | profile_create | null | null | null | null | null | null |
// Implementation: impl super::behaviour::Conversion for for Profile
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
// Methods: 3 total (0 public)
impl super::behaviour::Conversion for for Profile | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | impl_block | null | null | null | 57 | null | Profile | super::behaviour::Conversion for | 3 | 0 | null | null |
// Implementation: impl Deref
for for RouterDataV2
// File: crates/hyperswitch_domain_models/src/router_data_v2.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl Deref
for for RouterDataV2 | crates/hyperswitch_domain_models/src/router_data_v2.rs | hyperswitch_domain_models | impl_block | null | null | null | 61 | null | RouterDataV2 | Deref
for | 1 | 0 | null | null |
// File: crates/router/src/core/payment_methods.rs
// Module: router
// Public functions: 46
// Public structs: 1
pub mod cards;
pub mod migration;
pub mod network_tokenization;
pub mod surcharge_decision_configs;
#[cfg(feature = "v1")]
pub mod tokenize;
pub mod transformers;
pub mod utils;
mod validator;
pub mod vaul... | crates/router/src/core/payment_methods.rs#chunk0 | router | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: AccountInformation
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AccountInformation | crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs | hyperswitch_connectors | struct_definition | AccountInformation | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/router/src/db/authentication.rs
// Module: router
use diesel_models::authentication::AuthenticationUpdateInternal;
use error_stack::report;
use router_env::{instrument, tracing};
use super::{MockDb, Store};
use crate::{
connection,
core::errors::{self, CustomResult},
types::storage,
};
#[... | crates/router/src/db/authentication.rs | router | full_file | null | null | null | 1,880 | null | null | null | null | null | null | null |
// Implementation: impl RequestPaymentMethodTypes
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Methods: 1 total (1 public)
impl RequestPaymentMethodTypes | crates/api_models/src/payment_methods.rs | api_models | impl_block | null | null | null | 41 | null | RequestPaymentMethodTypes | null | 1 | 1 | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Authipay
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Authipay | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Authipay | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Function: set_routing_approach
// File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
// Module: hyperswitch_interfaces
// Documentation: set routing approach
pub fn set_routing_approach(&mut self, approach: String) | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs | hyperswitch_interfaces | function_signature | null | null | null | 53 | set_routing_approach | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cryptopay | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl events::ApiEventMetric for for DecisionManagerRecord
// File: crates/api_models/src/conditional_configs.rs
// Module: api_models
// Methods: 1 total (0 public)
impl events::ApiEventMetric for for DecisionManagerRecord | crates/api_models/src/conditional_configs.rs | api_models | impl_block | null | null | null | 54 | null | DecisionManagerRecord | events::ApiEventMetric for | 1 | 0 | null | null |
// Struct: ApplePayCertificatesMigrationRequest
// File: crates/api_models/src/apple_pay_certificates_migration.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct ApplePayCertificatesMigrationRequest | crates/api_models/src/apple_pay_certificates_migration.rs | api_models | struct_definition | ApplePayCertificatesMigrationRequest | 1 | [
"common_utils::events::ApiEventMetric"
] | 55 | null | null | null | null | null | null | null |
// Function: get_bank_from_hs_locker
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn get_bank_from_hs_locker(
state: &routes::SessionState,
key_store: &domain::MerchantKeyStore,
temp_token: Option<&String>,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 105 | get_bank_from_hs_locker | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type/relay.rs
// Module: common_utils
use std::str::FromStr;
crate::id_type!(
RelayId,
"A type for relay_id that can be used for relay ids"
);
crate::impl_id_type_methods!(RelayId, "relay_id");
crate::impl_try_from_cow_str_id_type!(RelayId, "relay_id");
crate::impl_generat... | crates/common_utils/src/id_type/relay.rs | common_utils | full_file | null | null | null | 219 | null | null | null | null | null | null | null |
// Implementation: impl FromStr for for AciPaymentStatus
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl FromStr for for AciPaymentStatus | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | AciPaymentStatus | FromStr for | 1 | 0 | null | null |
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Public structs: 19
pub mod api;
use std::marker::PhantomData;
use api::auth_service::{BankAccountCredentials, ExchangeToken, LinkToken, RecipientCreate};
use api_models::enums as api_enums;
use common_enums::{CountryAlpha2, PaymentMethod, PaymentMethodType};... | crates/pm_auth/src/types.rs | pm_auth | full_file | null | null | null | 1,654 | null | null | null | null | null | null | null |
// Implementation: impl GlobalAttemptId
// File: crates/common_utils/src/id_type/global_id/payment.rs
// Module: common_utils
// Methods: 3 total (3 public)
impl GlobalAttemptId | crates/common_utils/src/id_type/global_id/payment.rs | common_utils | impl_block | null | null | null | 42 | null | GlobalAttemptId | null | 3 | 3 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 14
use common_enums::enums;
use common_utils::{
pii::{self, Email},
types::StringMajorUnit,
};
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_method_data... | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,220 | null | null | null | null | null | null | null |
// Struct: XenditErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct XenditErrorResponse | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | XenditErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/profiles.rs
// Module: router
// Public functions: 13
use actix_web::{web, HttpRequest, HttpResponse};
use router_env::{instrument, tracing, Flow};
use super::app::AppState;
use crate::{
core::{admin::*, api_locking, errors},
services::{api, authentication as auth, authorizat... | crates/router/src/routes/profiles.rs | router | full_file | null | null | null | 3,337 | null | null | null | null | null | null | null |
// Struct: NexixpayErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexixpayErrorResponse | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | NexixpayErrorResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl FromStr for for FailureReason
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl FromStr for for FailureReason | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | FailureReason | FromStr for | 1 | 0 | null | null |
// Implementation: impl api::RefundSync for for Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Aci | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Aci | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Powertranz
// File: crates/hyperswitch_connectors/src/connectors/powertranz.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Powertranz | crates/hyperswitch_connectors/src/connectors/powertranz.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Powertranz | api::PaymentCapture for | 0 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.