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: PaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsRequest | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsRequest | 0 | [] | 45 | null | null | null | null | null | null | null |
// Trait: PayoutsInterface
// File: crates/hyperswitch_domain_models/src/payouts/payouts.rs
// Module: hyperswitch_domain_models
pub trait PayoutsInterface | crates/hyperswitch_domain_models/src/payouts/payouts.rs | hyperswitch_domain_models | trait_definition | null | null | null | 41 | null | null | PayoutsInterface | null | null | null | null |
// Function: get_payapl_webhooks_event
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
pub fn get_payapl_webhooks_event(
event: PaypalWebhookEventType,
outcome: Option<OutcomeCode>,
) -> IncomingWebhookEvent | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 69 | get_payapl_webhooks_event | null | null | null | null | null | null |
// Struct: CybersourceAuthSetupRequest
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceAuthSetupRequest | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceAuthSetupRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
pub fn server(state: routes::AppState) -> Scope | crates/router/src/compatibility/stripe/app.rs | router | function_signature | null | null | null | 35 | server | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Noon
// File: crates/hyperswitch_connectors/src/connectors/noon.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl webhooks::IncomingWebhook for for Noon | crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Noon | webhooks::IncomingWebhook for | 6 | 0 | null | null |
// Function: list_routing_configs
// File: crates/openapi/src/routes/routing.rs
// Module: openapi
pub fn list_routing_configs() | crates/openapi/src/routes/routing.rs | openapi | function_signature | null | null | null | 31 | list_routing_configs | null | null | null | null | null | null |
// Function: update_by_merchant_id_customer_id
// File: crates/diesel_models/src/query/address.rs
// Module: diesel_models
pub fn update_by_merchant_id_customer_id(
conn: &PgPooledConn,
customer_id: &common_utils::id_type::CustomerId,
merchant_id: &common_utils::id_type::MerchantId,
add... | crates/diesel_models/src/query/address.rs | diesel_models | function_signature | null | null | null | 90 | update_by_merchant_id_customer_id | null | null | null | null | null | null |
// Struct: CustomerUpdateRequest
// File: crates/api_models/src/customers.rs
// Module: api_models
// Implementations: 2
pub struct CustomerUpdateRequest | crates/api_models/src/customers.rs | api_models | struct_definition | CustomerUpdateRequest | 2 | [] | 36 | null | null | null | null | null | null | null |
// Struct: FrmMetricsBucketValue
// File: crates/api_models/src/analytics/frm.rs
// Module: api_models
// Implementations: 0
pub struct FrmMetricsBucketValue | crates/api_models/src/analytics/frm.rs | api_models | struct_definition | FrmMetricsBucketValue | 0 | [] | 40 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/masking/src/serde.rs
// Module: masking
// Public exports:
pub use erased_serde::Serialize as ErasedSerialize;
pub use serde::{de, Deserialize, Serialize, Serializer};
| crates/masking/src/serde.rs | masking | module_structure | null | null | null | 48 | null | null | null | null | null | 0 | 2 |
// Function: apple_pay_merchant_registration
// File: crates/router/src/routes/verification.rs
// Module: router
pub fn apple_pay_merchant_registration(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<verifications::ApplepayMerchantVerificationRequest>,
path: web::Path<common_util... | crates/router/src/routes/verification.rs | router | function_signature | null | null | null | 85 | apple_pay_merchant_registration | null | null | null | null | null | null |
// Function: internal_payments_operation_core
// File: crates/router/src/core/payments.rs
// Module: router
pub fn internal_payments_operation_core<F, Req, Op, FData, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: &domain::Profile,
operation: Op,
... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 364 | internal_payments_operation_core | null | null | null | null | null | null |
// Function: store_payout_method_data_in_locker
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn store_payout_method_data_in_locker(
state: &routes::SessionState,
token_id: Option<String>,
payout_method: &api::PayoutMethodData,
customer_id: Option<id_typ... | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 99 | store_payout_method_data_in_locker | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Datatrans | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: payment_method_session_create
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn payment_method_session_create() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 33 | payment_method_session_create | null | null | null | null | null | null |
// Struct: StripePayoutResponse
// File: crates/router/src/compatibility/stripe/webhooks.rs
// Module: router
// Implementations: 0
pub struct StripePayoutResponse | crates/router/src/compatibility/stripe/webhooks.rs | router | struct_definition | StripePayoutResponse | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: AddAcceptLanguageHeader
// File: crates/router/src/middleware.rs
// Module: router
// Implementations: 0
// Documentation: Middleware for Adding Accept-Language header based on query params
pub struct AddAcceptLanguageHeader | crates/router/src/middleware.rs | router | struct_definition | AddAcceptLanguageHeader | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: delete_decision_manager_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn delete_decision_manager_config(
state: web::Data<AppState>,
req: HttpRequest,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 50 | delete_decision_manager_config | null | null | null | null | null | null |
// Struct: CardResponseObject
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardResponseObject | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | CardResponseObject | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: validate_adyen_charge_refund
// File: crates/router/src/core/utils/refunds_validator.rs
// Module: router
pub fn validate_adyen_charge_refund(
adyen_split_payment_response: &common_types::domain::AdyenSplitData,
adyen_split_refund_request: &common_types::domain::AdyenSplitData,
) -> RouterResult<(... | crates/router/src/core/utils/refunds_validator.rs | router | function_signature | null | null | null | 81 | validate_adyen_charge_refund | null | null | null | null | null | null |
// File: crates/common_enums/src/enums/ui.rs
// Module: common_enums
use std::fmt;
use serde::{de::Visitor, Deserialize, Deserializer, Serialize};
use utoipa::ToSchema;
#[derive(
Clone,
Copy,
Debug,
Default,
Eq,
Hash,
PartialEq,
Serialize,
Deserialize,
strum::Display,
stru... | crates/common_enums/src/enums/ui.rs | common_enums | full_file | null | null | null | 1,107 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, RequestBuilder, RequestCont... | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | full_file | null | null | null | 4,866 | null | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/bluesnap_wh_ui.rs
// Module: test_utils
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct BluesnapSeleniumTest;
impl SeleniumTest for BluesnapSeleniumTest {
fn get_connector_name(&self) -> String {
"bluesnap".to_string()
}
}... | crates/test_utils/tests/connectors/bluesnap_wh_ui.rs | test_utils | full_file | null | null | null | 211 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for HyperswitchVault
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorSpecifications for for HyperswitchVault | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | HyperswitchVault | ConnectorSpecifications for | 1 | 0 | null | null |
// Implementation: impl api::PaymentSync for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nomupay | api::PaymentSync for | 0 | 0 | null | null |
// Function: find_by_merchant_id_merchant_connector_id
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn find_by_merchant_id_merchant_connector_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
merchant_connector_id: &c... | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 92 | find_by_merchant_id_merchant_connector_id | null | null | null | null | null | null |
// Struct: StaxRouterData
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StaxRouterData<T> | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | struct_definition | StaxRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: MifinityPsyncPayload
// File: crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MifinityPsyncPayload | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs | hyperswitch_connectors | struct_definition | MifinityPsyncPayload | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: LabelWithBucketNameEventRequest
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct LabelWithBucketNameEventRequest | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | LabelWithBucketNameEventRequest | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Powertranz
// File: crates/hyperswitch_connectors/src/connectors/powertranz.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Powertranz | crates/hyperswitch_connectors/src/connectors/powertranz.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Powertranz | api::PaymentSync for | 0 | 0 | null | null |
// Struct: FraudCheckFulfillmentData
// File: crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct FraudCheckFulfillmentData | crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs | hyperswitch_domain_models | struct_definition | FraudCheckFulfillmentData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: StripeConnectPayoutCreateResponse
// File: crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripeConnectPayoutCreateResponse | crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs | hyperswitch_connectors | struct_definition | StripeConnectPayoutCreateResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: is_success
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_success(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 33 | is_success | null | null | null | null | null | null |
// File: crates/router/src/types/storage/customers.rs
// Module: router
pub use diesel_models::customers::{Customer, CustomerNew, CustomerUpdateInternal};
#[cfg(feature = "v2")]
pub use crate::types::domain::CustomerGeneralUpdate;
pub use crate::types::domain::CustomerUpdate;
| crates/router/src/types/storage/customers.rs | router | full_file | null | null | null | 64 | null | null | null | null | null | null | null |
// Struct: RouterDataV2
// File: crates/hyperswitch_domain_models/src/router_data_v2.rs
// Module: hyperswitch_domain_models
// Implementations: 1
// Traits: Deref
pub struct RouterDataV2<Flow, ResourceCommonData, FlowSpecificRequest, FlowSpecificResponse> | crates/hyperswitch_domain_models/src/router_data_v2.rs | hyperswitch_domain_models | struct_definition | RouterDataV2 | 1 | [
"Deref"
] | 67 | null | null | null | null | null | null | null |
// Function: get_frm_metrics_info
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_frm_metrics_info() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 36 | get_frm_metrics_info | null | null | null | null | null | null |
merchant_context.get_merchant_key_store(),
Some(&profile_id),
merchant_context.get_merchant_account().get_id(),
)
.await?;
match business_profile {
Some(business_profile) => {
core_utils::validate_profile_id_from_auth_layer(
authentication_profile... | crates/router/src/core/routing.rs#chunk1 | router | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Paysafe | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl GpayTokenizationData
// File: crates/common_types/src/payments.rs
// Module: common_types
// Methods: 3 total (3 public)
impl GpayTokenizationData | crates/common_types/src/payments.rs | common_types | impl_block | null | null | null | 43 | null | GpayTokenizationData | null | 3 | 3 | null | null |
// Function: clone_connector
// File: crates/router/src/routes/user.rs
// Module: router
pub fn clone_connector(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<user_api::CloneConnectorRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 58 | clone_connector | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Forte | api::RefundExecute for | 0 | 0 | null | null |
// Function: update_from_request
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn update_from_request(self, req: &api_models::payments::AmountDetailsUpdate) -> Self | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 51 | update_from_request | null | null | null | null | null | null |
// Struct: ErrorData
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorData | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | ErrorData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Trait: AuthServiceConnector
// File: crates/pm_auth/src/types/api.rs
// Module: pm_auth
pub trait AuthServiceConnector: AuthService + Send + Debug + PaymentInitiation | crates/pm_auth/src/types/api.rs | pm_auth | trait_definition | null | null | null | 37 | null | null | AuthServiceConnector | null | null | null | null |
// Implementation: impl ExchangeRates
// File: crates/currency_conversion/src/types.rs
// Module: currency_conversion
// Methods: 3 total (3 public)
impl ExchangeRates | crates/currency_conversion/src/types.rs | currency_conversion | impl_block | null | null | null | 37 | null | ExchangeRates | null | 3 | 3 | 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 |
// Implementation: impl ConnectorPostAuthentication for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorPostAuthentication for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Gpayments | ConnectorPostAuthentication for | 0 | 0 | null | null |
// Function: api_key_revoke
// File: crates/router/src/routes/api_keys.rs
// Module: router
pub fn api_key_revoke(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<(
common_utils::id_type::MerchantId,
common_utils::id_type::ApiKeyId,
) | crates/router/src/routes/api_keys.rs | router | function_signature | null | null | null | 75 | api_key_revoke | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/revenue_recovery.rs
// Module: hyperswitch_domain_models
// Public functions: 1
// Public structs: 4
use api_models::{payments as api_payments, webhooks};
use common_enums::enums as common_enums;
use common_types::primitive_wrappers;
use common_utils::{id_type, pii, types ... | crates/hyperswitch_domain_models/src/revenue_recovery.rs | hyperswitch_domain_models | full_file | null | null | null | 2,772 | null | null | null | null | null | null | null |
// Struct: PayoutAttemptUpdateInternal
// File: crates/diesel_models/src/payout_attempt.rs
// Module: diesel_models
// Implementations: 1
// Traits: Default
pub struct PayoutAttemptUpdateInternal | crates/diesel_models/src/payout_attempt.rs | diesel_models | struct_definition | PayoutAttemptUpdateInternal | 1 | [
"Default"
] | 47 | null | null | null | null | null | null | null |
// Struct: PaymentMethodType
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Implementations: 0
pub struct PaymentMethodType | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | PaymentMethodType | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl WebhookEvents
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl WebhookEvents | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 37 | null | WebhookEvents | null | 1 | 1 | null | null |
// Function: get_updated_vault_data
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn get_updated_vault_data(
existing_vault_data: Option<&Self>,
payment_method_data: &payment_method_data::PaymentMethodData,
) -> Option<Self> | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 70 | get_updated_vault_data | null | null | null | null | null | null |
// Struct: Multitenancy
// File: crates/drainer/src/settings.rs
// Module: drainer
// Implementations: 1
pub struct Multitenancy | crates/drainer/src/settings.rs | drainer | struct_definition | Multitenancy | 1 | [] | 35 | null | null | null | null | null | null | null |
// Function: update
// File: crates/diesel_models/src/query/payouts.rs
// Module: diesel_models
pub fn update(
self,
conn: &PgPooledConn,
payout_update: PayoutsUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/payouts.rs | diesel_models | function_signature | null | null | null | 57 | update | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Redsys
// File: crates/hyperswitch_connectors/src/connectors/redsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Redsys | crates/hyperswitch_connectors/src/connectors/redsys.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Redsys | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Struct: Violations
// File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Violations | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs | hyperswitch_connectors | struct_definition | Violations | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Deref for for DisputePollingIntervalInHours
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl Deref for for DisputePollingIntervalInHours | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 57 | null | DisputePollingIntervalInHours | Deref for | 1 | 0 | null | null |
// Struct: MandatePaymentRequest
// File: crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandatePaymentRequest | crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs | hyperswitch_connectors | struct_definition | MandatePaymentRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: number_of_digits_after_decimal_point
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn number_of_digits_after_decimal_point(self) -> u8 | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 42 | number_of_digits_after_decimal_point | null | null | null | null | null | null |
// Function: get_filters_for_disputes
// File: crates/router/src/core/disputes.rs
// Module: router
pub fn get_filters_for_disputes(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<common_utils::id_type::ProfileId>>,
) -> RouterResponse<api_models::disputes::Disp... | crates/router/src/core/disputes.rs | router | function_signature | null | null | null | 85 | get_filters_for_disputes | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Katapult
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Katapult | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Katapult | api::PaymentToken for | 0 | 0 | null | null |
// Function: api_key_retrieve
// File: crates/router/src/routes/api_keys.rs
// Module: router
pub fn api_key_retrieve(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<(
common_utils::id_type::MerchantId,
common_utils::id_type::ApiKeyId,
) | crates/router/src/routes/api_keys.rs | router | function_signature | null | null | null | 75 | api_key_retrieve | null | null | null | null | null | null |
// File: crates/router/src/services/authorization/permission_groups.rs
// Module: router
use std::{collections::HashMap, ops::Not};
use common_enums::{EntityType, ParentGroup, PermissionGroup, PermissionScope, Resource};
use strum::IntoEnumIterator;
use super::permissions::{self, ResourceExt};
pub trait PermissionG... | crates/router/src/services/authorization/permission_groups.rs | router | full_file | null | null | null | 1,786 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id_connector_name
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn find_by_merchant_id_connector_name(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
connector_name: &str,
) -> StorageR... | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 80 | find_by_merchant_id_connector_name | null | null | null | null | null | null |
// Struct: BankAccountIban
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankAccountIban | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | BankAccountIban | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/gpayments.rs
// Module: router
use router::types;
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
#[allow(dead_code)]
struct GpaymentsTest;
impl ConnectorActions for GpaymentsTest {}
impl utils::Connector for GpaymentsTest {
... | crates/router/tests/connectors/gpayments.rs | router | full_file | null | null | null | 230 | null | null | null | null | null | null | null |
// Struct: BankOfAmericaPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaPaymentsRequest | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaPaymentsRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/metrics.rs
// Module: storage_impl
use router_env::{counter_metric, gauge_metric, global_meter};
global_meter!(GLOBAL_METER, "ROUTER_API");
counter_metric!(KV_MISS, GLOBAL_METER); // No. of KV misses
// Metrics for KV
counter_metric!(KV_OPERATION_SUCCESSFUL, GLOBAL_METER);
counter_m... | crates/storage_impl/src/metrics.rs | storage_impl | full_file | null | null | null | 192 | null | null | null | null | null | null | null |
// Struct: MandateRevokeFlowData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct MandateRevokeFlowData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | MandateRevokeFlowData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Thunes
// File: crates/hyperswitch_connectors/src/connectors/thunes.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Thunes | crates/hyperswitch_connectors/src/connectors/thunes.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Thunes | ConnectorSpecifications for | 3 | 0 | null | null |
// Trait: PaymentIntentFilterAnalytics
// File: crates/analytics/src/payment_intents/filters.rs
// Module: analytics
pub trait PaymentIntentFilterAnalytics: LoadRow<PaymentIntentFilterRow> | crates/analytics/src/payment_intents/filters.rs | analytics | trait_definition | null | null | null | 42 | null | null | PaymentIntentFilterAnalytics | null | null | null | null |
// Implementation: impl auth_service::AuthServiceLinkToken for for Plaid
// File: crates/pm_auth/src/connector/plaid.rs
// Module: pm_auth
// Methods: 0 total (0 public)
impl auth_service::AuthServiceLinkToken for for Plaid | crates/pm_auth/src/connector/plaid.rs | pm_auth | impl_block | null | null | null | 55 | null | Plaid | auth_service::AuthServiceLinkToken for | 0 | 0 | null | null |
// Struct: AirwallexPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexPaymentsRequest | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexPaymentsRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: RefundDistributionRow
// File: crates/analytics/src/refunds/distribution.rs
// Module: analytics
// Implementations: 0
pub struct RefundDistributionRow | crates/analytics/src/refunds/distribution.rs | analytics | struct_definition | RefundDistributionRow | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: get_sdk_event_metrics
// File: crates/analytics/src/lib.rs
// Module: analytics
pub fn get_sdk_event_metrics(
&self,
metric: &SdkEventMetrics,
dimensions: &[SdkEventDimensions],
publishable_key: &str,
filters: &SdkEventFilters,
granularity: Option<Granularit... | crates/analytics/src/lib.rs | analytics | function_signature | null | null | null | 104 | get_sdk_event_metrics | null | null | null | null | null | null |
get_id_type_by_key_from_headers(headers::X_PROFILE_ID.to_string(), request_headers)?
.get_required_value(headers::X_PROFILE_ID)?;
let key_store = state
.store()
.get_merchant_key_store_by_merchant_id(
key_manager_state,
&merchan... | crates/router/src/services/authentication.rs#chunk2 | router | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// Struct: ChannelProperties
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChannelProperties | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | ChannelProperties | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: list_blocklist_entries
// File: crates/router/src/core/blocklist.rs
// Module: router
pub fn list_blocklist_entries(
state: SessionState,
merchant_context: domain::MerchantContext,
query: api_blocklist::ListBlocklistQuery,
) -> RouterResponse<Vec<api_blocklist::BlocklistResponse>> | crates/router/src/core/blocklist.rs | router | function_signature | null | null | null | 72 | list_blocklist_entries | null | null | null | null | null | null |
// File: crates/router/src/routes/user/theme.rs
// Module: router
// Public functions: 13
use actix_multipart::form::MultipartForm;
use actix_web::{web, HttpRequest, HttpResponse};
use api_models::user::theme as theme_api;
use common_utils::types::user::ThemeLineage;
use masking::Secret;
use router_env::Flow;
use cra... | crates/router/src/routes/user/theme.rs | router | full_file | null | null | null | 2,083 | null | null | null | null | null | null | null |
// Implementation: impl Chargebee
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Chargebee | crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Chargebee | null | 1 | 1 | null | null |
// Implementation: impl ContractBasedRoutingConfigBody
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl ContractBasedRoutingConfigBody | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 43 | null | ContractBasedRoutingConfigBody | null | 1 | 1 | null | null |
// Struct: MerchantInformation
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantInformation | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | struct_definition | MerchantInformation | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl FlattenedPaymentMethodsEnabled
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl FlattenedPaymentMethodsEnabled | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | impl_block | null | null | null | 53 | null | FlattenedPaymentMethodsEnabled | null | 1 | 1 | null | null |
// Struct: Products
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Products | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | Products | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: retrieve_routing_config_under_profile
// File: crates/router/src/core/routing.rs
// Module: router
pub fn retrieve_routing_config_under_profile(
state: SessionState,
merchant_context: domain::MerchantContext,
query_params: RoutingRetrieveQuery,
profile_id: common_utils::id_type::ProfileId,... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 93 | retrieve_routing_config_under_profile | null | null | null | null | null | null |
// Struct: PaystackErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaystackErrorResponse | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | struct_definition | PaystackErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: ErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorDetails | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | ErrorDetails | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: NexixpayErrorBody
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexixpayErrorBody | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | NexixpayErrorBody | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/blocklist_lookup.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<BlocklistLookup> | crates/diesel_models/src/query/blocklist_lookup.rs | diesel_models | function_signature | null | null | null | 45 | insert | null | null | null | null | null | null |
// Function: cors
// File: crates/router/src/cors.rs
// Module: router
pub fn cors(config: settings::CorsSettings) -> actix_cors::Cors | crates/router/src/cors.rs | router | function_signature | null | null | null | 37 | cors | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs
// Module: hyperswitch_domain_models
// Public structs: 5
use api_models::payments::Address;
use common_utils::id_type;
use crate::connector_endpoints;
#[derive(Debug, Clone)]
pub struct SubscriptionItem {
pub item_price_id: Stri... | crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs | hyperswitch_domain_models | full_file | null | null | null | 256 | null | null | null | null | null | null | null |
// Struct: NetworkTokenDetailsPaymentMethod
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct NetworkTokenDetailsPaymentMethod | crates/api_models/src/payment_methods.rs | api_models | struct_definition | NetworkTokenDetailsPaymentMethod | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: build
// File: crates/payment_methods/src/core/migration.rs
// Module: payment_methods
pub fn build(self) -> RecordMigrationStatus | crates/payment_methods/src/core/migration.rs | payment_methods | function_signature | null | null | null | 32 | build | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Boku
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Boku | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Boku | api::RefundExecute for | 0 | 0 | null | null |
// Struct: PaypalSdkData
// File: crates/connector_configs/src/common_config.rs
// Module: connector_configs
// Implementations: 0
pub struct PaypalSdkData | crates/connector_configs/src/common_config.rs | connector_configs | struct_definition | PaypalSdkData | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl MultipleCaptureData
// File: crates/router/src/core/payments/types.rs
// Module: router
// Methods: 15 total (15 public)
impl MultipleCaptureData | crates/router/src/core/payments/types.rs | router | impl_block | null | null | null | 41 | null | MultipleCaptureData | null | 15 | 15 | null | null |
// Module Structure
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Public submodules:
pub mod authentication;
pub mod fraud_check;
pub mod revenue_recovery;
pub mod subscriptions;
pub mod unified_authentication_service;
| crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | module_structure | null | null | null | 57 | null | null | null | null | null | 5 | 0 |
// File: crates/router/src/connection.rs
// Module: router
// Public functions: 5
use bb8::PooledConnection;
use diesel::PgConnection;
use error_stack::ResultExt;
use storage_impl::errors as storage_errors;
use crate::errors;
pub type PgPool = bb8::Pool<async_bb8_diesel::ConnectionManager<PgConnection>>;
pub type P... | crates/router/src/connection.rs | router | full_file | null | null | null | 869 | 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.