text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: RevenueRecoveryDataBackfillForm
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Implementations: 1
pub struct RevenueRecoveryDataBackfillForm | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | struct_definition | RevenueRecoveryDataBackfillForm | 1 | [] | 48 | null | null | null | null | null | null | null |
api_models::blocklist::ListBlocklistQuery,
api_models::enums::BlocklistDataKind,
api_models::enums::ErrorCategory,
api_models::webhook_events::EventListConstraints,
api_models::webhook_events::EventListItemResponse,
api_models::webhook_events::EventRetrieveResponse,
... | crates/openapi/src/openapi.rs#chunk1 | openapi | chunk | null | null | null | 1,647 | null | null | null | null | null | null | null |
})
}
}
#[cfg(feature = "v2")]
impl transformers::ForeignTryFrom<domain::PaymentMethod> for PaymentMethodResponseItem {
type Error = error_stack::Report<errors::ValidationError>;
fn foreign_try_from(item: domain::PaymentMethod) -> Result<Self, Self::Error> {
// For payment methods that are ... | crates/router/src/core/payment_methods/transformers.rs#chunk1 | router | chunk | null | null | null | 1,571 | null | null | null | null | null | null | null |
// Function: get_single_org_id
// File: crates/router/src/utils/user_role.rs
// Module: router
pub fn get_single_org_id(
state: &SessionState,
user_role: &UserRole,
) -> UserResult<id_type::OrganizationId> | crates/router/src/utils/user_role.rs | router | function_signature | null | null | null | 56 | get_single_org_id | null | null | null | null | null | null |
// Function: proxy_for_payments_operation_core
// File: crates/router/src/core/payments.rs
// Module: router
pub fn proxy_for_payments_operation_core<F, Req, Op, FData, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile_id_from_auth_layer: Option<id_type::... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 331 | proxy_for_payments_operation_core | null | null | null | null | null | null |
// Struct: BrowserInfoCollected
// File: crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BrowserInfoCollected | crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs | hyperswitch_connectors | struct_definition | BrowserInfoCollected | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_merchant_id
// File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
// Module: hyperswitch_interfaces
// Documentation: Returns the merchant ID of the event.
pub fn get_merchant_id(&self) -> &str | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs | hyperswitch_interfaces | function_signature | null | null | null | 55 | get_merchant_id | null | null | null | null | null | null |
// File: crates/router/src/types/api/fraud_check_v2.rs
// Module: router
pub use hyperswitch_domain_models::router_flow_types::fraud_check::{
Checkout, Fulfillment, RecordReturn, Sale, Transaction,
};
pub use hyperswitch_interfaces::api::fraud_check_v2::{
FraudCheckCheckoutV2, FraudCheckFulfillmentV2, FraudChe... | crates/router/src/types/api/fraud_check_v2.rs | router | full_file | null | null | null | 105 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorConfig
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
// Methods: 6 total (5 public)
impl ConnectorConfig | crates/connector_configs/src/connector.rs | connector_configs | impl_block | null | null | null | 38 | null | ConnectorConfig | null | 6 | 5 | null | null |
// Struct: PaymentsUpdateMetadataData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsUpdateMetadataData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsUpdateMetadataData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/finix/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorRedirectResponse for for Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Novalnet | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Novalnet | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Adyenplatform | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: Payee
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Payee | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | Payee | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorRedirectResponse for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl api::ConnectorRedirectResponse for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Checkout | api::ConnectorRedirectResponse for | 1 | 0 | null | null |
// Struct: CallbackMapper
// File: crates/hyperswitch_domain_models/src/callback_mapper.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct CallbackMapper | crates/hyperswitch_domain_models/src/callback_mapper.rs | hyperswitch_domain_models | struct_definition | CallbackMapper | 1 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/router/src/services/connector_integration_interface.rs
// Module: router
pub use hyperswitch_interfaces::{
authentication::ExternalAuthenticationPayload, connector_integration_interface::*,
connector_integration_v2::ConnectorIntegrationV2, webhooks::IncomingWebhookFlowError,
};
| crates/router/src/services/connector_integration_interface.rs | router | full_file | null | null | null | 57 | null | null | null | null | null | null | null |
// Struct: DeleteCardResponse
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Implementations: 0
pub struct DeleteCardResponse | crates/router/src/core/payment_methods/transformers.rs | router | struct_definition | DeleteCardResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/disputes.rs
// Module: router
// Public structs: 6
pub use hyperswitch_interfaces::{
api::disputes::{
AcceptDispute, DefendDispute, Dispute, DisputeSync, FetchDisputes, SubmitEvidence,
},
disputes::DisputePayload,
};
use masking::{Deserialize, Serialize};
use c... | crates/router/src/types/api/disputes.rs | router | full_file | null | null | null | 608 | null | null | null | null | null | null | null |
// Function: filter_payment_methods
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn filter_payment_methods(
graph: &cgraph::ConstraintGraph<dir::DirValue>,
mca_id: id_type::MerchantConnectorAccountId,
payment_methods: &[Secret<serde_json::Value>],
req: &mut api::Paymen... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 152 | filter_payment_methods | null | null | null | null | null | null |
// Function: contract_based_routing_setup_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn contract_based_routing_setup_config(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<routing_types::ToggleDynamicRoutingPath>,
query: web::Query<api_models::routing::Togg... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 102 | contract_based_routing_setup_config | null | null | null | null | null | null |
// Struct: IatapayAuthUpdateRequest
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IatapayAuthUpdateRequest | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | IatapayAuthUpdateRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Novalnet | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Novalnet | api::RefundExecute for | 0 | 0 | null | null |
// Struct: FlexitiPurchase
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FlexitiPurchase | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | struct_definition | FlexitiPurchase | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl SPTFlow
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
// Methods: 2 total (0 public)
impl SPTFlow | crates/router/src/types/domain/user/decision_manager.rs | router | impl_block | null | null | null | 41 | null | SPTFlow | null | 2 | 0 | null | null |
// Struct: MerchantAccount
// File: crates/diesel_models/src/merchant_account.rs
// Module: diesel_models
// Implementations: 1
pub struct MerchantAccount | crates/diesel_models/src/merchant_account.rs | diesel_models | struct_definition | MerchantAccount | 1 | [] | 36 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: SquareTokenizeData
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquareTokenizeData | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquareTokenizeData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: extract_action_url
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
pub fn extract_action_url(self) -> RouterResult<String> | crates/router/src/types/api/connector_onboarding/paypal.rs | router | function_signature | null | null | null | 40 | extract_action_url | null | null | null | null | null | null |
// Struct: NameDescription
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct NameDescription | crates/api_models/src/analytics.rs | api_models | struct_definition | NameDescription | 0 | [] | 34 | null | null | null | null | null | null | null |
// Implementation: impl Default for for ShouldCollectCvvDuringPayment
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl Default for for ShouldCollectCvvDuringPayment | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 53 | null | ShouldCollectCvvDuringPayment | Default for | 1 | 0 | null | null |
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Public functions: 1
// Public structs: 1
use std::{fmt::Display, str::FromStr};
use api_models::{
analytics::{frm::FrmTransactionType, refunds::RefundType},
enums::{DisputeStage, DisputeStatus},
};
use common_enums::{
AuthenticationConnectors, ... | crates/analytics/src/sqlx.rs#chunk0 | analytics | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: TransactionData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | TransactionData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: TotalPaymentMethodCountResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct TotalPaymentMethodCountResponse | crates/api_models/src/payment_methods.rs | api_models | struct_definition | TotalPaymentMethodCountResponse | 1 | [
"common_utils::events::ApiEventMetric"
] | 52 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use common_enums::{enums, CaptureMethod, PaymentMethod, PaymentMethodType};
use common_utils::{
crypto,
errors::CustomR... | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | full_file | null | null | null | 5,185 | null | null | null | null | null | null | null |
// Implementation: impl GetSubscriptionPlansV2 for for Chargebee
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl GetSubscriptionPlansV2 for for Chargebee | crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Chargebee | GetSubscriptionPlansV2 for | 0 | 0 | null | null |
// Struct: GatewayStatusMap
// File: crates/diesel_models/src/gsm.rs
// Module: diesel_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct GatewayStatusMap | crates/diesel_models/src/gsm.rs | diesel_models | struct_definition | GatewayStatusMap | 1 | [
"ApiEventMetric"
] | 44 | null | null | null | null | null | null | null |
// Struct: XenditSplitRoute
// File: crates/common_types/src/payments.rs
// Module: common_types
// Implementations: 0
pub struct XenditSplitRoute | crates/common_types/src/payments.rs | common_types | struct_definition | XenditSplitRoute | 0 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/nuvei_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct NuveiSeleniumTest;
impl SeleniumTest for NuveiSeleniumTest {
fn get_connector_name(&self) -> String {
"nuvei".to_string... | crates/test_utils/tests/connectors/nuvei_ui.rs | test_utils | full_file | null | null | null | 2,504 | null | null | null | null | null | null | null |
// Implementation: impl PartialEq for for RoutableConnectorChoice
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (0 public)
impl PartialEq for for RoutableConnectorChoice | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 47 | null | RoutableConnectorChoice | PartialEq for | 1 | 0 | null | null |
// Function: set_response
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn set_response(&mut self, response: Res) | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 37 | set_response | null | null | null | null | null | null |
// Function: delete_by_user_id_tenant_id_org_id_merchant_id_profile_id
// File: crates/diesel_models/src/query/user_role.rs
// Module: diesel_models
pub fn delete_by_user_id_tenant_id_org_id_merchant_id_profile_id(
conn: &PgPooledConn,
user_id: String,
tenant_id: id_type::TenantId,
org_... | crates/diesel_models/src/query/user_role.rs | diesel_models | function_signature | null | null | null | 122 | delete_by_user_id_tenant_id_org_id_merchant_id_profile_id | null | null | null | null | null | null |
// Struct: PayoutAttemptNew
// File: crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PayoutAttemptNew | crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs | hyperswitch_domain_models | struct_definition | PayoutAttemptNew | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Paysafe | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl RetrieveFile for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RetrieveFile for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Adyen | RetrieveFile for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Square | ConnectorValidation for | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Razorpay | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: PaymentDetails
// File: crates/router/src/core/fraud_check/types.rs
// Module: router
// Implementations: 0
pub struct PaymentDetails | crates/router/src/core/fraud_check/types.rs | router | struct_definition | PaymentDetails | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Razorpay | api::PaymentSync for | 0 | 0 | null | null |
// File: crates/router/tests/connectors/zsl.rs
// Module: router
use router::types::{self, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
struct ZslTest;
impl ConnectorActions for ZslTest {}
impl utils::Connector for ZslTest {
fn get_data(&self) -> types::api::Connec... | crates/router/tests/connectors/zsl.rs | router | full_file | null | null | null | 393 | null | null | null | null | null | null | null |
// Function: insert_locales_in_context_for_payout_link
// File: crates/router/src/services/api/generic_link_response/context.rs
// Module: router
pub fn insert_locales_in_context_for_payout_link(context: &mut Context, locale: &str) | crates/router/src/services/api/generic_link_response/context.rs | router | function_signature | null | null | null | 55 | insert_locales_in_context_for_payout_link | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: delete_by_key
// File: crates/diesel_models/src/query/configs.rs
// Module: diesel_models
pub fn delete_by_key(conn: &PgPooledConn, key: &str) -> StorageResult<Self> | crates/diesel_models/src/query/configs.rs | diesel_models | function_signature | null | null | null | 49 | delete_by_key | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for HyperswitchVault
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for HyperswitchVault | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | HyperswitchVault | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: MandateResponse
// File: crates/api_models/src/mandates.rs
// Module: api_models
// Implementations: 0
pub struct MandateResponse | crates/api_models/src/mandates.rs | api_models | struct_definition | MandateResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::subscriptions_v2::SubscriptionConnectorCustomerV2 for for Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::subscriptions_v2::SubscriptionConnectorCustomerV2 for for Recurly | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 74 | null | Recurly | api::subscriptions_v2::SubscriptionConnectorCustomerV2 for | 0 | 0 | null | null |
// Function: initiate_payment_link_flow
// File: crates/router/src/core/payment_link.rs
// Module: router
pub fn initiate_payment_link_flow(
state: SessionState,
merchant_context: domain::MerchantContext,
merchant_id: common_utils::id_type::MerchantId,
payment_id: common_utils::id_type::PaymentId,
) ->... | crates/router/src/core/payment_link.rs | router | function_signature | null | null | null | 83 | initiate_payment_link_flow | null | null | null | null | null | null |
// Struct: RoutingAlgorithm
// File: crates/diesel_models/src/routing_algorithm.rs
// Module: diesel_models
// Implementations: 0
pub struct RoutingAlgorithm | crates/diesel_models/src/routing_algorithm.rs | diesel_models | struct_definition | RoutingAlgorithm | 0 | [] | 36 | null | null | null | null | null | null | null |
// Function: delete_connector
// File: crates/router/src/core/admin.rs
// Module: router
pub fn delete_connector(
state: SessionState,
merchant_id: id_type::MerchantId,
merchant_connector_id: id_type::MerchantConnectorAccountId,
) -> RouterResponse<api::MerchantConnectorDeleteResponse> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 66 | delete_connector | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::fmt::Debug;
use api_models::{
enums,
webhooks::{IncomingWebhookEvent, ObjectReferenceId},
};
use base64::Engine;
use common_utils::{
errors::CustomResult,
... | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | full_file | null | null | null | 7,196 | null | null | null | null | null | null | null |
// Struct: WalletDetails
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WalletDetails | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | WalletDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Elavon | api::MandateSetup for | 0 | 0 | null | null |
// Struct: Card
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Card | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | Card | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Deutschebank
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Deutschebank | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Deutschebank | ConnectorValidation for | 1 | 0 | null | null |
// File: crates/router/src/core/errors/user/sample_data.rs
// Module: router
use api_models::errors::types::{ApiError, ApiErrorResponse};
use common_utils::errors::{CustomResult, ErrorSwitch, ErrorSwitchFrom};
use storage_impl::errors::StorageError;
pub type SampleDataResult<T> = CustomResult<T, SampleDataError>;
#[... | crates/router/src/core/errors/user/sample_data.rs | router | full_file | null | null | null | 391 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/razorpay.rs
// Module: router
use masking::Secret;
use router::types::{self, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct RazorpayTest;
impl ConnectorActions for RazorpayTest {}
impl utils::C... | crates/router/tests/connectors/razorpay.rs | router | full_file | null | null | null | 2,937 | null | null | null | null | null | null | null |
// Struct: OrganizationNew
// File: crates/api_models/src/organization.rs
// Module: api_models
// Implementations: 1
pub struct OrganizationNew | crates/api_models/src/organization.rs | api_models | struct_definition | OrganizationNew | 1 | [] | 34 | null | null | null | null | null | null | null |
// File: crates/api_models/src/relay.rs
// Module: api_models
// Public structs: 6
use common_utils::types::MinorUnit;
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;
use crate::enums as api_enums;
#[derive(Debug, ToSchema, Clone, Deserialize, Serialize)]
pub struct RelayRequest {
/// The identifier t... | crates/api_models/src/relay.rs | api_models | full_file | null | null | null | 1,043 | null | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for CreateSubscriptionResponse
// File: crates/api_models/src/subscription.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for CreateSubscriptionResponse | crates/api_models/src/subscription.rs | api_models | impl_block | null | null | null | 49 | null | CreateSubscriptionResponse | ApiEventMetric for | 0 | 0 | null | null |
// Function: get_user_email_from_oidc_provider
// File: crates/router/src/services/openidconnect.rs
// Module: router
pub fn get_user_email_from_oidc_provider(
state: &SessionState,
redirect_url: String,
redirect_state: Secret<String>,
base_url: Secret<String>,
client_id: Secret<String>,
author... | crates/router/src/services/openidconnect.rs | router | function_signature | null | null | null | 93 | get_user_email_from_oidc_provider | null | null | null | null | null | null |
// Struct: VantivSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VantivSyncResponse | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | VantivSyncResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Peachpayments
// File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Peachpayments | crates/hyperswitch_connectors/src/connectors/peachpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Peachpayments | api::Payment for | 0 | 0 | null | null |
// Implementation: impl NetworkTokenizationBuilder
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Methods: 2 total (2 public)
impl NetworkTokenizationBuilder | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | impl_block | null | null | null | 45 | null | NetworkTokenizationBuilder | null | 2 | 2 | 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 |
// File: crates/router/src/consts.rs
// Module: router
pub mod opensearch;
#[cfg(feature = "olap")]
pub mod user;
pub mod user_role;
use std::{collections::HashSet, str::FromStr, sync};
use api_models::enums::Country;
use common_utils::{consts, id_type};
pub use hyperswitch_domain_models::consts::{
CONNECTOR_MAND... | crates/router/src/consts.rs | router | full_file | null | null | null | 3,316 | null | null | null | null | null | null | null |
// Trait: ValidateStatusForOperation
// File: crates/router/src/core/payments/operations.rs
// Module: router
// Documentation: Validate if a particular operation can be performed for the given intent status
pub trait ValidateStatusForOperation | crates/router/src/core/payments/operations.rs | router | trait_definition | null | null | null | 49 | null | null | ValidateStatusForOperation | null | null | null | null |
// Struct: CardThreeDsData
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardThreeDsData | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | CardThreeDsData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl Deref for for ShouldCollectCvvDuringPayment
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl Deref for for ShouldCollectCvvDuringPayment | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 55 | null | ShouldCollectCvvDuringPayment | Deref for | 1 | 0 | null | null |
// Implementation: impl Refund for for Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl Refund for for Threedsecureio | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Threedsecureio | Refund for | 0 | 0 | null | null |
// Struct: BillwerkTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillwerkTokenResponse | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs | hyperswitch_connectors | struct_definition | BillwerkTokenResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_tracking_id_from_configs
// File: crates/router/src/utils/connector_onboarding.rs
// Module: router
pub fn get_tracking_id_from_configs(
state: &SessionState,
connector_id: &common_utils::id_type::MerchantConnectorAccountId,
connector: enums::Connector,
) -> RouterResult<String> | crates/router/src/utils/connector_onboarding.rs | router | function_signature | null | null | null | 70 | get_tracking_id_from_configs | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: Node
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Implementations: 1
pub struct Node<V: ValueNode> | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | struct_definition | Node | 1 | [] | 42 | null | null | null | null | null | null | null |
// Function: from_storage
// File: crates/router/src/services/kafka/payment_attempt_event.rs
// Module: router
pub fn from_storage(attempt: &'a PaymentAttempt) -> Self | crates/router/src/services/kafka/payment_attempt_event.rs | router | function_signature | null | null | null | 39 | from_storage | null | null | null | null | null | null |
// Struct: RiskifiedFulfilmentResponse
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RiskifiedFulfilmentResponse | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | RiskifiedFulfilmentResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: MigrateCardDetail
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct MigrateCardDetail | crates/api_models/src/payment_methods.rs | api_models | struct_definition | MigrateCardDetail | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: TrustpaymentsPaymentRequestData
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpaymentsPaymentRequestData | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsPaymentRequestData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: record_operation_time
// File: crates/common_utils/src/metrics/utils.rs
// Module: common_utils
pub fn record_operation_time<F, R>(
future: F,
metric: &opentelemetry::metrics::Histogram<f64>,
key_value: &[opentelemetry::KeyValue],
) -> R
where
F: futures::Future<Output = R>, | crates/common_utils/src/metrics/utils.rs | common_utils | function_signature | null | null | null | 82 | record_operation_time | null | null | null | null | null | null |
// Struct: UserAuthenticationMethodNew
// File: crates/diesel_models/src/user_authentication_method.rs
// Module: diesel_models
// Implementations: 0
pub struct UserAuthenticationMethodNew | crates/diesel_models/src/user_authentication_method.rs | diesel_models | struct_definition | UserAuthenticationMethodNew | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: MigrateNetworkTokenDetail
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct MigrateNetworkTokenDetail | crates/api_models/src/payment_methods.rs | api_models | struct_definition | MigrateNetworkTokenDetail | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_internal_error
// File: crates/api_models/src/errors/types.rs
// Module: api_models
pub fn get_internal_error(&self) -> &ApiError | crates/api_models/src/errors/types.rs | api_models | function_signature | null | null | null | 36 | get_internal_error | null | null | null | null | null | null |
// Struct: Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Implementations: 23
// Traits: ConnectorCommon, Payment, PaymentAuthorize, PaymentSync, PaymentVoid, PaymentCapture, MandateSetup, ConnectorAccessToken, PaymentToken, Refund, RefundExecute, Refun... | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | struct_definition | Riskified | 23 | [
"ConnectorCommon",
"Payment",
"PaymentAuthorize",
"PaymentSync",
"PaymentVoid",
"PaymentCapture",
"MandateSetup",
"ConnectorAccessToken",
"PaymentToken",
"Refund",
"RefundExecute",
"RefundSync",
"ConnectorValidation",
"PaymentSession",
"FraudCheck",
"FraudCheckSale",
"FraudCheckCheck... | 124 | null | null | null | null | null | null | null |
// Function: create_merchant_in_decision_engine_if_not_exists
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn create_merchant_in_decision_engine_if_not_exists(
state: &SessionState,
profile_id: &id_type::ProfileId,
dynamic_routing_algo_ref: &mut routing_types::DynamicRoutingAlgo... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 77 | create_merchant_in_decision_engine_if_not_exists | null | null | null | null | null | null |
// Implementation: impl ApiClient for for MockApiClient
// File: crates/router/src/services/api/client.rs
// Module: router
// Methods: 6 total (0 public)
impl ApiClient for for MockApiClient | crates/router/src/services/api/client.rs | router | impl_block | null | null | null | 44 | null | MockApiClient | ApiClient for | 6 | 0 | null | null |
// Function: config_should_call_gsm
// File: crates/router/src/core/payments/retry.rs
// Module: router
pub fn config_should_call_gsm(
db: &dyn StorageInterface,
merchant_id: &common_utils::id_type::MerchantId,
profile: &domain::Profile,
) -> bool | crates/router/src/core/payments/retry.rs | router | function_signature | null | null | null | 68 | config_should_call_gsm | null | null | null | null | null | null |
// Struct: InespayPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InespayPaymentsRequest | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | struct_definition | InespayPaymentsRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Bitpay
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Bitpay | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Bitpay | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Opennode | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Opennode | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: TransactionEvent
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionEvent | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | TransactionEvent | 0 | [] | 46 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/types/api/fraud_check.rs
// Module: router
// Public exports:
pub use hyperswitch_domain_models::router_flow_types::fraud_check::{
Checkout, Fulfillment, RecordReturn, Sale, Transaction,
};
pub use hyperswitch_interfaces::api::fraud_check::{
FraudCheckCheckout, Fr... | crates/router/src/types/api/fraud_check.rs | router | module_structure | null | null | null | 145 | null | null | null | null | null | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.