text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl api::PaymentSession for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Elavon | api::PaymentSession for | 0 | 0 | null | null |
// Struct: AcquirerData
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AcquirerData | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | AcquirerData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Worldpay | api::PaymentSync for | 0 | 0 | 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 |
// Function: perform_surcharge_decision_management_for_payment_method_list
// File: crates/router/src/core/payment_methods/surcharge_decision_configs.rs
// Module: router
pub fn perform_surcharge_decision_management_for_payment_method_list(
_state: &SessionState,
_algorithm_ref: routing::RoutingAlgorithmRef,
... | crates/router/src/core/payment_methods/surcharge_decision_configs.rs | router | function_signature | null | null | null | 146 | perform_surcharge_decision_management_for_payment_method_list | null | null | null | null | null | null |
// Struct: PayuOrderResponseProperty
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuOrderResponseProperty | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuOrderResponseProperty | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: FacilitapaySubject
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapaySubject | crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs | hyperswitch_connectors | struct_definition | FacilitapaySubject | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: get_captures_count
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn get_captures_count(&self) -> RouterResult<i16> | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 43 | get_captures_count | null | null | null | null | null | null |
// Struct: UpdateContractRequestEventRequest
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct UpdateContractRequestEventRequest | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | UpdateContractRequestEventRequest | 0 | [] | 42 | null | null | null | null | null | null | null |
// File: crates/openapi/src/routes/payment_link.rs
// Module: openapi
// Public functions: 1
/// Payments Link - Retrieve
///
/// To retrieve the properties of a Payment Link. This may be used to get the status of a previously initiated payment or next action for an ongoing payment
#[utoipa::path(
get,
path = ... | crates/openapi/src/routes/payment_link.rs | openapi | full_file | null | null | null | 237 | null | null | null | null | null | null | null |
// Function: delete_conditional_config
// File: crates/router/src/core/conditional_config.rs
// Module: router
pub fn delete_conditional_config(
state: SessionState,
merchant_context: domain::MerchantContext,
) -> RouterResponse<()> | crates/router/src/core/conditional_config.rs | router | function_signature | null | null | null | 52 | delete_conditional_config | null | null | null | null | null | null |
// Struct: HyperswitchAiInteraction
// File: crates/diesel_models/src/hyperswitch_ai_interaction.rs
// Module: diesel_models
// Implementations: 0
pub struct HyperswitchAiInteraction | crates/diesel_models/src/hyperswitch_ai_interaction.rs | diesel_models | struct_definition | HyperswitchAiInteraction | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Loonio
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Loonio | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Loonio | api::MandateSetup for | 0 | 0 | null | null |
// Struct: AciWebhookCardDetails
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciWebhookCardDetails | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciWebhookCardDetails | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: supports_access_token
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
pub fn supports_access_token(self, payment_method: PaymentMethod) -> bool | crates/common_enums/src/connector_enums.rs | common_enums | function_signature | null | null | null | 43 | supports_access_token | null | null | null | null | null | null |
// Struct: Bluecode
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::... | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | struct_definition | Bluecode | 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: new_token
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn new_token(
user_id: String,
merchant_id: id_type::MerchantId,
role_id: String,
settings: &Settings,
org_id: id_type::OrganizationId,
profile_id: id_type::ProfileId,
... | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 93 | new_token | null | null | null | null | null | null |
// Function: supports_payout_eligibility
// File: crates/common_enums/src/connector_enums.rs
// Module: common_enums
pub fn supports_payout_eligibility(self, payout_method: Option<PayoutType>) -> bool | crates/common_enums/src/connector_enums.rs | common_enums | function_signature | null | null | null | 51 | supports_payout_eligibility | null | null | null | null | null | null |
// Function: get_default_config_key
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn get_default_config_key(
merchant_id: &str,
transaction_type: &storage::enums::TransactionType,
) -> String | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 54 | get_default_config_key | null | null | null | null | null | null |
// Struct: PayoutListFilters
// File: crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PayoutListFilters | crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs | hyperswitch_domain_models | struct_definition | PayoutListFilters | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Bluecode
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Bluecode | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Bluecode | api::PaymentVoid for | 0 | 0 | null | null |
// Function: insert_payment_intents
// File: crates/diesel_models/src/query/user/sample_data.rs
// Module: diesel_models
pub fn insert_payment_intents(
conn: &PgPooledConn,
batch: Vec<PaymentIntentNew>,
) -> StorageResult<Vec<PaymentIntent>> | crates/diesel_models/src/query/user/sample_data.rs | diesel_models | function_signature | null | null | null | 62 | insert_payment_intents | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 10
use std::collections::HashMap;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::ByteSliceExt,
pii::{Email, IpAddress},... | crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,302 | null | null | null | null | null | null | null |
// File: crates/scheduler/src/utils.rs
// Module: scheduler
// Public functions: 15
use std::sync;
use common_utils::errors::CustomResult;
use diesel_models::enums::{self, ProcessTrackerStatus};
pub use diesel_models::process_tracker as storage;
use error_stack::{report, ResultExt};
use redis_interface::{RedisConnect... | crates/scheduler/src/utils.rs | scheduler | full_file | null | null | null | 3,455 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Trustpayments
// File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Trustpayments | crates/hyperswitch_connectors/src/connectors/trustpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Trustpayments | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Xendit | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: GlobalpayCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayCancelRequest | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | GlobalpayCancelRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/payouts.rs
// Module: router
// Public functions: 13
use actix_web::{
body::{BoxBody, MessageBody},
web, HttpRequest, HttpResponse, Responder,
};
use common_utils::id_type;
use router_env::{instrument, tracing, Flow};
use super::app::AppState;
use crate::{
core::{api_lock... | crates/router/src/routes/payouts.rs | router | full_file | null | null | null | 3,372 | null | null | null | null | null | null | null |
let connector_integration: services::BoxedPayoutConnectorIntegrationInterface<
api::PoCancel,
types::PayoutsData,
types::PayoutsResponseData,
> = connector_data.connector.get_connector_integration();
// 3. Call connector service
let router_data_resp = services::execute_connector... | crates/router/src/core/payouts.rs#chunk2 | router | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethodNew
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Methods: 3 total (3 public)
impl PaymentMethodNew | crates/diesel_models/src/payment_method.rs | diesel_models | impl_block | null | null | null | 40 | null | PaymentMethodNew | null | 3 | 3 | null | null |
// Implementation: impl IncomingWebhook for for Zen
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Methods: 8 total (0 public)
impl IncomingWebhook for for Zen | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Zen | IncomingWebhook for | 8 | 0 | null | null |
// Function: construct_profile_id_and_get_mca
// File: crates/router/src/core/payments.rs
// Module: router
pub fn construct_profile_id_and_get_mca<'a, F, D>(
state: &'a SessionState,
merchant_context: &domain::MerchantContext,
payment_data: &D,
connector_name: &str,
merchant_connector_id: Option<&... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 131 | construct_profile_id_and_get_mca | null | null | null | null | null | null |
// Function: store_payment_method_data_in_locker
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn store_payment_method_data_in_locker(
state: &routes::SessionState,
token_id: Option<String>,
payment_method: &domain::PaymentMethodData,
customer_id: Option... | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 104 | store_payment_method_data_in_locker | null | null | null | null | null | null |
// Struct: BacsBankDebitAdditionalData
// File: crates/api_models/src/payments/additional_info.rs
// Module: api_models
// Implementations: 0
pub struct BacsBankDebitAdditionalData | crates/api_models/src/payments/additional_info.rs | api_models | struct_definition | BacsBankDebitAdditionalData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Custombilling | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/euclid_macros/src/inner/enum_nums.rs
// Module: euclid_macros
// Public functions: 1
use proc_macro::TokenStream;
use proc_macro2::{Span, TokenStream as TokenStream2};
use quote::quote;
fn error() -> TokenStream2 {
syn::Error::new(
Span::call_site(),
"'EnumNums' can only be derived... | crates/euclid_macros/src/inner/enum_nums.rs | euclid_macros | full_file | null | null | null | 321 | null | null | null | null | null | null | null |
// Function: get_two_digit_expiry_year
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Get the four-digit expiration year from the Apple Pay pre-decrypt data
pub fn get_two_digit_expiry_year(&self) -> Result<Secret<String>, errors::ValidationError> | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 64 | get_two_digit_expiry_year | null | null | null | null | null | null |
// Struct: SilverflowWebhookEventData
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SilverflowWebhookEventData | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | SilverflowWebhookEventData | 0 | [] | 52 | null | null | null | null | null | null | null |
connector_response_reference_id: Option<String>,
updated_by: String,
},
ConnectorResponse {
connector_payment_id: Option<String>,
connector: Option<String>,
updated_by: String,
},
// IncrementalAuthorizationAmountUpdate {
// amount: MinorUnit,
// a... | crates/diesel_models/src/payment_attempt.rs#chunk1 | diesel_models | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// File: crates/router/src/core/recon.rs
// Module: router
// Public functions: 4
use api_models::recon as recon_api;
#[cfg(feature = "email")]
use common_utils::{ext_traits::AsyncExt, types::user::ThemeLineage};
use error_stack::ResultExt;
#[cfg(feature = "email")]
use masking::{ExposeInterface, PeekInterface, Secret... | crates/router/src/core/recon.rs | router | full_file | null | null | null | 2,078 | null | null | null | null | null | null | null |
// Struct: CeleroCardResponse
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CeleroCardResponse | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroCardResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Implementations: 27
// Traits: HealthCheck, AnalyticsDataSource, super::payments::filters::PaymentFilterAnalytics, super::payments::metrics::PaymentMetricAnalytics, super::payments::distribution::PaymentDistributionAnalytics... | crates/analytics/src/clickhouse.rs | analytics | struct_definition | ClickhouseClient | 27 | [
"HealthCheck",
"AnalyticsDataSource",
"super::payments::filters::PaymentFilterAnalytics",
"super::payments::metrics::PaymentMetricAnalytics",
"super::payments::distribution::PaymentDistributionAnalytics",
"super::payment_intents::filters::PaymentIntentFilterAnalytics",
"super::payment_intents::metrics::... | 336 | null | null | null | null | null | null | null |
// File: crates/analytics/src/frm/accumulator.rs
// Module: analytics
// Public functions: 1
// Public structs: 3
use api_models::analytics::frm::FrmMetricsBucketValue;
use common_enums::enums as storage_enums;
use super::metrics::FrmMetricRow;
#[derive(Debug, Default)]
pub struct FrmMetricsAccumulator {
pub frm_... | crates/analytics/src/frm/accumulator.rs | analytics | full_file | null | null | null | 592 | null | null | null | null | null | null | null |
// Implementation: impl Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 6 total (1 public)
impl Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Tokenio | null | 6 | 1 | null | null |
// Struct: CancelResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CancelResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | CancelResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: AuthenticationDataWithoutProfile
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct AuthenticationDataWithoutProfile | crates/router/src/services/authentication.rs | router | struct_definition | AuthenticationDataWithoutProfile | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/hypersense.rs
// Module: router
// Public functions: 3
use actix_web::{web, HttpRequest, HttpResponse};
use api_models::external_service_auth as external_service_auth_api;
use router_env::Flow;
use super::AppState;
use crate::{
core::{api_locking, external_service_auth},
serv... | crates/router/src/routes/hypersense.rs | router | full_file | null | null | null | 513 | null | null | null | null | null | null | null |
// Implementation: impl NuveiPaymentResponseData
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Methods: 2 total (2 public)
impl NuveiPaymentResponseData | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | NuveiPaymentResponseData | null | 2 | 2 | null | null |
// Struct: CustomerRequest
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustomerRequest | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | CustomerRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Paybox
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Paybox | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paybox | api::PaymentSync for | 0 | 0 | null | null |
// Function: enable_dynamic_routing_algorithm
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn enable_dynamic_routing_algorithm(
state: &SessionState,
key_store: domain::MerchantKeyStore,
business_profile: domain::Profile,
feature_to_enable: routing_types::DynamicRoutingFeatu... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 121 | enable_dynamic_routing_algorithm | null | null | null | null | null | null |
// Struct: AuthorizedotnetTransactionResponse
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetTransactionResponse | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetTransactionResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: IndonesianBankTransferData
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IndonesianBankTransferData | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | IndonesianBankTransferData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethodsEnabled
// File: crates/router/src/core/admin.rs
// Module: router
// Methods: 1 total (0 public)
impl PaymentMethodsEnabled | crates/router/src/core/admin.rs | router | impl_block | null | null | null | 37 | null | PaymentMethodsEnabled | null | 1 | 0 | null | null |
// Implementation: impl ExternalAuthentication for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ExternalAuthentication for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Gpayments | ExternalAuthentication for | 0 | 0 | null | null |
// Struct: NovalnetApplePay
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetApplePay | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetApplePay | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl FromStr for for DBEnumWrapper
// File: crates/analytics/src/types.rs
// Module: analytics
// Methods: 1 total (0 public)
impl FromStr for for DBEnumWrapper | crates/analytics/src/types.rs | analytics | impl_block | null | null | null | 45 | null | DBEnumWrapper | FromStr for | 1 | 0 | null | null |
// Function: create
// File: crates/router/src/services/kafka.rs
// Module: router
pub fn create(conf: &KafkaSettings) -> MQResult<Self> | crates/router/src/services/kafka.rs | router | function_signature | null | null | null | 36 | create | null | null | null | null | null | null |
// Struct: PaymentAccountCardInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentAccountCardInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | PaymentAccountCardInformation | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: TokenizationResponse
// File: crates/hyperswitch_domain_models/src/tokenization.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct TokenizationResponse | crates/hyperswitch_domain_models/src/tokenization.rs | hyperswitch_domain_models | struct_definition | TokenizationResponse | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: get_search_results
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_search_results(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<GetSearchRequest>,
index: web::Path<SearchIndex>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 74 | get_search_results | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Wellsfargopayout | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Wellsfargopayout | api::PaymentToken for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nomupay | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl ChargebeeCustomer
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl ChargebeeCustomer | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | ChargebeeCustomer | null | 1 | 1 | null | null |
// Struct: OrderData
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct OrderData | crates/router/src/types/payment_methods.rs | router | struct_definition | OrderData | 0 | [] | 33 | null | null | null | null | null | null | null |
// Function: insert_in_v2
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn insert_in_v2(self, state: &SessionState) -> UserResult<UserRole> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 44 | insert_in_v2 | null | null | null | null | null | null |
// Function: get_transaction_type
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_transaction_type(&self) -> api_enums::TransactionType | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 38 | get_transaction_type | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Affirm
// File: crates/hyperswitch_connectors/src/connectors/affirm.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Affirm | crates/hyperswitch_connectors/src/connectors/affirm.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Affirm | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Moneris | api::Refund for | 0 | 0 | null | null |
// Struct: KafkaPaymentIntent
// File: crates/router/src/services/kafka/payment_intent.rs
// Module: router
// Implementations: 4
// Traits: super::KafkaMessage
pub struct KafkaPaymentIntent<'a> | crates/router/src/services/kafka/payment_intent.rs | router | struct_definition | KafkaPaymentIntent | 4 | [
"super::KafkaMessage"
] | 49 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Struct: FetchRoutingConfig
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 0
pub struct FetchRoutingConfig | crates/api_models/src/open_router.rs | api_models | struct_definition | FetchRoutingConfig | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/router/src/workflows/payment_method_status_update.rs
// Module: router
// Public structs: 1
use common_utils::ext_traits::ValueExt;
use error_stack::ResultExt;
use scheduler::{
consumer::types::process_data, utils as pt_utils, workflows::ProcessTrackerWorkflow,
};
use crate::{
errors,
logg... | crates/router/src/workflows/payment_method_status_update.rs | router | full_file | null | null | null | 921 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Authipay
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Authipay | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Authipay | api::PaymentSession for | 0 | 0 | null | null |
// File: crates/diesel_models/src/query/user_authentication_method.rs
// Module: diesel_models
// Public functions: 6
use diesel::{associations::HasTable, ExpressionMethods};
use crate::{
query::generics, schema::user_authentication_methods::dsl, user_authentication_method::*,
PgPooledConn, StorageResult,
};
... | crates/diesel_models/src/query/user_authentication_method.rs | diesel_models | full_file | null | null | null | 575 | null | null | null | null | null | null | null |
// Function: payments_operation_core
// File: crates/router/src/core/payments.rs
// Module: router
pub fn payments_operation_core<F, Req, Op, FData, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: &domain::Profile,
operation: Op,
req: Req,
... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 369 | payments_operation_core | null | null | null | null | null | null |
// Struct: WellsfargoConsumerAuthInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoConsumerAuthInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoConsumerAuthInformation | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: profile_update
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn profile_update(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<(
common_utils::id_type::MerchantId,
common_utils::id_type::ProfileId,
) | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 71 | profile_update | null | null | null | null | null | null |
// Struct: CalSuccessRateConfigEventRequest
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct CalSuccessRateConfigEventRequest | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | CalSuccessRateConfigEventRequest | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: get_lookup_key_from_locker
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn get_lookup_key_from_locker(
state: &routes::SessionState,
payment_token: &str,
pm: &domain::PaymentMethod,
merchant_key_store: &domain::MerchantKeyStore,
) -> errors::RouterResult<a... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 87 | get_lookup_key_from_locker | null | null | null | null | null | null |
// Struct: CoBadgedCardNetworks
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 1
pub struct CoBadgedCardNetworks | crates/api_models/src/open_router.rs | api_models | struct_definition | CoBadgedCardNetworks | 1 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl EventNew
// File: crates/diesel_models/src/query/events.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl EventNew | crates/diesel_models/src/query/events.rs | diesel_models | impl_block | null | null | null | 38 | null | EventNew | null | 1 | 0 | null | null |
// Function: skip
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
pub fn skip(self, user: UserFromStorage, state: &SessionState) -> UserResult<Self> | crates/router/src/types/domain/user/decision_manager.rs | router | function_signature | null | null | null | 46 | skip | null | null | null | null | null | null |
// File: crates/router/src/core/disputes.rs
// Module: router
// Public functions: 17
use std::{collections::HashMap, ops::Deref, str::FromStr};
use api_models::{
admin::MerchantConnectorInfo, disputes as dispute_models, files as files_api_models,
};
use common_utils::ext_traits::{Encode, ValueExt};
use error_sta... | crates/router/src/core/disputes.rs | router | full_file | null | null | null | 8,144 | null | null | null | null | null | null | null |
// File: crates/api_models/src/recon.rs
// Module: api_models
// Public structs: 4
use common_utils::{id_type, pii};
use masking::Secret;
use crate::enums;
#[derive(serde::Deserialize, Debug, serde::Serialize)]
pub struct ReconUpdateMerchantRequest {
pub recon_status: enums::ReconStatus,
pub user_email: pii:... | crates/api_models/src/recon.rs | api_models | full_file | null | null | null | 189 | null | null | null | null | null | null | null |
// Implementation: impl PaymentAttempt
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Methods: 13 total (9 public)
impl PaymentAttempt | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | impl_block | null | null | null | 46 | null | PaymentAttempt | null | 13 | 9 | null | null |
// Implementation: impl ConnectorSpecifications for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Elavon | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: CoBadgedCardDataToBeSaved
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct CoBadgedCardDataToBeSaved | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CoBadgedCardDataToBeSaved | 0 | [] | 46 | null | null | null | null | null | null | null |
// Trait: VerifyConnector
// File: crates/router/src/types/api/verify_connector.rs
// Module: router
pub trait VerifyConnector | crates/router/src/types/api/verify_connector.rs | router | trait_definition | null | null | null | 28 | null | null | VerifyConnector | null | null | null | null |
// Function: make_payout_method_data
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn make_payout_method_data(
state: &SessionState,
payout_method_data: Option<&api::PayoutMethodData>,
payout_token: Option<&str>,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::M... | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 147 | make_payout_method_data | null | null | null | null | null | null |
// File: crates/masking/src/abs.rs
// Module: masking
//! Abstract data types.
use crate::Secret;
/// Interface to expose a reference to an inner secret
pub trait PeekInterface<S> {
/// Only method providing access to the secret value.
fn peek(&self) -> &S;
/// Provide a mutable reference to the inner v... | crates/masking/src/abs.rs | masking | full_file | null | null | null | 425 | null | null | null | null | null | null | null |
// Function: build_connections
// File: crates/external_services/src/grpc_client/unified_connector_service.rs
// Module: external_services
// Documentation: Builds the connection to the gRPC service
pub fn build_connections(config: &GrpcClientSettings) -> Option<Self> | crates/external_services/src/grpc_client/unified_connector_service.rs | external_services | function_signature | null | null | null | 56 | build_connections | null | null | null | null | null | null |
// Implementation: impl api::PayoutFulfill for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutFulfill for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Adyenplatform | api::PayoutFulfill for | 0 | 0 | null | null |
// Function: get_secret
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_secret(&self) -> String | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 31 | get_secret | null | null | null | null | null | null |
// Function: trigger_refund_execute_workflow
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn trigger_refund_execute_workflow(
state: &SessionState,
refund_tracker: &storage::ProcessTracker,
) -> Result<(), errors::ProcessTrackerError> | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 60 | trigger_refund_execute_workflow | null | null | null | null | null | null |
// Trait: RequestBuilder
// File: crates/router/src/services/api/client.rs
// Module: router
pub trait RequestBuilder: Send + Sync | crates/router/src/services/api/client.rs | router | trait_definition | null | null | null | 30 | null | null | RequestBuilder | null | null | null | null |
// Struct: FiservemeaOrder
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservemeaOrder | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | FiservemeaOrder | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: set_surcharge_details
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn set_surcharge_details(
&mut self,
surcharge_details: Option<router_request_types::SurchargeDetails>,
) | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 62 | set_surcharge_details | 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.