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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl PayoutsInterface for for RouterStore
// File: crates/storage_impl/src/lib.rs
// Module: storage_impl
// Methods: 0 total (0 public)
impl PayoutsInterface for for RouterStore | crates/storage_impl/src/lib.rs | storage_impl | impl_block | null | null | null | 48 | null | RouterStore | PayoutsInterface for | 0 | 0 | null | null |
// Struct: PhonepeRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PhonepeRefundRequest | crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs | hyperswitch_connectors | struct_definition | PhonepeRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Struct: Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Implementations: 18
// Traits: ConnectorCommon, ConnectorValidation, api::ConnectorAccessToken, api::PaymentToken, api::PaymentAuthorize, api::Payment, api::MandateSetup, api::PaymentVoid, api::PaymentSy... | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | struct_definition | Rapyd | 18 | [
"ConnectorCommon",
"ConnectorValidation",
"api::ConnectorAccessToken",
"api::PaymentToken",
"api::PaymentAuthorize",
"api::Payment",
"api::MandateSetup",
"api::PaymentVoid",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentSession",
"api::Refund",
"api::RefundExecute",
"api::RefundS... | 125 | null | null | null | null | null | null | null |
// Struct: ArchipelWalletInformation
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelWalletInformation | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelWalletInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/operations/payment_confirm.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
#[cfg(feature = "v1")]
use api_models::payment_methods::PaymentMethodsData;
use api_models::{
admin::ExtendedCardInfoConfig,
enums::FrmSuggestion,
payments::{Connecto... | crates/router/src/core/payments/operations/payment_confirm.rs#chunk0 | router | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Function: payouts_update
// File: crates/router/src/routes/payouts.rs
// Module: router
pub fn payouts_update(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<id_type::PayoutId>,
json_payload: web::Json<payout_types::PayoutCreateRequest>,
) -> HttpResponse | crates/router/src/routes/payouts.rs | router | function_signature | null | null | null | 75 | payouts_update | null | null | null | null | null | null |
// Implementation: impl FileStorageConfig
// File: crates/external_services/src/file_storage.rs
// Module: external_services
// Methods: 2 total (1 public)
impl FileStorageConfig | crates/external_services/src/file_storage.rs | external_services | impl_block | null | null | null | 40 | null | FileStorageConfig | null | 2 | 1 | null | null |
// Implementation: impl std::fmt::Display for for TrustpaymentsCredentialsOnFile
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl std::fmt::Display for for TrustpaymentsCredentialsOnFile | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 69 | null | TrustpaymentsCredentialsOnFile | std::fmt::Display for | 1 | 0 | null | null |
// Struct: StaxWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StaxWebhookBody | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | struct_definition | StaxWebhookBody | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/affirm.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/affirm.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: NoonRevokeMandateResult
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonRevokeMandateResult | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonRevokeMandateResult | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl GetRoutableConnectorsForChoice for for StraightThroughAlgorithmTypeSingle
// File: crates/router/src/core/routing.rs
// Module: router
// Methods: 1 total (0 public)
impl GetRoutableConnectorsForChoice for for StraightThroughAlgorithmTypeSingle | crates/router/src/core/routing.rs | router | impl_block | null | null | null | 62 | null | StraightThroughAlgorithmTypeSingle | GetRoutableConnectorsForChoice for | 1 | 0 | null | null |
// Function: get_theme_using_lineage
// File: crates/router/src/core/user/theme.rs
// Module: router
pub fn get_theme_using_lineage(
state: SessionState,
lineage: ThemeLineage,
) -> UserResponse<theme_api::GetThemeResponse> | crates/router/src/core/user/theme.rs | router | function_signature | null | null | null | 58 | get_theme_using_lineage | null | null | null | null | null | null |
// Trait: CommonStorageInterface
// File: crates/router/src/db.rs
// Module: router
pub trait CommonStorageInterface: StorageInterface
+ GlobalStorageInterface
+ AccountsStorageInterface
+ PaymentMethodsStorageInterface | crates/router/src/db.rs | router | trait_definition | null | null | null | 48 | null | null | CommonStorageInterface | null | null | null | null |
// Struct: ApplePayTokenPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayTokenPaymentInformation | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayTokenPaymentInformation | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/router/src/compatibility/stripe/errors.rs
// Module: router
use common_utils::{errors::ErrorSwitch, id_type};
use hyperswitch_domain_models::errors::api_error_response as errors;
use crate::core::errors::CustomersErrorResponse;
#[derive(Debug, router_derive::ApiError, Clone)]
#[error(error_type_enum ... | crates/router/src/compatibility/stripe/errors.rs#chunk0 | router | chunk | null | null | null | 8,176 | null | null | null | null | null | null | null |
// Struct: TriggeredAttemptsAccumulator
// File: crates/analytics/src/frm/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: FrmMetricAccumulator
pub struct TriggeredAttemptsAccumulator | crates/analytics/src/frm/accumulator.rs | analytics | struct_definition | TriggeredAttemptsAccumulator | 1 | [
"FrmMetricAccumulator"
] | 52 | null | null | null | null | null | null | null |
// File: crates/euclid/src/dssa/graph.rs
// Module: euclid
// Public functions: 3
// Public structs: 1
use std::{fmt::Debug, sync::Weak};
use hyperswitch_constraint_graph as cgraph;
use rustc_hash::{FxHashMap, FxHashSet};
use crate::{
dssa::types,
frontend::dir,
types::{DataType, Metadata},
};
pub mod e... | crates/euclid/src/dssa/graph.rs | euclid | full_file | null | null | null | 8,135 | null | null | null | null | null | null | null |
// Function: filter_payment_methods
// File: crates/router/src/core/payments/payment_methods.rs
// Module: router
pub fn filter_payment_methods(
payment_method_type_details: hyperswitch_domain_models::merchant_connector_account::PaymentMethodsEnabledForConnector,
req: &api_models::payments::ListMethodsForPayme... | crates/router/src/core/payments/payment_methods.rs | router | function_signature | null | null | null | 143 | filter_payment_methods | null | null | null | null | null | null |
// File: crates/router/src/core/locker_migration.rs
// Module: router
// Public functions: 4
use ::payment_methods::controller::PaymentMethodsController;
#[cfg(feature = "v1")]
use api_models::enums as api_enums;
use api_models::locker_migration::MigrateCardResponse;
use common_utils::{errors::CustomResult, id_type};
... | crates/router/src/core/locker_migration.rs | router | full_file | null | null | null | 1,567 | null | null | null | null | null | null | null |
// Struct: BluesnapThreeDSecureInfo
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapThreeDSecureInfo | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapThreeDSecureInfo | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Coingate
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Coingate | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Coingate | api::RefundExecute for | 0 | 0 | null | null |
// Implementation: impl api::revenue_recovery::BillingConnectorPaymentsSyncIntegration for for Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::revenue_recovery::BillingConnectorPaymentsSyncIntegration for fo... | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | impl_block | null | null | null | 72 | null | Stripebilling | api::revenue_recovery::BillingConnectorPaymentsSyncIntegration for | 0 | 0 | null | null |
// Function: switch_profile_for_user_in_org_and_merchant
// File: crates/router/src/core/user.rs
// Module: router
pub fn switch_profile_for_user_in_org_and_merchant(
state: SessionState,
request: user_api::SwitchProfileRequest,
user_from_token: auth::UserFromToken,
) -> UserResponse<user_api::TokenRespons... | crates/router/src/core/user.rs | router | function_signature | null | null | null | 78 | switch_profile_for_user_in_org_and_merchant | null | null | null | null | null | null |
// Implementation: impl SubmitEvidence for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl SubmitEvidence for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Worldpayvantiv | SubmitEvidence for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSession for for Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Digitalvirgo | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Digitalvirgo | api::PaymentSession for | 0 | 0 | null | null |
// Struct: MifinityConnectorMetadataObject
// File: crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MifinityConnectorMetadataObject | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs | hyperswitch_connectors | struct_definition | MifinityConnectorMetadataObject | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: GetPaymentIntentMetricRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GetPaymentIntentMetricRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetPaymentIntentMetricRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl TaxCalculationOverride
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Methods: 1 total (1 public)
impl TaxCalculationOverride | crates/common_enums/src/enums.rs | common_enums | impl_block | null | null | null | 43 | null | TaxCalculationOverride | null | 1 | 1 | null | null |
// Implementation: impl ExternalAuthentication for for Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ExternalAuthentication for for Threedsecureio | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Threedsecureio | ExternalAuthentication for | 0 | 0 | null | null |
// Struct: WiseBankDetails
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WiseBankDetails | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WiseBankDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Boku
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Boku | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Boku | api::RefundSync for | 0 | 0 | null | null |
// Struct: Authentication
// File: crates/hyperswitch_domain_models/src/authentication.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Authentication | crates/hyperswitch_domain_models/src/authentication.rs | hyperswitch_domain_models | struct_definition | Authentication | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: AccessToken
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AccessToken | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | struct_definition | AccessToken | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: routing_retrieve_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_retrieve_config(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::RoutingId>,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 66 | routing_retrieve_config | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Struct: ContractBasedRoutingConfig
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 2
// Traits: Default
pub struct ContractBasedRoutingConfig | crates/api_models/src/routing.rs | api_models | struct_definition | ContractBasedRoutingConfig | 2 | [
"Default"
] | 43 | null | null | null | null | null | null | null |
// Struct: CreateCustomerPaymentProfileRequest
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CreateCustomerPaymentProfileRequest | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | CreateCustomerPaymentProfileRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: Order
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Order | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | Order | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: FeesType
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FeesType | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | struct_definition | FeesType | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: log_payout
// File: crates/router/src/services/kafka.rs
// Module: router
pub fn log_payout(
&self,
payout: &KafkaPayout<'_>,
old_payout: Option<KafkaPayout<'_>>,
tenant_id: TenantID,
) -> MQResult<()> | crates/router/src/services/kafka.rs | router | function_signature | null | null | null | 70 | log_payout | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Razorpay | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/smithy/src/lib.rs
// Module: smithy
// Public functions: 1
// crates/smithy/lib.rs - Fixed with proper optional type handling in flattening
use proc_macro::TokenStream;
use proc_macro2::TokenStream as TokenStream2;
use quote::quote;
use smithy_core::{SmithyConstraint, SmithyEnumVariant, SmithyField};
... | crates/smithy/src/lib.rs | smithy | full_file | null | null | null | 7,389 | null | null | null | null | null | null | null |
// Struct: CreditCardData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CreditCardData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | CreditCardData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: get_dispute_filter_for_dimension
// File: crates/analytics/src/disputes/filters.rs
// Module: analytics
pub fn get_dispute_filter_for_dimension<T>(
dimension: DisputeDimensions,
auth: &AuthInfo,
time_range: &TimeRange,
pool: &T,
) -> FiltersResult<Vec<DisputeFilterRow>>
where
T: Analyt... | crates/analytics/src/disputes/filters.rs | analytics | function_signature | null | null | null | 138 | get_dispute_filter_for_dimension | null | null | null | null | null | null |
// File: crates/diesel_models/src/role.rs
// Module: diesel_models
// Public structs: 3
use common_utils::id_type;
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use time::PrimitiveDateTime;
use crate::{enums, schema::roles};
#[derive(Clone, Debug, Identifiable, Queryable, Selectable)]
#... | crates/diesel_models/src/role.rs | diesel_models | full_file | null | null | null | 661 | null | null | null | null | null | null | null |
// Function: get_three_ds_decision_rule_keys
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_three_ds_decision_rule_keys() -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 43 | get_three_ds_decision_rule_keys | null | null | null | null | null | null |
// Function: update_resource
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
pub fn update_resource<D, R, M>(
&self,
state: &KeyManagerState,
key_store: &MerchantKeyStore,
storage_scheme: MerchantStorageScheme,
update_resource_fut: R,
updated_... | crates/storage_impl/src/kv_router_store.rs | storage_impl | function_signature | null | null | null | 152 | update_resource | null | null | null | null | null | null |
// Function: find_optional_by_address_id
// File: crates/diesel_models/src/query/address.rs
// Module: diesel_models
pub fn find_optional_by_address_id(
conn: &PgPooledConn,
address_id: &str,
) -> StorageResult<Option<Self>> | crates/diesel_models/src/query/address.rs | diesel_models | function_signature | null | null | null | 59 | find_optional_by_address_id | null | null | null | null | null | null |
// Struct: ThreeDs
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDs | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDs | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id_fingerprint_id
// File: crates/diesel_models/src/query/blocklist_fingerprint.rs
// Module: diesel_models
pub fn find_by_merchant_id_fingerprint_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
fingerprint_id: &str,
) -> StorageResult... | crates/diesel_models/src/query/blocklist_fingerprint.rs | diesel_models | function_signature | null | null | null | 81 | find_by_merchant_id_fingerprint_id | null | null | null | null | null | null |
// Struct: CoingateRouterData
// File: crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CoingateRouterData<T> | crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs | hyperswitch_connectors | struct_definition | CoingateRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
pub id: String,
pub amount: i64,
pub currency: String,
pub charge: String,
pub status: Shift4RefundStatus,
}
#[derive(Debug, Clone, Default, Serialize, Deserialize, Eq, PartialEq)]
#[serde(rename_all = "lowercase")]
pub enum Shift4RefundStatus {
Successful,
Processing,
#[default]
Fa... | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 641 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/api.rs
// Module: hyperswitch_interfaces
//! API interface
/// authentication module
pub mod authentication;
/// authentication_v2 module
pub mod authentication_v2;
pub mod disputes;
pub mod disputes_v2;
pub mod files;
pub mod files_v2;
#[cfg(feature = "frm")]
pub mod fraud_... | crates/hyperswitch_interfaces/src/api.rs | hyperswitch_interfaces | full_file | null | null | null | 5,157 | null | null | null | null | null | null | null |
// Struct: RoutingLinkWrapper
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingLinkWrapper | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingLinkWrapper | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: Details
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Details | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | Details | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: ExternalTokenResponse
// File: crates/api_models/src/external_service_auth.rs
// Module: api_models
// Implementations: 0
pub struct ExternalTokenResponse | crates/api_models/src/external_service_auth.rs | api_models | struct_definition | ExternalTokenResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: Balances
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Balances | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | Balances | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/utils.rs
// Module: hyperswitch_connectors
// Public functions: 24
// Public structs: 6
use std::{
collections::{HashMap, HashSet},
marker::PhantomData,
str::FromStr,
sync::LazyLock,
};
use api_models::payments;
#[cfg(feature = "payouts")]
use api_models::pay... | crates/hyperswitch_connectors/src/utils.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,183 | null | null | null | null | null | null | null |
// Implementation: impl Clone for for PIISerializer
// File: crates/masking/src/serde.rs
// Module: masking
// Methods: 1 total (0 public)
impl Clone for for PIISerializer | crates/masking/src/serde.rs | masking | impl_block | null | null | null | 44 | null | PIISerializer | Clone for | 1 | 0 | null | null |
// Struct: KlarnaData
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaData | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PlaidBankAccountCredentialsAccounts
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidBankAccountCredentialsAccounts | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidBankAccountCredentialsAccounts | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: remove_quotes_for_integer_values
// File: crates/test_utils/src/newman_runner.rs
// Module: test_utils
pub fn remove_quotes_for_integer_values(
connector_name: &str,
) -> Result<(&str, Option<String>), io::Error> | crates/test_utils/src/newman_runner.rs | test_utils | function_signature | null | null | null | 57 | remove_quotes_for_integer_values | null | null | null | null | null | null |
// Struct: MerchantAccountNew
// File: crates/diesel_models/src/merchant_account.rs
// Module: diesel_models
// Implementations: 0
pub struct MerchantAccountNew | crates/diesel_models/src/merchant_account.rs | diesel_models | struct_definition | MerchantAccountNew | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: CheckoutRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutRefundResponse | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutRefundResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: SubsequentAuthInformation
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SubsequentAuthInformation | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | SubsequentAuthInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Paybox
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Paybox | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paybox | api::PaymentToken for | 0 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Coingate
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Coingate | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Coingate | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Peachpayments
// File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Peachpayments | crates/hyperswitch_connectors/src/connectors/peachpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Peachpayments | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: PaymentIntentMetricsBucketIdentifier
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Implementations: 3
// Traits: Hash, PartialEq
pub struct PaymentIntentMetricsBucketIdentifier | crates/api_models/src/analytics/payment_intents.rs | api_models | struct_definition | PaymentIntentMetricsBucketIdentifier | 3 | [
"Hash",
"PartialEq"
] | 50 | null | null | null | null | null | null | null |
// Function: get_network_token_resource_object
// File: crates/router/src/core/webhooks/network_tokenization_incoming.rs
// Module: router
pub fn get_network_token_resource_object(
request_details: &api::IncomingWebhookRequestDetails<'_>,
) -> CustomResult<Box<dyn masking::ErasedMaskSerialize>, errors::NetworkToke... | crates/router/src/core/webhooks/network_tokenization_incoming.rs | router | function_signature | null | null | null | 73 | get_network_token_resource_object | null | null | null | null | null | null |
// Struct: GetTokenizePayloadRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct GetTokenizePayloadRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | GetTokenizePayloadRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: list_payment_attempts
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn list_payment_attempts(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
path: web::Path<common_utils::id_type::GlobalPaymentId>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 71 | list_payment_attempts | null | null | null | null | null | null |
// Struct: PaymentsCapture
// File: crates/router/src/core/payments/operations/payment_capture_v2.rs
// Module: router
// Implementations: 1
// Traits: ValidateStatusForOperation
pub struct PaymentsCapture | crates/router/src/core/payments/operations/payment_capture_v2.rs | router | struct_definition | PaymentsCapture | 1 | [
"ValidateStatusForOperation"
] | 47 | null | null | null | null | null | null | null |
// Trait: ValueNode
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
pub trait ValueNode: fmt::Debug + Clone + hash::Hash + serde::Serialize + PartialEq + Eq | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | trait_definition | null | null | null | 50 | null | null | ValueNode | null | null | null | null |
// Function: get_expiry_date_as_yymm
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Get the expiry date in YYMM format from the Apple Pay pre-decrypt data
pub fn get_expiry_date_as_yymm(&self) -> Result<Secret<String>, errors::ValidationError> | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 68 | get_expiry_date_as_yymm | null | null | null | null | null | null |
// Struct: AcquirerDetails
// File: crates/api_models/src/authentication.rs
// Module: api_models
// Implementations: 0
pub struct AcquirerDetails | crates/api_models/src/authentication.rs | api_models | struct_definition | AcquirerDetails | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: PaymentMethodStatusTrackingData
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
// Implementations: 0
pub struct PaymentMethodStatusTrackingData | crates/router/src/types/storage/payment_method.rs | router | struct_definition | PaymentMethodStatusTrackingData | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nomupay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: get_payment_filters_profile
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn get_payment_filters_profile(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 56 | get_payment_filters_profile | null | null | null | null | null | null |
// Function: schedule_refund_execution
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn schedule_refund_execution(
state: &SessionState,
refund: diesel_refund::Refund,
refund_type: api_models::refunds::RefundType,
merchant_context: &domain::MerchantContext,
payment_attempt: &s... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 125 | schedule_refund_execution | null | null | null | null | null | null |
// Function: update_merchant_routing_dictionary
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn update_merchant_routing_dictionary(
db: &dyn StorageInterface,
merchant_id: &str,
dictionary: routing_types::RoutingDictionary,
) -> RouterResult<()> | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 63 | update_merchant_routing_dictionary | null | null | null | null | null | null |
// File: crates/router/src/core/fraud_check/operation.rs
// Module: router
pub mod fraud_check_post;
pub mod fraud_check_pre;
use async_trait::async_trait;
use common_enums::FrmSuggestion;
use error_stack::{report, ResultExt};
pub use self::{fraud_check_post::FraudCheckPost, fraud_check_pre::FraudCheckPre};
use super... | crates/router/src/core/fraud_check/operation.rs | router | full_file | null | null | null | 892 | null | null | null | null | null | null | null |
// Struct: CardPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardPaymentInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | CardPaymentInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_profile_dispute_filters
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_profile_dispute_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<api_models::analytics::GetDisputeFilterRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 75 | get_profile_dispute_filters | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Billwerk | api::PaymentVoid for | 0 | 0 | null | null |
// Function: get_tokenize_card_form_records
// File: crates/router/src/core/payment_methods/tokenize.rs
// Module: router
pub fn get_tokenize_card_form_records(
form: CardNetworkTokenizeForm,
) -> Result<
(
id_type::MerchantId,
Vec<payment_methods_api::CardNetworkTokenizeRequest>,
),
er... | crates/router/src/core/payment_methods/tokenize.rs | router | function_signature | null | null | null | 79 | get_tokenize_card_form_records | null | null | null | null | null | null |
// Struct: DigitalvirgoAuthType
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DigitalvirgoAuthType | crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs | hyperswitch_connectors | struct_definition | DigitalvirgoAuthType | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/router/src/core/chat.rs
// Module: router
// Public functions: 2
use api_models::chat as chat_api;
use common_utils::{
consts,
crypto::{DecodeMessage, GcmAes256},
errors::CustomResult,
request::{Method, RequestBuilder, RequestContent},
};
use error_stack::ResultExt;
use external_service... | crates/router/src/core/chat.rs | router | full_file | null | null | null | 1,630 | null | null | null | null | null | null | null |
// Function: get_payout_variant_values
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_payout_variant_values(key: &str) -> Result<JsValue, JsValue> | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 51 | get_payout_variant_values | null | null | null | null | null | null |
)
.change_context(errors::ApiErrorResponse::MaximumRefundCount)?;
let connector = payment_attempt
.connector
.clone()
.ok_or(errors::ApiErrorResponse::InternalServerError)
.attach_printable("No connector populated in payment attempt")?;
let (connector_transaction_id, pro... | crates/router/src/core/refunds_v2.rs#chunk1 | router | chunk | null | null | null | 2,555 | null | null | null | null | null | null | null |
) -> Result<Self, Self::Error> {
let email = item
.router_data
.get_billing_email()
.or(item.router_data.request.get_email())?;
let bill_to = build_bill_to(item.router_data.get_billing_address()?, email)?;
let order_information = OrderInformationWithBill::... | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: MerchantAccountSetter
// File: crates/hyperswitch_domain_models/src/merchant_account.rs
// Module: hyperswitch_domain_models
// Implementations: 0
// Documentation: Set the private fields of merchant account
pub struct MerchantAccountSetter | crates/hyperswitch_domain_models/src/merchant_account.rs | hyperswitch_domain_models | struct_definition | MerchantAccountSetter | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/callback_mapper.rs
// Module: storage_impl
use diesel_models::callback_mapper::CallbackMapper as DieselCallbackMapper;
use hyperswitch_domain_models::callback_mapper::CallbackMapper;
use crate::DataModelExt;
impl DataModelExt for CallbackMapper {
type StorageModel = DieselCallbac... | crates/storage_impl/src/callback_mapper.rs | storage_impl | full_file | null | null | null | 196 | null | null | null | null | null | null | null |
// Implementation: impl RefundMetricsAccumulator
// File: crates/analytics/src/refunds/accumulator.rs
// Module: analytics
// Methods: 1 total (1 public)
impl RefundMetricsAccumulator | crates/analytics/src/refunds/accumulator.rs | analytics | impl_block | null | null | null | 46 | null | RefundMetricsAccumulator | null | 1 | 1 | null | null |
// File: crates/diesel_models/src/mandate.rs
// Module: diesel_models
// Public functions: 5
// Public structs: 4
use common_enums::MerchantStorageScheme;
use common_utils::pii;
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use masking::Secret;
use time::PrimitiveDateTime;
use crate::{en... | crates/diesel_models/src/mandate.rs | diesel_models | full_file | null | null | null | 2,181 | null | null | null | null | null | null | null |
// Struct: SuccessBasedRoutingConfig
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 2
// Traits: Default
pub struct SuccessBasedRoutingConfig | crates/api_models/src/routing.rs | api_models | struct_definition | SuccessBasedRoutingConfig | 2 | [
"Default"
] | 43 | null | null | null | null | null | null | null |
// Function: make_all_aggregator
// File: crates/hyperswitch_constraint_graph/src/builder.rs
// Module: hyperswitch_constraint_graph
pub fn make_all_aggregator<M: Metadata>(
&mut self,
nodes: &[(NodeId, Relation, Strength) | crates/hyperswitch_constraint_graph/src/builder.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 57 | make_all_aggregator | null | null | null | null | null | null |
// Function: get_optional_connector_metadata
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn get_optional_connector_metadata(
&self,
) -> CustomResult<
Option<api_models::payments::ConnectorMetadata>,
common_utils::errors::ParsingError,
... | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 70 | get_optional_connector_metadata | 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.