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/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::{fmt::Debug, sync::LazyLock};
use api_models::webhooks::IncomingWebhookEvent;
use common_enums::{enums, CallConnectorAction, PaymentAction};
use common_utils::{
crypto... | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | full_file | null | null | null | 6,833 | null | null | null | null | null | null | null |
// Function: pre_payment_tokenization
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
pub fn pre_payment_tokenization(
state: &SessionState,
customer_id: id_type::CustomerId,
card: &payment_method_data::Card,
) -> RouterResult<(Option<pm_types::TokenResponse>, Option<String>)> | crates/router/src/core/payments/tokenization.rs | router | function_signature | null | null | null | 76 | pre_payment_tokenization | null | null | null | null | null | null |
// Function: update_straight_through_routing
// File: crates/router/src/core/payments.rs
// Module: router
pub fn update_straight_through_routing<F, D>(
payment_data: &mut D,
request_straight_through: serde_json::Value,
) -> CustomResult<(), errors::ParsingError>
where
F: Send + Clone,
D: OperationSess... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 97 | update_straight_through_routing | null | null | null | null | null | null |
// Function: contract_based_dynamic_routing_setup
// File: crates/router/src/core/routing.rs
// Module: router
pub fn contract_based_dynamic_routing_setup(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: common_utils::id_type::ProfileId,
feature_to_enable: routing_types::Dyn... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 104 | contract_based_dynamic_routing_setup | null | null | null | null | null | null |
// File: crates/openapi/src/routes/platform.rs
// Module: openapi
// Public functions: 1
#[cfg(feature = "v1")]
/// Platform - Create
///
/// Create a new platform account
#[utoipa::path(
post,
path = "/user/create_platform",
request_body(
content = PlatformAccountCreateRequest,
description... | crates/openapi/src/routes/platform.rs | openapi | full_file | null | null | null | 295 | null | null | null | null | null | null | null |
// Implementation: impl PaymentRedirectFlow for for PaymentRedirectSync
// File: crates/router/src/core/payments.rs
// Module: router
// Methods: 3 total (0 public)
impl PaymentRedirectFlow for for PaymentRedirectSync | crates/router/src/core/payments.rs | router | impl_block | null | null | null | 48 | null | PaymentRedirectSync | PaymentRedirectFlow for | 3 | 0 | null | null |
// Implementation: impl api::revenue_recovery_v2::RevenueRecoveryV2 for for Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::revenue_recovery_v2::RevenueRecoveryV2 for for Recurly | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 78 | null | Recurly | api::revenue_recovery_v2::RevenueRecoveryV2 for | 0 | 0 | null | null |
// Implementation: impl scheduler::SchedulerSessionState for for SessionState
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (0 public)
impl scheduler::SchedulerSessionState for for SessionState | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 49 | null | SessionState | scheduler::SchedulerSessionState for | 1 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Katapult
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Katapult | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Katapult | api::MandateSetup for | 0 | 0 | null | null |
// Struct: ChargebeeRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeRefundRequest | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: create_key_in_key_manager
// File: crates/common_utils/src/keymanager.rs
// Module: common_utils
pub fn create_key_in_key_manager(
state: &KeyManagerState,
request_body: EncryptionCreateRequest,
) -> errors::CustomResult<DataKeyCreateResponse, errors::KeyManagerError> | crates/common_utils/src/keymanager.rs | common_utils | function_signature | null | null | null | 67 | create_key_in_key_manager | null | null | null | null | null | null |
// Struct: ChargebeeRecordPaymentRequest
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeRecordPaymentRequest | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeRecordPaymentRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: UpdateScorePayload
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 0
pub struct UpdateScorePayload | crates/api_models/src/open_router.rs | api_models | struct_definition | UpdateScorePayload | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: GrpcRecoveryHeaders
// File: crates/external_services/src/grpc_client/revenue_recovery.rs
// Module: external_services
// Implementations: 0
pub struct GrpcRecoveryHeaders | crates/external_services/src/grpc_client/revenue_recovery.rs | external_services | struct_definition | GrpcRecoveryHeaders | 0 | [] | 44 | null | null | null | null | null | null | null |
// File: crates/router/src/core/api_keys.rs
// Module: router
// Public functions: 14
// Public structs: 2
use common_utils::date_time;
#[cfg(feature = "email")]
use diesel_models::{api_keys::ApiKey, enums as storage_enums};
use error_stack::{report, ResultExt};
use masking::{PeekInterface, StrongSecret};
use router_e... | crates/router/src/core/api_keys.rs | router | full_file | null | null | null | 4,710 | null | null | null | null | null | null | null |
// Struct: BankAccountTokenData
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct BankAccountTokenData | crates/api_models/src/payment_methods.rs | api_models | struct_definition | BankAccountTokenData | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Public functions: 12
// Public structs: 5
use std::{fmt, iter, marker::PhantomData, ops, slice, vec};
pub trait EntityId {
fn get_id(&self) -> usize;
fn with_id(id: usize) -> Self;
}
macro_rules! impl_ent... | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | full_file | null | null | null | 1,445 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 24
use cards;
use common_enums::enums;
use common_utils::types::FloatMajorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
rou... | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 4,615 | null | null | null | null | null | null | null |
// Struct: BraintreeThreeDsErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BraintreeThreeDsErrorResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | BraintreeThreeDsErrorResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: get_id
// File: crates/router/src/services/kafka/payment_intent_event.rs
// Module: router
pub fn get_id(&self) -> &id_type::GlobalPaymentId | crates/router/src/services/kafka/payment_intent_event.rs | router | function_signature | null | null | null | 40 | get_id | null | null | null | null | null | null |
// Struct: NoEncryption
// File: crates/external_services/src/no_encryption/core.rs
// Module: external_services
// Implementations: 1
pub struct NoEncryption | crates/external_services/src/no_encryption/core.rs | external_services | struct_definition | NoEncryption | 1 | [] | 37 | null | null | null | null | null | null | null |
// Struct: PayuOrderResponseBuyerData
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuOrderResponseBuyerData | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuOrderResponseBuyerData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsGiftCardBalanceCheck for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsGiftCardBalanceCheck for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Adyen | api::PaymentsGiftCardBalanceCheck for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Katapult
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Katapult | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Katapult | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Trait: UserRoleInterface
// File: crates/router/src/db/user_role.rs
// Module: router
pub trait UserRoleInterface | crates/router/src/db/user_role.rs | router | trait_definition | null | null | null | 26 | null | null | UserRoleInterface | null | null | null | null |
// Struct: XenditSplitSubMerchantData
// File: crates/common_types/src/domain.rs
// Module: common_types
// Implementations: 0
pub struct XenditSplitSubMerchantData | crates/common_types/src/domain.rs | common_types | struct_definition | XenditSplitSubMerchantData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl Recon
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Recon | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Recon | null | 1 | 1 | null | null |
// Implementation: impl api::MandateSetup for for CtpMastercard
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for CtpMastercard | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | CtpMastercard | api::MandateSetup for | 0 | 0 | null | null |
// Struct: EbanxRouterData
// File: crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EbanxRouterData<T> | crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs | hyperswitch_connectors | struct_definition | EbanxRouterData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: SilverflowPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SilverflowPaymentsRequest | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | SilverflowPaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: validate_stripe_charge_refund
// File: crates/router/src/core/utils/refunds_validator.rs
// Module: router
pub fn validate_stripe_charge_refund(
charge_type_option: Option<api_enums::PaymentChargeType>,
split_refund_request: &Option<common_types::refunds::SplitRefund>,
) -> RouterResult<types::Cha... | crates/router/src/core/utils/refunds_validator.rs | router | function_signature | null | null | null | 83 | validate_stripe_charge_refund | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 7 total (0 public)
impl webhooks::IncomingWebhook for for Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Fiuu | webhooks::IncomingWebhook for | 7 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Payme | api::RefundExecute for | 0 | 0 | null | null |
// Trait: SdkEventFilterAnalytics
// File: crates/analytics/src/sdk_events/filters.rs
// Module: analytics
pub trait SdkEventFilterAnalytics: LoadRow<SdkEventFilter> | crates/analytics/src/sdk_events/filters.rs | analytics | trait_definition | null | null | null | 42 | null | null | SdkEventFilterAnalytics | null | null | null | null |
// Implementation: impl api::PaymentSession for for Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Airwallex | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Airwallex | api::PaymentSession for | 0 | 0 | null | null |
// Function: update
// File: crates/diesel_models/src/query/dashboard_metadata.rs
// Module: diesel_models
pub fn update(
conn: &PgPooledConn,
user_id: Option<String>,
merchant_id: id_type::MerchantId,
org_id: id_type::OrganizationId,
data_key: enums::DashboardMetadata,
... | crates/diesel_models/src/query/dashboard_metadata.rs | diesel_models | function_signature | null | null | null | 89 | update | null | null | null | null | null | null |
// Function: get_schedule_time_for_smart_retry
// File: crates/router/src/workflows/revenue_recovery.rs
// Module: router
pub fn get_schedule_time_for_smart_retry(
state: &SessionState,
payment_intent: &PaymentIntent,
retry_after_time: Option<prost_types::Timestamp>,
token_with_retry_info: &PaymentProc... | crates/router/src/workflows/revenue_recovery.rs | router | function_signature | null | null | null | 95 | get_schedule_time_for_smart_retry | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Celero | api::RefundSync for | 0 | 0 | null | null |
// Struct: EdgeId
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Implementations: 0
pub struct EdgeId | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | struct_definition | EdgeId | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: CardNetworkTokenizeRequest
// File: crates/hyperswitch_domain_models/src/bulk_tokenization.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CardNetworkTokenizeRequest | crates/hyperswitch_domain_models/src/bulk_tokenization.rs | hyperswitch_domain_models | struct_definition | CardNetworkTokenizeRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: ApplepayMerchantResponse
// File: crates/api_models/src/verifications.rs
// Module: api_models
// Implementations: 0
pub struct ApplepayMerchantResponse | crates/api_models/src/verifications.rs | api_models | struct_definition | ApplepayMerchantResponse | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: SubscriptionCreateRequest
// File: crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SubscriptionCreateRequest | crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs | hyperswitch_domain_models | struct_definition | SubscriptionCreateRequest | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Blackhawknetwork
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Blackhawknetwork | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Blackhawknetwork | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: ErrorInformation
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorInformation | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | ErrorInformation | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: build
// File: crates/router/src/core/payments.rs
// Module: router
pub fn build(self) -> Vec<ActionType> | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 31 | build | null | null | null | null | null | null |
// Function: switch_org_for_user
// File: crates/router/src/routes/user.rs
// Module: router
pub fn switch_org_for_user(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<user_api::SwitchOrganizationRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 63 | switch_org_for_user | null | null | null | null | null | null |
// Function: get_amount_captured
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
pub fn get_amount_captured(&self) -> Option<MinorUnit> | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | function_signature | null | null | null | 47 | get_amount_captured | null | null | null | null | null | null |
// Function: get_jwt_from_authorization_header
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn get_jwt_from_authorization_header(headers: &HeaderMap) -> RouterResult<&str> | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 45 | get_jwt_from_authorization_header | null | null | null | null | null | null |
// Struct: PaymentsStatusDetails
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsStatusDetails | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsStatusDetails | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/payu.rs
// Module: router
use masking::PeekInterface;
use router::types::{self, domain, storage::enums, AccessToken, ConnectorAuthType};
use crate::{
connector_auth,
utils::{self, Connector, ConnectorActions, PaymentAuthorizeType},
};
struct Payu;
impl ConnectorActions ... | crates/router/tests/connectors/payu.rs | router | full_file | null | null | null | 2,497 | null | null | null | null | null | null | null |
// Struct: DummyConnectorRefundRetrieveRequest
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Implementations: 0
pub struct DummyConnectorRefundRetrieveRequest | crates/router/src/routes/dummy_connector/types.rs | router | struct_definition | DummyConnectorRefundRetrieveRequest | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: extract_card_network
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn extract_card_network(&self) -> Option<common_enums::CardNetwork> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 50 | extract_card_network | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/trustpay_3ds_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct TrustpaySeleniumTest;
impl SeleniumTest for TrustpaySeleniumTest {
fn get_connector_name(&self) -> String {
"tru... | crates/test_utils/tests/connectors/trustpay_3ds_ui.rs | test_utils | full_file | null | null | null | 301 | null | null | null | null | null | null | null |
// Trait: RecoveryDeciderClientInterface
// File: crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs
// Module: external_services
pub trait RecoveryDeciderClientInterface: dyn_clone::DynClone + Send + Sync + Debug | crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs | external_services | trait_definition | null | null | null | 54 | null | null | RecoveryDeciderClientInterface | null | null | null | null |
// Function: confirm_subscription
// File: crates/router/src/routes/subscription.rs
// Module: router
pub fn confirm_subscription(
state: web::Data<AppState>,
req: HttpRequest,
subscription_id: web::Path<common_utils::id_type::SubscriptionId>,
json_payload: web::Json<subscription_types::ConfirmSubscrip... | crates/router/src/routes/subscription.rs | router | function_signature | null | null | null | 78 | confirm_subscription | null | null | null | null | null | null |
// Struct: GrpcHeadersUcs
// File: crates/external_services/src/grpc_client.rs
// Module: external_services
// Implementations: 0
pub struct GrpcHeadersUcs | crates/external_services/src/grpc_client.rs | external_services | struct_definition | GrpcHeadersUcs | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: save_payment_method
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
pub fn save_payment_method<FData>(
_state: &SessionState,
_connector_name: String,
_save_payment_method_data: SavePaymentMethodData<FData>,
_customer_id: Option<id_type::CustomerId>,
_merchan... | crates/router/src/core/payments/tokenization.rs | router | function_signature | null | null | null | 173 | save_payment_method | null | null | null | null | null | null |
// Struct: AdyenCategoryData
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenCategoryData | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenCategoryData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: switch_org_for_user
// File: crates/router/src/core/user.rs
// Module: router
pub fn switch_org_for_user(
state: SessionState,
request: user_api::SwitchOrganizationRequest,
user_from_token: auth::UserFromToken,
) -> UserResponse<user_api::TokenResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 68 | switch_org_for_user | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Moneris | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: NovalnetErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetErrorResponse | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
// Module: hyperswitch_interfaces
// Public functions: 12
// Public structs: 1
//! Routing API logs interface
use std::fmt;
use api_models::routing::RoutableConnectorChoice;
use common_utils::request::Method;
use router_env::tracing_actix_web::Req... | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs | hyperswitch_interfaces | full_file | null | null | null | 1,257 | null | null | null | null | null | null | null |
// Implementation: impl Health
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Health | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Health | null | 1 | 1 | null | null |
// Struct: ConnectorOnboarding
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct ConnectorOnboarding | crates/router/src/routes/app.rs | router | struct_definition | ConnectorOnboarding | 1 | [] | 34 | null | null | null | null | null | null | null |
// Function: delete_by_merchant_id_merchant_connector_id
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn delete_by_merchant_id_merchant_connector_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
merchant_connector_id... | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 92 | delete_by_merchant_id_merchant_connector_id | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Volt
// File: crates/hyperswitch_connectors/src/connectors/volt.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Volt | crates/hyperswitch_connectors/src/connectors/volt.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Volt | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: GetFrmMetricRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct GetFrmMetricRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetFrmMetricRequest | 1 | [
"ApiEventMetric"
] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Gigadat | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Gigadat | null | 1 | 1 | null | null |
// Struct: AdyenPlatformAccountHolder
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenPlatformAccountHolder | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenPlatformAccountHolder | 0 | [] | 56 | null | null | null | null | null | null | null |
// Struct: PmTokenized
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct PmTokenized | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | struct_definition | PmTokenized | 1 | [
"State"
] | 47 | null | null | null | null | null | null | null |
// Struct: WisePayoutSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WisePayoutSyncResponse | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WisePayoutSyncResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: get_profile_dispute_metrics
// File: crates/router/src/analytics.rs
// Module: router
// Documentation: Panics if `json_payload` array does not contain one `GetDisputeMetricRequest` element.
pub fn get_profile_dispute_metrics(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
... | crates/router/src/analytics.rs | router | function_signature | null | null | null | 98 | get_profile_dispute_metrics | null | null | null | null | null | null |
// Struct: ExternalVerifyTokenRequest
// File: crates/api_models/src/external_service_auth.rs
// Module: api_models
// Implementations: 0
pub struct ExternalVerifyTokenRequest | crates/api_models/src/external_service_auth.rs | api_models | struct_definition | ExternalVerifyTokenRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: create_payment_method_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn create_payment_method_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 33 | create_payment_method_api | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/business_profile.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Profile> | crates/diesel_models/src/query/business_profile.rs | diesel_models | function_signature | null | null | null | 43 | insert | null | null | null | null | null | null |
// Struct: TokenizedBankDebitValue2
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct TokenizedBankDebitValue2 | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | TokenizedBankDebitValue2 | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorAuthentication
// File: crates/test_utils/src/connector_auth.rs
// Module: test_utils
// Methods: 1 total (1 public)
impl ConnectorAuthentication | crates/test_utils/src/connector_auth.rs | test_utils | impl_block | null | null | null | 38 | null | ConnectorAuthentication | null | 1 | 1 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Implementation: impl GlobalRefundId
// File: crates/common_utils/src/id_type/global_id/refunds.rs
// Module: common_utils
// Methods: 2 total (2 public)
impl GlobalRefundId | crates/common_utils/src/id_type/global_id/refunds.rs | common_utils | impl_block | null | null | null | 45 | null | GlobalRefundId | null | 2 | 2 | null | null |
// Struct: Address
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Address | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | Address | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/drainer/src/health_check.rs
// Module: drainer
// Public functions: 4
// Public structs: 2
use std::{collections::HashMap, sync::Arc};
use actix_web::{web, Scope};
use async_bb8_diesel::{AsyncConnection, AsyncRunQueryDsl};
use common_utils::{errors::CustomResult, id_type};
use diesel_models::{Config, ... | crates/drainer/src/health_check.rs | drainer | full_file | null | null | null | 2,034 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorAuthTypeValidation
// File: crates/router/src/core/connector_validation.rs
// Module: router
// Methods: 1 total (0 public)
impl ConnectorAuthTypeValidation | crates/router/src/core/connector_validation.rs | router | impl_block | null | null | null | 41 | null | ConnectorAuthTypeValidation | null | 1 | 0 | null | null |
// Function: sso_sign
// File: crates/router/src/routes/user.rs
// Module: router
pub fn sso_sign(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<user_api::SsoSignInRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 61 | sso_sign | null | null | null | null | null | null |
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Public functions: 35
// Public structs: 1
mod accounts;
mod payments;
mod ui;
use std::{
collections::HashSet,
num::{ParseFloatError, TryFromIntError},
};
pub use accounts::{
MerchantAccountRequestType, MerchantAccountType, MerchantProdu... | crates/common_enums/src/enums.rs#chunk0 | common_enums | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Function: log_and_return_error_response
// File: crates/drainer/src/services.rs
// Module: drainer
pub fn log_and_return_error_response<T>(error: Report<T>) -> HttpResponse
where
T: error_stack::Context + ResponseError + Clone, | crates/drainer/src/services.rs | drainer | function_signature | null | null | null | 57 | log_and_return_error_response | null | null | null | null | null | null |
// Function: get_mca_status
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn get_mca_status(
state: &routes::SessionState,
key_store: &domain::MerchantKeyStore,
profile_id: Option<id_type::ProfileId>,
merchant_id: &id_type::MerchantId,
is_connector_agnostic_mit_enab... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 119 | get_mca_status | null | null | null | null | null | null |
// Function: third_party_sdk_session_next_action
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn third_party_sdk_session_next_action<Op>(
payment_attempt: &storage::PaymentAttempt,
operation: &Op,
) -> bool
where
Op: Debug, | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 67 | third_party_sdk_session_next_action | null | null | null | null | null | null |
// Struct: WebhookSourceVerifyData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct WebhookSourceVerifyData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | WebhookSourceVerifyData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: ProphetpaySyncRequest
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProphetpaySyncRequest | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | struct_definition | ProphetpaySyncRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl Parse for for SchemaParameterVariant
// File: crates/router_derive/src/macros/schema/helpers.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl Parse for for SchemaParameterVariant | crates/router_derive/src/macros/schema/helpers.rs | router_derive | impl_block | null | null | null | 49 | null | SchemaParameterVariant | Parse for | 1 | 0 | null | null |
// Implementation: impl Capturable for for PaymentsUpdateMetadataData
// File: crates/router/src/types.rs
// Module: router
// Methods: 0 total (0 public)
impl Capturable for for PaymentsUpdateMetadataData | crates/router/src/types.rs | router | impl_block | null | null | null | 46 | null | PaymentsUpdateMetadataData | Capturable for | 0 | 0 | null | null |
// Struct: PaypalZeroMandateRequest
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalZeroMandateRequest | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalZeroMandateRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/analytics/src/enums.rs
// Module: analytics
pub use common_utils::types::authentication::AuthInfo;
| crates/analytics/src/enums.rs | analytics | full_file | null | null | null | 28 | null | null | null | null | null | null | null |
// Implementation: impl DieselEnumMeta
// File: crates/router_derive/src/macros/diesel.rs
// Module: router_derive
// Methods: 1 total (1 public)
impl DieselEnumMeta | crates/router_derive/src/macros/diesel.rs | router_derive | impl_block | null | null | null | 43 | null | DieselEnumMeta | null | 1 | 1 | null | null |
// Struct: Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Implementations: 26
// Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentAuthorize, api::PaymentSync, api::PaymentVoid, api::PaymentCapture, api::PaymentSession, api::Connecto... | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | struct_definition | Checkout | 26 | [
"ConnectorCommon",
"ConnectorValidation",
"api::Payment",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentVoid",
"api::PaymentCapture",
"api::PaymentSession",
"api::ConnectorAccessToken",
"AcceptDispute",
"api::PaymentToken",
"Dispute",
"RetrieveFile",
"DefendDispute",
"Mandate... | 157 | null | null | null | null | null | null | null |
// Struct: Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.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/checkbook.rs | hyperswitch_connectors | struct_definition | Checkbook | 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 |
// Struct: ArchipelConfigData
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelConfigData | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelConfigData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: remove_cookie_response
// File: crates/router/src/services/authentication/cookies.rs
// Module: router
pub fn remove_cookie_response() -> UserResponse<()> | crates/router/src/services/authentication/cookies.rs | router | function_signature | null | null | null | 34 | remove_cookie_response | null | null | null | null | null | null |
// Struct: RevenueRecoveryBackfillRequest
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Implementations: 0
pub struct RevenueRecoveryBackfillRequest | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | struct_definition | RevenueRecoveryBackfillRequest | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: WebhookBody
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WebhookBody | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | WebhookBody | 0 | [] | 47 | 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.