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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// File: crates/router/src/services/api/client.rs
// Module: router
// Public functions: 2
// Public structs: 3
use std::time::Duration;
use common_utils::errors::ReportSwitchExt;
use error_stack::ResultExt;
pub use external_services::http_client::{self, client};
use http::{HeaderValue, Method};
use hyperswitch_inter... | crates/router/src/services/api/client.rs | router | full_file | null | null | null | 1,921 | null | null | null | null | null | null | null |
// Struct: Http400RequestDetailsLoggerMiddleware
// File: crates/router/src/middleware.rs
// Module: router
// Implementations: 0
pub struct Http400RequestDetailsLoggerMiddleware<S> | crates/router/src/middleware.rs | router | struct_definition | Http400RequestDetailsLoggerMiddleware | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/webhook_events.rs
// Module: router
// Public functions: 4
use actix_web::{web, HttpRequest, Responder};
use router_env::{instrument, tracing, Flow};
use crate::{
core::{api_locking, webhooks::webhook_events},
routes::AppState,
services::{
api,
authenticat... | crates/router/src/routes/webhook_events.rs | router | full_file | null | null | null | 1,159 | null | null | null | null | null | null | null |
// Struct: StripeConnectRecipientAccountCreateResponse
// File: crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripeConnectRecipientAccountCreateResponse | crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs | hyperswitch_connectors | struct_definition | StripeConnectRecipientAccountCreateResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Worldpayvantiv | ConnectorValidation for | 1 | 0 | null | null |
// File: crates/router/src/workflows/attach_payout_account_workflow.rs
// Module: router
// Public structs: 1
use common_utils::{
consts::DEFAULT_LOCALE,
ext_traits::{OptionExt, ValueExt},
};
use scheduler::{
consumer::{self, workflows::ProcessTrackerWorkflow},
errors,
};
use crate::{
core::payout... | crates/router/src/workflows/attach_payout_account_workflow.rs | router | full_file | null | null | null | 537 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Struct: PaymentMethodId
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodId | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodId | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: ProfileSetter
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ProfileSetter | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | struct_definition | ProfileSetter | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl RoutingAlgorithmUpdate
// File: crates/router/src/core/routing.rs
// Module: router
// Methods: 2 total (1 public)
impl RoutingAlgorithmUpdate | crates/router/src/core/routing.rs | router | impl_block | null | null | null | 38 | null | RoutingAlgorithmUpdate | null | 2 | 1 | null | null |
// Implementation: impl DynamicRoutingAlgoAccessor for for ContractRoutingAlgorithm
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 2 total (0 public)
impl DynamicRoutingAlgoAccessor for for ContractRoutingAlgorithm | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 53 | null | ContractRoutingAlgorithm | DynamicRoutingAlgoAccessor for | 2 | 0 | null | null |
// File: crates/analytics/src/active_payments/core.rs
// Module: analytics
// Public functions: 1
use std::collections::HashMap;
use api_models::analytics::{
active_payments::{
ActivePaymentsMetrics, ActivePaymentsMetricsBucketIdentifier, MetricsBucketResponse,
},
AnalyticsMetadata, GetActivePayme... | crates/analytics/src/active_payments/core.rs | analytics | full_file | null | null | null | 580 | null | null | null | null | null | null | null |
// Struct: MifinityPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MifinityPaymentsResponse | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs | hyperswitch_connectors | struct_definition | MifinityPaymentsResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/authentication.rs
// Module: router
// Public submodules:
pub mod transformers;
pub mod types;
| crates/router/src/core/authentication.rs | router | module_structure | null | null | null | 32 | null | null | null | null | null | 2 | 0 |
// Function: trigger_payouts_webhook
// File: crates/router/src/utils.rs
// Module: router
pub fn trigger_payouts_webhook(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payout_response: &api_models::payouts::PayoutCreateResponse,
) -> RouterResult<()> | crates/router/src/utils.rs | router | function_signature | null | null | null | 72 | trigger_payouts_webhook | null | null | null | null | null | null |
| PaymentType::Swish
| PaymentType::Knet
| PaymentType::Benefit
| PaymentType::PermataBankTransfer
| PaymentType::BcaBankTransfer
| PaymentType::BniVa
| PaymentType::BriVa
| PaymentType::CimbVa
| PaymentType::DanamonVa
| PaymentType::Giftca... | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs#chunk5 | hyperswitch_connectors | chunk | null | null | null | 8,184 | null | null | null | null | null | null | null |
// File: crates/router/src/db/user/theme.rs
// Module: router
use common_utils::types::user::ThemeLineage;
use diesel_models::user::theme::{self as storage, ThemeUpdate};
use error_stack::report;
use super::MockDb;
use crate::{
connection,
core::errors::{self, CustomResult},
services::Store,
};
#[async_t... | crates/router/src/db/user/theme.rs | router | full_file | null | null | null | 2,862 | null | null | null | null | null | null | null |
// Function: log_dispute
// File: crates/router/src/services/kafka.rs
// Module: router
pub fn log_dispute(
&self,
dispute: &Dispute,
old_dispute: Option<Dispute>,
tenant_id: TenantID,
) -> MQResult<()> | crates/router/src/services/kafka.rs | router | function_signature | null | null | null | 63 | log_dispute | null | null | null | null | null | null |
// Struct: RefundSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundSyncResponse | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | RefundSyncResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_surcharge_amount
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_surcharge_amount(&self) -> Option<MinorUnit> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 48 | get_surcharge_amount | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_trai... | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | full_file | null | null | null | 4,131 | null | null | null | null | null | null | null |
// Function: get_merchant_reference_id
// File: crates/api_models/src/customers.rs
// Module: api_models
pub fn get_merchant_reference_id(&self) -> Option<id_type::CustomerId> | crates/api_models/src/customers.rs | api_models | function_signature | null | null | null | 44 | get_merchant_reference_id | null | null | null | null | null | null |
// Function: filter_by_constraints
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn filter_by_constraints(
db: &dyn StorageInterface,
constraints: &api::PayoutListConstraints,
merchant_id: &id_type::MerchantId,
storage_scheme: storage::enums::MerchantStorageScheme,
) -> Custo... | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 90 | filter_by_constraints | null | null | null | null | null | null |
event_type: item.event_type,
event_class: item.event_class,
is_delivery_successful: item.is_overall_delivery_successful,
initial_attempt_id,
created: item.created_at,
})
}
}
#[cfg(feature = "olap")]
impl TryFrom<domain::Event> for api_models::webh... | crates/router/src/types/transformers.rs#chunk2 | router | chunk | null | null | null | 3,506 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl api::PaymentSession for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Vgs | api::PaymentSession for | 0 | 0 | null | null |
// Struct: Messages
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Messages | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | Messages | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Klarna | IncomingWebhook for | 3 | 0 | null | null |
// File: crates/router/src/types/storage/address.rs
// Module: router
pub use diesel_models::address::{Address, AddressNew, AddressUpdateInternal};
pub use crate::types::domain::AddressUpdate;
| crates/router/src/types/storage/address.rs | router | full_file | null | null | null | 43 | null | null | null | null | null | null | null |
// Struct: RevenueRecoveryMetadata
// File: crates/diesel_models/src/merchant_connector_account.rs
// Module: diesel_models
// Implementations: 0
pub struct RevenueRecoveryMetadata | crates/diesel_models/src/merchant_connector_account.rs | diesel_models | struct_definition | RevenueRecoveryMetadata | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl CardExpirationMonth
// File: crates/cards/src/lib.rs
// Module: cards
// Methods: 1 total (1 public)
impl CardExpirationMonth | crates/cards/src/lib.rs | cards | impl_block | null | null | null | 36 | null | CardExpirationMonth | null | 1 | 1 | null | null |
// Function: new
// File: crates/diesel_models/src/user/theme.rs
// Module: diesel_models
pub fn new(
theme_id: String,
theme_name: String,
lineage: ThemeLineage,
email_config: EmailThemeConfig,
) -> Self | crates/diesel_models/src/user/theme.rs | diesel_models | function_signature | null | null | null | 58 | new | null | null | null | null | null | null |
// Function: update_payment_method_data
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn update_payment_method_data(
&mut self,
payment_method_data: payment_method_data::PaymentMethodData,
) | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 58 | update_payment_method_data | null | null | null | null | null | null |
// Function: build
// File: crates/hyperswitch_constraint_graph/src/builder.rs
// Module: hyperswitch_constraint_graph
pub fn build(self) -> ConstraintGraph<V> | crates/hyperswitch_constraint_graph/src/builder.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 38 | build | null | null | null | null | null | null |
// Struct: Dispute
// File: crates/diesel_models/src/dispute.rs
// Module: diesel_models
// Implementations: 0
pub struct Dispute | crates/diesel_models/src/dispute.rs | diesel_models | struct_definition | Dispute | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl OrganizationNew
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl OrganizationNew | crates/diesel_models/src/organization.rs | diesel_models | impl_block | null | null | null | 38 | null | OrganizationNew | null | 1 | 1 | null | null |
// Struct: PaymeQueryTransactionResponse
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymeQueryTransactionResponse | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | PaymeQueryTransactionResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: retrieve_customer
// File: crates/router/src/core/customers.rs
// Module: router
pub fn retrieve_customer(
state: SessionState,
merchant_context: domain::MerchantContext,
id: id_type::GlobalCustomerId,
) -> errors::CustomerResponse<customers::CustomerResponse> | crates/router/src/core/customers.rs | router | function_signature | null | null | null | 63 | retrieve_customer | null | null | null | null | null | null |
// Function: get_merchant_fingerprint_secret
// File: crates/router/src/core/blocklist/utils.rs
// Module: router
pub fn get_merchant_fingerprint_secret(
state: &SessionState,
merchant_id: &common_utils::id_type::MerchantId,
) -> RouterResult<String> | crates/router/src/core/blocklist/utils.rs | router | function_signature | null | null | null | 63 | get_merchant_fingerprint_secret | null | null | null | null | null | null |
// Struct: PayoutDetails
// File: crates/euclid_wasm/src/types.rs
// Module: euclid_wasm
// Implementations: 0
pub struct PayoutDetails<'a> | crates/euclid_wasm/src/types.rs | euclid_wasm | struct_definition | PayoutDetails | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/cards_info.rs
// Module: router
// Public functions: 4
use actix_multipart::form::MultipartForm;
use actix_web::{web, HttpRequest, HttpResponse, Responder};
use api_models::cards_info as cards_info_api_types;
use router_env::{instrument, tracing, Flow};
use super::app::AppState;
use ... | crates/router/src/routes/cards_info.rs | router | full_file | null | null | null | 1,039 | null | null | null | null | null | null | null |
// Struct: SamsungPayPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SamsungPayPaymentInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | SamsungPayPaymentInformation | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: ListOrgsForUserResponse
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct ListOrgsForUserResponse | crates/api_models/src/user.rs | api_models | struct_definition | ListOrgsForUserResponse | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: SuccessBasedRoutingConfigBody
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 1
pub struct SuccessBasedRoutingConfigBody | crates/api_models/src/routing.rs | api_models | struct_definition | SuccessBasedRoutingConfigBody | 1 | [] | 40 | null | null | null | null | null | null | null |
// Struct: RSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RSyncResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | RSyncResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers.rs
// Module: hyperswitch_connectors
#[cfg(feature = "frm")]
pub mod api;
pub mod auth;
#[cfg(feature = "frm")]
pub use self::api::*;
pub use self::auth::*;
| crates/hyperswitch_connectors/src/connectors/riskified/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 63 | null | null | null | null | null | null | null |
// Struct: FraudCheckConnectorData
// File: crates/router/src/types/api/fraud_check.rs
// Module: router
// Implementations: 1
pub struct FraudCheckConnectorData | crates/router/src/types/api/fraud_check.rs | router | struct_definition | FraudCheckConnectorData | 1 | [] | 39 | null | null | null | null | null | null | null |
// Function: get_dispute_metrics
// File: crates/analytics/src/lib.rs
// Module: analytics
pub fn get_dispute_metrics(
&self,
metric: &DisputeMetrics,
dimensions: &[DisputeDimensions],
auth: &AuthInfo,
filters: &DisputeFilters,
granularity: Option<Granularity>,
t... | crates/analytics/src/lib.rs | analytics | function_signature | null | null | null | 102 | get_dispute_metrics | null | null | null | null | null | null |
// Struct: Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid,... | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | struct_definition | Hyperwallet | 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... | 126 | null | null | null | null | null | null | null |
// Struct: RazorpayRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RazorpayRefundResponse | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | RazorpayRefundResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: DigitalWallet
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DigitalWallet | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | DigitalWallet | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: SmithyGenerator
// File: crates/smithy-core/src/generator.rs
// Module: smithy-core
// Implementations: 2
// Traits: Default
// Documentation: Generator for creating Smithy IDL files from models
pub struct SmithyGenerator | crates/smithy-core/src/generator.rs | smithy-core | struct_definition | SmithyGenerator | 2 | [
"Default"
] | 58 | null | null | null | null | null | null | null |
// Struct: PeachpaymentsVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PeachpaymentsVoidRequest | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | struct_definition | PeachpaymentsVoidRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
/// This is an unique label you can generate and pass in order to identify this connector account on your Hyperswitch dashboard and reports, If not passed then if will take `connector_name`_`profile_name`. Eg: if your profile label is `default`, connector label can be `stripe_default`
#[schema(example = "strip... | crates/api_models/src/admin.rs#chunk1 | api_models | chunk | null | null | null | 8,178 | null | null | null | null | null | null | null |
// Function: get_or_create_customer_details
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn get_or_create_customer_details(
state: &SessionState,
customer_details: &CustomerDetails,
merchant_context: &domain::MerchantContext,
) -> RouterResult<Option<domain::Customer>> | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 70 | get_or_create_customer_details | null | null | null | null | null | null |
// File: crates/router/src/core/verification.rs
// Module: router
// Public functions: 2
pub mod utils;
use api_models::verifications::{self, ApplepayMerchantResponse};
use common_utils::{errors::CustomResult, request::RequestContent};
use error_stack::ResultExt;
use masking::ExposeInterface;
use crate::{core::errors... | crates/router/src/core/verification.rs | router | full_file | null | null | null | 1,021 | null | null | null | null | null | null | null |
// File: crates/pm_auth/src/connector.rs
// Module: pm_auth
pub mod plaid;
pub use self::plaid::Plaid;
| crates/pm_auth/src/connector.rs | pm_auth | full_file | null | null | null | 32 | null | null | null | null | null | null | null |
// Struct: UasAuthenticationRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct UasAuthenticationRequestData | crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs | hyperswitch_domain_models | struct_definition | UasAuthenticationRequestData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Stripe | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Checkbook | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Checkbook | api::RefundSync for | 0 | 0 | null | null |
// Function: new
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn new(payment_attempt_id: String) -> Self | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 33 | new | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Bluecode
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Bluecode | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Bluecode | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl NewUserMerchant
// File: crates/router/src/types/domain/user.rs
// Module: router
// Methods: 9 total (4 public)
impl NewUserMerchant | crates/router/src/types/domain/user.rs | router | impl_block | null | null | null | 38 | null | NewUserMerchant | null | 9 | 4 | null | null |
// Function: from_storage
// File: crates/router/src/services/kafka/fraud_check_event.rs
// Module: router
pub fn from_storage(check: &'a FraudCheck) -> Self | crates/router/src/services/kafka/fraud_check_event.rs | router | function_signature | null | null | null | 39 | from_storage | null | null | null | null | null | null |
// File: crates/router/tests/connectors/tokenio.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
s... | crates/router/tests/connectors/tokenio.rs | router | full_file | null | null | null | 2,930 | null | null | null | null | null | null | null |
// Function: get_vault_response_for_insert_payment_method_data
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn get_vault_response_for_insert_payment_method_data<F>(
router_data: VaultRouterData<F>,
) -> RouterResult<pm_types::AddVaultResponse> | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 63 | get_vault_response_for_insert_payment_method_data | null | null | null | null | null | null |
// Struct: EventDetails
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EventDetails | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | EventDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/external_services/src/file_storage.rs
// Module: external_services
// Public functions: 2
// Public structs: 1
//! Module for managing file storage operations with support for multiple storage schemes.
use std::{
fmt::{Display, Formatter},
sync::Arc,
};
use common_utils::errors::CustomResult;... | crates/external_services/src/file_storage.rs | external_services | full_file | null | null | null | 726 | null | null | null | null | null | null | null |
// Struct: ProcessorResponseDetails
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProcessorResponseDetails | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | ProcessorResponseDetails | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: Amount
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Amount | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | Amount | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: get_redis_connection_for_global_tenant
// File: crates/router/src/utils/user.rs
// Module: router
pub fn get_redis_connection_for_global_tenant(
state: &SessionState,
) -> UserResult<Arc<RedisConnectionPool>> | crates/router/src/utils/user.rs | router | function_signature | null | null | null | 54 | get_redis_connection_for_global_tenant | null | null | null | null | null | null |
// File: crates/analytics/src/active_payments/accumulator.rs
// Module: analytics
// Public functions: 1
// Public structs: 2
use api_models::analytics::active_payments::ActivePaymentsMetricsBucketValue;
use super::metrics::ActivePaymentsMetricRow;
#[derive(Debug, Default)]
pub struct ActivePaymentsMetricsAccumulato... | crates/analytics/src/active_payments/accumulator.rs | analytics | full_file | null | null | null | 345 | null | null | null | null | null | null | null |
// Function: validate_payment_method_update
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn validate_payment_method_update(
_card_updation_obj: CardDetailUpdate,
_existing_card_data: api::CardDetailFromLocker,
) -> bool | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 59 | validate_payment_method_update | null | null | null | null | null | null |
// Struct: NuveiTransactionSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct NuveiTransactionSyncResponse | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiTransactionSyncResponse | 1 | [] | 55 | null | null | null | null | null | null | null |
// Struct: Metadata
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Metadata | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | Metadata | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: update_with_attempt_id
// File: crates/diesel_models/src/query/fraud_check.rs
// Module: diesel_models
pub fn update_with_attempt_id(
self,
conn: &PgPooledConn,
fraud_check: FraudCheckUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/fraud_check.rs | diesel_models | function_signature | null | null | null | 62 | update_with_attempt_id | null | null | null | null | null | null |
// Function: is_refund_event
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
pub fn is_refund_event(event_code: &WebhookEventType) -> bool | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 53 | is_refund_event | null | null | null | null | null | null |
// Struct: PlaidBankAccountCredentialsRequest
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidBankAccountCredentialsRequest | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidBankAccountCredentialsRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Razorpay | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl DummyConnectors
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Methods: 1 total (1 public)
impl DummyConnectors | crates/router/src/routes/dummy_connector/types.rs | router | impl_block | null | null | null | 40 | null | DummyConnectors | null | 1 | 1 | null | null |
// Implementation: impl CycleCheck
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (1 public)
impl CycleCheck | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 42 | null | CycleCheck | null | 1 | 1 | null | null |
// Function: retrieve_payment_method
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn retrieve_payment_method(
state: SessionState,
pm: api::PaymentMethodId,
merchant_context: domain::MerchantContext,
) -> RouterResponse<api::PaymentMethodResponse> | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 64 | retrieve_payment_method | null | null | null | null | null | null |
// Struct: AuthEventFilterRow
// File: crates/analytics/src/auth_events/filters.rs
// Module: analytics
// Implementations: 0
pub struct AuthEventFilterRow | crates/analytics/src/auth_events/filters.rs | analytics | struct_definition | AuthEventFilterRow | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: ListProfilesForUserInOrgAndMerchantAccountResponse
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct ListProfilesForUserInOrgAndMerchantAccountResponse | crates/api_models/src/user.rs | api_models | struct_definition | ListProfilesForUserInOrgAndMerchantAccountResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: list_initial_webhook_delivery_attempts_with_jwtauth
// File: crates/openapi/src/routes/webhook_events.rs
// Module: openapi
pub fn list_initial_webhook_delivery_attempts_with_jwtauth() | crates/openapi/src/routes/webhook_events.rs | openapi | function_signature | null | null | null | 48 | list_initial_webhook_delivery_attempts_with_jwtauth | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Facilitapay | api::PaymentSession for | 0 | 0 | null | null |
// Function: vault_payment_method_internal
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn vault_payment_method_internal(
state: &SessionState,
pmd: &domain::PaymentMethodVaultingData,
merchant_context: &domain::MerchantContext,
existing_vault_id: Option<domain::VaultId>,
... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 97 | vault_payment_method_internal | null | null | null | null | null | null |
// Function: generate_fingerprint
// File: crates/router/src/core/card_testing_guard/utils.rs
// Module: router
pub fn generate_fingerprint(
payment_method_data: Option<&api_models::payments::PaymentMethodData>,
business_profile: &domain::Profile,
) -> RouterResult<Secret<String>> | crates/router/src/core/card_testing_guard/utils.rs | router | function_signature | null | null | null | 64 | generate_fingerprint | null | null | null | null | null | null |
&(state.into()),
merchant_context.get_merchant_key_store(),
payment_method,
pm_update,
merchant_context.get_merchant_account().storage_scheme,
)
.await
.change_context(errors::ApiErrorResponse::InternalSe... | crates/router/src/core/payment_methods.rs#chunk1 | router | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Datatrans | api::RefundExecute for | 0 | 0 | null | null |
// Struct: Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund... | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | struct_definition | Paytm | 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 |
// Function: validate
// File: crates/drainer/src/settings.rs
// Module: drainer
pub fn validate(&self) -> Result<(), errors::DrainerError> | crates/drainer/src/settings.rs | drainer | function_signature | null | null | null | 36 | validate | null | null | null | null | null | null |
// Struct: WebhookTransformData
// File: crates/router/src/core/unified_connector_service/transformers.rs
// Module: router
// Implementations: 0
pub struct WebhookTransformData | crates/router/src/core/unified_connector_service/transformers.rs | router | struct_definition | WebhookTransformData | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: ApplepayPaymentMethod
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplepayPaymentMethod | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | ApplepayPaymentMethod | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: SubmitSingleCaptureResult
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SubmitSingleCaptureResult | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | SubmitSingleCaptureResult | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Katapult
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Katapult | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Katapult | ConnectorCommon for | 6 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: StripeSetupIntentRequest
// File: crates/router/src/compatibility/stripe/setup_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripeSetupIntentRequest | crates/router/src/compatibility/stripe/setup_intents/types.rs | router | struct_definition | StripeSetupIntentRequest | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: PaypalIncrementalAuthResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalIncrementalAuthResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalIncrementalAuthResponse | 0 | [] | 51 | null | 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.