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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: new
// File: crates/router/src/events/audit_events.rs
// Module: router
pub fn new(event_type: AuditEventType) -> Self | crates/router/src/events/audit_events.rs | router | function_signature | null | null | null | 33 | new | null | null | null | null | null | null |
// Function: get_webhook_object_from_body
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
pub fn get_webhook_object_from_body(
body: &[u8],
) -> CustomResult<GetnetWebhookNotificationResponseBody, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 71 | get_webhook_object_from_body | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nmi | api::PaymentToken for | 0 | 0 | null | null |
// Struct: PlaidBankAccountCredentialsEFT
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidBankAccountCredentialsEFT | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidBankAccountCredentialsEFT | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: FileRetrieveRequest
// File: crates/router/src/types/api/files.rs
// Module: router
// Implementations: 0
pub struct FileRetrieveRequest | crates/router/src/types/api/files.rs | router | struct_definition | FileRetrieveRequest | 0 | [] | 35 | null | null | null | null | null | null | null |
// File: crates/router/src/core/fraud_check/flows/checkout_flow.rs
// Module: router
// Public functions: 1
use async_trait::async_trait;
use common_utils::{ext_traits::ValueExt, pii::Email};
use error_stack::ResultExt;
use masking::ExposeInterface;
use super::{ConstructFlowSpecificData, FeatureFrm};
use crate::{
... | crates/router/src/core/fraud_check/flows/checkout_flow.rs | router | full_file | null | null | null | 1,620 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/locker_mock_up.rs
// Module: diesel_models
// Public functions: 3
use diesel::{associations::HasTable, ExpressionMethods};
use super::generics;
use crate::{
locker_mock_up::{LockerMockUp, LockerMockUpNew},
schema::locker_mock_up::dsl,
PgPooledConn, StorageResult,
};... | crates/diesel_models/src/query/locker_mock_up.rs | diesel_models | full_file | null | null | null | 272 | null | null | null | null | null | null | null |
// Struct: MessageResponseType
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MessageResponseType | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | MessageResponseType | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cryptopay | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl GenericLinkData
// File: crates/diesel_models/src/generic_link.rs
// Module: diesel_models
// Methods: 2 total (2 public)
impl GenericLinkData | crates/diesel_models/src/generic_link.rs | diesel_models | impl_block | null | null | null | 41 | null | GenericLinkData | null | 2 | 2 | null | null |
// Implementation: impl BillingConnectorPaymentsSyncResponseData
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
// Methods: 3 total (0 public)
impl BillingConnectorPaymentsSyncResponseData | crates/router/src/core/webhooks/recovery_incoming.rs | router | impl_block | null | null | null | 48 | null | BillingConnectorPaymentsSyncResponseData | null | 3 | 0 | null | null |
// Implementation: impl api::PaymentIncrementalAuthorization for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentIncrementalAuthorization for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Cybersource | api::PaymentIncrementalAuthorization for | 0 | 0 | null | null |
// Struct: FrmFiltersResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct FrmFiltersResponse | crates/api_models/src/analytics.rs | api_models | struct_definition | FrmFiltersResponse | 1 | [
"ApiEventMetric"
] | 43 | null | 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 | 125 | get_mca_status | null | null | null | null | null | null |
*nuvei_transaction_sync_response
}
}
}
}
impl TryFrom<&types::PaymentsAuthorizeSessionTokenRouterData> for NuveiSessionRequest {
type Error = error_stack::Report<errors::ConnectorError>;
fn try_from(
item: &types::PaymentsAuthorizeSessionTokenRouterData,
) ->... | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,184 | null | null | null | null | null | null | null |
// Function: validate_payment_method_type_against_payment_method
// File: crates/payment_methods/src/helpers.rs
// Module: payment_methods
pub fn validate_payment_method_type_against_payment_method(
payment_method: api_enums::PaymentMethod,
payment_method_type: api_enums::PaymentMethodType,
) -> bool | crates/payment_methods/src/helpers.rs | payment_methods | function_signature | null | null | null | 66 | validate_payment_method_type_against_payment_method | null | null | null | null | null | null |
// Function: generate_token
// File: crates/common_utils/src/tokenization.rs
// Module: common_utils
// Documentation: Generates a new token string # Returns A randomly generated token string of length `TOKEN_LENGTH`
pub fn generate_token() -> String | crates/common_utils/src/tokenization.rs | common_utils | function_signature | null | null | null | 52 | generate_token | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Xendit | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: TaxjarPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TaxjarPaymentsResponse | crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs | hyperswitch_connectors | struct_definition | TaxjarPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: BillingConnectorPaymentDetails
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
// Implementations: 0
pub struct BillingConnectorPaymentDetails | crates/diesel_models/src/types.rs | diesel_models | struct_definition | BillingConnectorPaymentDetails | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: update_window_for_elimination_routing
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn update_window_for_elimination_routing(
state: &SessionState,
payment_attempt: &storage::PaymentAttempt,
profile_id: &id_type::ProfileId,
dynamic_algo_ref: routing_types::Dynami... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 109 | update_window_for_elimination_routing | null | null | null | null | null | null |
// Struct: PayuPaymentsSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuPaymentsSyncResponse | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuPaymentsSyncResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: ForteAuthType
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ForteAuthType | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | ForteAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/router/src/core/three_ds_decision_rule/utils.rs
// Module: router
// Public functions: 1
use api_models::three_ds_decision_rule as api_threedsecure;
use common_types::three_ds_decision_rule_engine::ThreeDSDecision;
use euclid::backend::inputs as dsl_inputs;
use crate::{consts::PSD2_COUNTRIES, types::t... | crates/router/src/core/three_ds_decision_rule/utils.rs | router | full_file | null | null | null | 993 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Breadpay
// File: crates/hyperswitch_connectors/src/connectors/breadpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Breadpay | crates/hyperswitch_connectors/src/connectors/breadpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Breadpay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// File: crates/openapi/src/routes/api_keys.rs
// Module: openapi
// Public functions: 10
#[cfg(feature = "v1")]
/// API Key - Create
///
/// Create a new API Key for accessing our APIs from your servers. The plaintext API Key will be
/// displayed only once on creation, so ensure you store it securely.
#[utoipa::path... | crates/openapi/src/routes/api_keys.rs | openapi | full_file | null | null | null | 1,774 | null | null | null | null | null | null | null |
// Struct: ErrorMessage
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorMessage | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | ErrorMessage | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/router/tests/payouts.rs
// Module: router
#![allow(clippy::unwrap_used, clippy::print_stdout)]
mod utils;
#[actix_web::test]
async fn payouts_todo() {
Box::pin(utils::setup()).await;
let client = awc::Client::default();
let mut response;
let mut response_body;
let get_endpoints =... | crates/router/tests/payouts.rs | router | full_file | null | null | null | 307 | null | null | null | null | null | null | null |
// File: crates/router/src/db/locker_mock_up.rs
// Module: router
// Public structs: 1
use error_stack::report;
use router_env::{instrument, tracing};
use super::{MockDb, Store};
use crate::{
connection,
core::errors::{self, CustomResult},
types::storage,
};
#[async_trait::async_trait]
pub trait LockerMo... | crates/router/src/db/locker_mock_up.rs | router | full_file | null | null | null | 1,972 | null | null | null | null | null | null | null |
// Struct: RuleMigrationResult
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RuleMigrationResult | crates/api_models/src/routing.rs | api_models | struct_definition | RuleMigrationResult | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: CreateConnectorCustomer
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CreateConnectorCustomer | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | CreateConnectorCustomer | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: RefundRequest
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundRequest | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundRequest | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: PaymentRoutingInfoInner
// File: crates/hyperswitch_domain_models/src/routing.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentRoutingInfoInner | crates/hyperswitch_domain_models/src/routing.rs | hyperswitch_domain_models | struct_definition | PaymentRoutingInfoInner | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl std::fmt::Debug for for ConnectorEnum
// File: crates/hyperswitch_interfaces/src/connector_integration_interface.rs
// Module: hyperswitch_interfaces
// Methods: 1 total (0 public)
impl std::fmt::Debug for for ConnectorEnum | crates/hyperswitch_interfaces/src/connector_integration_interface.rs | hyperswitch_interfaces | impl_block | null | null | null | 57 | null | ConnectorEnum | std::fmt::Debug for | 1 | 0 | null | null |
// File: crates/api_models/src/routing.rs
// Module: api_models
// Public functions: 40
// Public structs: 64
use std::fmt::Debug;
use common_types::three_ds_decision_rule_engine::{ThreeDSDecision, ThreeDSDecisionRule};
use common_utils::{
errors::{ParsingError, ValidationError},
ext_traits::ValueExt,
pii... | crates/api_models/src/routing.rs#chunk0 | api_models | chunk | null | null | null | 8,184 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use common_enums::enums;
use common_utils::{
errors::Custo... | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | full_file | null | null | null | 5,953 | null | null | null | null | null | null | null |
// Struct: CreateOrderRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CreateOrderRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | CreateOrderRequestData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nomupay | api::Refund for | 0 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/authentication.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/authentication.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Blackhawknetwork
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Blackhawknetwork | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Blackhawknetwork | api::PaymentSync for | 0 | 0 | null | null |
// Struct: DeutschebankMandate
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankMandate | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankMandate | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: create_authorization
// File: crates/diesel_models/src/authorization.rs
// Module: diesel_models
pub fn create_authorization(self, source: Authorization) -> Authorization | crates/diesel_models/src/authorization.rs | diesel_models | function_signature | null | null | null | 38 | create_authorization | null | null | null | null | null | null |
// Struct: Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Implementations: 18
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::... | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | struct_definition | Novalnet | 18 | [
"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... | 132 | null | null | null | null | null | null | null |
// Function: update_decision_engine_dynamic_routing_setup
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn update_decision_engine_dynamic_routing_setup(
state: &SessionState,
profile_id: &id_type::ProfileId,
request: serde_json::Value,
dynamic_routing_type: routing_types::Dyn... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 95 | update_decision_engine_dynamic_routing_setup | null | null | null | null | null | null |
// Function: relay
// File: crates/router/src/core/relay.rs
// Module: router
pub fn relay<T: RelayInterface>(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_optional: Option<id_type::ProfileId>,
req: RelayRequestInner<T>,
) -> RouterResponse<relay_api_models::RelayResponse> | crates/router/src/core/relay.rs | router | function_signature | null | null | null | 78 | relay | null | null | null | null | null | null |
// Struct: BrowserDetails
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BrowserDetails | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | BrowserDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: MandateListConstraints
// File: crates/api_models/src/mandates.rs
// Module: api_models
// Implementations: 0
pub struct MandateListConstraints | crates/api_models/src/mandates.rs | api_models | struct_definition | MandateListConstraints | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl TrustpaymentsCredentialsOnFile
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl TrustpaymentsCredentialsOnFile | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | TrustpaymentsCredentialsOnFile | null | 1 | 1 | null | null |
// Struct: HipayBrowserInfo
// File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HipayBrowserInfo | crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs | hyperswitch_connectors | struct_definition | HipayBrowserInfo | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ArchipelTransactionMetadata
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelTransactionMetadata | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelTransactionMetadata | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutCancel for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutCancel for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Stripe | api::PayoutCancel for | 0 | 0 | null | null |
// Struct: SCAResult
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SCAResult | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | SCAResult | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Public structs: 5
#[derive(Debug, Clone)]
pub struct Sale;
#[derive(Debug, Clone)]
pub struct Checkout;
#[derive(Debug, Clone)]
pub struct Transaction;
#[derive(Debug, Clone)]
pub struct Fulfillmen... | crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs | hyperswitch_domain_models | full_file | null | null | null | 87 | null | null | null | null | null | null | null |
// Struct: WellsfargoRouterData
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoRouterData<T> | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoRouterData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/db/kafka_store.rs
// Module: router
pub fn new(
store: Store,
mut kafka_producer: KafkaProducer,
tenant_id: TenantID,
tenant_config: &dyn TenantConfig,
) -> Self | crates/router/src/db/kafka_store.rs | router | function_signature | null | null | null | 60 | new | null | null | null | null | null | null |
// Implementation: impl PaymentMethodInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 14 total (0 public)
impl PaymentMethodInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 48 | null | KafkaStore | PaymentMethodInterface for | 14 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Implementation: impl webhooks::IncomingWebhook for for Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl webhooks::IncomingWebhook for for Payload | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Payload | webhooks::IncomingWebhook for | 4 | 0 | null | null |
// Function: find_optional_by_payment_id_merchant_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_optional_by_payment_id_merchant_id(
conn: &PgPooledConn,
payment_id: &common_utils::id_type::PaymentId,
merchant_id: &common_utils::id_type::Merch... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 87 | find_optional_by_payment_id_merchant_id | null | null | null | null | null | null |
// Function: validate
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn validate(&self) -> Result<(), String> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 32 | validate | null | null | null | null | null | null |
// Function: create_payment_method_for_intent
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn create_payment_method_for_intent(
state: &SessionState,
metadata: Option<common_utils::pii::SecretSerdeValue>,
customer_id: &id_type::GlobalCustomerId,
payment_method_id: id_type::G... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 151 | create_payment_method_for_intent | null | null | null | null | null | null |
// Implementation: impl ElavonResponseValidator for for ElavonResult
// File: crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ElavonResponseValidator for for ElavonResult | crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | ElavonResult | ElavonResponseValidator for | 1 | 0 | null | null |
// Struct: BillingConnectorInvoiceSyncRequest
// File: crates/hyperswitch_domain_models/src/router_request_types/revenue_recovery.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct BillingConnectorInvoiceSyncRequest | crates/hyperswitch_domain_models/src/router_request_types/revenue_recovery.rs | hyperswitch_domain_models | struct_definition | BillingConnectorInvoiceSyncRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Worldpayvantiv | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/hyperswitch_domain_models/src/errors/api_error_response.rs
// Module: hyperswitch_domain_models
use api_models::errors::types::Extra;
use common_utils::errors::ErrorSwitch;
use http::StatusCode;
use crate::router_data;
#[derive(Clone, Debug, serde::Serialize)]
#[serde(rename_all = "snake_case")]
pub ... | crates/hyperswitch_domain_models/src/errors/api_error_response.rs#chunk0 | hyperswitch_domain_models | chunk | null | null | null | 8,178 | null | null | null | null | null | null | null |
// Struct: WebhookEventDataResource
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WebhookEventDataResource | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | WebhookEventDataResource | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_with_payment_id_if_present
// File: crates/diesel_models/src/query/fraud_check.rs
// Module: diesel_models
pub fn get_with_payment_id_if_present(
conn: &PgPooledConn,
payment_id: common_utils::id_type::PaymentId,
merchant_id: common_utils::id_type::MerchantId,
) -> StorageR... | crates/diesel_models/src/query/fraud_check.rs | diesel_models | function_signature | null | null | null | 82 | get_with_payment_id_if_present | null | null | null | null | null | null |
// Function: update_payment_method_connector_mandate_details
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn update_payment_method_connector_mandate_details(
state: &routes::SessionState,
key_store: &domain::MerchantKeyStore,
db: &dyn db::StorageInterface,
pm: domain::... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 113 | update_payment_method_connector_mandate_details | null | null | null | null | null | null |
// Function: mock_get_payment_method
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn mock_get_payment_method<'a>(
state: &routes::SessionState,
key_store: &domain::MerchantKeyStore,
card_id: &'a str,
) -> errors::CustomResult<payment_methods::GetPaymentMethodResponse, erro... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 82 | mock_get_payment_method | null | null | null | null | null | null |
// Implementation: impl RequestExtendedAuthorizationBool
// File: crates/common_utils/src/types/primitive_wrappers.rs
// Module: common_utils
// Methods: 1 total (1 public)
impl RequestExtendedAuthorizationBool | crates/common_utils/src/types/primitive_wrappers.rs | common_utils | impl_block | null | null | null | 44 | null | RequestExtendedAuthorizationBool | null | 1 | 1 | null | null |
// Struct: FiservCheckoutResponse
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservCheckoutResponse | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservCheckoutResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: Sharing
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Sharing | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | Sharing | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: DummyConnectorPaymentRetrieveRequest
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Implementations: 0
pub struct DummyConnectorPaymentRetrieveRequest | crates/router/src/routes/dummy_connector/types.rs | router | struct_definition | DummyConnectorPaymentRetrieveRequest | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: ExternalVaultProxyPaymentIntent
// File: crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs
// Module: router
// Implementations: 1
// Traits: ValidateStatusForOperation
pub struct ExternalVaultProxyPaymentIntent | crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs | router | struct_definition | ExternalVaultProxyPaymentIntent | 1 | [
"ValidateStatusForOperation"
] | 56 | null | null | null | null | null | null | null |
// Function: get_org_dispute_filters
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_org_dispute_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<api_models::analytics::GetDisputeFilterRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 75 | get_org_dispute_filters | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use base64::Engine;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, RequestBuilder, RequestContent},
};
use error_stack::{rep... | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | full_file | null | null | null | 2,588 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Powertranz
// File: crates/hyperswitch_connectors/src/connectors/powertranz.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Powertranz | crates/hyperswitch_connectors/src/connectors/powertranz.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Powertranz | ConnectorValidation for | 0 | 0 | null | null |
// Struct: AuthorizationNew
// File: crates/diesel_models/src/authorization.rs
// Module: diesel_models
// Implementations: 0
pub struct AuthorizationNew | crates/diesel_models/src/authorization.rs | diesel_models | struct_definition | AuthorizationNew | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: find_by_global_id
// File: crates/diesel_models/src/query/payment_intent.rs
// Module: diesel_models
pub fn find_by_global_id(
conn: &PgPooledConn,
id: &common_utils::id_type::GlobalPaymentId,
) -> StorageResult<Self> | crates/diesel_models/src/query/payment_intent.rs | diesel_models | function_signature | null | null | null | 64 | find_by_global_id | null | null | null | null | null | null |
// Implementation: impl Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Juspaythreedsserver | null | 1 | 1 | null | null |
// Struct: SubscriptionHandler
// File: crates/router/src/core/subscription.rs
// Module: router
// Implementations: 1
pub struct SubscriptionHandler | crates/router/src/core/subscription.rs | router | struct_definition | SubscriptionHandler | 1 | [] | 33 | null | null | null | null | null | null | null |
// Function: create
// File: crates/external_services/src/email/no_email.rs
// Module: external_services
// Documentation: Constructs a new client when email is disabled
pub fn create() -> Self | crates/external_services/src/email/no_email.rs | external_services | function_signature | null | null | null | 42 | create | null | null | null | null | null | null |
// Implementation: impl Default for for DenseMap
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl Default for for DenseMap | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 50 | null | DenseMap | Default for | 1 | 0 | null | null |
// Implementation: impl api::RefundSync for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Gpayments | api::RefundSync for | 0 | 0 | null | null |
// Function: get_refunds_aggregate_profile
// File: crates/router/src/routes/refunds.rs
// Module: router
pub fn get_refunds_aggregate_profile(
state: web::Data<AppState>,
req: HttpRequest,
query_params: web::Query<common_utils::types::TimeRange>,
) -> HttpResponse | crates/router/src/routes/refunds.rs | router | function_signature | null | null | null | 68 | get_refunds_aggregate_profile | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/compatibility/stripe/setup_intents.rs
// Module: router
// Public submodules:
pub mod types;
| crates/router/src/compatibility/stripe/setup_intents.rs | router | module_structure | null | null | null | 34 | null | null | null | null | null | 1 | 0 |
// Implementation: impl ConnectorValidation for for Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Mollie | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Mollie | ConnectorValidation for | 0 | 0 | null | null |
// Struct: OrderFulfillmentTime
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct OrderFulfillmentTime | crates/api_models/src/admin.rs | api_models | struct_definition | OrderFulfillmentTime | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/analytics/src/routing_events/core.rs
// Module: analytics
// Public functions: 1
use api_models::analytics::routing_events::RoutingEventsRequest;
use common_utils::errors::ReportSwitchExt;
use error_stack::ResultExt;
use super::events::{get_routing_events, RoutingEventsResult};
use crate::{errors::Ana... | crates/analytics/src/routing_events/core.rs | analytics | full_file | null | null | null | 248 | null | null | null | null | null | null | null |
// Function: routing_retrieve_linked_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_retrieve_linked_config(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<RoutingRetrieveQuery>,
path: web::Path<common_utils::id_type::ProfileId>,
transaction_typ... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 89 | routing_retrieve_linked_config | null | null | null | null | null | null |
// Struct: PaymentsRedirectResponseData
// File: crates/router/src/core/payments.rs
// Module: router
// Implementations: 0
pub struct PaymentsRedirectResponseData | crates/router/src/core/payments.rs | router | struct_definition | PaymentsRedirectResponseData | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl AwsFileStorageConfig
// File: crates/external_services/src/file_storage/aws_s3.rs
// Module: external_services
// Methods: 1 total (0 public)
impl AwsFileStorageConfig | crates/external_services/src/file_storage/aws_s3.rs | external_services | impl_block | null | null | null | 45 | null | AwsFileStorageConfig | null | 1 | 0 | null | null |
// Implementation: impl api::PaymentSession for for Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Wellsfargopayout | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Wellsfargopayout | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Recurly | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Recurly | ConnectorValidation for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Cybersource | ConnectorValidation for | 1 | 0 | null | null |
// Struct: StripeSetupIntentResponse
// File: crates/router/src/compatibility/stripe/setup_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripeSetupIntentResponse | crates/router/src/compatibility/stripe/setup_intents/types.rs | router | struct_definition | StripeSetupIntentResponse | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cryptopay | api::PaymentToken for | 0 | 0 | null | null |
// Function: redis_connection
// File: crates/drainer/src/connection.rs
// Module: drainer
pub fn redis_connection(conf: &Settings) -> redis_interface::RedisConnectionPool | crates/drainer/src/connection.rs | drainer | function_signature | null | null | null | 38 | redis_connection | null | null | null | null | null | null |
// Function: delete_payment_token_data
// File: crates/router/src/core/payment_methods/utils.rs
// Module: router
pub fn delete_payment_token_data(
state: &SessionState,
key_for_token: &str,
) -> errors::RouterResult<()> | crates/router/src/core/payment_methods/utils.rs | router | function_signature | null | null | null | 54 | delete_payment_token_data | 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.