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: diesel_enum_derive
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn diesel_enum_derive(input: proc_macro::TokenStream) -> proc_macro::TokenStream | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 46 | diesel_enum_derive | null | null | null | null | null | null |
// Function: list_enabled_by_profile_id
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn list_enabled_by_profile_id(
conn: &PgPooledConn,
profile_id: &common_utils::id_type::ProfileId,
connector_type: common_enums::ConnectorType,
) -> Sto... | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 80 | list_enabled_by_profile_id | null | null | null | null | null | null |
// Implementation: impl LockingInput
// File: crates/router/src/core/api_locking.rs
// Module: router
// Methods: 1 total (0 public)
impl LockingInput | crates/router/src/core/api_locking.rs | router | impl_block | null | null | null | 39 | null | LockingInput | null | 1 | 0 | null | null |
// Function: new
// File: crates/router/src/services/api/client.rs
// Module: router
pub fn new(proxy_config: &Proxy) -> CustomResult<Self, ApiClientError> | crates/router/src/services/api/client.rs | router | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Zen
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Zen | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Zen | api::Payment for | 0 | 0 | null | null |
// Struct: DashboardMetadata
// File: crates/diesel_models/src/user/dashboard_metadata.rs
// Module: diesel_models
// Implementations: 0
pub struct DashboardMetadata | crates/diesel_models/src/user/dashboard_metadata.rs | diesel_models | struct_definition | DashboardMetadata | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use base64::Engine;
use common_enums::enums::{self, PaymentMethodType};
use common_utils::{
consts,
errors::CustomResult,
ext_traits::{ByteSl... | crates/hyperswitch_connectors/src/connectors/adyen.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Trustpay | api::RefundExecute for | 0 | 0 | null | null |
// Struct: ApplePayTokenPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayTokenPaymentInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayTokenPaymentInformation | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: external_vault_proxy_for_payments_operation_core
// File: crates/router/src/core/payments.rs
// Module: router
pub fn external_vault_proxy_for_payments_operation_core<F, Req, Op, FData, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domai... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 365 | external_vault_proxy_for_payments_operation_core | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payment_link.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payment_link.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: InviteUser
// File: crates/router/src/services/email/types.rs
// Module: router
// Implementations: 1
// Traits: EmailData
pub struct InviteUser | crates/router/src/services/email/types.rs | router | struct_definition | InviteUser | 1 | [
"EmailData"
] | 39 | null | null | null | null | null | null | null |
// Struct: Checkout
// File: crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Checkout | crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs | hyperswitch_domain_models | struct_definition | Checkout | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: post_3ds_payments_authorize
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn post_3ds_payments_authorize(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: Option<web::Form<serde_json::Value>>,
path: web::Path<(
common_utils::id_type:... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 105 | post_3ds_payments_authorize | null | null | null | null | null | null |
// Struct: TsysReturnRequest
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysReturnRequest | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysReturnRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: AddressNew
// File: crates/diesel_models/src/address.rs
// Module: diesel_models
// Implementations: 0
pub struct AddressNew | crates/diesel_models/src/address.rs | diesel_models | struct_definition | AddressNew | 0 | [] | 34 | null | null | null | null | null | null | null |
// Struct: UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Implementations: 22
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, ap... | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | struct_definition | UnifiedAuthenticationService | 22 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"api::UnifiedAuthenticationService",
... | 162 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Stax | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl events::EventInfo for for AuthenticationType
// File: crates/router/src/services/authentication.rs
// Module: router
// Methods: 2 total (0 public)
impl events::EventInfo for for AuthenticationType | crates/router/src/services/authentication.rs | router | impl_block | null | null | null | 47 | null | AuthenticationType | events::EventInfo for | 2 | 0 | null | null |
// Struct: SkrillData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SkrillData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | SkrillData | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/router_env/src/metrics.rs
// Module: router_env
// Public functions: 1
//! Utilities to easily create opentelemetry contexts, meters and metrics.
/// Create a global [`Meter`][Meter] with the specified name and an optional description.
///
/// [Meter]: opentelemetry::metrics::Meter
#[macro_export]
mac... | crates/router_env/src/metrics.rs | router_env | full_file | null | null | null | 1,486 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/boku.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 BokuTest;
impl ConnectorActions for BokuTest {}
impl utils::Connector for... | crates/router/tests/connectors/boku.rs | router | full_file | null | null | null | 2,930 | null | null | null | null | null | null | null |
// Function: export_collection
// File: crates/test_utils/src/newman_runner.rs
// Module: test_utils
pub fn export_collection(connector_name: &str, collection_dir_path: String) | crates/test_utils/src/newman_runner.rs | test_utils | function_signature | null | null | null | 41 | export_collection | null | null | null | null | null | null |
// Struct: CaptureBuyerRequest
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureBuyerRequest | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | CaptureBuyerRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Implementation: impl api::PaymentCapture for for Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Celero | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl PaymentMethodsData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 4 total (4 public)
impl PaymentMethodsData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 46 | null | PaymentMethodsData | null | 4 | 4 | null | null |
// Implementation: impl api::Refund for for Globepay
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Globepay | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Globepay | api::Refund for | 0 | 0 | null | null |
merchant_context: domain::MerchantContext,
payment_intent: &PaymentIntent,
revenue_recovery_payment_data: &storage::revenue_recovery::RevenueRecoveryPaymentData,
latest_attempt_id: &id_type::GlobalAttemptId,
) -> RecoveryResult<()> {
let db = &*state.store;
let id = payment_intent.id.clone();
... | crates/router/src/core/revenue_recovery/types.rs#chunk1 | router | chunk | null | null | null | 2,773 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for TotalPaymentMethodCountResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for TotalPaymentMethodCountResponse | crates/api_models/src/payment_methods.rs | api_models | impl_block | null | null | null | 63 | null | TotalPaymentMethodCountResponse | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// File: crates/test_utils/tests/connectors/payu_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct PayUSeleniumTest;
impl SeleniumTest for PayUSeleniumTest {
fn get_connector_name(&self) -> String {
"payu".to_string()
... | crates/test_utils/tests/connectors/payu_ui.rs | test_utils | full_file | null | null | null | 395 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/api_keys.rs
// Module: router
pub use api_models::api_keys::{
ApiKeyExpiration, CreateApiKeyRequest, CreateApiKeyResponse, ListApiKeyConstraints,
RetrieveApiKeyResponse, RevokeApiKeyResponse, UpdateApiKeyRequest,
};
| crates/router/src/types/api/api_keys.rs | router | full_file | null | null | null | 57 | null | null | null | null | null | null | null |
// Function: render_pm_collect_link
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn render_pm_collect_link(
state: SessionState,
merchant_context: domain::MerchantContext,
req: payment_methods::PaymentMethodCollectLinkRenderRequest,
) -> RouterResponse<services::GenericLinkFormD... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 70 | render_pm_collect_link | null | null | null | null | null | null |
// Struct: SyncBodyResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SyncBodyResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | SyncBodyResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 22
#[cfg(feature = "v2")]
use std::str::FromStr;
use common_enums::enums;
#[cfg(all(feature = "revenue_recovery", feature = "v2"))]
use common_utils::id_type;... | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 5,202 | null | null | null | null | null | null | null |
// Struct: AuthipayPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct AuthipayPaymentsResponse | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | AuthipayPaymentsResponse | 1 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/coinbase.rs
// Module: router
use hyperswitch_domain_models::address::{Address, AddressDetails, PhoneDetails};
use masking::Secret;
use router::types::{self, api, domain, storage::enums, PaymentAddress};
use serde_json::json;
use crate::{
connector_auth,
utils::{self, C... | crates/router/tests/connectors/coinbase.rs | router | full_file | null | null | null | 1,418 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Nexixpay
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Nexixpay | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Nexixpay | api::Payment for | 0 | 0 | null | null |
// Struct: RecurlyInvoiceTransactionsStatus
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RecurlyInvoiceTransactionsStatus | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | struct_definition | RecurlyInvoiceTransactionsStatus | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: StoreCardResp
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Implementations: 0
pub struct StoreCardResp | crates/router/src/core/payment_methods/transformers.rs | router | struct_definition | StoreCardResp | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/flows/post_session_tokens_flow.rs
// Module: router
use async_trait::async_trait;
use super::ConstructFlowSpecificData;
use crate::{
core::{
errors::{ConnectorErrorExt, RouterResult},
payments::{self, access_token, helpers, transformers, Feature, PaymentDat... | crates/router/src/core/payments/flows/post_session_tokens_flow.rs | router | full_file | null | null | null | 957 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorSpecifications for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Facilitapay | ConnectorSpecifications for | 4 | 0 | null | null |
// Function: retrieve_merchant_account
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn retrieve_merchant_account(
state: web::Data<AppState>,
req: HttpRequest,
mid: web::Path<common_utils::id_type::MerchantId>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 63 | retrieve_merchant_account | null | null | null | null | null | null |
// Trait: ClientSecretFetch
// File: crates/router/src/services/authentication.rs
// Module: router
pub trait ClientSecretFetch | crates/router/src/services/authentication.rs | router | trait_definition | null | null | null | 27 | null | null | ClientSecretFetch | null | null | null | null |
// Struct: Nordea
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: api::Payment, api::PaymentSession, api::ConnectorAuthenticationToken, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentC... | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | struct_definition | Nordea | 19 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAuthenticationToken",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
... | 138 | null | null | null | null | null | null | null |
// Struct: RawCardDetails
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RawCardDetails | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | RawCardDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: resend_invite
// File: crates/router/src/routes/user.rs
// Module: router
pub fn resend_invite(
state: web::Data<AppState>,
req: HttpRequest,
payload: web::Json<user_api::ReInviteUserRequest>,
query: web::Query<user_api::AuthIdAndThemeIdQueryParam>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 75 | resend_invite | null | null | null | null | null | null |
// File: crates/openapi/src/main.rs
// Module: openapi
#[cfg(feature = "v1")]
mod openapi;
#[cfg(feature = "v2")]
mod openapi_v2;
mod routes;
#[allow(clippy::print_stdout)] // Using a logger is not necessary here
fn main() {
#[cfg(all(feature = "v1", feature = "v2"))]
compile_error!("features v1 and v2 are mu... | crates/openapi/src/main.rs | openapi | full_file | null | null | null | 612 | null | null | null | null | null | null | null |
// Implementation: impl EventLogger
// File: crates/router/src/events/event_logger.rs
// Module: router
// Methods: 1 total (0 public)
impl EventLogger | crates/router/src/events/event_logger.rs | router | impl_block | null | null | null | 36 | null | EventLogger | null | 1 | 0 | null | null |
// Struct: InsertResourceParams
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
// Implementations: 0
pub struct InsertResourceParams<'a> | crates/storage_impl/src/kv_router_store.rs | storage_impl | struct_definition | InsertResourceParams | 0 | [] | 41 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use base64::Engine;
use common_enums::{CaptureMethod, PaymentMethod, PaymentMeth... | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | full_file | null | null | null | 6,820 | null | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn new(algorithm_id: Option<T>) -> Self | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 34 | new | null | null | null | null | null | null |
// Implementation: impl FraudCheckRecordReturn for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl FraudCheckRecordReturn for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Riskified | FraudCheckRecordReturn for | 0 | 0 | null | null |
// Trait: SessionStateInfo
// File: crates/router/src/routes/app.rs
// Module: router
pub trait SessionStateInfo | crates/router/src/routes/app.rs | router | trait_definition | null | null | null | 27 | null | null | SessionStateInfo | null | null | null | null |
// Implementation: impl State for for CustomerAssigned
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for CustomerAssigned | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | impl_block | null | null | null | 46 | null | CustomerAssigned | State for | 0 | 0 | null | null |
// Struct: NomupayInnerError
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NomupayInnerError | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | struct_definition | NomupayInnerError | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: FacilitapayPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapayPaymentsRequest | crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs | hyperswitch_connectors | struct_definition | FacilitapayPaymentsRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentV... | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | struct_definition | Stripebilling | 19 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"api::revenue_recovery::RevenueRecover... | 150 | null | null | null | null | null | null | null |
// Struct: NordeaErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaErrorResponse | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | NordeaErrorResponse | 0 | [] | 47 | null | 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 |
// File: crates/router/src/utils/connector_onboarding.rs
// Module: router
// Public functions: 5
use diesel_models::{ConfigNew, ConfigUpdate};
use error_stack::ResultExt;
use super::errors::StorageErrorExt;
use crate::{
consts,
core::errors::{ApiErrorResponse, NotImplementedMessage, RouterResult},
routes... | crates/router/src/utils/connector_onboarding.rs | router | full_file | null | null | null | 1,008 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Adyenplatform | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: PaymentMethodSessionUpdateSavedPaymentMethod
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodSessionUpdateSavedPaymentMethod | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodSessionUpdateSavedPaymentMethod | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: TokenDataResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct TokenDataResponse | crates/api_models/src/payment_methods.rs | api_models | struct_definition | TokenDataResponse | 1 | [
"common_utils::events::ApiEventMetric"
] | 48 | null | null | null | null | null | null | null |
// File: crates/api_models/src/api_keys.rs
// Module: api_models
// Public functions: 2
// Public structs: 6
use common_utils::custom_serde;
use masking::StrongSecret;
use serde::{Deserialize, Serialize};
use time::PrimitiveDateTime;
use utoipa::ToSchema;
/// The request body for creating an API Key.
#[derive(Debug, ... | crates/api_models/src/api_keys.rs | api_models | full_file | null | null | null | 2,797 | null | null | null | null | null | null | null |
// Struct: DetailTax
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DetailTax | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | DetailTax | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: MerchantMetadata
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantMetadata | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | MerchantMetadata | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: apply_changeset
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
pub fn apply_changeset(self, source: PaymentMethod) -> PaymentMethod | crates/diesel_models/src/payment_method.rs | diesel_models | function_signature | null | null | null | 40 | apply_changeset | null | null | null | null | null | null |
// Function: payments_list_attempts_using_payment_intent_id
// File: crates/router/src/core/payments.rs
// Module: router
pub fn payments_list_attempts_using_payment_intent_id<F, Res, Req, Op, D>(
state: SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Prof... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 176 | payments_list_attempts_using_payment_intent_id | null | null | null | null | null | null |
// Trait: MasterKeyInterface
// File: crates/router/src/db.rs
// Module: router
pub trait MasterKeyInterface | crates/router/src/db.rs | router | trait_definition | null | null | null | 26 | null | null | MasterKeyInterface | null | null | null | null |
// Struct: LocalBankTransaferRequest
// File: crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct LocalBankTransaferRequest | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs | hyperswitch_connectors | struct_definition | LocalBankTransaferRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: PaypalData
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalData | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | PaypalData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: add_certificate
// File: crates/common_utils/src/request.rs
// Module: common_utils
pub fn add_certificate(mut self, certificate: Option<Secret<String>>) -> Self | crates/common_utils/src/request.rs | common_utils | function_signature | null | null | null | 38 | add_certificate | null | null | null | null | null | null |
// Struct: RevenueRecoverySettings
// File: crates/router/src/types/storage/revenue_recovery.rs
// Module: router
// Implementations: 0
pub struct RevenueRecoverySettings | crates/router/src/types/storage/revenue_recovery.rs | router | struct_definition | RevenueRecoverySettings | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl EventInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 10 total (0 public)
impl EventInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 46 | null | KafkaStore | EventInterface for | 10 | 0 | null | null |
// Struct: ApiKeyAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 1
// Traits: GetAuthType
pub struct ApiKeyAuth | crates/router/src/services/authentication.rs | router | struct_definition | ApiKeyAuth | 1 | [
"GetAuthType"
] | 41 | null | null | null | null | null | null | null |
// File: crates/analytics/src/refunds/types.rs
// Module: analytics
use api_models::analytics::refunds::{RefundDimensions, RefundFilters};
use error_stack::ResultExt;
use crate::{
query::{QueryBuilder, QueryFilter, QueryResult, ToSql},
types::{AnalyticsCollection, AnalyticsDataSource},
};
impl<T> QueryFilter... | crates/analytics/src/refunds/types.rs | analytics | full_file | null | null | null | 471 | null | null | null | null | null | null | null |
// Struct: UpdateEliminationBucketEventResponse
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct UpdateEliminationBucketEventResponse | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | UpdateEliminationBucketEventResponse | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: validate_config
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn validate_config(input: proc_macro::TokenStream) -> proc_macro::TokenStream | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 42 | validate_config | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Gpayments | api::RefundExecute for | 0 | 0 | null | null |
// Function: get_payment_method_from_hs_locker
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn get_payment_method_from_hs_locker<'a>(
state: &'a routes::SessionState,
key_store: &domain::MerchantKeyStore,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::Mercha... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 119 | get_payment_method_from_hs_locker | null | null | null | null | null | null |
// Struct: IatapayPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IatapayPaymentsRequest | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | IatapayPaymentsRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
pub fn new() -> Self | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | function_signature | null | null | null | 33 | new | null | null | null | null | null | null |
// Implementation: impl Serialize for for EncryptedData
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl Serialize for for EncryptedData | crates/common_utils/src/types/keymanager.rs | common_utils | impl_block | null | null | null | 46 | null | EncryptedData | Serialize for | 1 | 0 | null | null |
// Implementation: impl Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Hyperwallet | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentAuthorize for for Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Checkbook | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Checkbook | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: create_pm_additional_data_update
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn create_pm_additional_data_update(
pmd: Option<&domain::PaymentMethodVaultingData>,
state: &SessionState,
key_store: &domain::MerchantKeyStore,
vault_id: Option<String>,
vault_fi... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 172 | create_pm_additional_data_update | null | null | null | null | null | null |
// Struct: KafkaProducer
// File: crates/router/src/services/kafka.rs
// Module: router
// Implementations: 2
// Traits: MessagingInterface
pub struct KafkaProducer | crates/router/src/services/kafka.rs | router | struct_definition | KafkaProducer | 2 | [
"MessagingInterface"
] | 39 | null | null | null | null | null | null | null |
// Function: update_by_merchant_id_key_id
// File: crates/diesel_models/src/query/api_keys.rs
// Module: diesel_models
pub fn update_by_merchant_id_key_id(
conn: &PgPooledConn,
merchant_id: common_utils::id_type::MerchantId,
key_id: common_utils::id_type::ApiKeyId,
api_key_update: ApiKe... | crates/diesel_models/src/query/api_keys.rs | diesel_models | function_signature | null | null | null | 91 | update_by_merchant_id_key_id | null | null | null | null | null | null |
// Function: receive_incoming_relay_webhook
// File: crates/router/src/routes/webhooks.rs
// Module: router
pub fn receive_incoming_relay_webhook<W: types::OutgoingWebhookType>(
state: web::Data<AppState>,
req: HttpRequest,
body: web::Bytes,
path: web::Path<(
common_utils::id_type::MerchantId,
... | crates/router/src/routes/webhooks.rs | router | function_signature | null | null | null | 108 | receive_incoming_relay_webhook | null | null | null | null | null | null |
// Function: send_encryption_request
// File: crates/common_utils/src/keymanager.rs
// Module: common_utils
pub fn send_encryption_request<T>(
state: &KeyManagerState,
headers: HeaderMap,
url: String,
method: Method,
request_body: T,
) -> errors::CustomResult<reqwest::Response, errors::KeyManagerCl... | crates/common_utils/src/keymanager.rs | common_utils | function_signature | null | null | null | 90 | send_encryption_request | null | null | null | null | null | null |
flow_name: &str,
locker_choice: Option<api_enums::LockerChoice>,
) -> errors::CustomResult<T, errors::VaultError>
where
T: serde::de::DeserializeOwned,
{
let locker = &state.conf.locker;
let jwekey = state.conf.jwekey.get_inner();
let response_type_name = type_name!(T);
let response = servi... | crates/router/src/core/payment_methods/cards.rs#chunk2 | router | chunk | null | null | null | 8,184 | null | null | null | null | null | null | null |
// Struct: UserTransferKeyResponse
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct UserTransferKeyResponse | crates/api_models/src/user.rs | api_models | struct_definition | UserTransferKeyResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: Amount
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Amount | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | Amount | 0 | [] | 44 | null | null | null | null | null | null | null |
// Trait: AsyncLift
// File: crates/hyperswitch_domain_models/src/type_encryption.rs
// Module: hyperswitch_domain_models
pub trait AsyncLift<U> | crates/hyperswitch_domain_models/src/type_encryption.rs | hyperswitch_domain_models | trait_definition | null | null | null | 38 | null | null | AsyncLift | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Billwerk | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: AffirmCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AffirmCaptureResponse | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | AffirmCaptureResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: NetceteraPreAuthenticationResponseData
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct NetceteraPreAuthenticationResponseData | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | NetceteraPreAuthenticationResponseData | 1 | [] | 59 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Sift | api::RefundSync for | 0 | 0 | null | null |
// Function: get_webhook_object_from_body
// File: crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs
// Module: hyperswitch_connectors
pub fn get_webhook_object_from_body(
body: &[u8],
) -> CustomResult<BluecodeSyncResponse, common_utils::errors::ParsingError> | crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 72 | get_webhook_object_from_body | 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.