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: perform_static_routing_v1
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_static_routing_v1(
state: &SessionState,
merchant_id: &common_utils::id_type::MerchantId,
algorithm_id: Option<&common_utils::id_type::RoutingId>,
business_profile: &domain::Profi... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 122 | perform_static_routing_v1 | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Datatrans | api::PaymentToken for | 0 | 0 | null | null |
// Struct: StripePaymentListConstraints
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripePaymentListConstraints | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | StripePaymentListConstraints | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: BluesnapAuthErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapAuthErrorResponse | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapAuthErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: MonerisPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MonerisPaymentsRequest | crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs | hyperswitch_connectors | struct_definition | MonerisPaymentsRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl Webhooks
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Webhooks | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | Webhooks | null | 1 | 1 | null | null |
// Function: get_total_count_of_attempts
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn get_total_count_of_attempts(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
active_attempt_ids: &[String],
connector: Option<Vec<Str... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 164 | get_total_count_of_attempts | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/bambora.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, RequestBuilder, RequestCo... | crates/hyperswitch_connectors/src/connectors/bambora.rs | hyperswitch_connectors | full_file | null | null | null | 6,638 | null | null | null | null | null | null | null |
// Struct: Merchant
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Merchant | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | Merchant | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl SchedulerInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 0 total (0 public)
impl SchedulerInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 45 | null | KafkaStore | SchedulerInterface for | 0 | 0 | null | null |
// Struct: VoltAuthType
// File: crates/hyperswitch_connectors/src/connectors/volt/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoltAuthType | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs | hyperswitch_connectors | struct_definition | VoltAuthType | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: payments_connector_session
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_connector_session() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 31 | payments_connector_session | null | null | null | null | null | null |
// Function: add_apple_pay_payment_status_metrics
// File: crates/router/src/utils.rs
// Module: router
pub fn add_apple_pay_payment_status_metrics(
payment_attempt_status: enums::AttemptStatus,
apple_pay_flow: Option<domain::ApplePayFlow>,
connector: Option<String>,
merchant_id: id_type::MerchantId,
) | crates/router/src/utils.rs | router | function_signature | null | null | null | 75 | add_apple_pay_payment_status_metrics | null | null | null | null | null | null |
// Struct: XenditCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct XenditCaptureResponse | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | XenditCaptureResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Airwallex | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Airwallex | api::PaymentToken for | 0 | 0 | null | null |
// Struct: ProphetpayAuthType
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProphetpayAuthType | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | struct_definition | ProphetpayAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Coingate
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Coingate | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Coingate | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl NoEmailClient
// File: crates/external_services/src/email/no_email.rs
// Module: external_services
// Methods: 1 total (0 public)
impl NoEmailClient | crates/external_services/src/email/no_email.rs | external_services | impl_block | null | null | null | 41 | null | NoEmailClient | null | 1 | 0 | null | null |
// Implementation: impl api::PaymentToken for for CtpMastercard
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for CtpMastercard | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | CtpMastercard | api::PaymentToken for | 0 | 0 | null | null |
// Struct: KlarnaPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaPaymentsRequest | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaPaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl UserFlow
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
// Methods: 1 total (0 public)
impl UserFlow | crates/router/src/types/domain/user/decision_manager.rs | router | impl_block | null | null | null | 39 | null | UserFlow | null | 1 | 0 | null | null |
// Struct: Apm
// File: crates/hyperswitch_connectors/src/connectors/globalpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Apm | crates/hyperswitch_connectors/src/connectors/globalpay/response.rs | hyperswitch_connectors | struct_definition | Apm | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/process_tracker.rs
// Module: router
#[cfg(feature = "v2")]
pub mod revenue_recovery;
| crates/router/src/routes/process_tracker.rs | router | full_file | null | null | null | 29 | null | null | null | null | null | null | null |
// Function: get_sdk_event_dimensions
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_sdk_event_dimensions() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 36 | get_sdk_event_dimensions | null | null | null | null | null | null |
// Function: get_user_theme_using_theme_id
// File: crates/router/src/core/user/theme.rs
// Module: router
pub fn get_user_theme_using_theme_id(
state: SessionState,
user_from_token: UserFromToken,
theme_id: String,
) -> UserResponse<theme_api::GetThemeResponse> | crates/router/src/core/user/theme.rs | router | function_signature | null | null | null | 68 | get_user_theme_using_theme_id | null | null | null | null | null | null |
// Struct: FlexitiAccessTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FlexitiAccessTokenResponse | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | struct_definition | FlexitiAccessTokenResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl HubspotRequest
// File: crates/external_services/src/hubspot_proxy.rs
// Module: external_services
// Methods: 1 total (1 public)
impl HubspotRequest | crates/external_services/src/hubspot_proxy.rs | external_services | impl_block | null | null | null | 42 | null | HubspotRequest | null | 1 | 1 | null | null |
// Function: get_mut
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
pub fn get_mut(&mut self, idx: K) -> Option<&mut V> | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 48 | get_mut | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Fiuu | api::PaymentSync for | 0 | 0 | null | null |
// Struct: MerchantInitiatedTransaction
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantInitiatedTransaction | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | MerchantInitiatedTransaction | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/api_models/src/pm_auth.rs
// Module: api_models
// Public structs: 6
use common_enums::{PaymentMethod, PaymentMethodType};
use common_utils::{
events::{ApiEventMetric, ApiEventsType},
id_type, impl_api_event_type,
};
#[derive(Debug, Clone, serde::Deserialize, serde::Serialize)]
#[serde(rename_... | crates/api_models/src/pm_auth.rs | api_models | full_file | null | null | null | 478 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/payouts.rs
// Module: router
pub use diesel_models::payouts::{Payouts, PayoutsNew, PayoutsUpdate, PayoutsUpdateInternal};
| crates/router/src/types/storage/payouts.rs | router | full_file | null | null | null | 47 | null | null | null | null | null | null | null |
// Struct: SsoSignInRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct SsoSignInRequest | crates/api_models/src/user.rs | api_models | struct_definition | SsoSignInRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Adyen | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl Address
// File: crates/diesel_models/src/query/address.rs
// Module: diesel_models
// Methods: 7 total (0 public)
impl Address | crates/diesel_models/src/query/address.rs | diesel_models | impl_block | null | null | null | 36 | null | Address | null | 7 | 0 | null | null |
// Struct: ListUsersInEntityRequest
// File: crates/api_models/src/user_role.rs
// Module: api_models
// Implementations: 0
pub struct ListUsersInEntityRequest | crates/api_models/src/user_role.rs | api_models | struct_definition | ListUsersInEntityRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Zsl
// File: crates/hyperswitch_connectors/src/connectors/zsl.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Zsl | crates/hyperswitch_connectors/src/connectors/zsl.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Zsl | api::MandateSetup for | 0 | 0 | null | null |
// Struct: CardResponse
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardResponse | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | CardResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutEligibility for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutEligibility for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Wise | api::PayoutEligibility for | 0 | 0 | null | null |
// Struct: ExtendedCardInfoChoice
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct ExtendedCardInfoChoice | crates/api_models/src/admin.rs | api_models | struct_definition | ExtendedCardInfoChoice | 1 | [
"common_utils::events::ApiEventMetric"
] | 49 | null | null | null | null | null | null | null |
// File: crates/analytics/src/api_event/metrics.rs
// Module: analytics
// Public structs: 1
use api_models::analytics::{
api_event::{
ApiEventDimensions, ApiEventFilters, ApiEventMetrics, ApiEventMetricsBucketIdentifier,
},
Granularity, TimeRange,
};
use time::PrimitiveDateTime;
use crate::{
... | crates/analytics/src/api_event/metrics.rs | analytics | full_file | null | null | null | 709 | null | null | null | null | null | null | null |
))?,
PaymentMethodData::BankRedirect(BankRedirectData::Interac { .. }) => {
let payment_method = PaysafePaymentMethod::Interac {
interac_etransfer: InteracBankRedirect {
consumer_id: item.router_data.get_billing_ema... | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 4,067 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/three_ds_decision_rule.rs
// Module: router
// Public submodules:
pub mod utils;
| crates/router/src/core/three_ds_decision_rule.rs | router | module_structure | null | null | null | 32 | null | null | null | null | null | 1 | 0 |
// Module Structure
// File: crates/router/src/core/payment_methods.rs
// Module: router
// Public submodules:
pub mod cards;
pub mod migration;
pub mod network_tokenization;
pub mod surcharge_decision_configs;
pub mod tokenize;
pub mod transformers;
pub mod utils;
pub mod vault;
// Public exports:
pub use api_models... | crates/router/src/core/payment_methods.rs | router | module_structure | null | null | null | 103 | null | null | null | null | null | 8 | 3 |
// File: crates/payment_methods/src/lib.rs
// Module: payment_methods
pub mod configs;
pub mod controller;
pub mod core;
pub mod helpers;
pub mod state;
| crates/payment_methods/src/lib.rs | payment_methods | full_file | null | null | null | 36 | null | null | null | null | null | null | null |
// Function: payment_method_session_update_saved_payment_method
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn payment_method_session_update_saved_payment_method() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 39 | payment_method_session_update_saved_payment_method | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/compatibility/stripe.rs
// Module: router
pub fn server(state: routes::AppState) -> Scope | crates/router/src/compatibility/stripe.rs | router | function_signature | null | null | null | 34 | server | null | null | null | null | null | null |
// Struct: AdditionalAmount
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdditionalAmount | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | AdditionalAmount | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: list_merchant_account
// File: crates/router/src/core/admin.rs
// Module: router
pub fn list_merchant_account(
state: SessionState,
req: api_models::admin::MerchantAccountListRequest,
org_data_from_auth: Option<authentication::AuthenticationDataWithOrg>,
) -> RouterResponse<Vec<api::MerchantAc... | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 76 | list_merchant_account | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/user.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<User> | crates/diesel_models/src/query/user.rs | diesel_models | function_signature | null | null | null | 41 | insert | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 10
use std::collections::HashMap;
use common_enums::{enums, Currency};
use common_utils::{ext_traits::OptionExt, pii, request::Method, types::StringMajorUnit};
use error_stack::ResultExt... | crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 2,648 | null | null | null | null | null | null | null |
// Trait: IncomingWebhook
// File: crates/hyperswitch_interfaces/src/webhooks.rs
// Module: hyperswitch_interfaces
pub trait IncomingWebhook: ConnectorCommon + Sync | crates/hyperswitch_interfaces/src/webhooks.rs | hyperswitch_interfaces | trait_definition | null | null | null | 38 | null | null | IncomingWebhook | null | null | null | null |
// Function: set_offset_n_count
// File: crates/analytics/src/opensearch.rs
// Module: analytics
pub fn set_offset_n_count(&mut self, offset: i64, count: i64) -> QueryResult<()> | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 51 | set_offset_n_count | null | null | null | null | null | null |
// Implementation: impl Gsm
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Gsm | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | Gsm | null | 1 | 1 | null | null |
// Implementation: impl DummyConnectors
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl DummyConnectors | crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | DummyConnectors | null | 1 | 1 | null | null |
// Function: call_capture_request
// File: crates/router/src/core/payments/flows.rs
// Module: router
// Documentation: Executes a capture request by building a connector-specific request and deciding the appropriate flow to send it to the payment connector.
pub fn call_capture_request(
mut capture_router_data: t... | crates/router/src/core/payments/flows.rs | router | function_signature | null | null | null | 158 | call_capture_request | null | null | null | null | null | null |
// Struct: CardValidation
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardValidation | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | CardValidation | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: get_refund_dimensions
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_refund_dimensions() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 36 | get_refund_dimensions | null | null | null | null | null | null |
// Implementation: impl OpenSearchConfig
// File: crates/analytics/src/opensearch.rs
// Module: analytics
// Methods: 2 total (1 public)
impl OpenSearchConfig | crates/analytics/src/opensearch.rs | analytics | impl_block | null | null | null | 39 | null | OpenSearchConfig | null | 2 | 1 | null | null |
// Function: get_total_surcharge_amount
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_total_surcharge_amount(&self) -> Option<MinorUnit> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 50 | get_total_surcharge_amount | null | null | null | null | null | null |
// Function: post_payment_frm_core
// File: crates/router/src/core/fraud_check.rs
// Module: router
pub fn post_payment_frm_core<F, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: &domain::MerchantContext,
payment_data: &mut D,
frm_info: &mut FrmInfo<F, D>,
frm_configs: FrmConf... | crates/router/src/core/fraud_check.rs | router | function_signature | null | null | null | 157 | post_payment_frm_core | null | null | null | null | null | null |
// Function: from_storage
// File: crates/router/src/services/kafka/payment_attempt_event.rs
// Module: router
pub fn from_storage(attempt: &'a PaymentAttempt) -> Self | crates/router/src/services/kafka/payment_attempt_event.rs | router | function_signature | null | null | null | 39 | from_storage | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Placetopay
// File: crates/hyperswitch_connectors/src/connectors/placetopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Placetopay | crates/hyperswitch_connectors/src/connectors/placetopay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Placetopay | api::PaymentSync for | 0 | 0 | null | null |
// Struct: AmazonpayErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AmazonpayErrorResponse | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | AmazonpayErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Affirm
// File: crates/hyperswitch_connectors/src/connectors/affirm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Affirm | crates/hyperswitch_connectors/src/connectors/affirm.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Affirm | api::Refund for | 0 | 0 | null | null |
// Function: get_gsm_record
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn get_gsm_record(
state: &SessionState,
error_code: Option<String>,
error_message: Option<String>,
connector_name: Option<String>,
flow: &str,
) -> Option<hyperswitch_domain_models::gsm::GatewaySta... | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 84 | get_gsm_record | null | null | null | null | null | null |
// Struct: CardInfoUpdate
// File: crates/router/src/core/cards_info.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct CardInfoUpdate | crates/router/src/core/cards_info.rs | router | struct_definition | CardInfoUpdate | 1 | [
"State"
] | 40 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::IncomingWebhookEvent;
use base64::Engine;
use common_enums::enums;
use common_utils::{
consts::BASE6... | crates/hyperswitch_connectors/src/connectors/rapyd.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
Err(errors::ConnectorError::NotSupported {
message: format!("{} for {}", $capture_method, $payment_method_type),
connector: $connector,
}
.into())
};
}
#[macro_export]
macro_rules! get_formatted_date_time {
($date_format:tt) => {{
let format = time::macros... | crates/hyperswitch_connectors/src/utils.rs#chunk3 | hyperswitch_connectors | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: DeutschebankThreeDSInitializeRequestCreditCardExpiry
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankThreeDSInitializeRequestCreditCardExpiry | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankThreeDSInitializeRequestCreditCardExpiry | 0 | [] | 62 | null | null | null | null | null | null | null |
// Function: generate_digest
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
pub fn generate_digest(&self, payload: &[u8]) -> String | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | function_signature | null | null | null | 49 | generate_digest | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Multisafepay | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Recurly | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Recurly | ConnectorCommon for | 6 | 0 | null | null |
// Function: get_or_create_custom_recovery_intent
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
pub fn get_or_create_custom_recovery_intent(
data: api_models::payments::RecoveryPaymentsCreate,
state: &SessionState,
req_state: &ReqState,
merchant_context... | crates/router/src/core/webhooks/recovery_incoming.rs | router | function_signature | null | null | null | 107 | get_or_create_custom_recovery_intent | null | null | null | null | null | null |
// Implementation: impl GetPaymentMethodType for for PayLaterData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl GetPaymentMethodType for for PayLaterData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 58 | null | PayLaterData | GetPaymentMethodType for | 1 | 0 | null | null |
// Struct: WebhookDeliveryRetryRequestInternal
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct WebhookDeliveryRetryRequestInternal | crates/api_models/src/webhook_events.rs | api_models | struct_definition | WebhookDeliveryRetryRequestInternal | 1 | [
"common_utils::events::ApiEventMetric"
] | 55 | null | null | null | null | null | null | null |
// Function: get_refunds_aggregates
// File: crates/router/src/routes/refunds.rs
// Module: router
pub fn get_refunds_aggregates(
state: web::Data<AppState>,
req: HttpRequest,
query_params: web::Query<common_utils::types::TimeRange>,
) -> HttpResponse | crates/router/src/routes/refunds.rs | router | function_signature | null | null | null | 68 | get_refunds_aggregates | null | null | null | null | null | null |
// Implementation: impl Parse for for FieldMeta
// File: crates/router_derive/src/macros/to_encryptable.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl Parse for for FieldMeta | crates/router_derive/src/macros/to_encryptable.rs | router_derive | impl_block | null | null | null | 48 | null | FieldMeta | Parse for | 1 | 0 | null | null |
// Function: get_payout_connector_config
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_payout_connector_config(key: &str) -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 45 | get_payout_connector_config | null | null | null | null | null | null |
// Function: get_frm_config_as_secret
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_frm_config_as_secret(&self) -> Option<Vec<Secret<serde_json::Value>>> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 46 | get_frm_config_as_secret | null | null | null | null | null | null |
// File: crates/diesel_models/src/configs.rs
// Module: diesel_models
// Public functions: 1
// Public structs: 3
use std::convert::From;
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use serde::{Deserialize, Serialize};
use crate::schema::configs;
#[derive(Default, Clone, Debug, Inser... | crates/diesel_models/src/configs.rs | diesel_models | full_file | null | null | null | 342 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Facilitapay | api::RefundExecute for | 0 | 0 | null | null |
// Struct: ActivePaymentsMetricsBucketIdentifier
// File: crates/api_models/src/analytics/active_payments.rs
// Module: api_models
// Implementations: 3
// Traits: Hash, PartialEq
pub struct ActivePaymentsMetricsBucketIdentifier | crates/api_models/src/analytics/active_payments.rs | api_models | struct_definition | ActivePaymentsMetricsBucketIdentifier | 3 | [
"Hash",
"PartialEq"
] | 50 | null | null | null | null | null | null | null |
// Function: find_by_global_customer_id
// File: crates/diesel_models/src/query/mandate.rs
// Module: diesel_models
pub fn find_by_global_customer_id(
conn: &PgPooledConn,
customer_id: &common_utils::id_type::GlobalCustomerId,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/mandate.rs | diesel_models | function_signature | null | null | null | 68 | find_by_global_customer_id | null | null | null | null | null | null |
// Function: customers_list
// File: crates/openapi/src/routes/customers.rs
// Module: openapi
pub fn customers_list() | crates/openapi/src/routes/customers.rs | openapi | function_signature | null | null | null | 29 | customers_list | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl Profile
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
// Methods: 2 total (2 public)
impl Profile | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | impl_block | null | null | null | 41 | null | Profile | null | 2 | 2 | null | null |
// Implementation: impl api::Payment for for Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Fiuu | api::Payment for | 0 | 0 | null | null |
// Struct: ChargebeeSubscriptionEstimateRequest
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeSubscriptionEstimateRequest | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeSubscriptionEstimateRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: PaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsResponse | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl CustomerResponse
// File: crates/api_models/src/customers.rs
// Module: api_models
// Methods: 1 total (1 public)
impl CustomerResponse | crates/api_models/src/customers.rs | api_models | impl_block | null | null | null | 37 | null | CustomerResponse | null | 1 | 1 | null | null |
// File: crates/diesel_models/src/query/role.rs
// Module: diesel_models
// Public functions: 8
use async_bb8_diesel::AsyncRunQueryDsl;
use common_enums::EntityType;
use common_utils::id_type;
use diesel::{
associations::HasTable, debug_query, pg::Pg, result::Error as DieselError,
BoolExpressionMethods, Expres... | crates/diesel_models/src/query/role.rs | diesel_models | full_file | null | null | null | 1,716 | null | null | null | null | null | null | null |
// Implementation: impl MerchantConnectorAccount
// File: crates/diesel_models/src/merchant_connector_account.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl MerchantConnectorAccount | crates/diesel_models/src/merchant_connector_account.rs | diesel_models | impl_block | null | null | null | 42 | null | MerchantConnectorAccount | null | 1 | 1 | null | null |
// Function: list_payment_method_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn list_payment_method_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 33 | list_payment_method_api | null | null | null | null | null | null |
// Struct: ExecutePcrWorkflow
// File: crates/router/src/workflows/revenue_recovery.rs
// Module: router
// Implementations: 0
pub struct ExecutePcrWorkflow | crates/router/src/workflows/revenue_recovery.rs | router | struct_definition | ExecutePcrWorkflow | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Noon
// File: crates/hyperswitch_connectors/src/connectors/noon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Noon | crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Noon | api::Payment for | 0 | 0 | null | null |
// Trait: ConnectorIntegrationInterface
// File: crates/hyperswitch_interfaces/src/connector_integration_interface.rs
// Module: hyperswitch_interfaces
// Documentation: Trait representing the connector integration interface This trait defines the methods required for a connector integration interface.
pub trait Con... | crates/hyperswitch_interfaces/src/connector_integration_interface.rs | hyperswitch_interfaces | trait_definition | null | null | null | 70 | null | null | ConnectorIntegrationInterface | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<MerchantConnectorAccount> | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 47 | insert | null | null | null | null | null | null |
// Implementation: impl MerchantKeyStoreInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 5 total (0 public)
impl MerchantKeyStoreInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 49 | null | KafkaStore | MerchantKeyStoreInterface for | 5 | 0 | null | null |
// Struct: UpdateNexixpayConnectorMetaData
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct UpdateNexixpayConnectorMetaData | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | UpdateNexixpayConnectorMetaData | 0 | [] | 57 | 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.