text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 43 | null | Checkout | null | 1 | 1 | null | null |
// Function: get_token
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
pub fn get_token(transaction_data: Option<&Self>) -> Option<String> | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 50 | get_token | null | null | null | null | null | null |
// Function: merchant_account_create
// File: crates/openapi/src/routes/merchant_account.rs
// Module: openapi
pub fn merchant_account_create() | crates/openapi/src/routes/merchant_account.rs | openapi | function_signature | null | null | null | 32 | merchant_account_create | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Placetopay
// File: crates/hyperswitch_connectors/src/connectors/placetopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Placetopay | crates/hyperswitch_connectors/src/connectors/placetopay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Placetopay | api::Payment for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Payeezy | api::PaymentSync for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 31
use api_models::webhooks::IncomingWebhookEvent;
use cards::CardNumber;
use common_enums::{AttemptStatus, AuthenticationType, CountryAlpha2, Currency, RefundStatus};
u... | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// Function: generate_env_specific_merchant_id
// File: crates/router/src/utils/user.rs
// Module: router
pub fn generate_env_specific_merchant_id(value: String) -> UserResult<id_type::MerchantId> | crates/router/src/utils/user.rs | router | function_signature | null | null | null | 47 | generate_env_specific_merchant_id | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Fiservemea | api::PaymentVoid for | 0 | 0 | null | null |
// File: crates/analytics/src/sdk_events/accumulator.rs
// Module: analytics
// Public functions: 1
// Public structs: 3
use api_models::analytics::sdk_events::SdkEventMetricsBucketValue;
use router_env::logger;
use super::metrics::SdkEventMetricRow;
#[derive(Debug, Default)]
pub struct SdkEventMetricsAccumulator {
... | crates/analytics/src/sdk_events/accumulator.rs | analytics | full_file | null | null | null | 755 | null | null | null | null | null | null | null |
// Struct: BarclaycardAuthValidateRequest
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardAuthValidateRequest | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardAuthValidateRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Hipay
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Hipay | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Hipay | api::MandateSetup for | 0 | 0 | null | null |
// Function: payouts_list_available_filters_core
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn payouts_list_available_filters_core(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<id_type::ProfileId>>,
time_range: common_utils::types::Ti... | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 87 | payouts_list_available_filters_core | null | null | null | null | null | null |
// Struct: ZenPaymentData
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZenPaymentData | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ZenPaymentData | 0 | [] | 47 | null | 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 api::PaymentSession for for Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Stripebilling | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Stripebilling | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl ProxyRecord
// File: crates/router/src/core/proxy/utils.rs
// Module: router
// Methods: 3 total (0 public)
impl ProxyRecord | crates/router/src/core/proxy/utils.rs | router | impl_block | null | null | null | 37 | null | ProxyRecord | null | 3 | 0 | null | null |
// Struct: MandateData
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct MandateData | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | MandateData | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: qr_code_next_steps_check
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn qr_code_next_steps_check(
payment_attempt: storage::PaymentAttempt,
) -> RouterResult<Option<api_models::payments::QrCodeInformation>> | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 61 | qr_code_next_steps_check | null | null | null | null | null | null |
// Struct: ArchipelCaptureOrderRequest
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelCaptureOrderRequest | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelCaptureOrderRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: get_internal_error_mut
// File: crates/api_models/src/errors/types.rs
// Module: api_models
pub fn get_internal_error_mut(&mut self) -> &mut ApiError | crates/api_models/src/errors/types.rs | api_models | function_signature | null | null | null | 40 | get_internal_error_mut | null | null | null | null | null | null |
// Struct: DynamicAlgorithmWithTimestamp
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 1
pub struct DynamicAlgorithmWithTimestamp<T> | crates/api_models/src/routing.rs | api_models | struct_definition | DynamicAlgorithmWithTimestamp | 1 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl Capturable for for SdkPaymentsSessionUpdateData
// File: crates/router/src/types.rs
// Module: router
// Methods: 0 total (0 public)
impl Capturable for for SdkPaymentsSessionUpdateData | crates/router/src/types.rs | router | impl_block | null | null | null | 50 | null | SdkPaymentsSessionUpdateData | Capturable for | 0 | 0 | null | null |
// Struct: TokenizedBankRedirectValue1
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct TokenizedBankRedirectValue1 | crates/api_models/src/payment_methods.rs | api_models | struct_definition | TokenizedBankRedirectValue1 | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Bitpay
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Bitpay | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Bitpay | api::Payment for | 0 | 0 | null | null |
// Struct: ForteRouterData
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ForteRouterData<T> | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | ForteRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: generic_user_roles_list_for_user
// File: crates/diesel_models/src/query/user_role.rs
// Module: diesel_models
pub fn generic_user_roles_list_for_user(
conn: &PgPooledConn,
user_id: String,
tenant_id: id_type::TenantId,
org_id: Option<id_type::OrganizationId>,
merch... | crates/diesel_models/src/query/user_role.rs | diesel_models | function_signature | null | null | null | 137 | generic_user_roles_list_for_user | null | null | null | null | null | null |
// Implementation: impl FraudCheckRecordReturn for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl FraudCheckRecordReturn for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Signifyd | FraudCheckRecordReturn for | 0 | 0 | null | null |
"parsing failed with error: '{param}' at position: {position}"
),
param: Some(param),
},
serde_qs::Error::Unsupported => Self::SerdeQsError {
error_message: "Given request format is not supported".to_owned(),
par... | crates/router/src/compatibility/stripe/errors.rs#chunk1 | router | chunk | null | null | null | 382 | null | null | null | null | null | null | null |
// Struct: VoidStatus
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoidStatus | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | VoidStatus | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nmi | api::Refund for | 0 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Payu | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Worldpay | ConnectorCommon for | 6 | 0 | null | null |
// Struct: InvoiceEstimate
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InvoiceEstimate | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | InvoiceEstimate | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: TokenioPaymentObjectV2
// File: crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenioPaymentObjectV2 | crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs | hyperswitch_connectors | struct_definition | TokenioPaymentObjectV2 | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: get_default_payout_connector
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn get_default_payout_connector(
_state: &SessionState,
request_connector: Option<serde_json::Value>,
) -> CustomResult<api::ConnectorChoice, errors::ApiErrorResponse> | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 69 | get_default_payout_connector | null | null | null | null | null | null |
// Struct: MpgsErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MpgsErrorResponse | crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs | hyperswitch_connectors | struct_definition | MpgsErrorResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Sift | null | 1 | 1 | null | null |
// Implementation: impl api::Payment for for Barclaycard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Barclaycard | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Barclaycard | api::Payment for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 8
// Public structs: 41
use std::collections::HashMap;
use base64::Engine;
use cards::CardNumber;
use common_enums::{enums, Currency};
use common_types::payments::{ApplePayPaymentData, ... | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Function: call_psync_api
// File: crates/router/src/core/revenue_recovery/api.rs
// Module: router
pub fn call_psync_api(
state: &SessionState,
global_payment_id: &id_type::GlobalPaymentId,
revenue_recovery_data: &revenue_recovery_types::RevenueRecoveryPaymentData,
force_sync_bool: bool,
expand_... | crates/router/src/core/revenue_recovery/api.rs | router | function_signature | null | null | null | 103 | call_psync_api | null | null | null | null | null | null |
// Function: skip_ws
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn skip_ws<'a, F, O>(inner: F) -> impl FnMut(&'a str) -> ParseResult<&'a str, O>
where
F: FnMut(&'a str) -> ParseResult<&'a str, O> + 'a, | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 86 | skip_ws | null | null | null | null | null | null |
// Struct: StripeUpdateRefundRequest
// File: crates/router/src/compatibility/stripe/refunds/types.rs
// Module: router
// Implementations: 0
pub struct StripeUpdateRefundRequest | crates/router/src/compatibility/stripe/refunds/types.rs | router | struct_definition | StripeUpdateRefundRequest | 0 | [] | 44 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/payments_v2.rs
// Module: router
pub use hyperswitch_interfaces::api::payments_v2::{
ConnectorCustomerV2, MandateSetupV2, PaymentApproveV2, PaymentAuthorizeSessionTokenV2,
PaymentAuthorizeV2, PaymentCaptureV2, PaymentIncrementalAuthorizationV2,
PaymentPostCaptureVoidV2,... | crates/router/src/types/api/payments_v2.rs | router | full_file | null | null | null | 158 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Cryptopay | api::RefundSync for | 0 | 0 | null | null |
// Struct: CompleteAuthorizeData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CompleteAuthorizeData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | CompleteAuthorizeData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: BankAccountConnectorDetails
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct BankAccountConnectorDetails | crates/api_models/src/payment_methods.rs | api_models | struct_definition | BankAccountConnectorDetails | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl PayoutAttemptNew
// File: crates/diesel_models/src/query/payout_attempt.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl PayoutAttemptNew | crates/diesel_models/src/query/payout_attempt.rs | diesel_models | impl_block | null | null | null | 44 | null | PayoutAttemptNew | null | 1 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Nuvei | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Mifinity | ConnectorCommon for | 6 | 0 | null | null |
// Struct: BamboraPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraPaymentsResponse | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | BamboraPaymentsResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl SecretsHandler for for AnalyticsConfig
// File: crates/analytics/src/lib.rs
// Module: analytics
// Methods: 1 total (0 public)
impl SecretsHandler for for AnalyticsConfig | crates/analytics/src/lib.rs | analytics | impl_block | null | null | null | 43 | null | AnalyticsConfig | SecretsHandler for | 1 | 0 | null | null |
// File: crates/hyperswitch_domain_models/src/ext_traits.rs
// Module: hyperswitch_domain_models
use common_utils::{
errors::{self, CustomResult},
ext_traits::ValueExt,
fp_utils::when,
};
use error_stack::ResultExt;
use crate::errors::api_error_response;
pub type DomainResult<T> = CustomResult<T, api_err... | crates/hyperswitch_domain_models/src/ext_traits.rs | hyperswitch_domain_models | full_file | null | null | null | 728 | null | null | null | null | null | null | null |
// Struct: FiservResponseOrders
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservResponseOrders | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservResponseOrders | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: PayeezyErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayeezyErrorResponse | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | hyperswitch_connectors | struct_definition | PayeezyErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/routes/disputes.rs
// Module: router
// Public submodules:
pub mod utils;
| crates/router/src/routes/disputes.rs | router | module_structure | null | null | null | 30 | null | null | null | null | null | 1 | 0 |
// Implementation: impl api::MandateSetup for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Phonepe | api::MandateSetup for | 0 | 0 | null | null |
// Struct: DestinationChargeRefund
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct DestinationChargeRefund | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | DestinationChargeRefund | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: FiuuPaymentRedirectResponse
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuPaymentRedirectResponse | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuPaymentRedirectResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: GlobepayPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobepayPaymentsResponse | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs | hyperswitch_connectors | struct_definition | GlobepayPaymentsResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: Links
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Links | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | Links | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/user.rs
// Module: router
// Public functions: 50
pub mod theme;
use actix_web::{web, HttpRequest, HttpResponse};
#[cfg(feature = "dummy_connector")]
use api_models::user::sample_data::SampleDataRequest;
use api_models::{
errors::types::ApiErrorResponse,
user::{self as user_a... | crates/router/src/routes/user.rs | router | full_file | null | null | null | 7,101 | null | null | null | null | null | null | null |
// Struct: OrderRequestAmount
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderRequestAmount | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | OrderRequestAmount | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Payment for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl Payment for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 52 | null | Riskified | Payment for | 0 | 0 | null | null |
// Function: payment_get
// File: crates/external_services/src/grpc_client/unified_connector_service.rs
// Module: external_services
// Documentation: Performs Payment Sync/Get
pub fn payment_get(
&self,
payment_get_request: payments_grpc::PaymentServiceGetRequest,
connector_auth_metadata: Con... | crates/external_services/src/grpc_client/unified_connector_service.rs | external_services | function_signature | null | null | null | 102 | payment_get | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl Payouts for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl Payouts for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payone | Payouts for | 0 | 0 | null | null |
// Implementation: impl UserPassword
// File: crates/router/src/types/domain/user.rs
// Module: router
// Methods: 3 total (3 public)
impl UserPassword | crates/router/src/types/domain/user.rs | router | impl_block | null | null | null | 36 | null | UserPassword | null | 3 | 3 | null | null |
// Struct: AuthenticationResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthenticationResponse | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | AuthenticationResponse | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: ConnectorVolumeSplit
// File: crates/euclid/src/frontend/ast.rs
// Module: euclid
// Implementations: 0
pub struct ConnectorVolumeSplit | crates/euclid/src/frontend/ast.rs | euclid | struct_definition | ConnectorVolumeSplit | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Prophetpay
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Prophetpay | crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Prophetpay | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: ThreeDSAuthResult
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSAuthResult | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDSAuthResult | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PaymentsIncrementalAuthorizationData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsIncrementalAuthorizationData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsIncrementalAuthorizationData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl PayoutAttemptInterface for for RouterStore
// File: crates/storage_impl/src/lib.rs
// Module: storage_impl
// Methods: 0 total (0 public)
impl PayoutAttemptInterface for for RouterStore | crates/storage_impl/src/lib.rs | storage_impl | impl_block | null | null | null | 48 | null | RouterStore | PayoutAttemptInterface for | 0 | 0 | null | null |
// Struct: BluesnapWallet
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapWallet | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapWallet | 0 | [] | 48 | null | null | null | null | null | null | null |
if status == BankofamericaRefundStatus::Voided {
Err(get_error_response(
&Some(BankOfAmericaErrorInformation {
message: Some(constants::REFUND_VOIDED.to_string()),
reason: Some(constan... | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 3,795 | null | null | null | null | null | null | null |
// File: crates/events/src/lib.rs
// Module: events
// Public functions: 8
// Public structs: 2
#![cfg_attr(docsrs, feature(doc_auto_cfg, doc_cfg_hide))]
#![cfg_attr(docsrs, doc(cfg_hide(doc)))]
#![warn(missing_docs)]
//! A generic event handler system.
//! This library consists of 4 parts:
//! Event Sink: A trait th... | crates/events/src/lib.rs | events | full_file | null | null | null | 1,987 | null | null | null | null | null | null | null |
// Function: get_metadata
// File: crates/hyperswitch_domain_models/src/mandates.rs
// Module: hyperswitch_domain_models
pub fn get_metadata(&self) -> Option<pii::SecretSerdeValue> | crates/hyperswitch_domain_models/src/mandates.rs | hyperswitch_domain_models | function_signature | null | null | null | 47 | get_metadata | null | null | null | null | null | null |
// Function: payments_create_intent
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_create_intent(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsCreateIntentRequest>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 70 | payments_create_intent | null | null | null | null | null | null |
// Implementation: impl PartialEq for for FrmMetricsBucketIdentifier
// File: crates/api_models/src/analytics/frm.rs
// Module: api_models
// Methods: 1 total (0 public)
impl PartialEq for for FrmMetricsBucketIdentifier | crates/api_models/src/analytics/frm.rs | api_models | impl_block | null | null | null | 49 | null | FrmMetricsBucketIdentifier | PartialEq for | 1 | 0 | null | null |
// Struct: User
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 2
pub struct User | crates/router/src/routes/app.rs | router | struct_definition | User | 2 | [] | 30 | null | null | null | null | null | null | null |
// File: crates/router/src/services/authorization.rs
// Module: router
// Public functions: 5
use std::sync::Arc;
use common_utils::id_type;
use error_stack::ResultExt;
use redis_interface::RedisConnectionPool;
use router_env::logger;
use super::authentication::AuthToken;
use crate::{
consts,
core::errors::{... | crates/router/src/services/authorization.rs | router | full_file | null | null | null | 1,066 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Adyen | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Nomupay | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Function: from_pii_email
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn from_pii_email(email: pii::Email) -> UserResult<Self> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 41 | from_pii_email | null | null | null | null | null | null |
// Implementation: impl AnalyticsProvider
// File: crates/analytics/src/lib.rs
// Module: analytics
// Methods: 12 total (0 public)
impl AnalyticsProvider | crates/analytics/src/lib.rs | analytics | impl_block | null | null | null | 36 | null | AnalyticsProvider | null | 12 | 0 | null | null |
// Struct: TransactionConfirmRequest
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionConfirmRequest | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | TransactionConfirmRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Stripe | ConnectorCommon for | 5 | 0 | null | null |
// Implementation: impl api::RefundSync for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Billwerk | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Authorizedotnet | api::PaymentVoid for | 0 | 0 | null | null |
// File: crates/connector_configs/src/common_config.rs
// Module: connector_configs
// Public structs: 12
use api_models::{payment_methods, payments};
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;
#[serde_with::skip_serializing_none]
#[derive(Debug, Deserialize, serde::Serialize, Clone)]
#[serde(rename_a... | crates/connector_configs/src/common_config.rs | connector_configs | full_file | null | null | null | 1,833 | null | null | null | null | null | null | null |
// Function: build_case_insensitive_filters
// File: crates/analytics/src/opensearch.rs
// Module: analytics
pub fn build_case_insensitive_filters(
&self,
mut payload: Value,
case_insensitive_filters: &[&(String, Vec<Value>) | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 57 | build_case_insensitive_filters | null | null | null | null | null | null |
// Function: get_connector_label
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_connector_label(&self, profile_name: String) -> String | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 38 | get_connector_label | null | null | null | null | null | null |
// Struct: StripebillingWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct StripebillingWebhookBody | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingWebhookBody | 1 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/router/src/core/pm_auth/helpers.rs
// Module: router
// Public functions: 1
use common_utils::ext_traits::ValueExt;
use error_stack::ResultExt;
use pm_auth::types::{self as pm_auth_types, api::BoxedPaymentAuthConnector};
use crate::{
core::errors::{self, ApiErrorResponse},
types::{self, domain... | crates/router/src/core/pm_auth/helpers.rs | router | full_file | null | null | null | 292 | null | null | null | null | null | null | null |
// Implementation: impl Customer
// File: crates/diesel_models/src/query/customers.rs
// Module: diesel_models
// Methods: 9 total (0 public)
impl Customer | crates/diesel_models/src/query/customers.rs | diesel_models | impl_block | null | null | null | 37 | null | Customer | null | 9 | 0 | null | null |
// Function: insert_payment_attempts
// File: crates/diesel_models/src/query/user/sample_data.rs
// Module: diesel_models
pub fn insert_payment_attempts(
conn: &PgPooledConn,
batch: Vec<user::sample_data::PaymentAttemptBatchNew>,
) -> StorageResult<Vec<PaymentAttempt>> | crates/diesel_models/src/query/user/sample_data.rs | diesel_models | function_signature | null | null | null | 66 | insert_payment_attempts | null | null | null | null | null | null |
// Function: get_two_letter_country_code
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_two_letter_country_code() -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 41 | get_two_letter_country_code | null | null | null | null | null | null |
// Function: make_payment_attempt
// File: crates/router/src/core/payments/operations/payment_create.rs
// Module: router
pub fn make_payment_attempt(
payment_id: &common_utils::id_type::PaymentId,
merchant_id: &common_utils::id_type::MerchantId,
organization_id: &common_utils::id_type::Organiz... | crates/router/src/core/payments/operations/payment_create.rs | router | function_signature | null | null | null | 87 | make_payment_attempt | null | null | null | null | null | null |
// Struct: CancelResponseStatus
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CancelResponseStatus | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | CancelResponseStatus | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl BusinessPaymentLinkConfig
// File: crates/api_models/src/admin.rs
// Module: api_models
// Methods: 1 total (1 public)
impl BusinessPaymentLinkConfig | crates/api_models/src/admin.rs | api_models | impl_block | null | null | null | 40 | null | BusinessPaymentLinkConfig | null | 1 | 1 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.