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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.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/sift.rs | hyperswitch_connectors | struct_definition | Sift | 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... | 125 | null | null | null | null | null | null | null |
// Function: deserialize_i64
// File: crates/drainer/src/utils.rs
// Module: drainer
pub fn deserialize_i64<'de, D>(deserializer: D) -> Result<i64, D::Error>
where
D: serde::Deserializer<'de>, | crates/drainer/src/utils.rs | drainer | function_signature | null | null | null | 61 | deserialize_i64 | null | null | null | null | null | null |
// Struct: StripeUpi
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripeUpi | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | StripeUpi | 0 | [] | 41 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 28
use common_enums::enums::{AttemptStatus, BankNames, CaptureMethod, CountryAlpha2, Currency};
use common_utils::{pii::Email, request::Method};
use hyperswitch_domain_models::{
paym... | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 5,708 | null | null | null | null | null | null | null |
// Function: is_terminal_status
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_terminal_status(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 35 | is_terminal_status | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Function: get_error_response
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
pub fn get_error_response(
pix_data: Box<SantanderPixQRCodePaymentsResponse>,
status_code: u16,
attempt_status: AttemptStatus,
) -> ErrorResponse | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 74 | get_error_response | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Struct: CustomerDeviceData
// File: crates/api_models/src/three_ds_decision_rule.rs
// Module: api_models
// Implementations: 0
pub struct CustomerDeviceData | crates/api_models/src/three_ds_decision_rule.rs | api_models | struct_definition | CustomerDeviceData | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: XenditMultipleSplitRequest
// File: crates/common_types/src/payments.rs
// Module: common_types
// Implementations: 0
pub struct XenditMultipleSplitRequest | crates/common_types/src/payments.rs | common_types | struct_definition | XenditMultipleSplitRequest | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: update
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update(&mut self, new: Self) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 33 | update | null | null | null | null | null | null |
// File: crates/router/tests/connectors/main.rs
// Module: router
#![allow(
clippy::expect_used,
clippy::panic,
clippy::unwrap_in_result,
clippy::unwrap_used
)]
use test_utils::connector_auth;
mod aci;
mod adyen;
mod adyenplatform;
mod affirm;
mod airwallex;
mod amazonpay;
mod authorizedotnet;
mod bam... | crates/router/tests/connectors/main.rs | router | full_file | null | null | null | 637 | null | null | null | null | null | null | null |
// Struct: RedirectErrorMessage
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedirectErrorMessage | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | RedirectErrorMessage | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: apply_changeset
// File: crates/diesel_models/src/mandate.rs
// Module: diesel_models
pub fn apply_changeset(self, source: Mandate) -> Mandate | crates/diesel_models/src/mandate.rs | diesel_models | function_signature | null | null | null | 41 | apply_changeset | null | null | null | null | null | null |
// Implementation: impl State for for CardInfoResponse
// File: crates/router/src/core/cards_info.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for CardInfoResponse | crates/router/src/core/cards_info.rs | router | impl_block | null | null | null | 44 | null | CardInfoResponse | State for | 0 | 0 | null | null |
// File: crates/test_utils/tests/connectors/stripe_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct StripeSeleniumTest;
impl SeleniumTest for StripeSeleniumTest {
fn get_connector_name(&self) -> String {
"stripe".to_st... | crates/test_utils/tests/connectors/stripe_ui.rs | test_utils | full_file | null | null | null | 4,845 | null | null | null | null | null | null | null |
// Struct: NovalnetCustom
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetCustom | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetCustom | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: AffirmCompleteAuthorizeRequest
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AffirmCompleteAuthorizeRequest | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | AffirmCompleteAuthorizeRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: SenderInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SenderInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | SenderInformation | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: UnifiedAuthenticationServiceAuthenticateConfirmationResponse
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct UnifiedAuthenticationServiceAuthenticateConfirmationResponse | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | UnifiedAuthenticationServiceAuthenticateConfirmationResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: HelcimRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HelcimRefundRequest | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs | hyperswitch_connectors | struct_definition | HelcimRefundRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: Peachpayments
// File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentV... | crates/hyperswitch_connectors/src/connectors/peachpayments.rs | hyperswitch_connectors | struct_definition | Peachpayments | 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 |
// Implementation: impl KafkaFraudCheckEvent
// File: crates/router/src/services/kafka/fraud_check_event.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaFraudCheckEvent | crates/router/src/services/kafka/fraud_check_event.rs | router | impl_block | null | null | null | 46 | null | KafkaFraudCheckEvent | null | 1 | 1 | null | null |
// Struct: CardVerification
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardVerification | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | CardVerification | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: MifinityAuthType
// File: crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MifinityAuthType | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs | hyperswitch_connectors | struct_definition | MifinityAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/router/src/core/refunds_v2.rs
// Module: router
// Public functions: 18
use std::{fmt::Debug, str::FromStr};
use api_models::{enums::Connector, refunds::RefundErrorDetails};
use common_utils::{id_type, types as common_utils_types};
use diesel_models::refund as diesel_refund;
use error_stack::{report, ... | crates/router/src/core/refunds_v2.rs#chunk0 | router | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: QuoteRequest
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct QuoteRequest | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | struct_definition | QuoteRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: FiuuRecurringRequest
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuRecurringRequest | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuRecurringRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Blackhawknetwork
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Blackhawknetwork | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Blackhawknetwork | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl api::Refund for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Phonepe | api::Refund for | 0 | 0 | null | null |
Country,
CardNetwork,
CardBin,
}
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, ToSchema)]
pub struct SuccessBasedRoutingConfigBody {
pub min_aggregates_size: Option<u32>,
pub default_success_rate: Option<f64>,
pub max_aggregates_size: Option<u32>,
pub current_block_threshold:... | crates/api_models/src/routing.rs#chunk1 | api_models | chunk | null | null | null | 4,257 | null | null | null | null | null | null | null |
// File: crates/external_services/src/hashicorp_vault/core.rs
// Module: external_services
// Public functions: 4
// Public structs: 2
//! Interactions with the HashiCorp Vault
use std::{collections::HashMap, future::Future, pin::Pin};
use common_utils::{ext_traits::ConfigExt, fp_utils::when};
use error_stack::{Repo... | crates/external_services/src/hashicorp_vault/core.rs | external_services | full_file | null | null | null | 1,868 | null | null | null | null | null | null | null |
// Struct: RequestResponseMetricsMiddleware
// File: crates/router/src/middleware.rs
// Module: router
// Implementations: 0
pub struct RequestResponseMetricsMiddleware<S> | crates/router/src/middleware.rs | router | struct_definition | RequestResponseMetricsMiddleware | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/router/src/core/revenue_recovery.rs
// Module: router
// Public functions: 8
pub mod api;
pub mod transformers;
pub mod types;
use std::marker::PhantomData;
use api_models::{
enums,
payments::{self as api_payments, PaymentsGetIntentRequest, PaymentsResponse},
process_tracker::revenue_recov... | crates/router/src/core/revenue_recovery.rs#chunk0 | router | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Struct: DummyConnectorPaymentResponse
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Implementations: 0
pub struct DummyConnectorPaymentResponse | crates/router/src/routes/dummy_connector/types.rs | router | struct_definition | DummyConnectorPaymentResponse | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: Config
// File: crates/router_env/src/logger/config.rs
// Module: router_env
// Implementations: 1
pub struct Config | crates/router_env/src/logger/config.rs | router_env | struct_definition | Config | 1 | [] | 32 | null | null | null | null | null | null | null |
// Struct: SantanderPixQRCodeErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderPixQRCodeErrorResponse | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderPixQRCodeErrorResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: Payments
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 2
pub struct Payments | crates/router/src/routes/app.rs | router | struct_definition | Payments | 2 | [] | 30 | null | null | null | null | null | null | null |
// Struct: BankInfo
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankInfo | crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs | hyperswitch_connectors | struct_definition | BankInfo | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: into_inner
// File: crates/hyperswitch_domain_models/src/type_encryption.rs
// Module: hyperswitch_domain_models
pub fn into_inner(self) -> T | crates/hyperswitch_domain_models/src/type_encryption.rs | hyperswitch_domain_models | function_signature | null | null | null | 38 | into_inner | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for ToggleBlocklistResponse
// File: crates/api_models/src/blocklist.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for ToggleBlocklistResponse | crates/api_models/src/blocklist.rs | api_models | impl_block | null | null | null | 51 | null | ToggleBlocklistResponse | ApiEventMetric for | 0 | 0 | null | null |
// Struct: BlockedRateAccumulator
// File: crates/analytics/src/frm/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: FrmMetricAccumulator
pub struct BlockedRateAccumulator | crates/analytics/src/frm/accumulator.rs | analytics | struct_definition | BlockedRateAccumulator | 1 | [
"FrmMetricAccumulator"
] | 50 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/events.rs
// Module: router
// Public submodules:
pub mod api_logs;
pub mod audit_events;
pub mod connector_api_logs;
pub mod event_logger;
pub mod outgoing_webhook_logs;
pub mod routing_api_logs;
| crates/router/src/events.rs | router | module_structure | null | null | null | 57 | null | null | null | null | null | 6 | 0 |
// Implementation: impl IncomingWebhook for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 3 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 | 3 | 0 | null | null |
// Struct: PaymentMethodTypeCapRes
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentMethodTypeCapRes | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | PaymentMethodTypeCapRes | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl AddressConstructor for for BillingAddress
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl AddressConstructor for for BillingAddress | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | BillingAddress | AddressConstructor for | 1 | 0 | null | null |
// Implementation: impl api::Refund for for Amazonpay
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Amazonpay | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Amazonpay | api::Refund for | 0 | 0 | null | null |
// Struct: ApproveRequest
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApproveRequest | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | ApproveRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(config: 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::PaymentCapture for for Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Getnet | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Getnet | api::PaymentCapture for | 0 | 0 | null | null |
// Function: get_refund_sync_process_schedule_time
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn get_refund_sync_process_schedule_time(
db: &dyn db::StorageInterface,
connector: &str,
merchant_id: &common_utils::id_type::MerchantId,
retry_count: i32,
) -> Result<Option<time::Primi... | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 91 | get_refund_sync_process_schedule_time | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Fiserv
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Fiserv | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Fiserv | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Worldpay | null | 1 | 0 | null | null |
// Struct: Card
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Card | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | Card | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl KafkaPaymentAttempt
// File: crates/router/src/services/kafka/payment_attempt.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaPaymentAttempt | crates/router/src/services/kafka/payment_attempt.rs | router | impl_block | null | null | null | 40 | null | KafkaPaymentAttempt | null | 1 | 1 | null | null |
// Function: health
// File: crates/router/src/bin/scheduler.rs
// Module: router
pub fn health() -> impl actix_web::Responder | crates/router/src/bin/scheduler.rs | router | function_signature | null | null | null | 32 | health | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Katapult
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Katapult | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Katapult | api::RefundExecute for | 0 | 0 | null | null |
// Struct: PeachPaymentsConnectorMetadataObject
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PeachPaymentsConnectorMetadataObject | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | struct_definition | PeachPaymentsConnectorMetadataObject | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl ProphetpayActionType
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ProphetpayActionType | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | ProphetpayActionType | null | 1 | 0 | null | null |
// Function: get_decision_engine_configs
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn get_decision_engine_configs(
&self,
) -> Result<open_router::DecisionEngineSuccessRateData, error_stack::Report<ValidationError>> | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 57 | get_decision_engine_configs | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 76 | null | Juspaythreedsserver | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl FileUpload for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl FileUpload for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Adyen | FileUpload for | 1 | 0 | null | null |
// Implementation: impl std::ops::Deref for for PaymentsMandateReference
// File: crates/hyperswitch_domain_models/src/mandates.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl std::ops::Deref for for PaymentsMandateReference | crates/hyperswitch_domain_models/src/mandates.rs | hyperswitch_domain_models | impl_block | null | null | null | 66 | null | PaymentsMandateReference | std::ops::Deref for | 1 | 0 | null | null |
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Public functions: 1
// Public structs: 10
use std::{
collections::hash_map::DefaultHasher,
hash::{Hash, Hasher},
};
use common_utils::id_type;
use super::{ForexMetric, NameDescription, TimeRange};
use crate::enums::{
Aut... | crates/api_models/src/analytics/payment_intents.rs | api_models | full_file | null | null | null | 1,842 | null | null | null | null | null | null | null |
// Function: get_merchant_fingerprint_secret_key
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: get_merchant_fingerprint_secret_key
pub fn get_merchant_fingerprint_secret_key(&self) -> String | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 55 | get_merchant_fingerprint_secret_key | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Razorpay | ConnectorValidation for | 0 | 0 | null | null |
// Struct: RouterStore
// File: crates/storage_impl/src/lib.rs
// Module: storage_impl
// Implementations: 5
// Traits: DatabaseStore, RedisConnInterface, PayoutAttemptInterface, PayoutsInterface
pub struct RouterStore<T: DatabaseStore> | crates/storage_impl/src/lib.rs | storage_impl | struct_definition | RouterStore | 5 | [
"DatabaseStore",
"RedisConnInterface",
"PayoutAttemptInterface",
"PayoutsInterface"
] | 58 | null | null | null | null | null | null | null |
// Struct: InvoiceNew
// File: crates/diesel_models/src/invoice.rs
// Module: diesel_models
// Implementations: 1
pub struct InvoiceNew | crates/diesel_models/src/invoice.rs | diesel_models | struct_definition | InvoiceNew | 1 | [] | 35 | null | null | null | null | null | null | null |
// Function: new
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Documentation: Creates a new instance of `OvercaptureEnabledBool`
pub fn new(value: bool) -> Self | crates/common_types/src/primitive_wrappers.rs | common_types | function_signature | null | null | null | 47 | new | null | null | null | null | null | null |
// Struct: SurchargeDetailsOutput
// File: crates/api_models/src/surcharge_decision_configs.rs
// Module: api_models
// Implementations: 0
pub struct SurchargeDetailsOutput | crates/api_models/src/surcharge_decision_configs.rs | api_models | struct_definition | SurchargeDetailsOutput | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for AuthenticationAuthenticateRequest
// File: crates/api_models/src/authentication.rs
// Module: api_models
// Methods: 1 total (0 public)
impl ApiEventMetric for for AuthenticationAuthenticateRequest | crates/api_models/src/authentication.rs | api_models | impl_block | null | null | null | 48 | null | AuthenticationAuthenticateRequest | ApiEventMetric for | 1 | 0 | null | null |
#[derive(Clone, Debug, serde::Deserialize, ToSchema, serde::Serialize)]
#[serde(deny_unknown_fields)]
pub struct PayoutListConstraints {
/// The identifier for customer
#[schema(value_type = Option<String>, example = "cus_y3oqhf46pyzuxjbcn2giaqnb44")]
pub customer_id: Option<id_type::CustomerId>,
/// A... | crates/api_models/src/payouts.rs#chunk1 | api_models | chunk | null | null | null | 2,570 | null | null | null | null | null | null | null |
// Struct: FiservemeaAuthType
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservemeaAuthType | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | FiservemeaAuthType | 0 | [] | 58 | null | null | null | null | null | null | null |
// Function: payments_get_intent
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_get_intent(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
path: web::Path<common_utils::id_type::GlobalPaymentId>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 71 | payments_get_intent | null | null | null | null | null | null |
// Struct: SmithyMember
// File: crates/smithy-core/src/types.rs
// Module: smithy-core
// Implementations: 0
pub struct SmithyMember | crates/smithy-core/src/types.rs | smithy-core | struct_definition | SmithyMember | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: CardDetail
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CardDetail | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | CardDetail | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Silverflow | api::MandateSetup for | 0 | 0 | null | null |
// Struct: PayuPaymentStatusData
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuPaymentStatusData | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuPaymentStatusData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: auth_type
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn auth_type<'a, T, A>(
default_auth: &'a dyn AuthenticateAndFetch<T, A>,
jwt_auth_type: &'a dyn AuthenticateAndFetch<T, A>,
headers: &HeaderMap,
) -> &'a dyn AuthenticateAndFetch<T, A>
where | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 81 | auth_type | null | null | null | null | null | null |
// Struct: Feedback
// File: crates/api_models/src/user/dashboard_metadata.rs
// Module: api_models
// Implementations: 0
pub struct Feedback | crates/api_models/src/user/dashboard_metadata.rs | api_models | struct_definition | Feedback | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: RoutingAlgorithmRef
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 1
pub struct RoutingAlgorithmRef | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingAlgorithmRef | 1 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl ApplePayPredecryptData
// File: crates/common_types/src/payments.rs
// Module: common_types
// Methods: 5 total (5 public)
impl ApplePayPredecryptData | crates/common_types/src/payments.rs | common_types | impl_block | null | null | null | 43 | null | ApplePayPredecryptData | null | 5 | 5 | null | null |
// File: crates/router/src/connector/utils.rs
// Module: router
// Public functions: 13
// Public structs: 1
use std::{
collections::{HashMap, HashSet},
ops::Deref,
str::FromStr,
sync::LazyLock,
};
#[cfg(feature = "payouts")]
use api_models::payouts::{self, PayoutVendorAccountDetails};
use api_models:... | crates/router/src/connector/utils.rs#chunk0 | router | chunk | null | null | null | 8,175 | null | null | null | null | null | null | null |
// Function: list_initial_webhook_delivery_attempts
// File: crates/openapi/src/routes/webhook_events.rs
// Module: openapi
pub fn list_initial_webhook_delivery_attempts() | crates/openapi/src/routes/webhook_events.rs | openapi | function_signature | null | null | null | 38 | list_initial_webhook_delivery_attempts | null | null | null | null | null | null |
// Struct: DisputeFilters
// File: crates/api_models/src/analytics/disputes.rs
// Module: api_models
// Implementations: 0
pub struct DisputeFilters | crates/api_models/src/analytics/disputes.rs | api_models | struct_definition | DisputeFilters | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/getnet.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
st... | crates/router/tests/connectors/getnet.rs | router | full_file | null | null | null | 2,930 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/file.rs
// Module: diesel_models
// Public structs: 3
use common_utils::custom_serde;
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use masking::{Deserialize, Serialize};
use crate::schema::file_metadata;
#[derive(Clone, Debug, Deserialize, Insertable, ... | crates/diesel_models/src/file.rs | diesel_models | full_file | null | null | null | 700 | null | null | null | null | null | null | null |
// Struct: DataKeyCreateResponse
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 0
pub struct DataKeyCreateResponse | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | DataKeyCreateResponse | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl std::error::Error for for BackfillError
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Methods: 0 total (0 public)
impl std::error::Error for for BackfillError | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | impl_block | null | null | null | 57 | null | BackfillError | std::error::Error for | 0 | 0 | null | null |
// Implementation: impl WebhookResponse
// File: crates/router/src/core/webhooks/types.rs
// Module: router
// Methods: 1 total (0 public)
impl WebhookResponse | crates/router/src/core/webhooks/types.rs | router | impl_block | null | null | null | 39 | null | WebhookResponse | null | 1 | 0 | null | null |
// Struct: Shift4WebhookObjectResource
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Shift4WebhookObjectResource | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Shift4WebhookObjectResource | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/authorization.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Authorization> | crates/diesel_models/src/query/authorization.rs | diesel_models | function_signature | null | null | null | 43 | insert | null | null | null | null | null | null |
// Struct: PaypalPaymentConfirm
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalPaymentConfirm | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | PaypalPaymentConfirm | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Globalpay
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl IncomingWebhook for for Globalpay | crates/hyperswitch_connectors/src/connectors/globalpay.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Globalpay | IncomingWebhook for | 6 | 0 | null | null |
// Struct: RevenueRecoveryPaymentData
// File: crates/router/src/types/storage/revenue_recovery.rs
// Module: router
// Implementations: 1
pub struct RevenueRecoveryPaymentData | crates/router/src/types/storage/revenue_recovery.rs | router | struct_definition | RevenueRecoveryPaymentData | 1 | [] | 41 | null | null | null | null | null | null | null |
// Struct: PaypalRedirectionResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalRedirectionResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalRedirectionResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl PaymentVoid for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentVoid for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Riskified | PaymentVoid for | 0 | 0 | null | null |
// File: crates/router/tests/connectors/peachpayments.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Co... | crates/router/tests/connectors/peachpayments.rs | router | full_file | null | null | null | 2,936 | null | null | null | null | null | null | null |
// Function: payments_approve
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_approve(
state: web::Data<app::AppState>,
http_req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsApproveRequest>,
path: web::Path<common_utils::id_type::PaymentId>,
) ... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 87 | payments_approve | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Silverflow | 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.