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: PayuPaymentsCaptureRequest // File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PayuPaymentsCaptureRequest
crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
hyperswitch_connectors
struct_definition
PayuPaymentsCaptureRequest
0
[]
51
null
null
null
null
null
null
null
// Implementation: impl api::PayoutFulfill for for Stripe // File: crates/hyperswitch_connectors/src/connectors/stripe.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PayoutFulfill for for Stripe
crates/hyperswitch_connectors/src/connectors/stripe.rs
hyperswitch_connectors
impl_block
null
null
null
59
null
Stripe
api::PayoutFulfill for
0
0
null
null
// Function: get_wait_screen_metadata // File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs // Module: hyperswitch_connectors pub fn get_wait_screen_metadata() -> CustomResult<Option<serde_json::Value>, errors::ConnectorError>
crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
hyperswitch_connectors
function_signature
null
null
null
60
get_wait_screen_metadata
null
null
null
null
null
null
// File: crates/router/tests/connectors/aci.rs // Module: router use std::str::FromStr; use hyperswitch_domain_models::{ address::{Address, AddressDetails, PhoneDetails}, payment_method_data::{Card, PaymentMethodData}, router_request_types::AuthenticationData, }; use masking::Secret; use router::types::{s...
crates/router/tests/connectors/aci.rs
router
full_file
null
null
null
3,886
null
null
null
null
null
null
null
// Implementation: impl PaymentIntentMetricAccumulator for for PaymentsSuccessRateAccumulator // File: crates/analytics/src/payment_intents/accumulator.rs // Module: analytics // Methods: 2 total (0 public) impl PaymentIntentMetricAccumulator for for PaymentsSuccessRateAccumulator
crates/analytics/src/payment_intents/accumulator.rs
analytics
impl_block
null
null
null
63
null
PaymentsSuccessRateAccumulator
PaymentIntentMetricAccumulator for
2
0
null
null
// Function: from_storage // File: crates/router/src/services/kafka/dispute.rs // Module: router pub fn from_storage(dispute: &'a Dispute) -> Self
crates/router/src/services/kafka/dispute.rs
router
function_signature
null
null
null
38
from_storage
null
null
null
null
null
null
// Implementation: impl webhooks::IncomingWebhook for for Checkout // File: crates/hyperswitch_connectors/src/connectors/checkout.rs // Module: hyperswitch_connectors // Methods: 7 total (0 public) impl webhooks::IncomingWebhook for for Checkout
crates/hyperswitch_connectors/src/connectors/checkout.rs
hyperswitch_connectors
impl_block
null
null
null
59
null
Checkout
webhooks::IncomingWebhook for
7
0
null
null
// Implementation: impl ValidateStatusForOperation for for PaymentsCancel // File: crates/router/src/core/payments/operations/payment_cancel_v2.rs // Module: router // Methods: 1 total (0 public) impl ValidateStatusForOperation for for PaymentsCancel
crates/router/src/core/payments/operations/payment_cancel_v2.rs
router
impl_block
null
null
null
54
null
PaymentsCancel
ValidateStatusForOperation for
1
0
null
null
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs // Module: hyperswitch_connectors // Public structs: 22 use cards::CardNumber; use common_enums::enums; use common_utils::types::FloatMajorUnit; use hyperswitch_domain_models::{ payment_method_data::PaymentMethodData, router_data::{Con...
crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
hyperswitch_connectors
full_file
null
null
null
4,586
null
null
null
null
null
null
null
// Implementation: impl ConnectorValidation for for Ebanx // File: crates/hyperswitch_connectors/src/connectors/ebanx.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl ConnectorValidation for for Ebanx
crates/hyperswitch_connectors/src/connectors/ebanx.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Ebanx
ConnectorValidation for
0
0
null
null
// Function: server // File: crates/router/src/routes/app.rs // Module: router pub fn server(state: AppState) -> Scope
crates/router/src/routes/app.rs
router
function_signature
null
null
null
29
server
null
null
null
null
null
null
// Struct: PayoutAttempt // File: crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct PayoutAttempt
crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs
hyperswitch_domain_models
struct_definition
PayoutAttempt
0
[]
46
null
null
null
null
null
null
null
// Struct: Cashtocode // File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs // Module: hyperswitch_connectors // Implementations: 17 // Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, a...
crates/hyperswitch_connectors/src/connectors/cashtocode.rs
hyperswitch_connectors
struct_definition
Cashtocode
17
[ "api::Payment", "api::PaymentSession", "api::ConnectorAccessToken", "api::MandateSetup", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentCapture", "api::PaymentVoid", "api::PaymentToken", "api::Refund", "api::RefundExecute", "api::RefundSync", "ConnectorCommon", "ConnectorValidat...
129
null
null
null
null
null
null
null
#[serde(rename = "MerchantID")] pub merchant_id: Secret<String>, #[serde(rename = "RefID")] pub ref_id: String, #[serde(rename = "RefundID")] pub refund_id: String, #[serde(rename = "TxnID")] pub txn_id: String, pub amount: StringMajorUnit, pub status: FiuuRefundsWebhookStatus, ...
crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs#chunk2
hyperswitch_connectors
chunk
null
null
null
809
null
null
null
null
null
null
null
// Module Structure // File: crates/hyperswitch_connectors/src/connectors/novalnet.rs // Module: hyperswitch_connectors // Public submodules: pub mod transformers;
crates/hyperswitch_connectors/src/connectors/novalnet.rs
hyperswitch_connectors
module_structure
null
null
null
39
null
null
null
null
null
1
0
// File: crates/storage_impl/src/address.rs // Module: storage_impl use diesel_models::address::Address; use crate::redis::kv_store::KvStorePartition; impl KvStorePartition for Address {}
crates/storage_impl/src/address.rs
storage_impl
full_file
null
null
null
44
null
null
null
null
null
null
null
// Struct: PaymentResponse // File: crates/router/src/core/payments/operations/payment_response.rs // Module: router // Implementations: 0 pub struct PaymentResponse
crates/router/src/core/payments/operations/payment_response.rs
router
struct_definition
PaymentResponse
0
[]
37
null
null
null
null
null
null
null
// Function: get_encrypted_apple_pay_payment_data_mandatory // File: crates/common_types/src/payments.rs // Module: common_types // Documentation: Get the encrypted Apple Pay payment data, returning an error if it does not exist pub fn get_encrypted_apple_pay_payment_data_mandatory( &self, ) -> Result<&St...
crates/common_types/src/payments.rs
common_types
function_signature
null
null
null
79
get_encrypted_apple_pay_payment_data_mandatory
null
null
null
null
null
null
// Implementation: impl api::UasPostAuthentication for for Juspaythreedsserver // File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::UasPostAuthentication for for Juspaythreedsserver
crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
hyperswitch_connectors
impl_block
null
null
null
76
null
Juspaythreedsserver
api::UasPostAuthentication for
0
0
null
null
// Struct: RelayUpdateInternal // File: crates/diesel_models/src/relay.rs // Module: diesel_models // Implementations: 0 pub struct RelayUpdateInternal
crates/diesel_models/src/relay.rs
diesel_models
struct_definition
RelayUpdateInternal
0
[]
37
null
null
null
null
null
null
null
// Function: list_payment_connectors // File: crates/router/src/core/admin.rs // Module: router pub fn list_payment_connectors( state: SessionState, merchant_id: id_type::MerchantId, profile_id_list: Option<Vec<id_type::ProfileId>>, ) -> RouterResponse<Vec<api_models::admin::MerchantConnectorListResponse>>
crates/router/src/core/admin.rs
router
function_signature
null
null
null
76
list_payment_connectors
null
null
null
null
null
null
// Function: server // File: crates/router/src/routes/app.rs // Module: router pub fn server(state: AppState) -> Scope
crates/router/src/routes/app.rs
router
function_signature
null
null
null
29
server
null
null
null
null
null
null
// Struct: Amount // File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct Amount
crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
hyperswitch_connectors
struct_definition
Amount
0
[]
44
null
null
null
null
null
null
null
// Implementation: impl ConnectorValidation for for DummyConnector // File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs // Module: hyperswitch_connectors // Methods: 1 total (0 public) impl ConnectorValidation for for DummyConnector
crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
DummyConnector
ConnectorValidation for
1
0
null
null
// Module Structure // File: crates/router/src/core/unified_authentication_service.rs // Module: router // Public submodules: pub mod types; pub mod utils;
crates/router/src/core/unified_authentication_service.rs
router
module_structure
null
null
null
35
null
null
null
null
null
2
0
// Function: construct_fulfillment_router_data // File: crates/router/src/core/fraud_check/flows/fulfillment_flow.rs // Module: router pub fn construct_fulfillment_router_data<'a>( _state: &'a SessionState, _payment_intent: &'a storage::PaymentIntent, _payment_attempt: &storage::PaymentAttempt, _mercha...
crates/router/src/core/fraud_check/flows/fulfillment_flow.rs
router
function_signature
null
null
null
119
construct_fulfillment_router_data
null
null
null
null
null
null
// Implementation: impl api::UasAuthenticationConfirmationV2 for for Recurly // File: crates/hyperswitch_connectors/src/connectors/recurly.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::UasAuthenticationConfirmationV2 for for Recurly
crates/hyperswitch_connectors/src/connectors/recurly.rs
hyperswitch_connectors
impl_block
null
null
null
68
null
Recurly
api::UasAuthenticationConfirmationV2 for
0
0
null
null
// File: crates/router/src/core/payments/operations/payment_confirm_intent.rs // Module: router // Public structs: 1 use api_models::{enums::FrmSuggestion, payments::PaymentsConfirmIntentRequest}; use async_trait::async_trait; use common_utils::{ext_traits::Encode, fp_utils::when, id_type, types::keymanager::ToEncrypt...
crates/router/src/core/payments/operations/payment_confirm_intent.rs
router
full_file
null
null
null
5,487
null
null
null
null
null
null
null
// Struct: UnifiedTranslations // File: crates/diesel_models/src/unified_translations.rs // Module: diesel_models // Implementations: 0 pub struct UnifiedTranslations
crates/diesel_models/src/unified_translations.rs
diesel_models
struct_definition
UnifiedTranslations
0
[]
37
null
null
null
null
null
null
null
// Function: update_by_key // File: crates/diesel_models/src/query/configs.rs // Module: diesel_models pub fn update_by_key( conn: &PgPooledConn, key: &str, config_update: ConfigUpdate, ) -> StorageResult<Self>
crates/diesel_models/src/query/configs.rs
diesel_models
function_signature
null
null
null
61
update_by_key
null
null
null
null
null
null
// Function: terminate_auth_select // File: crates/router/src/routes/user.rs // Module: router pub fn terminate_auth_select( state: web::Data<AppState>, req: HttpRequest, json_payload: web::Json<user_api::AuthSelectRequest>, ) -> HttpResponse
crates/router/src/routes/user.rs
router
function_signature
null
null
null
60
terminate_auth_select
null
null
null
null
null
null
// Struct: PowertranzErrorResponse // File: crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PowertranzErrorResponse
crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs
hyperswitch_connectors
struct_definition
PowertranzErrorResponse
0
[]
50
null
null
null
null
null
null
null
// File: crates/router/src/db/health_check.rs // Module: router use async_bb8_diesel::{AsyncConnection, AsyncRunQueryDsl}; use diesel_models::ConfigNew; use error_stack::ResultExt; use router_env::{instrument, logger, tracing}; use super::{MockDb, Store}; use crate::{ connection, core::errors::{self, CustomRe...
crates/router/src/db/health_check.rs
router
full_file
null
null
null
516
null
null
null
null
null
null
null
// Implementation: impl api::ConnectorAccessToken for for Fiuu // File: crates/hyperswitch_connectors/src/connectors/fiuu.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::ConnectorAccessToken for for Fiuu
crates/hyperswitch_connectors/src/connectors/fiuu.rs
hyperswitch_connectors
impl_block
null
null
null
60
null
Fiuu
api::ConnectorAccessToken for
0
0
null
null
// Function: create_gsm_rule // File: crates/router/src/routes/gsm.rs // Module: router pub fn create_gsm_rule( state: web::Data<AppState>, req: HttpRequest, json_payload: web::Json<gsm_api_types::GsmCreateRequest>, ) -> impl Responder
crates/router/src/routes/gsm.rs
router
function_signature
null
null
null
67
create_gsm_rule
null
null
null
null
null
null
// Struct: TokenizationData // File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct TokenizationData
crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
hyperswitch_connectors
struct_definition
TokenizationData
0
[]
49
null
null
null
null
null
null
null
// Function: server // File: crates/router/src/bin/scheduler.rs // Module: router pub fn server(state: routes::AppState, service: String) -> Scope
crates/router/src/bin/scheduler.rs
router
function_signature
null
null
null
36
server
null
null
null
null
null
null
// File: crates/router/src/core/payouts/access_token.rs // Module: router // Public functions: 3 use common_utils::ext_traits::AsyncExt; use error_stack::ResultExt; use crate::{ consts, core::{ errors::{self, RouterResult}, payments, }, routes::{metrics, SessionState}, services, ...
crates/router/src/core/payouts/access_token.rs
router
full_file
null
null
null
1,370
null
null
null
null
null
null
null
// Struct: AccountIdConfigForApplePay // File: crates/connector_configs/src/connector.rs // Module: connector_configs // Implementations: 0 pub struct AccountIdConfigForApplePay
crates/connector_configs/src/connector.rs
connector_configs
struct_definition
AccountIdConfigForApplePay
0
[]
43
null
null
null
null
null
null
null
// Implementation: impl Organization // File: crates/diesel_models/src/organization.rs // Module: diesel_models // Methods: 2 total (2 public) impl Organization
crates/diesel_models/src/organization.rs
diesel_models
impl_block
null
null
null
36
null
Organization
null
2
2
null
null
// Struct: PayoutQuoteResponse // File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PayoutQuoteResponse
crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
hyperswitch_connectors
struct_definition
PayoutQuoteResponse
0
[]
51
null
null
null
null
null
null
null
// Struct: ThunesRefundRequest // File: crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ThunesRefundRequest
crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs
hyperswitch_connectors
struct_definition
ThunesRefundRequest
0
[]
51
null
null
null
null
null
null
null
// File: crates/analytics/src/api_event/metrics/status_code_count.rs // Module: analytics use std::collections::HashSet; use api_models::analytics::{ api_event::{ApiEventDimensions, ApiEventFilters, ApiEventMetricsBucketIdentifier}, Granularity, TimeRange, }; use common_utils::errors::ReportSwitchExt; use err...
crates/analytics/src/api_event/metrics/status_code_count.rs
analytics
full_file
null
null
null
763
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: NoEmailClient // File: crates/external_services/src/email/no_email.rs // Module: external_services // Implementations: 2 // Traits: EmailClient pub struct NoEmailClient
crates/external_services/src/email/no_email.rs
external_services
struct_definition
NoEmailClient
2
[ "EmailClient" ]
44
null
null
null
null
null
null
null
// Struct: AuthenticationConnectorAccountMap // File: crates/common_types/src/payments.rs // Module: common_types // Implementations: 1 // Documentation: Hashmap to store mca_id's with product names pub struct AuthenticationConnectorAccountMap
crates/common_types/src/payments.rs
common_types
struct_definition
AuthenticationConnectorAccountMap
1
[]
53
null
null
null
null
null
null
null
// Struct: FrmMetricsAccumulator // File: crates/analytics/src/frm/accumulator.rs // Module: analytics // Implementations: 1 pub struct FrmMetricsAccumulator
crates/analytics/src/frm/accumulator.rs
analytics
struct_definition
FrmMetricsAccumulator
1
[]
41
null
null
null
null
null
null
null
// Implementation: impl api::PaymentToken for for Archipel // File: crates/hyperswitch_connectors/src/connectors/archipel.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentToken for for Archipel
crates/hyperswitch_connectors/src/connectors/archipel.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Archipel
api::PaymentToken for
0
0
null
null
// Implementation: impl RuleMigrationResponse // File: crates/api_models/src/routing.rs // Module: api_models // Methods: 1 total (1 public) impl RuleMigrationResponse
crates/api_models/src/routing.rs
api_models
impl_block
null
null
null
39
null
RuleMigrationResponse
null
1
1
null
null
// Struct: ThreeDsChallenge // File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ThreeDsChallenge
crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
hyperswitch_connectors
struct_definition
ThreeDsChallenge
0
[]
45
null
null
null
null
null
null
null
// Function: build_paypal_get_request // File: crates/router/src/utils/connector_onboarding/paypal.rs // Module: router pub fn build_paypal_get_request(url: String, access_token: String) -> RouterResult<Request>
crates/router/src/utils/connector_onboarding/paypal.rs
router
function_signature
null
null
null
51
build_paypal_get_request
null
null
null
null
null
null
// Function: delete_tokenized_data // File: crates/router/src/core/payment_methods/vault.rs // Module: router pub fn delete_tokenized_data( state: &routes::SessionState, lookup_key: &str, ) -> RouterResult<()>
crates/router/src/core/payment_methods/vault.rs
router
function_signature
null
null
null
54
delete_tokenized_data
null
null
null
null
null
null
// Implementation: impl api::MandateSetup for for Bluecode // File: crates/hyperswitch_connectors/src/connectors/bluecode.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::MandateSetup for for Bluecode
crates/hyperswitch_connectors/src/connectors/bluecode.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Bluecode
api::MandateSetup for
0
0
null
null
// Function: payouts_core // File: crates/router/src/core/payouts.rs // Module: router pub fn payouts_core( state: &SessionState, merchant_context: &domain::MerchantContext, payout_data: &mut PayoutData, routing_algorithm: Option<serde_json::Value>, eligible_connectors: Option<Vec<api_enums::Payout...
crates/router/src/core/payouts.rs
router
function_signature
null
null
null
88
payouts_core
null
null
null
null
null
null
// Function: route_connector_v1_for_payouts // File: crates/router/src/core/payments.rs // Module: router pub fn route_connector_v1_for_payouts( state: &SessionState, merchant_context: &domain::MerchantContext, business_profile: &domain::Profile, transaction_data: &payouts::PayoutData, routing_data...
crates/router/src/core/payments.rs
router
function_signature
null
null
null
114
route_connector_v1_for_payouts
null
null
null
null
null
null
// Implementation: impl State for for PmAssigned // File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs // Module: router // Methods: 0 total (0 public) impl State for for PmAssigned
crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
router
impl_block
null
null
null
49
null
PmAssigned
State for
0
0
null
null
// with the connector have to be made using the same connector account. if let Some(ref connector_name) = payment_data.get_payment_attempt().connector { // Connector was already decided previously, use the same connector let connector_data = api::ConnectorData::get_connector_by_name( ...
crates/router/src/core/payments.rs#chunk8
router
chunk
null
null
null
8,184
null
null
null
null
null
null
null
// File: crates/router_derive/src/macros/generate_schema.rs // Module: router_derive // Public functions: 1 // Public structs: 1 use std::collections::{HashMap, HashSet}; use indexmap::IndexMap; use syn::{self, parse::Parse, parse_quote, punctuated::Punctuated, Token}; use crate::macros::helpers; /// Parse schemas ...
crates/router_derive/src/macros/generate_schema.rs
router_derive
full_file
null
null
null
1,959
null
null
null
null
null
null
null
// Implementation: impl Subscription // File: crates/diesel_models/src/query/subscription.rs // Module: diesel_models // Methods: 2 total (0 public) impl Subscription
crates/diesel_models/src/query/subscription.rs
diesel_models
impl_block
null
null
null
37
null
Subscription
null
2
0
null
null
// Function: ucs_logging_wrapper // File: crates/router/src/core/unified_connector_service.rs // Module: router pub fn ucs_logging_wrapper<T, F, Fut, Req, Resp, GrpcReq, GrpcResp>( router_data: RouterData<T, Req, Resp>, state: &SessionState, grpc_request: GrpcReq, grpc_header_builder: external_services...
crates/router/src/core/unified_connector_service.rs
router
function_signature
null
null
null
257
ucs_logging_wrapper
null
null
null
null
null
null
// Struct: ThreeDsAuthDetails // File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ThreeDsAuthDetails
crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
hyperswitch_connectors
struct_definition
ThreeDsAuthDetails
0
[]
51
null
null
null
null
null
null
null
// Function: enable_decision_engine_dynamic_routing_setup // File: crates/router/src/core/routing/helpers.rs // Module: router pub fn enable_decision_engine_dynamic_routing_setup( state: &SessionState, profile_id: &id_type::ProfileId, dynamic_routing_type: routing_types::DynamicRoutingType, dynamic_rou...
crates/router/src/core/routing/helpers.rs
router
function_signature
null
null
null
99
enable_decision_engine_dynamic_routing_setup
null
null
null
null
null
null
// Implementation: impl Responder // File: crates/router/src/routes/payments.rs // Module: router // Methods: 0 total (0 public) impl Responder
crates/router/src/routes/payments.rs
router
impl_block
null
null
null
36
null
Responder
null
0
0
null
null
// Struct: NoonPaymentsTransactionResponse // File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct NoonPaymentsTransactionResponse
crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
hyperswitch_connectors
struct_definition
NoonPaymentsTransactionResponse
0
[]
49
null
null
null
null
null
null
null
// Function: update_user_scoped_metadata // File: crates/router/src/utils/user/dashboard_metadata.rs // Module: router pub fn update_user_scoped_metadata( state: &SessionState, user_id: String, merchant_id: id_type::MerchantId, org_id: id_type::OrganizationId, metadata_key: DBEnum, metadata_val...
crates/router/src/utils/user/dashboard_metadata.rs
router
function_signature
null
null
null
91
update_user_scoped_metadata
null
null
null
null
null
null
// Struct: ExternalVaultInsertFlow // File: crates/hyperswitch_domain_models/src/router_flow_types/vault.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct ExternalVaultInsertFlow
crates/hyperswitch_domain_models/src/router_flow_types/vault.rs
hyperswitch_domain_models
struct_definition
ExternalVaultInsertFlow
0
[]
47
null
null
null
null
null
null
null
// Function: find_by_payment_id_merchant_id_attempt_id // File: crates/diesel_models/src/query/connector_response.rs // Module: diesel_models pub fn find_by_payment_id_merchant_id_attempt_id( conn: &PgPooledConn, payment_id: &common_utils::id_type::PaymentId, merchant_id: &common_utils::id_type...
crates/diesel_models/src/query/connector_response.rs
diesel_models
function_signature
null
null
null
96
find_by_payment_id_merchant_id_attempt_id
null
null
null
null
null
null
// Function: generic_user_roles_list_for_org_and_extra // File: crates/diesel_models/src/query/user_role.rs // Module: diesel_models pub fn generic_user_roles_list_for_org_and_extra( conn: &PgPooledConn, user_id: Option<String>, tenant_id: id_type::TenantId, org_id: id_type::Organizatio...
crates/diesel_models/src/query/user_role.rs
diesel_models
function_signature
null
null
null
126
generic_user_roles_list_for_org_and_extra
null
null
null
null
null
null
// Implementation: impl api::ConnectorAccessToken for for Globalpay // File: crates/hyperswitch_connectors/src/connectors/globalpay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::ConnectorAccessToken for for Globalpay
crates/hyperswitch_connectors/src/connectors/globalpay.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Globalpay
api::ConnectorAccessToken for
0
0
null
null
// Struct: NexinetsOrder // File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct NexinetsOrder
crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
hyperswitch_connectors
struct_definition
NexinetsOrder
0
[]
51
null
null
null
null
null
null
null
// Struct: PaymentMethodListContext // File: crates/router/src/types/storage/payment_method.rs // Module: router // Implementations: 1 pub struct PaymentMethodListContext
crates/router/src/types/storage/payment_method.rs
router
struct_definition
PaymentMethodListContext
1
[]
38
null
null
null
null
null
null
null
// File: crates/router/src/routes/mandates.rs // Module: router // Public functions: 3 use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, mandate}, services::{api, authentication as auth, authorization::permi...
crates/router/src/routes/mandates.rs
router
full_file
null
null
null
807
null
null
null
null
null
null
null
// Function: create_start_redirection_url // File: crates/hyperswitch_domain_models/src/payments.rs // Module: hyperswitch_domain_models // Documentation: This is the url to which the customer will be redirected to, to complete the redirection flow pub fn create_start_redirection_url( &self, base_url:...
crates/hyperswitch_domain_models/src/payments.rs
hyperswitch_domain_models
function_signature
null
null
null
99
create_start_redirection_url
null
null
null
null
null
null
// Function: network_token_incoming_webhooks_wrapper // File: crates/router/src/core/webhooks/incoming.rs // Module: router pub fn network_token_incoming_webhooks_wrapper<W: types::OutgoingWebhookType>( flow: &impl router_env::types::FlowMetric, state: SessionState, req: &actix_web::HttpRequest, body: ...
crates/router/src/core/webhooks/incoming.rs
router
function_signature
null
null
null
98
network_token_incoming_webhooks_wrapper
null
null
null
null
null
null
fields( vec![], vec![], vec![ RequiredField::BillingEmail, RequiredField::BillingCountries(vec!["ALL"]), RequiredField::BillingFirstName("first_...
crates/payment_methods/src/configs/payment_connector_required_fields.rs#chunk2
payment_methods
chunk
null
null
null
8,191
null
null
null
null
null
null
null
// Function: set_dashboard_metadata // File: crates/router/src/routes/user.rs // Module: router pub fn set_dashboard_metadata( state: web::Data<AppState>, req: HttpRequest, json_payload: web::Json<user_api::dashboard_metadata::SetMetaDataRequest>, ) -> HttpResponse
crates/router/src/routes/user.rs
router
function_signature
null
null
null
63
set_dashboard_metadata
null
null
null
null
null
null
// Implementation: impl api::PaymentCapture for for Stripebilling // File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentCapture for for Stripebilling
crates/hyperswitch_connectors/src/connectors/stripebilling.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Stripebilling
api::PaymentCapture for
0
0
null
null
// Struct: TaxData // File: crates/router/src/core/payments.rs // Module: router // Implementations: 0 pub struct TaxData
crates/router/src/core/payments.rs
router
struct_definition
TaxData
0
[]
33
null
null
null
null
null
null
null
| Self::CLP | Self::CNY | Self::COP | Self::CRC | Self::CUC | Self::CUP | Self::CVE | Self::CZK | Self::DJF | Self::DKK | Self::DOP | Self::DZD | Self::EGP ...
crates/common_enums/src/enums.rs#chunk1
common_enums
chunk
null
null
null
8,191
null
null
null
null
null
null
null
// Implementation: impl api::Payment for for Hyperwallet // File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Payment for for Hyperwallet
crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
hyperswitch_connectors
impl_block
null
null
null
56
null
Hyperwallet
api::Payment for
0
0
null
null
// Implementation: impl Deref for for UserEmail // File: crates/router/src/types/domain/user.rs // Module: router // Methods: 1 total (0 public) impl Deref for for UserEmail
crates/router/src/types/domain/user.rs
router
impl_block
null
null
null
44
null
UserEmail
Deref for
1
0
null
null
// File: crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs // Module: hyperswitch_connectors // Public functions: 1 // Public structs: 7 use std::collections::HashMap; use base64::Engine; use common_enums::enums; use common_utils::{crypto::GenerateDigest, date_time, pii::Email, request::Method}; use er...
crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs#chunk0
hyperswitch_connectors
chunk
null
null
null
8,184
null
null
null
null
null
null
null
// Struct: StripeApis // File: crates/router/src/compatibility/stripe.rs // Module: router // Implementations: 1 pub struct StripeApis
crates/router/src/compatibility/stripe.rs
router
struct_definition
StripeApis
1
[]
35
null
null
null
null
null
null
null
// Implementation: impl Thunes // File: crates/hyperswitch_connectors/src/connectors/thunes.rs // Module: hyperswitch_connectors // Methods: 1 total (1 public) impl Thunes
crates/hyperswitch_connectors/src/connectors/thunes.rs
hyperswitch_connectors
impl_block
null
null
null
45
null
Thunes
null
1
1
null
null
// Function: get_attempt_triggered_by // File: crates/hyperswitch_domain_models/src/revenue_recovery.rs // Module: hyperswitch_domain_models pub fn get_attempt_triggered_by(&self) -> Option<common_enums::TriggeredBy>
crates/hyperswitch_domain_models/src/revenue_recovery.rs
hyperswitch_domain_models
function_signature
null
null
null
51
get_attempt_triggered_by
null
null
null
null
null
null
// Struct: WellsfargoPaymentInitiator // File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct WellsfargoPaymentInitiator
crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
hyperswitch_connectors
struct_definition
WellsfargoPaymentInitiator
0
[]
55
null
null
null
null
null
null
null
// File: crates/analytics/src/disputes/accumulators.rs // Module: analytics // Public functions: 1 // Public structs: 3 use api_models::analytics::disputes::DisputeMetricsBucketValue; use diesel_models::enums as storage_enums; use super::metrics::DisputeMetricRow; #[derive(Debug, Default)] pub struct DisputeMetricsAc...
crates/analytics/src/disputes/accumulators.rs
analytics
full_file
null
null
null
823
null
null
null
null
null
null
null
// Struct: FiuuRefundSuccessResponse // File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct FiuuRefundSuccessResponse
crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
hyperswitch_connectors
struct_definition
FiuuRefundSuccessResponse
0
[]
56
null
null
null
null
null
null
null
// Function: payment_authorize // File: crates/external_services/src/grpc_client/unified_connector_service.rs // Module: external_services // Documentation: Performs Payment Authorize pub fn payment_authorize( &self, payment_authorize_request: payments_grpc::PaymentServiceAuthorizeRequest, con...
crates/external_services/src/grpc_client/unified_connector_service.rs
external_services
function_signature
null
null
null
99
payment_authorize
null
null
null
null
null
null
// Struct: OrderData // File: crates/router/src/types/payment_methods.rs // Module: router // Implementations: 0 pub struct OrderData
crates/router/src/types/payment_methods.rs
router
struct_definition
OrderData
0
[]
33
null
null
null
null
null
null
null
// File: crates/router/src/types/storage/ephemeral_key.rs // Module: router #[cfg(feature = "v2")] pub use diesel_models::ephemeral_key::{ClientSecretType, ClientSecretTypeNew}; pub use diesel_models::ephemeral_key::{EphemeralKey, EphemeralKeyNew}; #[cfg(feature = "v2")] use crate::db::errors; #[cfg(feature = "v2")] ...
crates/router/src/types/storage/ephemeral_key.rs
router
full_file
null
null
null
306
null
null
null
null
null
null
null
// Implementation: impl ConnectorValidation for for Billwerk // File: crates/hyperswitch_connectors/src/connectors/billwerk.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl ConnectorValidation for for Billwerk
crates/hyperswitch_connectors/src/connectors/billwerk.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Billwerk
ConnectorValidation for
0
0
null
null
// Struct: ThreeDSPaymentData // File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ThreeDSPaymentData
crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
hyperswitch_connectors
struct_definition
ThreeDSPaymentData
0
[]
50
null
null
null
null
null
null
null
// Implementation: impl api::PaymentToken for for Nuvei // File: crates/hyperswitch_connectors/src/connectors/nuvei.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentToken for for Nuvei
crates/hyperswitch_connectors/src/connectors/nuvei.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Nuvei
api::PaymentToken for
0
0
null
null
// Implementation: impl EnablePartialAuthorizationBool // File: crates/common_types/src/primitive_wrappers.rs // Module: common_types // Methods: 1 total (1 public) impl EnablePartialAuthorizationBool
crates/common_types/src/primitive_wrappers.rs
common_types
impl_block
null
null
null
43
null
EnablePartialAuthorizationBool
null
1
1
null
null
// Implementation: impl ConnectorCommon for for Zen // File: crates/hyperswitch_connectors/src/connectors/zen.rs // Module: hyperswitch_connectors // Methods: 6 total (0 public) impl ConnectorCommon for for Zen
crates/hyperswitch_connectors/src/connectors/zen.rs
hyperswitch_connectors
impl_block
null
null
null
51
null
Zen
ConnectorCommon for
6
0
null
null
// Struct: PaystackPaymentsResponseData // File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaystackPaymentsResponseData
crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
hyperswitch_connectors
struct_definition
PaystackPaymentsResponseData
0
[]
51
null
null
null
null
null
null
null
// Function: generate_signature // File: crates/hyperswitch_connectors/src/connectors/cybersource.rs // Module: hyperswitch_connectors pub fn generate_signature( &self, auth: cybersource::CybersourceAuthType, host: String, resource: &str, payload: &String, date: OffsetDa...
crates/hyperswitch_connectors/src/connectors/cybersource.rs
hyperswitch_connectors
function_signature
null
null
null
96
generate_signature
null
null
null
null
null
null
// Function: insert // File: crates/diesel_models/src/query/payment_link.rs // Module: diesel_models pub fn insert(self, conn: &PgPooledConn) -> StorageResult<PaymentLink>
crates/diesel_models/src/query/payment_link.rs
diesel_models
function_signature
null
null
null
44
insert
null
null
null
null
null
null
// Function: generate_payment_fingerprint // File: crates/router/src/core/blocklist/utils.rs // Module: router pub fn generate_payment_fingerprint( state: &SessionState, merchant_id: common_utils::id_type::MerchantId, payment_method_data: Option<domain::PaymentMethodData>, ) -> CustomResult<Option<String>,...
crates/router/src/core/blocklist/utils.rs
router
function_signature
null
null
null
77
generate_payment_fingerprint
null
null
null
null
null
null