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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// File: crates/router/src/db/business_profile.rs
// Module: router
use common_utils::{ext_traits::AsyncExt, types::keymanager::KeyManagerState};
use error_stack::{report, ResultExt};
use router_env::{instrument, tracing};
use super::Store;
use crate::{
connection,
core::errors::{self, CustomResult},
db::... | crates/router/src/db/business_profile.rs | router | full_file | null | null | null | 3,486 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for HyperswitchVault
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for HyperswitchVault | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | HyperswitchVault | ConnectorValidation for | 0 | 0 | null | null |
// Function: create_theme
// File: crates/router/src/core/user/theme.rs
// Module: router
pub fn create_theme(
state: SessionState,
request: theme_api::CreateThemeRequest,
) -> UserResponse<theme_api::GetThemeResponse> | crates/router/src/core/user/theme.rs | router | function_signature | null | null | null | 55 | create_theme | null | null | null | null | null | null |
// Struct: SantanderRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderRefundResponse | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderRefundResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: permanent_card
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
pub fn permanent_card(
payment_method_id: Option<String>,
locker_id: Option<String>,
token: String,
network_token_locker_id: Option<String>,
) -> Self | crates/router/src/types/storage/payment_method.rs | router | function_signature | null | null | null | 62 | permanent_card | null | null | null | null | null | null |
// Function: get_payment_method
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_payment_method(&self) -> Option<storage_enums::PaymentMethod> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 50 | get_payment_method | null | null | null | null | null | null |
// Function: get_connector_name_as_string
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_connector_name_as_string(&self) -> String | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 46 | get_connector_name_as_string | null | null | null | null | null | null |
// Implementation: impl SerializableSecret for for Value
// File: crates/masking/src/serde.rs
// Module: masking
// Methods: 0 total (0 public)
impl SerializableSecret for for Value | crates/masking/src/serde.rs | masking | impl_block | null | null | null | 42 | null | Value | SerializableSecret for | 0 | 0 | null | null |
// Function: contract_based_routing_setup_config
// File: crates/openapi/src/routes/routing.rs
// Module: openapi
pub fn contract_based_routing_setup_config() | crates/openapi/src/routes/routing.rs | openapi | function_signature | null | null | null | 35 | contract_based_routing_setup_config | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Custombilling | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// File: crates/kgraph_utils/benches/evaluation.rs
// Module: kgraph_utils
#![allow(unused, clippy::expect_used)]
use std::{collections::HashMap, str::FromStr};
use api_models::{
admin as admin_api, enums as api_enums, payment_methods::RequestPaymentMethodTypes,
};
use common_utils::types::MinorUnit;
use criteri... | crates/kgraph_utils/benches/evaluation.rs | kgraph_utils | full_file | null | null | null | 1,328 | null | null | null | null | null | null | null |
// Implementation: impl PlatformOrgAdminAuthWithMerchantIdFromRoute
// File: crates/router/src/services/authentication.rs
// Module: router
// Methods: 1 total (0 public)
impl PlatformOrgAdminAuthWithMerchantIdFromRoute | crates/router/src/services/authentication.rs | router | impl_block | null | null | null | 49 | null | PlatformOrgAdminAuthWithMerchantIdFromRoute | null | 1 | 0 | null | null |
// Struct: SmartRetriedAmountAccumulator
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: PaymentIntentMetricAccumulator
pub struct SmartRetriedAmountAccumulator | crates/analytics/src/payment_intents/accumulator.rs | analytics | struct_definition | SmartRetriedAmountAccumulator | 1 | [
"PaymentIntentMetricAccumulator"
] | 56 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Zen
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Zen | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Zen | api::RefundExecute for | 0 | 0 | null | null |
// Function: get_authorization_info
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn get_authorization_info(
state: web::Data<AppState>,
http_req: HttpRequest,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 49 | get_authorization_info | null | null | null | null | null | null |
// File: crates/api_models/src/cards_info.rs
// Module: api_models
// Public structs: 7
use std::fmt::Debug;
use common_utils::events::ApiEventMetric;
use utoipa::ToSchema;
use crate::enums;
#[derive(serde::Deserialize, ToSchema)]
pub struct CardsInfoRequestParams {
#[schema(example = "pay_OSERgeV9qAy7tlK7aKpc_... | crates/api_models/src/cards_info.rs | api_models | full_file | null | null | null | 979 | null | null | null | null | null | null | null |
// Struct: TokenizeCreditCardData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenizeCreditCardData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | TokenizeCreditCardData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: RefundIntegrityObject
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RefundIntegrityObject | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | RefundIntegrityObject | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Custombilling | api::Refund for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Mollie | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Mollie | api::PaymentSync for | 0 | 0 | null | null |
// Function: merchant_account_create
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn merchant_account_create(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<api_models::admin::MerchantAccountCreateWithoutOrgId>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 65 | merchant_account_create | null | null | null | null | null | null |
// Struct: TokenizedCardValue2
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct TokenizedCardValue2 | crates/api_models/src/payment_methods.rs | api_models | struct_definition | TokenizedCardValue2 | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Worldpay | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for WebhookDeliveryRetryRequestInternal
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Methods: 1 total (0 public)
impl common_utils::events::ApiEventMetric for for WebhookDeliveryRetryRequestInternal | crates/api_models/src/webhook_events.rs | api_models | impl_block | null | null | null | 66 | null | WebhookDeliveryRetryRequestInternal | common_utils::events::ApiEventMetric for | 1 | 0 | null | null |
// File: crates/diesel_models/src/query/capture.rs
// Module: diesel_models
// Public functions: 4
use common_utils::types::ConnectorTransactionIdTrait;
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods};
use super::generics;
use crate::{
capture::{Capture, CaptureNew, CaptureUpdate, C... | crates/diesel_models/src/query/capture.rs | diesel_models | full_file | null | null | null | 644 | null | null | null | null | null | null | null |
// Function: select_routing_result
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn select_routing_result<T>(
state: &SessionState,
business_profile: &business_profile::Profile,
hyperswitch_result: T,
de_result: T,
) -> T | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 66 | select_routing_result | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Implementation: impl Tokenizable for for ExternalVaultProxyPaymentsData
// File: crates/router/src/types.rs
// Module: router
// Methods: 1 total (0 public)
impl Tokenizable for for ExternalVaultProxyPaymentsData | crates/router/src/types.rs | router | impl_block | null | null | null | 48 | null | ExternalVaultProxyPaymentsData | Tokenizable for | 1 | 0 | null | null |
// Function: get_current_date_time
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
pub fn get_current_date_time() -> CustomResult<String, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | function_signature | null | null | null | 50 | get_current_date_time | null | null | null | null | null | null |
PaypalWebhookEventType::PaymentCaptureRefunded => IncomingWebhookEvent::RefundSuccess,
PaypalWebhookEventType::CustomerDisputeCreated => IncomingWebhookEvent::DisputeOpened,
PaypalWebhookEventType::RiskDisputeCreated => IncomingWebhookEvent::DisputeAccepted,
PaypalWebhookEventType::Custo... | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs#chunk3 | hyperswitch_connectors | chunk | null | null | null | 3,670 | null | null | null | null | null | null | null |
// Function: delete_tokenized_data_api
// File: crates/router/src/routes/tokenization.rs
// Module: router
pub fn delete_tokenized_data_api(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<id_type::GlobalTokenId>,
json_payload: web::Json<api_models::tokenization::DeleteTokenDataRequest>,
... | crates/router/src/routes/tokenization.rs | router | function_signature | null | null | null | 83 | delete_tokenized_data_api | null | null | null | null | null | null |
// Struct: TransactionFraudInfo
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionFraudInfo | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | TransactionFraudInfo | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: PayboxPSyncRequest
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayboxPSyncRequest | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | PayboxPSyncRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: get_surcharge_keys
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_surcharge_keys() -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 39 | get_surcharge_keys | null | null | null | null | null | null |
// Function: upsert_conditional_config
// File: crates/router/src/core/conditional_config.rs
// Module: router
pub fn upsert_conditional_config(
state: SessionState,
merchant_context: domain::MerchantContext,
request: DecisionManager,
) -> RouterResponse<DecisionManagerRecord> | crates/router/src/core/conditional_config.rs | router | function_signature | null | null | null | 64 | upsert_conditional_config | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Mpgs | api::PaymentSync for | 0 | 0 | null | null |
// Function: update
// File: crates/api_models/src/open_router.rs
// Module: api_models
pub fn update(&mut self, new_config: Self) | crates/api_models/src/open_router.rs | api_models | function_signature | null | null | null | 34 | update | null | null | null | null | null | null |
// Struct: UserKeyStoreNew
// File: crates/diesel_models/src/user_key_store.rs
// Module: diesel_models
// Implementations: 0
pub struct UserKeyStoreNew | crates/diesel_models/src/user_key_store.rs | diesel_models | struct_definition | UserKeyStoreNew | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: AuthenticationAttemptCount
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
// Implementations: 0
pub struct AuthenticationAttemptCount | crates/api_models/src/analytics/auth_events.rs | api_models | struct_definition | AuthenticationAttemptCount | 0 | [] | 38 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Re... | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | struct_definition | Iatapay | 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... | 128 | null | null | null | null | null | null | null |
// Implementation: impl DisputeNew
// File: crates/diesel_models/src/query/dispute.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl DisputeNew | crates/diesel_models/src/query/dispute.rs | diesel_models | impl_block | null | null | null | 41 | null | DisputeNew | null | 1 | 0 | null | null |
// Function: find_by_publishable_key
// File: crates/diesel_models/src/query/merchant_account.rs
// Module: diesel_models
pub fn find_by_publishable_key(
conn: &PgPooledConn,
publishable_key: &str,
) -> StorageResult<Self> | crates/diesel_models/src/query/merchant_account.rs | diesel_models | function_signature | null | null | null | 61 | find_by_publishable_key | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
pub fn server(config: routes::AppState) -> Scope | crates/router/src/compatibility/stripe/app.rs | router | function_signature | null | null | null | 35 | server | null | null | null | null | null | null |
// Struct: RoleInfoResponseWithParentsGroup
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct RoleInfoResponseWithParentsGroup | crates/api_models/src/user_role/role.rs | api_models | struct_definition | RoleInfoResponseWithParentsGroup | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Phonepe | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Deutschebank
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Deutschebank | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Deutschebank | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: FrmMerchantAccount
// File: crates/router/src/core/fraud_check/types.rs
// Module: router
// Implementations: 0
pub struct FrmMerchantAccount | crates/router/src/core/fraud_check/types.rs | router | struct_definition | FrmMerchantAccount | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: get_merchant_payment_intent_metrics
// File: crates/router/src/analytics.rs
// Module: router
// Documentation: Panics if `json_payload` array does not contain one `GetPaymentIntentMetricRequest` element.
pub fn get_merchant_payment_intent_metrics(
state: web::Data<AppState>,
req: actix_w... | crates/router/src/analytics.rs | router | function_signature | null | null | null | 100 | get_merchant_payment_intent_metrics | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/metrics/total_smart_retries.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payment_intents::{
PaymentIntentDimensions, PaymentIntentFilters, PaymentIntentMetricsBucketIdentifier,
},
Granularity, TimeRange,
};
use co... | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs | analytics | full_file | null | null | null | 958 | null | null | null | null | null | null | null |
// Struct: FlexitiAuthType
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FlexitiAuthType | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | struct_definition | FlexitiAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: validate_request_and_initiate_payment_method_collect_link
// File: crates/router/src/core/payment_methods/validator.rs
// Module: router
pub fn validate_request_and_initiate_payment_method_collect_link(
_state: &SessionState,
_merchant_context: &domain::MerchantContext,
_req: &PaymentMethodCol... | crates/router/src/core/payment_methods/validator.rs | router | function_signature | null | null | null | 84 | validate_request_and_initiate_payment_method_collect_link | null | null | null | null | null | null |
// Function: update_payouts_and_payout_attempt
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn update_payouts_and_payout_attempt(
payout_data: &mut PayoutData,
merchant_context: &domain::MerchantContext,
req: &payouts::PayoutCreateRequest,
state: &SessionState,
) -> CustomRe... | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 91 | update_payouts_and_payout_attempt | null | null | null | null | null | null |
// Trait: AddRecoveryHeaders
// File: crates/external_services/src/grpc_client/revenue_recovery.rs
// Module: external_services
// Documentation: Trait to add necessary recovery headers to the tonic Request
pub trait AddRecoveryHeaders | crates/external_services/src/grpc_client/revenue_recovery.rs | external_services | trait_definition | null | null | null | 49 | null | null | AddRecoveryHeaders | null | null | null | null |
// Trait: DecisionEngineErrorsInterface
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub trait DecisionEngineErrorsInterface | crates/router/src/core/payments/routing/utils.rs | router | trait_definition | null | null | null | 33 | null | null | DecisionEngineErrorsInterface | null | null | null | null |
// Struct: DrainerSettings
// File: crates/drainer/src/settings.rs
// Module: drainer
// Implementations: 2
// Traits: Default
pub struct DrainerSettings | crates/drainer/src/settings.rs | drainer | struct_definition | DrainerSettings | 2 | [
"Default"
] | 40 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Custombilling | ConnectorCommon for | 6 | 0 | null | null |
// Struct: ApiPayload
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct ApiPayload | crates/router/src/types/payment_methods.rs | router | struct_definition | ApiPayload | 0 | [] | 33 | null | null | null | null | null | null | null |
// Function: get_debit_routing_savings
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_debit_routing_savings(&self) -> Option<&MinorUnit> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 52 | get_debit_routing_savings | null | null | null | null | null | null |
// Struct: EventUpdateInternal
// File: crates/diesel_models/src/events.rs
// Module: diesel_models
// Implementations: 0
pub struct EventUpdateInternal | crates/diesel_models/src/events.rs | diesel_models | struct_definition | EventUpdateInternal | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Redsys
// File: crates/hyperswitch_connectors/src/connectors/redsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Redsys | crates/hyperswitch_connectors/src/connectors/redsys.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Redsys | api::PaymentToken for | 0 | 0 | null | null |
// Struct: Discount
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Discount | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | Discount | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Cashtocode | api::RefundSync for | 0 | 0 | null | null |
// Function: retrieve_payment_method_from_vault_external_v1
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn retrieve_payment_method_from_vault_external_v1(
state: &routes::SessionState,
merchant_id: &id_type::MerchantId,
pm: &domain::PaymentMethod,
merchant_connector_a... | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 109 | retrieve_payment_method_from_vault_external_v1 | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for AuthenticationResponse
// File: crates/api_models/src/authentication.rs
// Module: api_models
// Methods: 1 total (0 public)
impl ApiEventMetric for for AuthenticationResponse | crates/api_models/src/authentication.rs | api_models | impl_block | null | null | null | 46 | null | AuthenticationResponse | ApiEventMetric for | 1 | 0 | null | null |
// Implementation: impl SetGetReply
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Methods: 1 total (1 public)
impl SetGetReply | crates/redis_interface/src/types.rs | redis_interface | impl_block | null | null | null | 39 | null | SetGetReply | null | 1 | 1 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | function_signature | null | null | null | 41 | new | 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 |
// Function: should_create_connector_transfer_method
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn should_create_connector_transfer_method(
payout_data: &PayoutData,
connector_data: &api::ConnectorData,
) -> RouterResult<Option<String>> | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 61 | should_create_connector_transfer_method | null | null | null | null | null | null |
// File: crates/router/src/core/gift_card.rs
// Module: router
// Public functions: 1
use std::marker::PhantomData;
#[cfg(feature = "v2")]
use api_models::payments::{GiftCardBalanceCheckResponse, PaymentsGiftCardBalanceCheckRequest};
use common_enums::CallConnectorAction;
#[cfg(feature = "v2")]
use common_utils::id_t... | crates/router/src/core/gift_card.rs | router | full_file | null | null | null | 1,399 | null | null | null | null | null | null | null |
// Struct: SplitSdkType
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SplitSdkType | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | SplitSdkType | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: update_user_authentication_method
// File: crates/diesel_models/src/query/user_authentication_method.rs
// Module: diesel_models
pub fn update_user_authentication_method(
conn: &PgPooledConn,
id: &str,
user_authentication_method_update: UserAuthenticationMethodUpdate,
) -> Stor... | crates/diesel_models/src/query/user_authentication_method.rs | diesel_models | function_signature | null | null | null | 68 | update_user_authentication_method | null | null | null | null | null | null |
// Struct: TaxjarCard
// File: crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TaxjarCard | crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs | hyperswitch_connectors | struct_definition | TaxjarCard | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: insert_totp_attempts_in_redis
// File: crates/router/src/utils/user/two_factor_auth.rs
// Module: router
pub fn insert_totp_attempts_in_redis(
state: &SessionState,
user_id: &str,
user_totp_attempts: u8,
) -> UserResult<()> | crates/router/src/utils/user/two_factor_auth.rs | router | function_signature | null | null | null | 66 | insert_totp_attempts_in_redis | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Authorizedotnet | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Boku
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Boku | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Boku | api::MandateSetup for | 0 | 0 | null | null |
// Struct: WebhookPaymentEntity
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WebhookPaymentEntity | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | WebhookPaymentEntity | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
pub fn new(
amount: Option<i64>,
is_post_capture_void: bool,
payment_method: enums::PaymentMethod,
response: &NuveiPaymentsResponse,
) -> Self | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 78 | new | null | null | null | null | null | null |
// Function: create_card_info
// File: crates/router/src/core/cards_info.rs
// Module: router
pub fn create_card_info(
state: routes::SessionState,
card_info_request: cards_info_api_types::CardInfoCreateRequest,
) -> RouterResponse<cards_info_api_types::CardInfoResponse> | crates/router/src/core/cards_info.rs | router | function_signature | null | null | null | 66 | create_card_info | null | null | null | null | null | null |
// Struct: RevokeMandateResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RevokeMandateResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | RevokeMandateResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: DummyConnectorPaymentCompleteRequest
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Implementations: 0
pub struct DummyConnectorPaymentCompleteRequest | crates/router/src/routes/dummy_connector/types.rs | router | struct_definition | DummyConnectorPaymentCompleteRequest | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: PaymentIntentCount
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Implementations: 0
pub struct PaymentIntentCount | crates/api_models/src/analytics/payment_intents.rs | api_models | struct_definition | PaymentIntentCount | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: PayeezyPaymentsMetadata
// File: crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayeezyPaymentsMetadata | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | hyperswitch_connectors | struct_definition | PayeezyPaymentsMetadata | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/analytics/src/connector_events.rs
// Module: analytics
mod core;
pub mod events;
pub trait ConnectorEventAnalytics: events::ConnectorEventLogAnalytics {}
pub use self::core::connector_events_core;
| crates/analytics/src/connector_events.rs | analytics | full_file | null | null | null | 47 | null | null | null | null | null | null | null |
// Struct: Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refu... | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | struct_definition | Elavon | 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",
"webhooks::Incomi... | 128 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl Default for for ArchipelErrorMessage
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl Default for for ArchipelErrorMessage | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | ArchipelErrorMessage | Default for | 1 | 0 | null | null |
// Struct: MerchantDefinedInformation
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantDefinedInformation | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | MerchantDefinedInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: CalculateTax
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CalculateTax | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | CalculateTax | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: PaymentMetricsBucketValue
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMetricsBucketValue | crates/api_models/src/analytics/payments.rs | api_models | struct_definition | PaymentMetricsBucketValue | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: BamboraMeta
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraMeta | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | BamboraMeta | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_dynamic_routing_connection
// File: crates/external_services/src/grpc_client/dynamic_routing.rs
// Module: external_services
// Documentation: establish connection with the server
pub fn get_dynamic_routing_connection(
self,
client: Client,
) -> Result<Option<RoutingStrategy>, Box... | crates/external_services/src/grpc_client/dynamic_routing.rs | external_services | function_signature | null | null | null | 70 | get_dynamic_routing_connection | null | null | null | null | null | null |
// Implementation: impl Default for for DBEnumWrapper
// File: crates/analytics/src/types.rs
// Module: analytics
// Methods: 1 total (0 public)
impl Default for for DBEnumWrapper | crates/analytics/src/types.rs | analytics | impl_block | null | null | null | 43 | null | DBEnumWrapper | Default for | 1 | 0 | null | null |
// File: crates/router/src/types/api/enums.rs
// Module: router
pub use api_models::enums::*;
| crates/router/src/types/api/enums.rs | router | full_file | null | null | null | 24 | null | null | null | null | null | null | null |
// Struct: Authentication
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct Authentication | crates/router/src/routes/app.rs | router | struct_definition | Authentication | 1 | [] | 30 | null | null | null | null | null | null | null |
// Implementation: impl Display for for GenericLinksData
// File: crates/hyperswitch_domain_models/src/api.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl Display for for GenericLinksData | crates/hyperswitch_domain_models/src/api.rs | hyperswitch_domain_models | impl_block | null | null | null | 50 | null | GenericLinksData | Display for | 1 | 0 | null | null |
// Function: get_metadata
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_metadata(&self) -> Option<pii::SecretSerdeValue> | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 48 | get_metadata | null | null | null | null | null | null |
Ruse,
#[strum(serialize = "178")]
SelnicaObDravi,
#[strum(serialize = "109")]
Semic,
#[strum(serialize = "110")]
Sevnica,
#[strum(serialize = "111")]
Sezana,
#[strum(serialize = "112")]
SlovenjGradec,
#[strum(serialize = "113")]
SlovenskaBistrica,
#[strum(serializ... | crates/common_enums/src/enums.rs#chunk7 | common_enums | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: CardPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardPaymentInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | CardPaymentInformation | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: CloneConnectorSource
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct CloneConnectorSource | crates/api_models/src/user.rs | api_models | struct_definition | CloneConnectorSource | 0 | [] | 35 | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.