text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: retrieve_decision_manager_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn retrieve_decision_manager_config(
state: web::Data<AppState>,
req: HttpRequest,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 50 | retrieve_decision_manager_config | null | null | null | null | null | null |
// Struct: DummyConnectorCard
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Implementations: 0
pub struct DummyConnectorCard | crates/router/src/routes/dummy_connector/types.rs | router | struct_definition | DummyConnectorCard | 0 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/flows/setup_mandate_flow.rs
// Module: router
// Public functions: 1
use std::str::FromStr;
use async_trait::async_trait;
use common_types::payments as common_payments_types;
use common_utils::{id_type, ucs_types};
use error_stack::ResultExt;
use external_services::grpc_client... | crates/router/src/core/payments/flows/setup_mandate_flow.rs | router | full_file | null | null | null | 3,184 | null | null | null | null | null | null | null |
// Function: perform_surcharge_ops
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn perform_surcharge_ops(
_payment_intent: Option<storage::PaymentIntent>,
_state: &routes::SessionState,
_merchant_context: &domain::MerchantContext,
_business_profile: Option<Profile>,
... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 106 | perform_surcharge_ops | null | null | null | null | null | null |
// Struct: GetUserRoleDetailsRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct GetUserRoleDetailsRequest | crates/api_models/src/user.rs | api_models | struct_definition | GetUserRoleDetailsRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: find_resource_by_id
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
pub fn find_resource_by_id<D, R, M>(
&self,
state: &KeyManagerState,
key_store: &MerchantKeyStore,
storage_scheme: MerchantStorageScheme,
find_resource_db_fut: R,
... | crates/storage_impl/src/kv_router_store.rs | storage_impl | function_signature | null | null | null | 138 | find_resource_by_id | null | null | null | null | null | null |
// Function: remove_entry_from_blocklist
// File: crates/openapi/src/routes/blocklist.rs
// Module: openapi
pub fn remove_entry_from_blocklist() | crates/openapi/src/routes/blocklist.rs | openapi | function_signature | null | null | null | 35 | remove_entry_from_blocklist | null | null | null | null | null | null |
// Function: generate_sample_data
// File: crates/router/src/routes/user.rs
// Module: router
pub fn generate_sample_data(
state: web::Data<AppState>,
http_req: HttpRequest,
payload: web::Json<SampleDataRequest>,
) -> impl actix_web::Responder | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 62 | generate_sample_data | null | null | null | null | null | null |
// Struct: FacilitapayCustomerResponse
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapayCustomerResponse | crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs | hyperswitch_connectors | struct_definition | FacilitapayCustomerResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: AlwaysEnableOvercaptureBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Implementations: 2
// Traits: Default
pub struct AlwaysEnableOvercaptureBool | crates/common_types/src/primitive_wrappers.rs | common_types | struct_definition | AlwaysEnableOvercaptureBool | 2 | [
"Default"
] | 47 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/customers.rs
// Module: diesel_models
// Public functions: 10
// Public structs: 1
use common_utils::id_type;
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods};
use super::generics;
#[cfg(feature = "v1")]
use crate::schema::customers::dsl;
#[cfg(fea... | crates/diesel_models/src/query/customers.rs | diesel_models | full_file | null | null | null | 1,283 | null | null | null | null | null | null | null |
pub offset: Option<u32>,
/// The time at which payment is created
#[param(example = "2022-09-10T10:11:12Z")]
#[serde(default, with = "common_utils::custom_serde::iso8601::option")]
pub created: Option<PrimitiveDateTime>,
/// Time less than the payment created time
#[param(example = "2022-0... | crates/api_models/src/payments.rs#chunk8 | api_models | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/auth.rs
// Module: hyperswitch_connectors
// Public structs: 1
use error_stack;
use hyperswitch_domain_models::router_data::ConnectorAuthType;
use hyperswitch_interfaces::errors::ConnectorError;
use masking::{ExposeInterface, Secret};
pub st... | crates/hyperswitch_connectors/src/connectors/riskified/transformers/auth.rs | hyperswitch_connectors | full_file | null | null | null | 209 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Billwerk | IncomingWebhook for | 3 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Struct: RedsysTransaction
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedsysTransaction | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | RedsysTransaction | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/worldline.rs
// Module: router
use std::str::FromStr;
use hyperswitch_domain_models::address::{Address, AddressDetails};
use masking::Secret;
use router::{
connector::Worldline,
core::errors,
types::{self, storage::enums, PaymentAddress},
};
use crate::{
connec... | crates/router/tests/connectors/worldline.rs | router | full_file | null | null | null | 2,984 | null | null | null | null | null | null | null |
// Function: comparison_type
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn comparison_type(input: &str) -> ParseResult<&str, ast::ComparisonType> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 46 | comparison_type | null | null | null | null | null | null |
// Function: get_forex_enabled
// File: crates/analytics/src/lib.rs
// Module: analytics
pub fn get_forex_enabled(&self) -> bool | crates/analytics/src/lib.rs | analytics | function_signature | null | null | null | 34 | get_forex_enabled | null | null | null | null | null | null |
// Function: user_from_email
// File: crates/router/src/core/user.rs
// Module: router
pub fn user_from_email(
state: SessionState,
req: user_api::UserFromEmailRequest,
) -> UserResponse<user_api::TokenResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 56 | user_from_email | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 68 | null | Facilitapay | api::MandateSetup for | 0 | 0 | null | null |
// Struct: PayoneAuthType
// File: crates/hyperswitch_connectors/src/connectors/payone/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayoneAuthType | crates/hyperswitch_connectors/src/connectors/payone/transformers.rs | hyperswitch_connectors | struct_definition | PayoneAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: spawn_async_lineage_context_update_to_db
// File: crates/router/src/utils/user.rs
// Module: router
pub fn spawn_async_lineage_context_update_to_db(
state: &SessionState,
user_id: &str,
lineage_context: LineageContext,
) | crates/router/src/utils/user.rs | router | function_signature | null | null | null | 61 | spawn_async_lineage_context_update_to_db | null | null | null | null | null | null |
// Struct: SupportedConnectorsForMandate
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Implementations: 0
pub struct SupportedConnectorsForMandate | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | SupportedConnectorsForMandate | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: ProductionAgreementValue
// File: crates/router/src/types/domain/user/dashboard_metadata.rs
// Module: router
// Implementations: 0
pub struct ProductionAgreementValue | crates/router/src/types/domain/user/dashboard_metadata.rs | router | struct_definition | ProductionAgreementValue | 0 | [] | 39 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/drainer/src/lib.rs
// Module: drainer
// Public submodules:
pub mod errors;
pub mod logger;
pub mod services;
pub mod settings;
| crates/drainer/src/lib.rs | drainer | module_structure | null | null | null | 41 | null | null | null | null | null | 4 | 0 |
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use base64::Engine;
use common_enums::enums;
use common_utils::{
consts,
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Re... | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | full_file | null | null | null | 4,914 | null | null | null | null | null | null | null |
// Function: get_id
// File: crates/diesel_models/src/merchant_account.rs
// Module: diesel_models
// Documentation: Get the unique identifier of MerchantAccount
pub fn get_id(&self) -> &common_utils::id_type::MerchantId | crates/diesel_models/src/merchant_account.rs | diesel_models | function_signature | null | null | null | 53 | get_id | null | null | null | null | null | null |
// Struct: Theme
// File: crates/diesel_models/src/user/theme.rs
// Module: diesel_models
// Implementations: 1
pub struct Theme | crates/diesel_models/src/user/theme.rs | diesel_models | struct_definition | Theme | 1 | [] | 33 | null | null | null | null | null | null | null |
// Struct: RefundsCreateRequest
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundsCreateRequest | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundsCreateRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl super::disputes::metrics::DisputeMetricAnalytics for for SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::disputes::metrics::DisputeMetricAnalytics for for SqlxClient | crates/analytics/src/sqlx.rs | analytics | impl_block | null | null | null | 66 | null | SqlxClient | super::disputes::metrics::DisputeMetricAnalytics for | 0 | 0 | null | null |
// Struct: RequiredFieldInfo
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct RequiredFieldInfo | crates/api_models/src/payment_methods.rs | api_models | struct_definition | RequiredFieldInfo | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl EuclidAnalysable for for ConnectorSelection
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (0 public)
impl EuclidAnalysable for for ConnectorSelection | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 51 | null | ConnectorSelection | EuclidAnalysable for | 1 | 0 | null | null |
// Struct: PaymentsGenericRequestWithResourceId
// File: crates/router/src/routes/payments.rs
// Module: router
// Implementations: 2
// Traits: GetLockingInput, common_utils::events::ApiEventMetric
pub struct PaymentsGenericRequestWithResourceId<T: serde::Serialize> | crates/router/src/routes/payments.rs | router | struct_definition | PaymentsGenericRequestWithResourceId | 2 | [
"GetLockingInput",
"common_utils::events::ApiEventMetric"
] | 62 | null | null | null | null | null | null | null |
// Function: update_router_data_with_access_token_result
// File: crates/router/src/core/payments/access_token.rs
// Module: router
// Documentation: After we get the access token, check if there was an error and if the flow should proceed further Returns bool true - Everything is well, continue with the flow false - ... | crates/router/src/core/payments/access_token.rs | router | function_signature | null | null | null | 134 | update_router_data_with_access_token_result | null | null | null | null | null | null |
// Function: update_algorithm_id
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update_algorithm_id(
&mut self,
new_id: common_utils::id_type::RoutingId,
enabled_feature: DynamicRoutingFeatures,
dynamic_routing_type: DynamicRoutingType,
) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 67 | update_algorithm_id | null | null | null | null | null | null |
// Struct: SecureAcceptance
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SecureAcceptance | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | SecureAcceptance | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl EuclidDirFilter for for SurchargeDecisionConfigs
// File: crates/api_models/src/surcharge_decision_configs.rs
// Module: api_models
// Methods: 0 total (0 public)
impl EuclidDirFilter for for SurchargeDecisionConfigs | crates/api_models/src/surcharge_decision_configs.rs | api_models | impl_block | null | null | null | 56 | null | SurchargeDecisionConfigs | EuclidDirFilter for | 0 | 0 | null | null |
// Struct: PaysafeApplepayPayment
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeApplepayPayment | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeApplepayPayment | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl FraudCheckCheckout for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl FraudCheckCheckout for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Signifyd | FraudCheckCheckout for | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Hipay
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Hipay | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hipay | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Stripebilling | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Stripebilling | api::RefundSync for | 0 | 0 | null | null |
// Struct: CeleroErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct CeleroErrorDetails | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroErrorDetails | 1 | [] | 50 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Struct: DatatransRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DatatransRefundRequest | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | DatatransRefundRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: get_refund_status
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn get_refund_status(&self) -> enums::RefundStatus | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 52 | get_refund_status | null | null | null | null | null | null |
// Struct: AuthEventMetricsAccumulator
// File: crates/analytics/src/auth_events/accumulator.rs
// Module: analytics
// Implementations: 1
pub struct AuthEventMetricsAccumulator | crates/analytics/src/auth_events/accumulator.rs | analytics | struct_definition | AuthEventMetricsAccumulator | 1 | [] | 43 | null | null | null | null | null | null | null |
// Struct: PaymentLink
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct PaymentLink | crates/router/src/routes/app.rs | router | struct_definition | PaymentLink | 1 | [] | 32 | null | null | null | null | null | null | null |
// Implementation: impl Customers
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Customers | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Customers | null | 1 | 1 | null | null |
// File: crates/analytics/src/sdk_events/core.rs
// Module: analytics
// Public functions: 3
use std::collections::HashMap;
use api_models::analytics::{
sdk_events::{
MetricsBucketResponse, SdkEventMetrics, SdkEventMetricsBucketIdentifier, SdkEventsRequest,
},
AnalyticsMetadata, GetSdkEventFilters... | crates/analytics/src/sdk_events/core.rs | analytics | full_file | null | null | null | 1,403 | null | null | null | null | null | null | null |
// Function: get_session_state
// File: crates/router/src/routes/app.rs
// Module: router
pub fn get_session_state<E, F>(
self: Arc<Self>,
tenant: &id_type::TenantId,
locale: Option<String>,
err: F,
) -> Result<SessionState, E>
where
F: FnOnce() -> E + Copy, | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 82 | get_session_state | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Function: get_refund_sync_body
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
pub fn get_refund_sync_body(req: &types::RefundSyncRouterData) -> Result<Vec<u8>, Error> | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 66 | get_refund_sync_body | null | null | null | null | null | null |
// Struct: FlexitiSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FlexitiSyncResponse | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | struct_definition | FlexitiSyncResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Struct: PeachpaymentsRouterData
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PeachpaymentsRouterData<T> | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | struct_definition | PeachpaymentsRouterData | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
refunds::{RefundDimensions, RefundFilters, RefundMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
u... | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs | analytics | full_file | null | null | null | 1,234 | null | null | null | null | null | null | null |
// Struct: CardData
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct CardData | crates/router/src/types/payment_methods.rs | router | struct_definition | CardData | 0 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutCancel for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutCancel for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Ebanx | api::PayoutCancel for | 0 | 0 | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Cybersource | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nexinets | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: PaymentRequestBankTransfer
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentRequestBankTransfer | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | PaymentRequestBankTransfer | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ExpiryDate
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ExpiryDate | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | ExpiryDate | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: retrieve_extended_card_info
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn retrieve_extended_card_info(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
path: web::Path<common_utils::id_type::PaymentId>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 72 | retrieve_extended_card_info | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paytm | api::PaymentSession for | 0 | 0 | null | null |
// Function: add_granularity_in_mins
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn add_granularity_in_mins(&mut self, granularity: Granularity) -> QueryResult<()> | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 48 | add_granularity_in_mins | null | null | null | null | null | null |
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
// Public functions: 17
// Public structs: 2
use std::collections::HashMap;
use ::payment_methods::controller::PaymentMethodsController;
#[cfg(feature = "v1")]
use api_models::payment_methods::PaymentMethodsData;
use api_models::{
payment_... | crates/router/src/core/payments/tokenization.rs#chunk0 | router | chunk | null | null | null | 8,180 | null | null | null | null | null | null | null |
// Struct: AddCardRequest
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Implementations: 0
pub struct AddCardRequest | crates/router/src/core/payment_methods/transformers.rs | router | struct_definition | AddCardRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Worldpay | api::MandateSetup for | 0 | 0 | null | null |
// Struct: OnboardSubAccountRequest
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OnboardSubAccountRequest | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | struct_definition | OnboardSubAccountRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
billing_address: billing_details_encoded,
shipping_address: shipping_details_encoded,
},
),
),
common_utils::types::keymanager::Identifier::Merchant(
merchant_context
.get_merchant_key_store()
... | crates/router/src/core/unified_authentication_service.rs#chunk1 | router | chunk | null | null | null | 4,880 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/fraud_check.rs
// Module: router
// Public functions: 1
use actix_web::{web, HttpRequest, HttpResponse};
use router_env::Flow;
use crate::{
core::{api_locking, fraud_check as frm_core},
services::{self, api},
types::domain,
AppState,
};
#[cfg(feature = "v1")]
pub asy... | crates/router/src/routes/fraud_check.rs | router | full_file | null | null | null | 275 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Volt
// File: crates/hyperswitch_connectors/src/connectors/volt.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Volt | crates/hyperswitch_connectors/src/connectors/volt.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Volt | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl Loonio
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Loonio | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Loonio | null | 1 | 1 | null | null |
// Implementation: impl MerchantConnectorAccountInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 13 total (0 public)
impl MerchantConnectorAccountInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 50 | null | KafkaStore | MerchantConnectorAccountInterface for | 13 | 0 | null | null |
// Implementation: impl api::Refund for for Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Archipel | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Archipel | api::Refund for | 0 | 0 | null | null |
// Function: find_by_connector_transaction_id_payment_id_merchant_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_by_connector_transaction_id_payment_id_merchant_id(
conn: &PgPooledConn,
connector_transaction_id: &common_utils::types::ConnectorTransact... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 105 | find_by_connector_transaction_id_payment_id_merchant_id | null | null | null | null | null | null |
// Struct: ActivateRoutingConfigRequest
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct ActivateRoutingConfigRequest | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | ActivateRoutingConfigRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: ProcessedAmountAccumulator
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: PaymentIntentMetricAccumulator
pub struct ProcessedAmountAccumulator | crates/analytics/src/payment_intents/accumulator.rs | analytics | struct_definition | ProcessedAmountAccumulator | 1 | [
"PaymentIntentMetricAccumulator"
] | 54 | null | null | null | null | null | null | null |
// Function: get_external_vault_token
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn get_external_vault_token(
state: &SessionState,
key_store: &domain::MerchantKeyStore,
storage_scheme: enums::MerchantStorageScheme,
payment_token: String,
vault_token: domain::VaultToke... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 107 | get_external_vault_token | null | null | null | null | null | null |
// Struct: DwollaAuthType
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaAuthType | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: NexixpayPaymentsCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexixpayPaymentsCancelRequest | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | NexixpayPaymentsCancelRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Worldpayxml
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Worldpayxml | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Worldpayxml | api::RefundExecute for | 0 | 0 | null | null |
// Implementation: impl RoutingApproach
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Methods: 1 total (1 public)
impl RoutingApproach | crates/router/src/core/payments/routing/utils.rs | router | impl_block | null | null | null | 41 | null | RoutingApproach | null | 1 | 1 | null | null |
// Implementation: impl std::fmt::Display for for PartitionKey
// File: crates/storage_impl/src/redis/kv_store.rs
// Module: storage_impl
// Methods: 1 total (0 public)
impl std::fmt::Display for for PartitionKey | crates/storage_impl/src/redis/kv_store.rs | storage_impl | impl_block | null | null | null | 54 | null | PartitionKey | std::fmt::Display for | 1 | 0 | null | null |
// Struct: ClientProcessorInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientProcessorInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ClientProcessorInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: Affirm
// File: crates/hyperswitch_connectors/src/connectors/affirm.rs
// Module: hyperswitch_connectors
// Implementations: 18
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentsCompleteAuthorize, api::PaymentSync, api::PaymentCapt... | crates/hyperswitch_connectors/src/connectors/affirm.rs | hyperswitch_connectors | struct_definition | Affirm | 18 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentsCompleteAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"C... | 132 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Klarna | ConnectorValidation for | 0 | 0 | null | null |
// Struct: SRApiClient
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 1
// Traits: DecisionEngineApiHandler
pub struct SRApiClient | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | SRApiClient | 1 | [
"DecisionEngineApiHandler"
] | 48 | null | null | null | null | null | null | null |
// Implementation: impl NovalnetSyncResponseTransactionData
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl NovalnetSyncResponseTransactionData | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | NovalnetSyncResponseTransactionData | null | 1 | 1 | null | null |
// Struct: DigitalvirgoErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DigitalvirgoErrorResponse | crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs | hyperswitch_connectors | struct_definition | DigitalvirgoErrorResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Trait: EmailClient
// File: crates/external_services/src/email.rs
// Module: external_services
pub trait EmailClient: Sync + Send + dyn_clone::DynClone | crates/external_services/src/email.rs | external_services | trait_definition | null | null | null | 37 | null | null | EmailClient | null | null | null | null |
// Implementation: impl api::RefundSync for for Dlocal
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Dlocal | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Dlocal | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl ConnectorEvent
// File: crates/hyperswitch_interfaces/src/events/connector_api_logs.rs
// Module: hyperswitch_interfaces
// Methods: 8 total (4 public)
impl ConnectorEvent | crates/hyperswitch_interfaces/src/events/connector_api_logs.rs | hyperswitch_interfaces | impl_block | null | null | null | 44 | null | ConnectorEvent | null | 8 | 4 | null | null |
// Function: get_cache_key_from_role_id
// File: crates/router/src/services/authorization.rs
// Module: router
pub fn get_cache_key_from_role_id(role_id: &str) -> String | crates/router/src/services/authorization.rs | router | function_signature | null | null | null | 42 | get_cache_key_from_role_id | null | null | null | null | null | null |
// Function: encrypt
// File: crates/external_services/src/no_encryption/core.rs
// Module: external_services
// Documentation: Encryption functionality
pub fn encrypt(&self, data: impl AsRef<[u8]>) -> Vec<u8> | crates/external_services/src/no_encryption/core.rs | external_services | function_signature | null | null | null | 52 | encrypt | null | null | null | null | null | null |
// Implementation: impl PaymentRedirectFlow for for PaymentRedirectCompleteAuthorize
// File: crates/router/src/core/payments.rs
// Module: router
// Methods: 3 total (0 public)
impl PaymentRedirectFlow for for PaymentRedirectCompleteAuthorize | crates/router/src/core/payments.rs | router | impl_block | null | null | null | 50 | null | PaymentRedirectCompleteAuthorize | PaymentRedirectFlow for | 3 | 0 | null | null |
// Struct: FeatureMetadata
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
// Implementations: 1
pub struct FeatureMetadata | crates/diesel_models/src/types.rs | diesel_models | struct_definition | FeatureMetadata | 1 | [] | 34 | null | null | null | null | null | null | null |
// Function: build_auth_array
// File: crates/analytics/src/opensearch.rs
// Module: analytics
pub fn build_auth_array(&self) -> Vec<Value> | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 36 | build_auth_array | null | null | null | null | null | null |
// Function: get_create_file_request
// File: crates/router/src/routes/files/transformers.rs
// Module: router
pub fn get_create_file_request(
mut payload: Multipart,
) -> CustomResult<CreateFileRequest, errors::ApiErrorResponse> | crates/router/src/routes/files/transformers.rs | router | function_signature | null | null | null | 54 | get_create_file_request | 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.