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: is_terminal_state
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_terminal_state(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 35 | is_terminal_state | null | null | null | null | null | null |
// Function: parse_jwt_payload
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn parse_jwt_payload<A, T>(headers: &HeaderMap, state: &A) -> RouterResult<T>
where
T: serde::de::DeserializeOwned,
A: SessionStateInfo + Sync, | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 68 | parse_jwt_payload | null | null | null | null | null | null |
// Struct: PayoutAttemptNew
// File: crates/diesel_models/src/payout_attempt.rs
// Module: diesel_models
// Implementations: 0
pub struct PayoutAttemptNew | crates/diesel_models/src/payout_attempt.rs | diesel_models | struct_definition | PayoutAttemptNew | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: MifinityAddress
// File: crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MifinityAddress | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs | hyperswitch_connectors | struct_definition | MifinityAddress | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/router/tests/services.rs
// Module: router
use std::sync::{atomic, Arc};
use router::{configs::settings::Settings, routes, services};
mod utils;
#[tokio::test]
#[should_panic]
#[allow(clippy::unwrap_used)]
async fn get_redis_conn_failure() {
// Arrange
utils::setup().await;
let (tx, _) =... | crates/router/tests/services.rs | router | full_file | null | null | null | 416 | null | null | null | null | null | null | null |
// Function: get_org_refund_metrics
// File: crates/router/src/analytics.rs
// Module: router
// Documentation: Panics if `json_payload` array does not contain one `GetRefundMetricRequest` element.
pub fn get_org_refund_metrics(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_pay... | crates/router/src/analytics.rs | router | function_signature | null | null | null | 98 | get_org_refund_metrics | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paypal | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 11
use common_enums::enums;
use common_utils::{
id_type,
pii::{Email, SecretSerdeValue},
types::MinorUnit,
};
use hyperswitch_domain_models::{
payment_method_data::Payment... | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 2,936 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/enums.rs
// Module: router
pub use diesel_models::enums::*;
| crates/router/src/types/storage/enums.rs | router | full_file | null | null | null | 24 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenex | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl api::Refund for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Bluesnap | api::Refund for | 0 | 0 | null | null |
// Implementation: impl ApiEventMetric for for BlocklistResponse
// File: crates/api_models/src/blocklist.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for BlocklistResponse | crates/api_models/src/blocklist.rs | api_models | impl_block | null | null | null | 49 | null | BlocklistResponse | ApiEventMetric for | 0 | 0 | null | null |
// File: crates/drainer/src/secrets_transformers.rs
// Module: drainer
// Public functions: 1
use common_utils::errors::CustomResult;
use hyperswitch_interfaces::secrets_interface::{
secret_handler::SecretsHandler,
secret_state::{RawSecret, SecretStateContainer, SecuredSecret},
SecretManagementInterface, S... | crates/drainer/src/secrets_transformers.rs | drainer | full_file | null | null | null | 375 | null | null | null | null | null | null | null |
// Function: setup_intents_update
// File: crates/router/src/compatibility/stripe/setup_intents.rs
// Module: router
pub fn setup_intents_update(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::Config>,
req: HttpRequest,
form_payload: web::Bytes,
path: web::Path<common_utils::id_... | crates/router/src/compatibility/stripe/setup_intents.rs | router | function_signature | null | null | null | 92 | setup_intents_update | null | null | null | null | null | null |
// Struct: BankFee
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankFee | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | BankFee | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: CardTokenData
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
// Implementations: 0
pub struct CardTokenData | crates/router/src/types/storage/payment_method.rs | router | struct_definition | CardTokenData | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: SepaBankDebitAdditionalData
// File: crates/api_models/src/payments/additional_info.rs
// Module: api_models
// Implementations: 0
pub struct SepaBankDebitAdditionalData | crates/api_models/src/payments/additional_info.rs | api_models | struct_definition | SepaBankDebitAdditionalData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Tesouro
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Tesouro | crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Tesouro | null | 1 | 1 | null | null |
// File: crates/external_services/src/aws_kms/implementers.rs
// Module: external_services
//! Trait implementations for aws kms client
use common_utils::errors::CustomResult;
use error_stack::ResultExt;
use hyperswitch_interfaces::{
encryption_interface::{EncryptionError, EncryptionManagementInterface},
secr... | crates/external_services/src/aws_kms/implementers.rs | external_services | full_file | null | null | null | 311 | null | null | null | null | null | null | null |
// Struct: ConditionalConfigReq
// File: crates/api_models/src/conditional_configs.rs
// Module: api_models
// Implementations: 0
pub struct ConditionalConfigReq | crates/api_models/src/conditional_configs.rs | api_models | struct_definition | ConditionalConfigReq | 0 | [] | 37 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/services/kafka.rs
// Module: router
// Public submodules:
pub mod payout;
pub mod revenue_recovery;
| crates/router/src/services/kafka.rs | router | module_structure | null | null | null | 34 | null | null | null | null | null | 2 | 0 |
// Function: is_prod_email_required
// File: crates/router/src/utils/user/dashboard_metadata.rs
// Module: router
pub fn is_prod_email_required(data: &ProdIntent, user_email: String) -> bool | crates/router/src/utils/user/dashboard_metadata.rs | router | function_signature | null | null | null | 44 | is_prod_email_required | null | null | null | null | null | null |
// Function: new_token
// File: crates/router/src/services/email/types.rs
// Module: router
pub fn new_token(
email: domain::UserEmail,
entity: Option<Entity>,
flow: domain::Origin,
settings: &configs::Settings,
) -> UserResult<String> | crates/router/src/services/email/types.rs | router | function_signature | null | null | null | 63 | new_token | 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: Http400RequestDetailsLogger
// File: crates/router/src/middleware.rs
// Module: router
// Implementations: 0
// Documentation: Middleware for Logging request_details of HTTP 400 Bad Requests
pub struct Http400RequestDetailsLogger | crates/router/src/middleware.rs | router | struct_definition | Http400RequestDetailsLogger | 0 | [] | 59 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Custombilling | api::PaymentSync for | 0 | 0 | null | null |
// Struct: StripeConnectReversalResponse
// File: crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripeConnectReversalResponse | crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs | hyperswitch_connectors | struct_definition | StripeConnectReversalResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
connectors::Payu,
connectors::Peachpayments,
connectors::Phonepe,
connectors::Plaid,
connectors::Placetopay,
connectors::Powertranz,
connectors::Prophetpay,
connectors::Rapyd,
connectors::Razorpay,
connectors::Recurly,
connectors::Redsys,
connectors::Riskified,
connec... | crates/hyperswitch_connectors/src/default_implementations_v2.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: VoltPaymentsWebhookBodyEventType
// File: crates/hyperswitch_connectors/src/connectors/volt/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoltPaymentsWebhookBodyEventType | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs | hyperswitch_connectors | struct_definition | VoltPaymentsWebhookBodyEventType | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/router/src/db/file.rs
// Module: router
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 FileMetadataInterface {
async fn in... | crates/router/src/db/file.rs | router | full_file | null | null | null | 997 | null | null | null | null | null | null | null |
// Function: refund_to_refund_core_workflow_model
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn refund_to_refund_core_workflow_model(
refund: &diesel_refund::Refund,
) -> diesel_refund::RefundCoreWorkflow | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 61 | refund_to_refund_core_workflow_model | null | null | null | null | null | null |
// Struct: ChallengeSuccessCount
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
// Implementations: 0
pub struct ChallengeSuccessCount | crates/api_models/src/analytics/auth_events.rs | api_models | struct_definition | ChallengeSuccessCount | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: FiservOrderRequest
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservOrderRequest | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservOrderRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/router/src/types/pm_auth.rs
// Module: router
use std::str::FromStr;
use error_stack::ResultExt;
use pm_auth::{
connector::plaid,
types::{
self as pm_auth_types,
api::{BoxedPaymentAuthConnector, PaymentAuthConnectorData},
},
};
use crate::core::{
errors::{self, ApiErro... | crates/router/src/types/pm_auth.rs | router | full_file | null | null | null | 283 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Peachpayments
// File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Peachpayments | crates/hyperswitch_connectors/src/connectors/peachpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Peachpayments | api::PaymentToken for | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Implementation: impl api::PayoutQuote for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutQuote for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Ebanx | api::PayoutQuote for | 0 | 0 | null | null |
// Implementation: impl api::Payment for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Stripe | api::Payment for | 0 | 0 | null | null |
// Implementation: impl OrganizationNew
// File: crates/diesel_models/src/query/organization.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl OrganizationNew | crates/diesel_models/src/query/organization.rs | diesel_models | impl_block | null | null | null | 39 | null | OrganizationNew | null | 1 | 0 | null | null |
"statement_descriptor_suffix": null,
"created_at": "2024-02-01T12:00:00Z",
"modified_at": "2024-02-01T12:00:00Z",
"last_synced": null,
"setup_future_usage": null,
"off_session": null,
"client_secret": "sec_abcdef1234567890",
"active_attempt_id": "attempt_123",
"business_country": "US... | crates/diesel_models/src/payment_intent.rs#chunk2 | diesel_models | chunk | null | null | null | 309 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Taxjar
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Taxjar | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Taxjar | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: AccountHolder
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AccountHolder | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | AccountHolder | 0 | [] | 45 | null | null | null | null | null | null | null |
/// The identifier for profile. This must be used for creating merchant accounts, payments and payouts
#[schema(max_length = 64, value_type = String, example = "pro_abcdefghijklmnopqrstuvwxyz")]
pub profile_id: id_type::ProfileId,
/// Name of the profile
#[schema(max_length = 64)]
pub profile_... | crates/api_models/src/admin.rs#chunk3 | api_models | chunk | null | null | null | 8,180 | null | null | null | null | null | null | null |
// Struct: ComprehensiveCardData
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Implementations: 0
pub struct ComprehensiveCardData | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | struct_definition | ComprehensiveCardData | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: construct_external_vault_proxy_router_data_v2
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn construct_external_vault_proxy_router_data_v2<'a>(
state: &'a SessionState,
merchant_account: &domain::MerchantAccount,
merchant_connector_account: &domain::MerchantC... | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 214 | construct_external_vault_proxy_router_data_v2 | null | null | null | null | null | null |
// Struct: BitpayPaymentResponseData
// File: crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BitpayPaymentResponseData | crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs | hyperswitch_connectors | struct_definition | BitpayPaymentResponseData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: CardDetails
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardDetails | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | CardDetails | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: validate_role_name
// File: crates/router/src/utils/user_role.rs
// Module: router
pub fn validate_role_name(
state: &SessionState,
role_name: &domain::RoleName,
merchant_id: &id_type::MerchantId,
org_id: &id_type::OrganizationId,
tenant_id: &id_type::TenantId,
profile_id: &id_type... | crates/router/src/utils/user_role.rs | router | function_signature | null | null | null | 102 | validate_role_name | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Bankofamerica
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Bankofamerica | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Bankofamerica | api::PaymentSync for | 0 | 0 | null | null |
// File: crates/router/src/core/payment_methods/migration.rs
// Module: router
// Public functions: 3
// Public structs: 1
use actix_multipart::form::{self, bytes, text};
use api_models::payment_methods as pm_api;
use common_utils::{errors::CustomResult, id_type};
use csv::Reader;
use error_stack::ResultExt;
use hyper... | crates/router/src/core/payment_methods/migration.rs | router | full_file | null | null | null | 2,019 | null | null | null | null | null | null | null |
// File: crates/drainer/src/utils.rs
// Module: drainer
// Public functions: 2
use std::sync::{atomic, Arc};
use error_stack::report;
use redis_interface as redis;
use serde::de::Deserialize;
use crate::{
errors, kv, metrics,
stream::{StreamEntries, StreamReadResult},
};
pub fn parse_stream_entries<'a>(
... | crates/drainer/src/utils.rs | drainer | full_file | null | null | null | 634 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paytm | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/router/src/core/user.rs
// Module: router
// Public functions: 46
use std::{
collections::{HashMap, HashSet},
ops::Not,
};
use api_models::{
payments::RedirectionResponse,
user::{self as user_api, InviteMultipleUserResponse, NameIdUnit},
};
use common_enums::{connector_enums, EntityTyp... | crates/router/src/core/user.rs#chunk0 | router | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Function: get_sankey_data
// File: crates/analytics/src/auth_events/sankey.rs
// Module: analytics
pub fn get_sankey_data(
clickhouse_client: &ClickhouseClient,
auth: &AuthInfo,
time_range: &TimeRange,
) -> MetricsResult<Vec<SankeyRow>> | crates/analytics/src/auth_events/sankey.rs | analytics | function_signature | null | null | null | 69 | get_sankey_data | null | null | null | null | null | null |
// Struct: VoltErrorList
// File: crates/hyperswitch_connectors/src/connectors/volt/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoltErrorList | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs | hyperswitch_connectors | struct_definition | VoltErrorList | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: LoonioRedirectUrl
// File: crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct LoonioRedirectUrl | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs | hyperswitch_connectors | struct_definition | LoonioRedirectUrl | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: Address
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Address | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | Address | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: PurchaseUnitItem
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PurchaseUnitItem | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PurchaseUnitItem | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: UpiCollectAdditionalData
// File: crates/api_models/src/payments/additional_info.rs
// Module: api_models
// Implementations: 0
pub struct UpiCollectAdditionalData | crates/api_models/src/payments/additional_info.rs | api_models | struct_definition | UpiCollectAdditionalData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: PixInfo
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PixInfo | crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs | hyperswitch_connectors | struct_definition | PixInfo | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_request_extended_authorization_bool_if_connector_supports
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn get_request_extended_authorization_bool_if_connector_supports(
&self,
connector: common_enums::connector_enums::Connector,
... | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 122 | get_request_extended_authorization_bool_if_connector_supports | null | null | null | null | null | null |
// Struct: StripebillingPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingPaymentsResponse | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl fmt::Debug for for DenseMap
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl fmt::Debug for for DenseMap | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 54 | null | DenseMap | fmt::Debug for | 1 | 0 | null | null |
// Implementation: impl api::ExternalVaultRetrieve for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ExternalVaultRetrieve for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Tokenex | api::ExternalVaultRetrieve for | 0 | 0 | null | null |
// Implementation: impl api::ExternalVaultInsert for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ExternalVaultInsert for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Tokenex | api::ExternalVaultInsert for | 0 | 0 | null | null |
// Implementation: impl MergedEnabledPaymentMethodTypes
// File: crates/router/src/core/payments/payment_methods.rs
// Module: router
// Methods: 1 total (0 public)
impl MergedEnabledPaymentMethodTypes | crates/router/src/core/payments/payment_methods.rs | router | impl_block | null | null | null | 46 | null | MergedEnabledPaymentMethodTypes | null | 1 | 0 | null | null |
// Struct: CheckoutRequest
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutRequest | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutRequest | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: check_token_status_with_tokenization_service
// File: crates/router/src/core/payment_methods/network_tokenization.rs
// Module: router
pub fn check_token_status_with_tokenization_service(
_state: &routes::SessionState,
_customer_id: &id_type::GlobalCustomerId,
_network_token_requestor_referenc... | crates/router/src/core/payment_methods/network_tokenization.rs | router | function_signature | null | null | null | 110 | check_token_status_with_tokenization_service | null | null | null | null | null | null |
// Struct: TesouroPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TesouroPaymentsResponse | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs | hyperswitch_connectors | struct_definition | TesouroPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: DebitRoutingRequestData
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 0
pub struct DebitRoutingRequestData | crates/api_models/src/open_router.rs | api_models | struct_definition | DebitRoutingRequestData | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: combine
// File: crates/hyperswitch_constraint_graph/src/graph.rs
// Module: hyperswitch_constraint_graph
pub fn combine(g1: &Self, g2: &Self) -> Result<Self, GraphError<V>> | crates/hyperswitch_constraint_graph/src/graph.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 50 | combine | null | null | null | null | null | null |
// Struct: PaymentMethodsSessionUpdateRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodsSessionUpdateRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodsSessionUpdateRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/router/src/workflows/refund_router.rs
// Module: router
// Public structs: 1
use scheduler::consumer::workflows::ProcessTrackerWorkflow;
#[cfg(feature = "v1")]
use crate::core::refunds as refund_flow;
use crate::{errors, logger::error, routes::SessionState, types::storage};
pub struct RefundWorkflowR... | crates/router/src/workflows/refund_router.rs | router | full_file | null | null | null | 306 | null | null | null | null | null | null | null |
// Function: profile_id
// File: crates/common_utils/src/types/user/theme.rs
// Module: common_utils
// Documentation: Get the profile_id from the lineage
pub fn profile_id(&self) -> Option<&id_type::ProfileId> | crates/common_utils/src/types/user/theme.rs | common_utils | function_signature | null | null | null | 51 | profile_id | null | null | null | null | null | null |
// Function: find_by_profile_id_connector_name
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn find_by_profile_id_connector_name(
conn: &PgPooledConn,
profile_id: &common_utils::id_type::ProfileId,
connector_name: &str,
) -> StorageResul... | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 77 | find_by_profile_id_connector_name | null | null | null | null | null | null |
// Function: transfer_user_key_store_keymanager
// File: crates/router/src/core/user.rs
// Module: router
pub fn transfer_user_key_store_keymanager(
state: SessionState,
req: user_api::UserKeyTransferRequest,
) -> UserResponse<user_api::UserTransferKeyResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 64 | transfer_user_key_store_keymanager | null | null | null | null | null | null |
// Function: master_key
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
pub fn master_key(&self) -> &StrongSecret<Vec<u8>> | crates/storage_impl/src/kv_router_store.rs | storage_impl | function_signature | null | null | null | 40 | master_key | null | null | null | null | null | null |
// Function: validate
// File: crates/analytics/src/opensearch.rs
// Module: analytics
pub fn validate(&self) -> Result<(), ApplicationError> | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 34 | validate | null | null | null | null | null | null |
// Implementation: impl GetRequestIncrementalAuthorization for for PaymentsSyncData
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl GetRequestIncrementalAuthorization for for PaymentsSyncData | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | PaymentsSyncData | GetRequestIncrementalAuthorization for | 1 | 0 | null | null |
// File: crates/api_models/src/connector_enums.rs
// Module: api_models
pub use common_enums::connector_enums::Connector;
| crates/api_models/src/connector_enums.rs | api_models | full_file | null | null | null | 31 | null | null | null | null | null | null | null |
// Implementation: impl ContractBasedRoutingConfig
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl ContractBasedRoutingConfig | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 41 | null | ContractBasedRoutingConfig | null | 1 | 1 | null | null |
// Struct: CountAccumulator
// File: crates/analytics/src/auth_events/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: AuthEventMetricAccumulator
pub struct CountAccumulator | crates/analytics/src/auth_events/accumulator.rs | analytics | struct_definition | CountAccumulator | 1 | [
"AuthEventMetricAccumulator"
] | 49 | null | null | null | null | null | null | null |
// Struct: BankOfAmericaConsumerAuthInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaConsumerAuthInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaConsumerAuthInformation | 0 | [] | 56 | null | null | null | null | null | null | null |
path: web::Path<common_utils::id_type::PaymentId>,
) -> impl Responder {
let flow = Flow::PaymentsExternalAuthentication;
let mut payload = json_payload.into_inner();
let payment_id = path.into_inner();
tracing::Span::current().record("payment_id", payment_id.get_string_repr());
payload.paymen... | crates/router/src/routes/payments.rs#chunk2 | router | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Function: build_pm_collect_link_status_html
// File: crates/router/src/services/api/generic_link_response.rs
// Module: router
pub fn build_pm_collect_link_status_html(
link_data: &GenericLinkStatusData,
) -> CustomResult<String, errors::ApiErrorResponse> | crates/router/src/services/api/generic_link_response.rs | router | function_signature | null | null | null | 59 | build_pm_collect_link_status_html | null | null | null | null | null | null |
// Struct: NuveiPaymentRequestData
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiPaymentRequestData | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiPaymentRequestData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: migrate_payment_methods
// File: crates/payment_methods/src/core/migration.rs
// Module: payment_methods
pub fn migrate_payment_methods(
state: &state::PaymentMethodsState,
payment_methods: Vec<pm_api::PaymentMethodRecord>,
merchant_id: &common_utils::id_type::MerchantId,
merchant_context:... | crates/payment_methods/src/core/migration.rs | payment_methods | function_signature | null | null | null | 124 | migrate_payment_methods | null | null | null | null | null | null |
// Struct: MetricsResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct MetricsResponse<T> | crates/api_models/src/analytics.rs | api_models | struct_definition | MetricsResponse | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: TokenizationNew
// File: crates/hyperswitch_domain_models/src/tokenization.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct TokenizationNew | crates/hyperswitch_domain_models/src/tokenization.rs | hyperswitch_domain_models | struct_definition | TokenizationNew | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: get_forex_rates
// File: crates/router/src/utils/currency.rs
// Module: router
pub fn get_forex_rates(
state: &SessionState,
data_expiration_delay: u32,
) -> CustomResult<FxExchangeRatesCacheEntry, ForexError> | crates/router/src/utils/currency.rs | router | function_signature | null | null | null | 62 | get_forex_rates | null | null | null | null | null | null |
// File: crates/router/src/configs.rs
// Module: router
use hyperswitch_interfaces::secrets_interface::secret_state::RawSecret;
pub(crate) mod defaults;
pub mod secrets_transformers;
pub mod settings;
mod validations;
pub type Settings = settings::Settings<RawSecret>;
| crates/router/src/configs.rs | router | full_file | null | null | null | 60 | null | null | null | null | null | null | null |
// Function: get_mandate
// File: crates/router/src/core/mandate.rs
// Module: router
pub fn get_mandate(
state: SessionState,
merchant_context: domain::MerchantContext,
req: mandates::MandateId,
) -> RouterResponse<mandates::MandateResponse> | crates/router/src/core/mandate.rs | router | function_signature | null | null | null | 70 | get_mandate | null | null | null | null | null | null |
// Implementation: impl std::fmt::Display for for RoutingApproach
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (0 public)
impl std::fmt::Display for for RoutingApproach | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 53 | null | RoutingApproach | std::fmt::Display for | 1 | 0 | null | null |
// Implementation: impl api::PaymentSession for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Worldpayvantiv | api::PaymentSession for | 0 | 0 | null | null |
// Function: get_payment_method_type
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
pub fn get_payment_method_type(&self) -> Option<common_enums::PaymentMethod> | crates/diesel_models/src/types.rs | diesel_models | function_signature | null | null | null | 44 | get_payment_method_type | null | null | null | null | null | null |
// Function: mandate_procedure
// File: crates/router/src/core/mandate.rs
// Module: router
pub fn mandate_procedure<F, FData>(
state: &SessionState,
resp: &types::RouterData<F, FData, types::PaymentsResponseData>,
customer_id: &Option<id_type::CustomerId>,
pm_id: Option<String>,
merchant_connector... | crates/router/src/core/mandate.rs | router | function_signature | null | null | null | 131 | mandate_procedure | null | null | null | null | null | null |
// File: crates/diesel_models/src/reverse_lookup.rs
// Module: diesel_models
// Public structs: 2
use diesel::{Identifiable, Insertable, Queryable, Selectable};
use crate::schema::reverse_lookup;
/// This reverse lookup table basically looks up id's and get result_id that you want. This is
/// useful for KV where yo... | crates/diesel_models/src/reverse_lookup.rs | diesel_models | full_file | null | null | null | 398 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Payload | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payload | api::PaymentSession for | 0 | 0 | null | null |
// Function: disable_algorithm_id
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn disable_algorithm_id(&mut self, dynamic_routing_type: DynamicRoutingType) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 41 | disable_algorithm_id | 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.