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: SamsungPayFluidDataValue
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SamsungPayFluidDataValue | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | SamsungPayFluidDataValue | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: accept_invite_from_email_token_only_flow
// File: crates/router/src/core/user.rs
// Module: router
pub fn accept_invite_from_email_token_only_flow(
state: SessionState,
user_token: auth::UserFromSinglePurposeToken,
request: user_api::AcceptInviteFromEmailRequest,
) -> UserResponse<user_api::To... | crates/router/src/core/user.rs | router | function_signature | null | null | null | 77 | accept_invite_from_email_token_only_flow | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Tokenio | api::RefundExecute for | 0 | 0 | null | null |
// Trait: MessagingInterface
// File: crates/events/src/lib.rs
// Module: events
// Documentation: A messaging interface for sending messages/events. This can be implemented for any messaging system, such as a message queue, a logger, or a database.
pub trait MessagingInterface | crates/events/src/lib.rs | events | trait_definition | null | null | null | 57 | null | null | MessagingInterface | null | null | null | null |
// Implementation: impl api::PaymentSession for for Barclaycard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Barclaycard | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Barclaycard | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Itaubank | ConnectorValidation for | 0 | 0 | null | null |
// Function: get_metadata
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_metadata(&self) -> Option<Secret<Value>> | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 44 | get_metadata | null | null | null | null | null | null |
// Struct: ErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorDetails | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | ErrorDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
SpardaBankWien,
VolksbankGruppe,
VolkskreditbankAg,
VrBankBraunau,
Moneyou,
Rabobank,
Regiobank,
Revolut,
SnsBank,
TriodosBank,
VanLanschot,
PlusBank,
EtransferPocztowy24,
BankiSpbdzielcze,
BankNowyBfgSa,
GetinBank,
Blik,
NoblePay,
#[serde(rena... | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Struct: Money
// File: crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Money | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs | hyperswitch_connectors | struct_definition | Money | 0 | [] | 44 | null | null | null | null | null | null | null |
// File: crates/openapi/src/routes/revenue_recovery.rs
// Module: openapi
// Public functions: 1
#[cfg(feature = "v2")]
/// Revenue Recovery - Retrieve
///
/// Retrieve the Revenue Recovery Payment Info
#[utoipa::path(
get,
path = "/v2/process-trackers/revenue-recovery-workflow/{revenue_recovery_id}",
para... | crates/openapi/src/routes/revenue_recovery.rs | openapi | full_file | null | null | null | 233 | null | null | null | null | null | null | null |
// File: crates/analytics/src/auth_events/metrics/frictionless_success_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
auth_events::{AuthEventDimensions, AuthEventFilters, AuthEventMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_enums::{AuthenticationS... | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs | analytics | full_file | null | null | null | 1,105 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/relay.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/relay.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: AcquirerDetails
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AcquirerDetails | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | struct_definition | AcquirerDetails | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Mifinity | api::MandateSetup for | 0 | 0 | null | null |
// File: crates/router/src/core/pm_auth.rs
// Module: router
// Public functions: 6
use std::{collections::HashMap, str::FromStr};
use api_models::{
enums,
payment_methods::{self, BankAccountAccessCreds},
};
use common_enums::{enums::MerchantStorageScheme, PaymentMethodType};
use hex;
pub mod helpers;
pub mod... | crates/router/src/core/pm_auth.rs | router | full_file | null | null | null | 6,556 | null | null | null | null | null | null | null |
// Implementation: impl RoutingAlgorithmHelpers
// File: crates/router/src/core/routing/helpers.rs
// Module: router
// Methods: 2 total (1 public)
impl RoutingAlgorithmHelpers | crates/router/src/core/routing/helpers.rs | router | impl_block | null | null | null | 39 | null | RoutingAlgorithmHelpers | null | 2 | 1 | null | null |
// Implementation: impl api::PaymentCapture for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nuvei | api::PaymentCapture for | 0 | 0 | null | null |
// Function: payout_create_db_entries
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn payout_create_db_entries(
_state: &SessionState,
_merchant_context: &domain::MerchantContext,
_req: &payouts::PayoutCreateRequest,
_payout_id: &str,
_profile_id: &str,
_stored_payout_method... | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 136 | payout_create_db_entries | null | null | null | null | null | null |
// Function: update_dispute_data
// File: crates/router/src/core/disputes.rs
// Module: router
pub fn update_dispute_data(
state: &SessionState,
merchant_context: domain::MerchantContext,
business_profile: domain::Profile,
option_dispute: Option<diesel_models::dispute::Dispute>,
dispute_details: Di... | crates/router/src/core/disputes.rs | router | function_signature | null | null | null | 120 | update_dispute_data | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: EbanxPayoutCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EbanxPayoutCancelRequest | crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs | hyperswitch_connectors | struct_definition | EbanxPayoutCancelRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethodSession
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl PaymentMethodSession | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 37 | null | PaymentMethodSession | null | 1 | 1 | null | null |
// Module Structure
// File: crates/router/src/core/connector_onboarding.rs
// Module: router
// Public submodules:
pub mod paypal;
| crates/router/src/core/connector_onboarding.rs | router | module_structure | null | null | null | 31 | null | null | null | null | null | 1 | 0 |
// Struct: Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentAuthorize, api::PaymentSync, api::PaymentVoid, api::PaymentCapture, api::PaymentSession, api::ConnectorAccessTok... | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | struct_definition | Aci | 17 | [
"ConnectorCommon",
"ConnectorValidation",
"api::Payment",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentVoid",
"api::PaymentCapture",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::PaymentToken",
"api::MandateSetup",
"api::Refund",
"api::RefundExecute",
"api::RefundS... | 122 | null | null | null | null | null | null | null |
// File: crates/router/src/utils/db_utils.rs
// Module: router
// Public functions: 2
use crate::{
core::errors::{self, utils::RedisErrorExt},
routes::metrics,
};
/// Generates hscan field pattern. Suppose the field is pa_1234_ref_1211 it will generate
/// pa_1234_ref_*
pub fn generate_hscan_pattern_for_refun... | crates/router/src/utils/db_utils.rs | router | full_file | null | null | null | 362 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Affirm
// File: crates/hyperswitch_connectors/src/connectors/affirm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Affirm | crates/hyperswitch_connectors/src/connectors/affirm.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Affirm | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Struct: RefundAggregateResponse
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundAggregateResponse | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundAggregateResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: delete_payment_intents
// File: crates/diesel_models/src/query/user/sample_data.rs
// Module: diesel_models
pub fn delete_payment_intents(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
) -> StorageResult<Vec<PaymentIntent>> | crates/diesel_models/src/query/user/sample_data.rs | diesel_models | function_signature | null | null | null | 67 | delete_payment_intents | null | null | null | null | null | null |
// Function: validate_payout_link_render_request_and_get_allowed_domains
// File: crates/router/src/core/payouts/validator.rs
// Module: router
pub fn validate_payout_link_render_request_and_get_allowed_domains(
request_headers: &header::HeaderMap,
payout_link: &PayoutLink,
) -> RouterResult<HashSet<String>> | crates/router/src/core/payouts/validator.rs | router | function_signature | null | null | null | 73 | validate_payout_link_render_request_and_get_allowed_domains | null | null | null | null | null | null |
// Struct: ProphetpayRouterData
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProphetpayRouterData<T> | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | struct_definition | ProphetpayRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorUpdate
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 1
pub struct MerchantConnectorUpdate | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantConnectorUpdate | 1 | [] | 35 | null | null | null | null | null | null | null |
// Function: update_merchant_active_algorithm_ref
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn update_merchant_active_algorithm_ref(
state: &SessionState,
key_store: &domain::MerchantKeyStore,
config_key: cache::CacheKind<'_>,
algorithm_id: routing_types::RoutingAlgorithm... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 81 | update_merchant_active_algorithm_ref | null | null | null | null | null | null |
// Struct: JuspaythreedsserverAuthType
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JuspaythreedsserverAuthType | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs | hyperswitch_connectors | struct_definition | JuspaythreedsserverAuthType | 0 | [] | 64 | null | null | null | null | null | null | null |
// Function: vault_payment_method
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn vault_payment_method(
state: &SessionState,
pmd: &domain::PaymentMethodVaultingData,
merchant_context: &domain::MerchantContext,
profile: &domain::Profile,
existing_vault_id: Option<domain:... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 116 | vault_payment_method | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: PlacetopayPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlacetopayPaymentsRequest | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs | hyperswitch_connectors | struct_definition | PlacetopayPaymentsRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentIncrementalAuthorization for for Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentIncrementalAuthorization for for Archipel | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Archipel | api::PaymentIncrementalAuthorization for | 0 | 0 | null | null |
// File: crates/router/src/db/authorization.rs
// Module: router
use diesel_models::authorization::AuthorizationUpdateInternal;
use error_stack::report;
use router_env::{instrument, tracing};
use super::{MockDb, Store};
use crate::{
connection,
core::errors::{self, CustomResult},
types::storage,
};
#[asy... | crates/router/src/db/authorization.rs | router | full_file | null | null | null | 1,173 | null | null | null | null | null | null | null |
// Implementation: impl NuveiTransactionSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl NuveiTransactionSyncResponse | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | NuveiTransactionSyncResponse | null | 1 | 1 | null | null |
// Struct: DeviceRenderOptions
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeviceRenderOptions | crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs | hyperswitch_connectors | struct_definition | DeviceRenderOptions | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutRecipient for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutRecipient for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Stripe | api::PayoutRecipient for | 0 | 0 | null | null |
// Function: payment_methods_session_update
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn payment_methods_session_update(
state: SessionState,
merchant_context: domain::MerchantContext,
payment_method_session_id: id_type::GlobalPaymentMethodSessionId,
request: payment_meth... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 86 | payment_methods_session_update | null | null | null | null | null | null |
// Function: as_bool
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn as_bool(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 33 | as_bool | null | null | null | null | null | null |
// Implementation: impl Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Moneris | null | 1 | 1 | null | null |
// Struct: TrustpaymentsRefundRequestData
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpaymentsRefundRequestData | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsRefundRequestData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: WisePayoutQuoteRequest
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WisePayoutQuoteRequest | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WisePayoutQuoteRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: ApplePayCertificatesMigrationResponse
// File: crates/api_models/src/apple_pay_certificates_migration.rs
// Module: api_models
// Implementations: 0
pub struct ApplePayCertificatesMigrationResponse | crates/api_models/src/apple_pay_certificates_migration.rs | api_models | struct_definition | ApplePayCertificatesMigrationResponse | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: AchVerification
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AchVerification | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | AchVerification | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Store
// File: crates/drainer/src/stream.rs
// Module: drainer
// Methods: 8 total (1 public)
impl Store | crates/drainer/src/stream.rs | drainer | impl_block | null | null | null | 34 | null | Store | null | 8 | 1 | null | null |
// File: crates/euclid/src/enums.rs
// Module: euclid
pub use common_enums::{
AuthenticationType, CaptureMethod, CardNetwork, Country, CountryAlpha2, Currency,
FutureUsage as SetupFutureUsage, PaymentMethod, PaymentMethodType, RoutableConnectors,
};
use strum::VariantNames;
pub trait CollectVariants {
fn ... | crates/euclid/src/enums.rs | euclid | full_file | null | null | null | 922 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Wellsfargopayout | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | impl_block | null | null | null | 69 | null | Wellsfargopayout | api::RefundExecute for | 0 | 0 | null | null |
// Struct: PaymentResponse
// File: crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentResponse | crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs | hyperswitch_connectors | struct_definition | PaymentResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: get_tenant
// File: crates/drainer/src/settings.rs
// Module: drainer
pub fn get_tenant(&self, tenant_id: &id_type::TenantId) -> Option<&Tenant> | crates/drainer/src/settings.rs | drainer | function_signature | null | null | null | 46 | get_tenant | null | null | null | null | null | null |
// Struct: AciErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciErrorResponse | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Config
// File: crates/router_env/src/logger/config.rs
// Module: router_env
// Methods: 5 total (5 public)
impl Config | crates/router_env/src/logger/config.rs | router_env | impl_block | null | null | null | 35 | null | Config | null | 5 | 5 | null | null |
// Struct: RazorpayWebhookPayload
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RazorpayWebhookPayload | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | RazorpayWebhookPayload | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: VoidBankTransaction
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoidBankTransaction | crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs | hyperswitch_connectors | struct_definition | VoidBankTransaction | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: BillwerkCustomerObject
// File: crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillwerkCustomerObject | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs | hyperswitch_connectors | struct_definition | BillwerkCustomerObject | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_default_customer_billing_address
// File: crates/api_models/src/customers.rs
// Module: api_models
pub fn get_default_customer_billing_address(&self) -> Option<payments::AddressDetails> | crates/api_models/src/customers.rs | api_models | function_signature | null | null | null | 45 | get_default_customer_billing_address | null | null | null | null | null | null |
// Function: check_two_factor_auth_status_with_attempts
// File: crates/router/src/core/user.rs
// Module: router
pub fn check_two_factor_auth_status_with_attempts(
state: SessionState,
user_token: auth::UserIdFromAuth,
) -> UserResponse<user_api::TwoFactorStatus> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 64 | check_two_factor_auth_status_with_attempts | null | null | null | null | null | null |
// Function: route_connector_v1_for_payouts
// File: crates/router/src/core/payments.rs
// Module: router
pub fn route_connector_v1_for_payouts(
state: &SessionState,
merchant_context: &domain::MerchantContext,
business_profile: &domain::Profile,
transaction_data: &payouts::PayoutData,
routing_data... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 114 | route_connector_v1_for_payouts | null | null | null | null | null | null |
// Struct: Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentV... | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | struct_definition | Custombilling | 17 | [
"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... | 125 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Mpgs | api::RefundSync for | 0 | 0 | null | null |
// File: crates/router/tests/connectors/utils.rs
// Module: router
// Public functions: 5
// Public structs: 11
use std::{fmt::Debug, marker::PhantomData, str::FromStr, sync::Arc, time::Duration};
use async_trait::async_trait;
use common_utils::{id_type::GenerateId, pii::Email};
use error_stack::Report;
use hyperswit... | crates/router/tests/connectors/utils.rs#chunk0 | router | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Struct: Gsm
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 2
pub struct Gsm | crates/router/src/routes/app.rs | router | struct_definition | Gsm | 2 | [] | 32 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Airwallex | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Airwallex | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Mifinity | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: RedsysSyncRequest
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedsysSyncRequest | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | RedsysSyncRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl IncomingWebhook for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Wise | IncomingWebhook for | 6 | 0 | null | null |
// File: crates/common_utils/src/transformers.rs
// Module: common_utils
//! Utilities for converting between foreign types
/// Trait for converting from one foreign type to another
pub trait ForeignFrom<F> {
/// Convert from a foreign type to the current type
fn foreign_from(from: F) -> Self;
}
/// Trait fo... | crates/common_utils/src/transformers.rs | common_utils | full_file | null | null | null | 138 | null | null | null | null | null | null | null |
// Function: payments_create_intent
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_create_intent() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 31 | payments_create_intent | null | null | null | null | null | null |
// Implementation: impl RequestBuilder for for RouterRequestBuilder
// File: crates/router/src/services/api/client.rs
// Module: router
// Methods: 6 total (0 public)
impl RequestBuilder for for RouterRequestBuilder | crates/router/src/services/api/client.rs | router | impl_block | null | null | null | 46 | null | RouterRequestBuilder | RequestBuilder for | 6 | 0 | null | null |
// Struct: SubscriptionCreateResponse
// File: crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SubscriptionCreateResponse | crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs | hyperswitch_domain_models | struct_definition | SubscriptionCreateResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: get_network_token
// File: crates/router/src/core/payment_methods/network_tokenization.rs
// Module: router
pub fn get_network_token(
state: &routes::SessionState,
customer_id: &id_type::GlobalCustomerId,
network_token_requestor_ref_id: String,
tokenization_service: &settings::NetworkToken... | crates/router/src/core/payment_methods/network_tokenization.rs | router | function_signature | null | null | null | 93 | get_network_token | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use base64::Engine;
use common_enums::enums;
use common_utils::{
consts::BASE64_ENGINE,
errors::CustomResult,
ext_traits::BytesExt,
req... | crates/hyperswitch_connectors/src/connectors/chargebee.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,178 | null | null | null | null | null | null | null |
// Struct: PayoutsMandateReference
// File: crates/hyperswitch_domain_models/src/mandates.rs
// Module: hyperswitch_domain_models
// Implementations: 2
// Traits: std::ops::Deref, std::ops::DerefMut
pub struct PayoutsMandateReference | crates/hyperswitch_domain_models/src/mandates.rs | hyperswitch_domain_models | struct_definition | PayoutsMandateReference | 2 | [
"std::ops::Deref",
"std::ops::DerefMut"
] | 69 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Gocardless | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Gocardless | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: JuspaythreedsserverPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JuspaythreedsserverPaymentsRequest | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs | hyperswitch_connectors | struct_definition | JuspaythreedsserverPaymentsRequest | 0 | [] | 64 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/aci/aci_result_codes.rs
// Module: hyperswitch_connectors
pub(super) const FAILURE_CODES: [&str; 502] = [
"100.370.100",
"100.370.110",
"100.370.111",
"100.380.100",
"100.380.101",
"100.380.110",
"100.380.201",
"100.380.305",
"10... | crates/hyperswitch_connectors/src/connectors/aci/aci_result_codes.rs | hyperswitch_connectors | full_file | null | null | null | 7,699 | null | null | null | null | null | null | null |
// Struct: RefundResponseData
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponseData | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponseData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl CardInfoMigrateExecutor
// File: crates/router/src/core/cards_info.rs
// Module: router
// Methods: 4 total (0 public)
impl CardInfoMigrateExecutor | crates/router/src/core/cards_info.rs | router | impl_block | null | null | null | 42 | null | CardInfoMigrateExecutor | null | 4 | 0 | null | null |
// Struct: WorldpayWebhookEventType
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WorldpayWebhookEventType | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | WorldpayWebhookEventType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: refresh_pm_filters_cache
// File: crates/router/src/core/payment_methods/utils.rs
// Module: router
pub fn refresh_pm_filters_cache(
state: &SessionState,
key: &str,
graph: cgraph::ConstraintGraph<dir::DirValue>,
) -> Arc<hyperswitch_constraint_graph::ConstraintGraph<dir::DirValue>> | crates/router/src/core/payment_methods/utils.rs | router | function_signature | null | null | null | 77 | refresh_pm_filters_cache | null | null | null | null | null | null |
// Function: get_profile_sdk_events
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_profile_sdk_events(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<api_models::analytics::sdk_events::SdkEventsRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 74 | get_profile_sdk_events | null | null | null | null | null | null |
// Trait: PaymentInitiationRecipientCreate
// File: crates/pm_auth/src/types/api/auth_service.rs
// Module: pm_auth
pub trait PaymentInitiationRecipientCreate: super::ConnectorIntegration<RecipientCreate, RecipientCreateRequest, RecipientCreateResponse> | crates/pm_auth/src/types/api/auth_service.rs | pm_auth | trait_definition | null | null | null | 54 | null | null | PaymentInitiationRecipientCreate | null | null | null | null |
// Struct: Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Re... | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | struct_definition | Payload | 17 | [
"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... | 123 | null | null | null | null | null | null | null |
// Function: count_initial_attempts_by_constraints
// File: crates/diesel_models/src/query/events.rs
// Module: diesel_models
pub fn count_initial_attempts_by_constraints(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
profile_id: Option<common_utils::id_type::ProfileId>,... | crates/diesel_models/src/query/events.rs | diesel_models | function_signature | null | null | null | 120 | count_initial_attempts_by_constraints | null | null | null | null | null | null |
// Struct: ClientRiskInformationRules
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientRiskInformationRules | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | ClientRiskInformationRules | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: Accept
// File: crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Accept | crates/hyperswitch_domain_models/src/router_flow_types/dispute.rs | hyperswitch_domain_models | struct_definition | Accept | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: validate_request_and_fetch_optional_customer
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
pub fn validate_request_and_fetch_optional_customer(
&self,
) -> RouterResult<Option<api::CustomerDetails>> | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | function_signature | null | null | null | 55 | validate_request_and_fetch_optional_customer | null | null | null | null | null | null |
// Struct: PlatformAccountCreateResponse
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct PlatformAccountCreateResponse | crates/api_models/src/user.rs | api_models | struct_definition | PlatformAccountCreateResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/router/src/db/user_authentication_method.rs
// Module: router
use diesel_models::user_authentication_method as storage;
use error_stack::report;
use router_env::{instrument, tracing};
use super::MockDb;
use crate::{
connection,
core::errors::{self, CustomResult},
services::Store,
};
#[asy... | crates/router/src/db/user_authentication_method.rs | router | full_file | null | null | null | 2,109 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Function: get_or_update_dispute_object
// File: crates/router/src/core/webhooks/incoming.rs
// Module: router
pub fn get_or_update_dispute_object(
state: SessionState,
option_dispute: Option<diesel_models::dispute::Dispute>,
dispute_details: api::disputes::DisputePayload,
merchant_id: &common_utils:... | crates/router/src/core/webhooks/incoming.rs | router | function_signature | null | null | null | 158 | get_or_update_dispute_object | null | null | null | null | null | null |
// Struct: ForteCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ForteCaptureResponse | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | ForteCaptureResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_key_type
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_key_type(key: &str) -> Result<String, String> | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 44 | get_key_type | null | null | null | null | null | null |
// File: crates/euclid/src/backend/interpreter.rs
// Module: euclid
// Public structs: 1
pub mod types;
use common_utils::types::MinorUnit;
use crate::{
backend::{self, inputs, EuclidBackend},
frontend::ast,
};
pub struct InterpreterBackend<O> {
program: ast::Program<O>,
}
impl<O> InterpreterBackend<O>... | crates/euclid/src/backend/interpreter.rs | euclid | full_file | null | null | null | 1,288 | null | null | null | null | null | null | null |
// Function: get_bank_account_connector_details
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn get_bank_account_connector_details(
pm: &domain::PaymentMethod,
) -> errors::RouterResult<Option<BankAccountTokenData>> | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 56 | get_bank_account_connector_details | 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.