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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Struct: GetnetErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GetnetErrorResponse | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | GetnetErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Organization
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Organization | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Organization | null | 1 | 1 | null | null |
// Module Structure
// File: crates/router/src/core/disputes.rs
// Module: router
// Public submodules:
pub mod transformers;
| crates/router/src/core/disputes.rs | router | module_structure | null | null | null | 30 | null | null | null | null | null | 1 | 0 |
// Struct: MandatePaymentRequest
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandatePaymentRequest | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | MandatePaymentRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_webhook_delivery_retry_schedule_time
// File: crates/router/src/workflows/outgoing_webhook_retry.rs
// Module: router
pub fn get_webhook_delivery_retry_schedule_time(
db: &dyn StorageInterface,
merchant_id: &id_type::MerchantId,
retry_count: i32,
) -> Option<time::PrimitiveDateTime> | crates/router/src/workflows/outgoing_webhook_retry.rs | router | function_signature | null | null | null | 77 | get_webhook_delivery_retry_schedule_time | null | null | null | null | null | null |
// Implementation: impl ConnectorErrorTypeMapping for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorErrorTypeMapping for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Paypal | ConnectorErrorTypeMapping for | 1 | 0 | null | null |
// Struct: PaymentIntentCreate
// File: crates/router/src/core/payments/operations/payment_create_intent.rs
// Module: router
// Implementations: 0
pub struct PaymentIntentCreate | crates/router/src/core/payments/operations/payment_create_intent.rs | router | struct_definition | PaymentIntentCreate | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: PaymentMethodCollectLinkRenderRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodCollectLinkRenderRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodCollectLinkRenderRequest | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: RedirectUrl
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct RedirectUrl | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | RedirectUrl | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: PayoutFlowData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PayoutFlowData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | PayoutFlowData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: IdealRedirectionResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IdealRedirectionResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | IdealRedirectionResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: ZenApplePay
// File: crates/connector_configs/src/common_config.rs
// Module: connector_configs
// Implementations: 0
pub struct ZenApplePay | crates/connector_configs/src/common_config.rs | connector_configs | struct_definition | ZenApplePay | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Implementations: 26
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::Paymen... | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | struct_definition | Worldpayvantiv | 26 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"api::PaymentPostCaptureVoid",
"Conn... | 166 | null | null | null | null | null | null | null |
// Implementation: impl super::payments::distribution::PaymentDistributionAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::payments::distribution::PaymentDistributionAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 61 | null | ClickhouseClient | super::payments::distribution::PaymentDistributionAnalytics for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Forte | api::PaymentSync for | 0 | 0 | null | null |
// Function: get_order_id
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
pub fn get_order_id(
meta: &NexinetsPaymentsMetadata,
) -> Result<String, error_stack::Report<errors::ConnectorError>> | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 69 | get_order_id | null | null | null | null | null | null |
// Struct: ExternalMpi
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ExternalMpi | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | ExternalMpi | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: AuthenticationTokenFlowData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AuthenticationTokenFlowData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | AuthenticationTokenFlowData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: MultipleCaptureData
// File: crates/router/src/core/payments/types.rs
// Module: router
// Implementations: 1
pub struct MultipleCaptureData | crates/router/src/core/payments/types.rs | router | struct_definition | MultipleCaptureData | 1 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Paysafe | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/api_models/src/user/dashboard_metadata.rs
// Module: api_models
// Public structs: 12
use common_enums::{CountryAlpha2, MerchantProductType};
use common_utils::{id_type, pii};
use masking::Secret;
use strum::EnumString;
#[derive(Debug, serde::Deserialize, serde::Serialize)]
pub enum SetMetaDataRequest... | crates/api_models/src/user/dashboard_metadata.rs | api_models | full_file | null | null | null | 1,199 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs
// Module: analytics
use std::collections::HashSet;
use api_models::{
analytics::{
payment_intents::{
PaymentIntentDimensions, PaymentIntentFilters, PaymentIntentMetricsBucketIdentifier,
... | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs | analytics | full_file | null | null | null | 1,001 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Mifinity | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/router/src/routes/locker_migration.rs
// Module: router
// Public functions: 1
use actix_web::{web, HttpRequest, HttpResponse};
use router_env::Flow;
use super::AppState;
use crate::{
core::{api_locking, locker_migration},
services::{api, authentication as auth},
};
pub async fn rust_locker_m... | crates/router/src/routes/locker_migration.rs | router | full_file | null | null | null | 202 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Helcim | api::Refund for | 0 | 0 | null | null |
// Struct: PreAuthentication
// File: crates/hyperswitch_domain_models/src/router_flow_types/authentication.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PreAuthentication | crates/hyperswitch_domain_models/src/router_flow_types/authentication.rs | hyperswitch_domain_models | struct_definition | PreAuthentication | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: GlobalpayAuthType
// File: crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayAuthType | crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs | hyperswitch_connectors | struct_definition | GlobalpayAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: VoidResponse
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoidResponse | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | VoidResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: AuthenticationData
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 2
// Traits: AuthInfo, AuthInfo
pub struct AuthenticationData | crates/router/src/services/authentication.rs | router | struct_definition | AuthenticationData | 2 | [
"AuthInfo",
"AuthInfo"
] | 41 | null | null | null | null | null | null | null |
// File: crates/router/src/analytics.rs
// Module: router
// Public functions: 63
// Public structs: 1
pub use analytics::*;
pub mod routes {
use std::{
collections::{HashMap, HashSet},
sync::Arc,
};
use actix_web::{web, Responder, Scope};
use analytics::{
api_event::api_event... | crates/router/src/analytics.rs#chunk0 | router | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: BankAccountCredentialsResponse
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 0
pub struct BankAccountCredentialsResponse | crates/pm_auth/src/types.rs | pm_auth | struct_definition | BankAccountCredentialsResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/operations/payment_cancel.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
use api_models::enums::FrmSuggestion;
use async_trait::async_trait;
use common_utils::ext_traits::AsyncExt;
use error_stack::ResultExt;
use router_derive;
use router_env::{instrum... | crates/router/src/core/payments/operations/payment_cancel.rs | router | full_file | null | null | null | 2,276 | null | null | null | null | null | null | null |
// Function: routing_unlink_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_unlink_config(
state: web::Data<AppState>,
req: HttpRequest,
payload: web::Json<routing_types::RoutingConfigRequest>,
transaction_type: Option<enums::TransactionType>,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 75 | routing_unlink_config | null | null | null | null | null | null |
// Struct: JWTAuthOrganizationFromRoute
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct JWTAuthOrganizationFromRoute | crates/router/src/services/authentication.rs | router | struct_definition | JWTAuthOrganizationFromRoute | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/mandate.rs
// Module: diesel_models
// Public functions: 6
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods, Table};
use error_stack::report;
use super::generics;
use crate::{errors, mandate::*, schema::mandate::dsl, PgPooledConn, StorageResult};
i... | crates/diesel_models/src/query/mandate.rs | diesel_models | full_file | null | null | null | 810 | null | null | null | null | null | null | null |
// Trait: PaymentMethodExt
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub trait PaymentMethodExt | crates/router/src/core/payment_methods.rs | router | trait_definition | null | null | null | 28 | null | null | PaymentMethodExt | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Gocardless | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Gocardless | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: PoQuote
// File: crates/hyperswitch_domain_models/src/router_flow_types/payouts.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PoQuote | crates/hyperswitch_domain_models/src/router_flow_types/payouts.rs | hyperswitch_domain_models | struct_definition | PoQuote | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: Cards
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct Cards | crates/router/src/routes/app.rs | router | struct_definition | Cards | 1 | [] | 30 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutSync for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutSync for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nomupay | api::PayoutSync for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Digitalvirgo | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Digitalvirgo | ConnectorValidation for | 1 | 0 | null | null |
// Struct: CashtocodeErrors
// File: crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CashtocodeErrors | crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs | hyperswitch_connectors | struct_definition | CashtocodeErrors | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Placetopay
// File: crates/hyperswitch_connectors/src/connectors/placetopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Placetopay | crates/hyperswitch_connectors/src/connectors/placetopay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Placetopay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl EventClass
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Methods: 1 total (1 public)
impl EventClass | crates/common_enums/src/enums.rs | common_enums | impl_block | null | null | null | 39 | null | EventClass | null | 1 | 1 | null | null |
// Struct: PaymentRequest
// File: crates/router_derive/src/lib.rs
// Module: router_derive
// Implementations: 0
pub struct PaymentRequest | crates/router_derive/src/lib.rs | router_derive | struct_definition | PaymentRequest | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
// Public functions: 10
// Public structs: 8
use std::{collections::HashMap, marker::PhantomData, str::FromStr};
use api_models::{enums as api_enums, payments as api_payments, webhooks};
use common_utils::{
ext_traits::{AsyncExt, Valu... | crates/router/src/core/webhooks/recovery_incoming.rs#chunk0 | router | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Struct: RelayRefundData
// File: crates/hyperswitch_domain_models/src/relay.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RelayRefundData | crates/hyperswitch_domain_models/src/relay.rs | hyperswitch_domain_models | struct_definition | RelayRefundData | 0 | [] | 44 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Struct: AdyenPlatformRouterData
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenPlatformRouterData<T> | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers.rs | hyperswitch_connectors | struct_definition | AdyenPlatformRouterData | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use api_models::webhooks::IncomingWebhookEvent;
use common_enums::enums;
use common_utils::{
crypto::{self, SignMessage},
date_time,
errors::C... | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | full_file | null | null | null | 5,888 | null | null | null | null | null | null | null |
// Struct: RedisValue
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Implementations: 2
// Traits: std::ops::Deref
pub struct RedisValue | crates/redis_interface/src/types.rs | redis_interface | struct_definition | RedisValue | 2 | [
"std::ops::Deref"
] | 44 | null | null | null | null | null | 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: get_connector_choice
// File: crates/router/src/core/payments.rs
// Module: router
pub fn get_connector_choice<F, Req, D>(
operation: &BoxedOperation<'_, F, Req, D>,
state: &SessionState,
req: &Req,
merchant_context: &domain::MerchantContext,
business_profile: &domain::Profile,
pay... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 161 | get_connector_choice | null | null | null | null | null | null |
// File: crates/router/tests/connectors/mollie.rs
// Module: router
use router::types;
use crate::{
connector_auth,
utils::{self, ConnectorActions},
};
#[allow(dead_code)]
#[derive(Clone, Copy)]
struct MollieTest;
impl ConnectorActions for MollieTest {}
impl utils::Connector for MollieTest {
fn get_data(... | crates/router/tests/connectors/mollie.rs | router | full_file | null | null | null | 221 | null | null | null | null | null | null | null |
// File: crates/router/src/macros.rs
// Module: router
pub use common_utils::newtype;
#[macro_export]
macro_rules! get_payment_link_config_value_based_on_priority {
($config:expr, $business_config:expr, $field:ident, $default:expr) => {
$config
.as_ref()
.and_then(|pc_config| pc_co... | crates/router/src/macros.rs | router | full_file | null | null | null | 401 | null | null | null | null | null | null | null |
// File: crates/analytics/src/disputes/filters.rs
// Module: analytics
// Public functions: 1
// Public structs: 1
use api_models::analytics::{disputes::DisputeDimensions, Granularity, TimeRange};
use common_utils::errors::ReportSwitchExt;
use diesel_models::enums::Currency;
use error_stack::ResultExt;
use time::Primi... | crates/analytics/src/disputes/filters.rs | analytics | full_file | null | null | null | 464 | null | null | null | null | null | null | null |
// Struct: BluesnapRouterData
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapRouterData<T> | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: CybersourceErrorInformation
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceErrorInformation | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceErrorInformation | 0 | [] | 53 | null | null | null | null | null | null | null |
// Trait: TransitionTo
// File: crates/router/src/core/cards_info.rs
// Module: router
pub trait TransitionTo<S: State> | crates/router/src/core/cards_info.rs | router | trait_definition | null | null | null | 30 | null | null | TransitionTo | null | null | null | null |
// File: crates/api_models/src/events/external_service_auth.rs
// Module: api_models
use common_utils::events::{ApiEventMetric, ApiEventsType};
use crate::external_service_auth::{
ExternalSignoutTokenRequest, ExternalTokenResponse, ExternalVerifyTokenRequest,
ExternalVerifyTokenResponse,
};
impl ApiEventMetr... | crates/api_models/src/events/external_service_auth.rs | api_models | full_file | null | null | null | 224 | null | null | null | null | null | null | null |
// Struct: Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund, ... | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | struct_definition | Mpgs | 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... | 127 | null | null | null | null | null | null | null |
// Function: retrieve_file_from_theme_bucket
// File: crates/router/src/utils/user/theme.rs
// Module: router
pub fn retrieve_file_from_theme_bucket(
state: &SessionState,
path: &PathBuf,
) -> UserResult<Vec<u8>> | crates/router/src/utils/user/theme.rs | router | function_signature | null | null | null | 55 | retrieve_file_from_theme_bucket | null | null | null | null | null | null |
// Implementation: impl AwsFileStorageClient
// File: crates/external_services/src/file_storage/aws_s3.rs
// Module: external_services
// Methods: 4 total (0 public)
impl AwsFileStorageClient | crates/external_services/src/file_storage/aws_s3.rs | external_services | impl_block | null | null | null | 45 | null | AwsFileStorageClient | null | 4 | 0 | null | null |
// Function: to_merchant_connector_info
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn to_merchant_connector_info(&self, connector_label: &String) -> MerchantConnectorInfo | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 45 | to_merchant_connector_info | null | null | null | null | null | null |
// Function: insert_merchant_scoped_metadata_to_db
// File: crates/router/src/utils/user/dashboard_metadata.rs
// Module: router
pub fn insert_merchant_scoped_metadata_to_db(
state: &SessionState,
user_id: String,
merchant_id: id_type::MerchantId,
org_id: id_type::OrganizationId,
metadata_key: DBEn... | crates/router/src/utils/user/dashboard_metadata.rs | router | function_signature | null | null | null | 97 | insert_merchant_scoped_metadata_to_db | null | null | null | null | null | null |
// Struct: OrderAmount
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderAmount | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | OrderAmount | 0 | [] | 45 | null | null | null | null | null | null | null |
"Pietà" => Ok(Self::Pietà),
"Qala" => Ok(Self::Qala),
"Qormi" => Ok(Self::Qormi),
"Qrendi" => Ok(Self::Qrendi),
"Rabat" => Ok(Self::Rabat),
"Saint Lawrence" => Ok(Self::SaintLawrence),
"San Ġwann" => Ok(Self:... | crates/hyperswitch_connectors/src/utils.rs#chunk6 | hyperswitch_connectors | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Function: profile_delete
// File: crates/openapi/src/routes/profile.rs
// Module: openapi
pub fn profile_delete() | crates/openapi/src/routes/profile.rs | openapi | function_signature | null | null | null | 28 | profile_delete | null | null | null | null | null | null |
// Struct: AirwallexCard
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexCard | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexCard | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: BraintreeWebhookResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BraintreeWebhookResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | BraintreeWebhookResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentPostCaptureVoid for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentPostCaptureVoid for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Worldpayvantiv | api::PaymentPostCaptureVoid for | 0 | 0 | null | null |
// Struct: AmazonpayRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AmazonpayRefundRequest | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | AmazonpayRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Deutschebank
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Deutschebank | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Deutschebank | api::PaymentVoid for | 0 | 0 | null | null |
// Function: find_by_merchant_id_payment_id_address_id
// File: crates/diesel_models/src/query/address.rs
// Module: diesel_models
pub fn find_by_merchant_id_payment_id_address_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
payment_id: &common_utils::id_type::PaymentI... | crates/diesel_models/src/query/address.rs | diesel_models | function_signature | null | null | null | 94 | find_by_merchant_id_payment_id_address_id | null | null | null | null | null | null |
// Struct: MerchantAdvice
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantAdvice | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | MerchantAdvice | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payments/core.rs
// Module: analytics
// Public functions: 2
#![allow(dead_code)]
use std::collections::{HashMap, HashSet};
use api_models::analytics::{
payments::{
MetricsBucketResponse, PaymentDimensions, PaymentDistributions, PaymentMetrics,
PaymentMetricsBucketIde... | crates/analytics/src/payments/core.rs | analytics | full_file | null | null | null | 3,540 | null | null | null | null | null | null | null |
// Function: create_jwe_body_for_vault
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn create_jwe_body_for_vault(
jwekey: &settings::Jwekey,
jws: &str,
) -> CustomResult<encryption::JweBody, errors::VaultError> | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 75 | create_jwe_body_for_vault | null | null | null | null | null | null |
// Function: set_token_details
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
pub fn set_token_details(
self,
network_token: &'a NetworkTokenizationResponse,
) -> NetworkTokenizationBuilder<'a, PmTokenized> | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | function_signature | null | null | null | 63 | set_token_details | null | null | null | null | null | null |
// Implementation: impl RevenueRecoveryDataBackfillForm
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Methods: 1 total (1 public)
impl RevenueRecoveryDataBackfillForm | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | impl_block | null | null | null | 51 | null | RevenueRecoveryDataBackfillForm | null | 1 | 1 | null | null |
// Implementation: impl ConnectorValidation for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorValidation for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Mpgs | ConnectorValidation for | 2 | 0 | null | null |
// Function: migrate_cards_info
// File: crates/router/src/core/cards_info.rs
// Module: router
pub fn migrate_cards_info(
state: routes::SessionState,
card_info_records: Vec<cards_info_api_types::CardInfoUpdateRequest>,
) -> RouterResponse<Vec<cards_info_api_types::CardInfoMigrationResponse>> | crates/router/src/core/cards_info.rs | router | function_signature | null | null | null | 70 | migrate_cards_info | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paytm | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: from_storage
// File: crates/router/src/services/kafka/refund_event.rs
// Module: router
pub fn from_storage(refund: &'a Refund) -> Self | crates/router/src/services/kafka/refund_event.rs | router | function_signature | null | null | null | 39 | from_storage | null | null | null | null | null | null |
// Struct: PaypalVaultResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalVaultResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalVaultResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: submit_evidence
// File: crates/router/src/core/disputes.rs
// Module: router
pub fn submit_evidence(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: Option<common_utils::id_type::ProfileId>,
req: dispute_models::SubmitEvidenceRequest,
) -> RouterResponse<disput... | crates/router/src/core/disputes.rs | router | function_signature | null | null | null | 83 | submit_evidence | null | null | null | null | null | null |
// Implementation: impl ConnectorRedirectResponse for for Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Airwallex | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Airwallex | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Implementation: impl VaultingInterface for for VaultRetrieve
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Methods: 2 total (0 public)
impl VaultingInterface for for VaultRetrieve | crates/router/src/types/payment_methods.rs | router | impl_block | null | null | null | 46 | null | VaultRetrieve | VaultingInterface for | 2 | 0 | null | null |
// Function: is_confirm_operation
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
pub fn is_confirm_operation(&self) -> bool | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | function_signature | null | null | null | 42 | is_confirm_operation | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Wise | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl SecretState for for RawSecret
// File: crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs
// Module: hyperswitch_interfaces
// Methods: 0 total (0 public)
impl SecretState for for RawSecret | crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs | hyperswitch_interfaces | impl_block | null | null | null | 53 | null | RawSecret | SecretState for | 0 | 0 | null | null |
// Implementation: impl IncomingWebhook for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl IncomingWebhook for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Razorpay | IncomingWebhook for | 4 | 0 | null | null |
// Struct: HipayMaintenanceResponse
// File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HipayMaintenanceResponse<S> | crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs | hyperswitch_connectors | struct_definition | HipayMaintenanceResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: connector_selection
// File: crates/router/src/core/payments.rs
// Module: router
pub fn connector_selection<F, D>(
state: &SessionState,
merchant_context: &domain::MerchantContext,
business_profile: &domain::Profile,
payment_data: &mut D,
mandate_type: Option<api::MandateTransactionTy... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 119 | connector_selection | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/configs.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/configs.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
if base.contains("{{merchant_endpoint_prefix}}") || base.contains('$') {
return Err(errors::ConnectorError::InvalidConnectorConfig {
config: "Chargebee base_url has an unresolved placeholder (expected `$` or `{{merchant_endpoint_prefix}}`).",
}
.into());
... | crates/hyperswitch_connectors/src/connectors/chargebee.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 2,698 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Stax | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl SerializableSecret for for u8
// File: crates/masking/src/serde.rs
// Module: masking
// Methods: 0 total (0 public)
impl SerializableSecret for for u8 | crates/masking/src/serde.rs | masking | impl_block | null | null | null | 44 | null | u8 | SerializableSecret for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
// Module: hyperswitch_connectors
// Public structs: 14
use api_models;
use common_enums::{enums, Currency};
use common_utils::{ext_traits::OptionExt as _, pii::Email};
use error_stack::ResultExt;
use hyperswitch_domain_models::types:... | crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs | hyperswitch_connectors | full_file | null | null | null | 3,956 | 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.