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: EcommerceCardPaymentOnlyConfirmationData
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EcommerceCardPaymentOnlyConfirmationData | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | struct_definition | EcommerceCardPaymentOnlyConfirmationData | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: tokenize_card_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn tokenize_card_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 31 | tokenize_card_api | null | null | null | null | null | null |
// Implementation: impl crate::events::ApiEventMetric for for GlobalCustomerId
// File: crates/common_utils/src/id_type/global_id/customer.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl crate::events::ApiEventMetric for for GlobalCustomerId | crates/common_utils/src/id_type/global_id/customer.rs | common_utils | impl_block | null | null | null | 58 | null | GlobalCustomerId | crate::events::ApiEventMetric for | 1 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Helcim | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: routing_unlink_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_unlink_config(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::ProfileId>,
transaction_type: &enums::TransactionType,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 76 | routing_unlink_config | null | null | null | null | null | null |
// Function: find_by_lineage
// File: crates/diesel_models/src/query/user/theme.rs
// Module: diesel_models
pub fn find_by_lineage(
conn: &PgPooledConn,
lineage: ThemeLineage,
) -> StorageResult<Self> | crates/diesel_models/src/query/user/theme.rs | diesel_models | function_signature | null | null | null | 57 | find_by_lineage | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Aci | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Aci | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl DBOperation
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
// Methods: 2 total (2 public)
impl DBOperation | crates/diesel_models/src/kv.rs | diesel_models | impl_block | null | null | null | 40 | null | DBOperation | null | 2 | 2 | null | null |
// Struct: NovalnetPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetPaymentsResponse | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetPaymentsResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: CustomerId
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustomerId | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | CustomerId | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: PaymentMethodMigrateResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodMigrateResponse | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodMigrateResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Fiserv
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Fiserv | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Fiserv | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: KlarnaSessionResponse
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaSessionResponse | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaSessionResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ActivePaymentsMetricsAccumulator
// File: crates/analytics/src/active_payments/accumulator.rs
// Module: analytics
// Implementations: 1
pub struct ActivePaymentsMetricsAccumulator | crates/analytics/src/active_payments/accumulator.rs | analytics | struct_definition | ActivePaymentsMetricsAccumulator | 1 | [] | 44 | null | null | null | null | null | null | null |
// Struct: TrustpayRefundRequestBankRedirect
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpayRefundRequestBankRedirect | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | TrustpayRefundRequestBankRedirect | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | function_signature | null | null | null | 41 | new | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/checkout_wh_ui.rs
// Module: test_utils
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct CheckoutSeleniumTest;
impl SeleniumTest for CheckoutSeleniumTest {
fn get_connector_name(&self) -> String {
"checkout".to_string()
}
}... | crates/test_utils/tests/connectors/checkout_wh_ui.rs | test_utils | full_file | null | null | null | 246 | null | null | null | null | null | null | null |
// Struct: TransactionDetails
// File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct TransactionDetails | crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs | hyperswitch_domain_models | struct_definition | TransactionDetails | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/transformers.rs
// Module: hyperswitch_domain_models
pub trait ForeignFrom<F> {
fn foreign_from(from: F) -> Self;
}
pub trait ForeignTryFrom<F>: Sized {
type Error;
fn foreign_try_from(from: F) -> Result<Self, Self::Error>;
}
| crates/hyperswitch_domain_models/src/transformers.rs | hyperswitch_domain_models | full_file | null | null | null | 74 | null | null | null | null | null | null | null |
// Implementation: impl PaymentCapture for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentCapture for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Signifyd | PaymentCapture for | 0 | 0 | null | null |
// Function: add_token_for_payment_method
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
pub fn add_token_for_payment_method(
router_data: &mut types::RouterData<
api::PaymentMethodToken,
types::PaymentMethodTokenizationData,
types::PaymentsResponseData,
>,
... | crates/router/src/core/payments/tokenization.rs | router | function_signature | null | null | null | 125 | add_token_for_payment_method | null | null | null | null | null | null |
authentication_id.clone(),
&payment_data.payment_intent.payment_id,
))
.await?;
//If authentication is not successful, skip the payment connector flows and mark the payment as failure
if authentication_store.authenti... | crates/router/src/core/payments/operations/payment_confirm.rs#chunk1 | router | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: SyncRequest
// File: crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SyncRequest | crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs | hyperswitch_connectors | struct_definition | SyncRequest | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: ApplePayPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayPaymentInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayPaymentInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: enum_nums_inner
// File: crates/euclid_macros/src/inner/enum_nums.rs
// Module: euclid_macros
pub fn enum_nums_inner(ts: TokenStream) -> TokenStream | crates/euclid_macros/src/inner/enum_nums.rs | euclid_macros | function_signature | null | null | null | 43 | enum_nums_inner | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 70 | null | Juspaythreedsserver | api::Payment for | 0 | 0 | null | null |
// Struct: PaymentsAuthorizeData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsAuthorizeData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsAuthorizeData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorAccessToken for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorAccessToken for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Riskified | ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: PaymentMethodCard
// File: crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentMethodCard | crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs | hyperswitch_connectors | struct_definition | PaymentMethodCard | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: payment_receipt
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Documentation: Get payment receipt (like Fiserv's payment_receipt)
pub fn payment_receipt(&self) -> AuthipayPaymentReceipt | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 61 | payment_receipt | null | null | null | null | null | null |
// Struct: GpaymentsPreAuthenticationResponse
// File: crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GpaymentsPreAuthenticationResponse | crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs | hyperswitch_connectors | struct_definition | GpaymentsPreAuthenticationResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Thunes
// File: crates/hyperswitch_connectors/src/connectors/thunes.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Thunes | crates/hyperswitch_connectors/src/connectors/thunes.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Thunes | api::Payment for | 0 | 0 | null | null |
// Struct: PaymentMethodListRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodListRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodListRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: is_four_decimal_currency
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_four_decimal_currency(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 37 | is_four_decimal_currency | null | null | null | null | null | null |
// Struct: SurchargeDecisionConfigs
// File: crates/api_models/src/surcharge_decision_configs.rs
// Module: api_models
// Implementations: 1
// Traits: EuclidDirFilter
pub struct SurchargeDecisionConfigs | crates/api_models/src/surcharge_decision_configs.rs | api_models | struct_definition | SurchargeDecisionConfigs | 1 | [
"EuclidDirFilter"
] | 49 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/cards_info.rs
// Module: storage_impl
pub use diesel_models::{CardInfo, UpdateCardInfo};
use error_stack::report;
use hyperswitch_domain_models::cards_info::CardsInfoInterface;
use router_env::{instrument, tracing};
use crate::{
errors::StorageError,
kv_router_store::KVRouterS... | crates/storage_impl/src/cards_info.rs | storage_impl | full_file | null | null | null | 840 | null | null | null | null | null | null | null |
// Trait: ActivePaymentsMetricAnalytics
// File: crates/analytics/src/active_payments/metrics.rs
// Module: analytics
pub trait ActivePaymentsMetricAnalytics: LoadRow<ActivePaymentsMetricRow> | crates/analytics/src/active_payments/metrics.rs | analytics | trait_definition | null | null | null | 42 | null | null | ActivePaymentsMetricAnalytics | 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/services/authorization/roles/predefined_roles.rs
// Module: router
use std::{collections::HashMap, sync::LazyLock};
use common_enums::{EntityType, PermissionGroup, RoleScope};
use super::RoleInfo;
use crate::consts;
pub static PREDEFINED_ROLES: LazyLock<HashMap<&'static str, RoleInfo>> = ... | crates/router/src/services/authorization/roles/predefined_roles.rs | router | full_file | null | null | null | 3,287 | null | null | null | null | null | null | null |
// Function: get_connector_name
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_connector_name(&self) -> Option<common_enums::connector_enums::Connector> | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 53 | get_connector_name | null | null | null | null | null | null |
// Struct: BillingConnectorPaymentsSyncFlowData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct BillingConnectorPaymentsSyncFlowData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | BillingConnectorPaymentsSyncFlowData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: InitPayment
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct InitPayment | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | InitPayment | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: Barclaycard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Implementations: 20
// Traits: api::Payment, api::PaymentSession, api::PaymentsPreProcessing, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::Payme... | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | struct_definition | Barclaycard | 20 | [
"api::Payment",
"api::PaymentSession",
"api::PaymentsPreProcessing",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentsCompleteAuthorize",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSy... | 141 | null | null | null | null | null | null | null |
// Function: get_and_deserialize_key
// File: crates/router/src/db.rs
// Module: router
pub fn get_and_deserialize_key<T>(
db: &dyn StorageInterface,
key: &str,
type_name: &'static str,
) -> CustomResult<T, RedisError>
where
T: serde::de::DeserializeOwned, | crates/router/src/db.rs | router | function_signature | null | null | null | 75 | get_and_deserialize_key | null | null | null | null | null | null |
// Implementation: impl PayoutAttemptInterface for for MockDb
// File: crates/storage_impl/src/mock_db.rs
// Module: storage_impl
// Methods: 0 total (0 public)
impl PayoutAttemptInterface for for MockDb | crates/storage_impl/src/mock_db.rs | storage_impl | impl_block | null | null | null | 49 | null | MockDb | PayoutAttemptInterface for | 0 | 0 | null | null |
// Struct: BarclaycardConsumerAuthValidateResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardConsumerAuthValidateResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardConsumerAuthValidateResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: create_platform
// File: crates/router/src/routes/user.rs
// Module: router
pub fn create_platform(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<user_api::PlatformAccountCreateRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 59 | create_platform | null | null | null | null | null | null |
// Function: get_user_id
// File: crates/api_models/src/external_service_auth.rs
// Module: api_models
pub fn get_user_id(&self) -> &str | crates/api_models/src/external_service_auth.rs | api_models | function_signature | null | null | null | 37 | get_user_id | null | null | null | null | null | null |
// Struct: UserFields
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct UserFields | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | UserFields | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl PaymentSession for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSession for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Riskified | PaymentSession for | 0 | 0 | null | null |
// Implementation: impl DomainType for for T
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
// Methods: 0 total (0 public)
impl DomainType for for T | crates/storage_impl/src/kv_router_store.rs | storage_impl | impl_block | null | null | null | 45 | null | T | DomainType for | 0 | 0 | null | null |
// Function: payments_connector_session
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_connector_session(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsSessionRequest>,
path: web::Path<common_utils::id_type:... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 86 | payments_connector_session | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Volt
// File: crates/hyperswitch_connectors/src/connectors/volt.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Volt | crates/hyperswitch_connectors/src/connectors/volt.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Volt | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Sift | api::PaymentToken for | 0 | 0 | null | null |
// Function: get_item_price_id
// File: crates/api_models/src/subscription.rs
// Module: api_models
pub fn get_item_price_id(&self) -> Result<String, error_stack::Report<ValidationError>> | crates/api_models/src/subscription.rs | api_models | function_signature | null | null | null | 45 | get_item_price_id | null | null | null | null | null | null |
// Function: setup_mandate_preprocessing_steps
// File: crates/router/src/core/payments/flows/setup_mandate_flow.rs
// Module: router
pub fn setup_mandate_preprocessing_steps<F: Clone>(
state: &SessionState,
router_data: &types::RouterData<F, types::SetupMandateRequestData, types::PaymentsResponseData>,
co... | crates/router/src/core/payments/flows/setup_mandate_flow.rs | router | function_signature | null | null | null | 120 | setup_mandate_preprocessing_steps | null | null | null | null | null | null |
// Struct: LinkTokenRequest
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 0
pub struct LinkTokenRequest | crates/pm_auth/src/types.rs | pm_auth | struct_definition | LinkTokenRequest | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: HelcimAuthType
// File: crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HelcimAuthType | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs | hyperswitch_connectors | struct_definition | HelcimAuthType | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/invoice.rs
// Module: router
pub use diesel_models::invoice::{Invoice, InvoiceNew, InvoiceUpdate};
| crates/router/src/types/storage/invoice.rs | router | full_file | null | null | null | 32 | null | null | null | null | null | null | null |
// Struct: GooglePayDetails
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GooglePayDetails | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | GooglePayDetails | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PayoutRetrieveBody
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutRetrieveBody | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutRetrieveBody | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Deutschebank
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Deutschebank | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Deutschebank | api::Payment for | 0 | 0 | null | null |
// Function: create_payment_method_metadata
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
pub fn create_payment_method_metadata(
metadata: Option<&pii::SecretSerdeValue>,
connector_token: Option<(String, String) | crates/router/src/core/payments/tokenization.rs | router | function_signature | null | null | null | 55 | create_payment_method_metadata | null | null | null | null | null | null |
// Function: get_decrypted_response_payload
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn get_decrypted_response_payload(
jwekey: &settings::Jwekey,
jwe_body: encryption::JweBody,
locker_choice: Option<api_enums::LockerChoice>,
decryption_scheme: settings::Dec... | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 93 | get_decrypted_response_payload | null | null | null | null | null | null |
// Function: create_platform_account
// File: crates/openapi/src/routes/platform.rs
// Module: openapi
pub fn create_platform_account() | crates/openapi/src/routes/platform.rs | openapi | function_signature | null | null | null | 30 | create_platform_account | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Noon
// File: crates/hyperswitch_connectors/src/connectors/noon.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorValidation for for Noon | crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Noon | ConnectorValidation for | 3 | 0 | null | null |
// Implementation: impl PaymentsPreProcessing for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentsPreProcessing for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payme | PaymentsPreProcessing for | 0 | 0 | null | null |
// Function: validate
// File: crates/router/src/configs/validations.rs
// Module: router
pub fn validate(&self) -> Result<(), ApplicationError> | crates/router/src/configs/validations.rs | router | function_signature | null | null | null | 35 | validate | null | null | null | null | null | null |
// Function: custom_error_handlers
// File: crates/router/src/core/errors/error_handlers.rs
// Module: router
pub fn custom_error_handlers<B: body::MessageBody + 'static>(
res: ServiceResponse<B>,
) -> actix_web::Result<ErrorHandlerResponse<B>> | crates/router/src/core/errors/error_handlers.rs | router | function_signature | null | null | null | 58 | custom_error_handlers | null | null | null | null | null | null |
// Function: get_webhook_object_from_body
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
pub fn get_webhook_object_from_body(body: &[u8]) -> CustomResult<Self, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 63 | get_webhook_object_from_body | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Cryptopay | api::Payment for | 0 | 0 | null | null |
// Function: verify_merchant_creds_for_applepay
// File: crates/router/src/core/verification.rs
// Module: router
pub fn verify_merchant_creds_for_applepay(
state: SessionState,
body: verifications::ApplepayMerchantVerificationRequest,
merchant_id: common_utils::id_type::MerchantId,
profile_id: Option<... | crates/router/src/core/verification.rs | router | function_signature | null | null | null | 107 | verify_merchant_creds_for_applepay | null | null | null | null | null | null |
// File: crates/diesel_models/src/payment_link.rs
// Module: diesel_models
// Public structs: 2
use common_utils::types::MinorUnit;
use diesel::{Identifiable, Insertable, Queryable, Selectable};
use serde::{self, Deserialize, Serialize};
use time::PrimitiveDateTime;
use crate::{enums as storage_enums, schema::payment... | crates/diesel_models/src/payment_link.rs | diesel_models | full_file | null | null | null | 599 | null | null | null | null | null | null | null |
// Struct: ProxyResponse
// File: crates/api_models/src/proxy.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct ProxyResponse | crates/api_models/src/proxy.rs | api_models | struct_definition | ProxyResponse | 1 | [
"common_utils::events::ApiEventMetric"
] | 46 | null | null | null | null | null | null | null |
// Function: drainer_stream
// File: crates/drainer/src/stream.rs
// Module: drainer
pub fn drainer_stream(&self, shard_key: &str) -> String | crates/drainer/src/stream.rs | drainer | function_signature | null | null | null | 39 | drainer_stream | null | null | null | null | null | null |
// Struct: CybersourcePaymentsIncrementalAuthorizationRequest
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourcePaymentsIncrementalAuthorizationRequest | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourcePaymentsIncrementalAuthorizationRequest | 0 | [] | 59 | null | null | null | null | null | null | null |
// Implementation: impl ApiClient for for ProxyClient
// File: crates/router/src/services/api/client.rs
// Module: router
// Methods: 6 total (0 public)
impl ApiClient for for ProxyClient | crates/router/src/services/api/client.rs | router | impl_block | null | null | null | 44 | null | ProxyClient | ApiClient for | 6 | 0 | null | null |
// Implementation: impl api::PaymentSession for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Payeezy | api::PaymentSession for | 0 | 0 | null | null |
// Struct: XenditWebhookEvent
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct XenditWebhookEvent | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | XenditWebhookEvent | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl Origin
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
// Methods: 1 total (0 public)
impl Origin | crates/router/src/types/domain/user/decision_manager.rs | router | impl_block | null | null | null | 37 | null | Origin | null | 1 | 0 | null | null |
// Struct: ProdIntent
// File: crates/api_models/src/user/dashboard_metadata.rs
// Module: api_models
// Implementations: 0
pub struct ProdIntent | crates/api_models/src/user/dashboard_metadata.rs | api_models | struct_definition | ProdIntent | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Paysafe | null | 1 | 1 | null | null |
// Struct: Bankofamerica
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Implementations: 18
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentV... | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | struct_definition | Bankofamerica | 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 |
// Struct: AmountDetails
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AmountDetails | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | AmountDetails | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: validate_payment_method_data_against_payment_method
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
pub fn validate_payment_method_data_against_payment_method(
payment_method_type: api_enums::PaymentMethod,
payment_method_data: PaymentMethodCreateData,
) -> bool | crates/api_models/src/payment_methods.rs | api_models | function_signature | null | null | null | 66 | validate_payment_method_data_against_payment_method | null | null | null | null | null | null |
// Function: begin_totp
// File: crates/router/src/core/user.rs
// Module: router
pub fn begin_totp(
state: SessionState,
user_token: auth::UserFromSinglePurposeToken,
) -> UserResponse<user_api::BeginTotpResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 59 | begin_totp | null | null | null | null | null | null |
// Struct: PaysafeAuthType
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeAuthType | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: Config
// File: crates/diesel_models/src/configs.rs
// Module: diesel_models
// Implementations: 0
pub struct Config | crates/diesel_models/src/configs.rs | diesel_models | struct_definition | Config | 0 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl PaymentId
// File: crates/common_utils/src/id_type/payment.rs
// Module: common_utils
// Methods: 8 total (8 public)
impl PaymentId | crates/common_utils/src/id_type/payment.rs | common_utils | impl_block | null | null | null | 38 | null | PaymentId | null | 8 | 8 | null | null |
// Struct: CeleroErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CeleroErrorResponse | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: FrmPaymentMethodType
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct FrmPaymentMethodType | crates/api_models/src/admin.rs | api_models | struct_definition | FrmPaymentMethodType | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Payload | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Payload | api::MandateSetup for | 0 | 0 | null | null |
// Struct: AciCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciCaptureRequest | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciCaptureRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: validated_limit
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn validated_limit(&self) -> u32 | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 34 | validated_limit | null | null | null | null | null | null |
// Function: as_str
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn as_str(&self) -> &str | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 45 | as_str | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Rapyd | api::PaymentSession for | 0 | 0 | null | null |
// Struct: CountAccumulator
// File: crates/analytics/src/active_payments/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: ActivePaymentsMetricAccumulator
pub struct CountAccumulator | crates/analytics/src/active_payments/accumulator.rs | analytics | struct_definition | CountAccumulator | 1 | [
"ActivePaymentsMetricAccumulator"
] | 50 | null | null | null | null | null | null | null |
// Struct: CaptureBuyerResponse
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureBuyerResponse | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | CaptureBuyerResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl GlobalPaymentId
// File: crates/common_utils/src/id_type/global_id/payment.rs
// Module: common_utils
// Methods: 4 total (4 public)
impl GlobalPaymentId | crates/common_utils/src/id_type/global_id/payment.rs | common_utils | impl_block | null | null | null | 42 | null | GlobalPaymentId | null | 4 | 4 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.