text
stringlengths
65
57.3k
file_path
stringlengths
22
92
module
stringclasses
38 values
type
stringclasses
7 values
struct_name
stringlengths
3
60
impl_count
int64
0
60
traits
listlengths
0
59
tokens
int64
16
8.19k
function_name
stringlengths
3
85
type_name
stringlengths
1
67
trait_name
stringclasses
573 values
method_count
int64
0
31
public_method_count
int64
0
19
submodule_count
int64
0
56
export_count
int64
0
9
// File: crates/drainer/src/metrics.rs // Module: drainer use router_env::{counter_metric, global_meter, histogram_metric_f64, histogram_metric_u64}; global_meter!(DRAINER_METER, "DRAINER"); counter_metric!(JOBS_PICKED_PER_STREAM, DRAINER_METER); counter_metric!(CYCLES_COMPLETED_SUCCESSFULLY, DRAINER_METER); counter...
crates/drainer/src/metrics.rs
drainer
full_file
null
null
null
361
null
null
null
null
null
null
null
// Function: consumer_error_handler // File: crates/scheduler/src/consumer.rs // Module: scheduler pub fn consumer_error_handler( state: &(dyn SchedulerInterface + 'static)
crates/scheduler/src/consumer.rs
scheduler
function_signature
null
null
null
40
consumer_error_handler
null
null
null
null
null
null
// File: crates/router/src/types/api/verify_connector/paypal.rs // Module: router use error_stack::ResultExt; use super::{VerifyConnector, VerifyConnectorData}; use crate::{ connector, core::errors, routes::SessionState, services, types::{self, api}, }; #[async_trait::async_trait] impl VerifyConn...
crates/router/src/types/api/verify_connector/paypal.rs
router
full_file
null
null
null
409
null
null
null
null
null
null
null
// File: crates/storage_impl/src/payments/payment_intent.rs // Module: storage_impl #[cfg(feature = "olap")] use api_models::payments::{AmountFilter, Order, SortBy, SortOn}; #[cfg(feature = "olap")] use async_bb8_diesel::{AsyncConnection, AsyncRunQueryDsl}; #[cfg(feature = "v2")] use common_utils::fallback_reverse_loo...
crates/storage_impl/src/payments/payment_intent.rs#chunk0
storage_impl
chunk
null
null
null
8,191
null
null
null
null
null
null
null
// Struct: PaymentRequestCards // File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaymentRequestCards
crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
hyperswitch_connectors
struct_definition
PaymentRequestCards
0
[]
48
null
null
null
null
null
null
null
// Implementation: impl api::ConnectorCustomer for for Gocardless // File: crates/hyperswitch_connectors/src/connectors/gocardless.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::ConnectorCustomer for for Gocardless
crates/hyperswitch_connectors/src/connectors/gocardless.rs
hyperswitch_connectors
impl_block
null
null
null
60
null
Gocardless
api::ConnectorCustomer for
0
0
null
null
// Struct: ItaubankAuthType // File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ItaubankAuthType
crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
hyperswitch_connectors
struct_definition
ItaubankAuthType
0
[]
53
null
null
null
null
null
null
null
// Struct: HipayRouterData // File: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct HipayRouterData<T>
crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs
hyperswitch_connectors
struct_definition
HipayRouterData
0
[]
52
null
null
null
null
null
null
null
// Implementation: impl api::ConnectorAccessToken for for Blackhawknetwork // File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::ConnectorAccessToken for for Blackhawknetwork
crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
hyperswitch_connectors
impl_block
null
null
null
60
null
Blackhawknetwork
api::ConnectorAccessToken for
0
0
null
null
account_number: Secret<String>, /// Routing number for ach bank debit payment #[schema(value_type = String, example = "110000000")] routing_number: Secret<String>, #[schema(value_type = String, example = "John Test")] card_holder_name: Option<Secret<String>>, #[...
crates/api_models/src/payments.rs#chunk3
api_models
chunk
null
null
null
8,192
null
null
null
null
null
null
null
// Struct: PayoutVendorDetails // File: crates/api_models/src/payouts.rs // Module: api_models // Implementations: 0 pub struct PayoutVendorDetails
crates/api_models/src/payouts.rs
api_models
struct_definition
PayoutVendorDetails
0
[]
39
null
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: RoutingDictionaryRecord // File: crates/router/src/core/payments/routing/utils.rs // Module: router // Implementations: 0 pub struct RoutingDictionaryRecord
crates/router/src/core/payments/routing/utils.rs
router
struct_definition
RoutingDictionaryRecord
0
[]
38
null
null
null
null
null
null
null
// Struct: SankeyResponse // File: crates/api_models/src/analytics.rs // Module: api_models // Implementations: 0 pub struct SankeyResponse
crates/api_models/src/analytics.rs
api_models
struct_definition
SankeyResponse
0
[]
36
null
null
null
null
null
null
null
// Implementation: impl ConnectorValidation for for Authorizedotnet // File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs // Module: hyperswitch_connectors // Methods: 1 total (0 public) impl ConnectorValidation for for Authorizedotnet
crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Authorizedotnet
ConnectorValidation for
1
0
null
null
// Implementation: impl api::PaymentSession for for Santander // File: crates/hyperswitch_connectors/src/connectors/santander.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentSession for for Santander
crates/hyperswitch_connectors/src/connectors/santander.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Santander
api::PaymentSession for
0
0
null
null
// Struct: UserAuthenticationMethod // File: crates/diesel_models/src/user_authentication_method.rs // Module: diesel_models // Implementations: 0 pub struct UserAuthenticationMethod
crates/diesel_models/src/user_authentication_method.rs
diesel_models
struct_definition
UserAuthenticationMethod
0
[]
38
null
null
null
null
null
null
null
// Implementation: impl webhooks::IncomingWebhook for for Checkbook // File: crates/hyperswitch_connectors/src/connectors/checkbook.rs // Module: hyperswitch_connectors // Methods: 6 total (0 public) impl webhooks::IncomingWebhook for for Checkbook
crates/hyperswitch_connectors/src/connectors/checkbook.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Checkbook
webhooks::IncomingWebhook for
6
0
null
null
// Function: payment_start_redirection // File: crates/router/src/core/payments.rs // Module: router pub fn payment_start_redirection( state: SessionState, merchant_context: domain::MerchantContext, req: api_models::payments::PaymentStartRedirectionRequest, ) -> RouterResponse<serde_json::Value>
crates/router/src/core/payments.rs
router
function_signature
null
null
null
70
payment_start_redirection
null
null
null
null
null
null
// Implementation: impl api::PaymentSession for for Fiserv // File: crates/hyperswitch_connectors/src/connectors/fiserv.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentSession for for Fiserv
crates/hyperswitch_connectors/src/connectors/fiserv.rs
hyperswitch_connectors
impl_block
null
null
null
60
null
Fiserv
api::PaymentSession for
0
0
null
null
// File: crates/router/src/core/payments/operations/payment_session.rs // Module: router // Public structs: 1 use std::marker::PhantomData; use api_models::{admin::PaymentMethodsEnabled, enums::FrmSuggestion}; use async_trait::async_trait; use common_utils::ext_traits::{AsyncExt, ValueExt}; use error_stack::ResultExt...
crates/router/src/core/payments/operations/payment_session.rs
router
full_file
null
null
null
3,802
null
null
null
null
null
null
null
// Struct: PaymentDetail // File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaymentDetail
crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
hyperswitch_connectors
struct_definition
PaymentDetail
0
[]
47
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs // Module: hyperswitch_connectors // Public functions: 3 // Public structs: 1 pub mod transformers; use std::sync::LazyLock; use base64::Engine; use common_enums::enums; use common_utils::{ consts, errors::CustomResult, ext_traits::Bytes...
crates/hyperswitch_connectors/src/connectors/barclaycard.rs#chunk0
hyperswitch_connectors
chunk
null
null
null
8,176
null
null
null
null
null
null
null
// Function: find_payout_link_by_link_id // File: crates/diesel_models/src/query/generic_link.rs // Module: diesel_models pub fn find_payout_link_by_link_id( conn: &PgPooledConn, link_id: &str, ) -> StorageResult<PayoutLink>
crates/diesel_models/src/query/generic_link.rs
diesel_models
function_signature
null
null
null
66
find_payout_link_by_link_id
null
null
null
null
null
null
// Implementation: impl Dispute for for Adyen // File: crates/hyperswitch_connectors/src/connectors/adyen.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl Dispute for for Adyen
crates/hyperswitch_connectors/src/connectors/adyen.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Adyen
Dispute for
0
0
null
null
// Function: new // File: crates/masking/src/strong_secret.rs // Module: masking // Documentation: Take ownership of a secret value pub fn new(secret: Secret) -> Self
crates/masking/src/strong_secret.rs
masking
function_signature
null
null
null
41
new
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/payload/requests.rs // Module: hyperswitch_connectors // Public structs: 7 use common_utils::types::StringMajorUnit; use masking::Secret; use serde::{Deserialize, Serialize}; use crate::connectors::payload::responses; #[derive(Debug, Serialize, PartialEq)] #[serd...
crates/hyperswitch_connectors/src/connectors/payload/requests.rs
hyperswitch_connectors
full_file
null
null
null
849
null
null
null
null
null
null
null
// Implementation: impl TrustpaymentsErrorResponse // File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs // Module: hyperswitch_connectors // Methods: 1 total (1 public) impl TrustpaymentsErrorResponse
crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
hyperswitch_connectors
impl_block
null
null
null
51
null
TrustpaymentsErrorResponse
null
1
1
null
null
// Struct: BraintreeApiErrorResponse // File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BraintreeApiErrorResponse
crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
hyperswitch_connectors
struct_definition
BraintreeApiErrorResponse
0
[]
50
null
null
null
null
null
null
null
// File: crates/router/src/core/revenue_recovery/api.rs // Module: router // Public functions: 5 use actix_web::{web, Responder}; use api_models::{payments as payments_api, payments as api_payments}; use common_utils::id_type; use error_stack::{report, FutureExt, ResultExt}; use hyperswitch_domain_models::{ mercha...
crates/router/src/core/revenue_recovery/api.rs
router
full_file
null
null
null
2,768
null
null
null
null
null
null
null
// Implementation: impl Responder // File: crates/router/src/analytics.rs // Module: router // Methods: 0 total (0 public) impl Responder
crates/router/src/analytics.rs
router
impl_block
null
null
null
35
null
Responder
null
0
0
null
null
// Struct: SantanderPaymentsCancelRequest // File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct SantanderPaymentsCancelRequest
crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
hyperswitch_connectors
struct_definition
SantanderPaymentsCancelRequest
0
[]
52
null
null
null
null
null
null
null
// Struct: PaymentProcessorTokenWithRetryInfo // File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs // Module: router // Implementations: 0 pub struct PaymentProcessorTokenWithRetryInfo
crates/router/src/types/storage/revenue_recovery_redis_operation.rs
router
struct_definition
PaymentProcessorTokenWithRetryInfo
0
[]
45
null
null
null
null
null
null
null
// Struct: ThirdPartyMessages // File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ThirdPartyMessages
crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
hyperswitch_connectors
struct_definition
ThirdPartyMessages
0
[]
47
null
null
null
null
null
null
null
// Implementation: impl api::Refund for for Fiserv // File: crates/hyperswitch_connectors/src/connectors/fiserv.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Fiserv
crates/hyperswitch_connectors/src/connectors/fiserv.rs
hyperswitch_connectors
impl_block
null
null
null
60
null
Fiserv
api::Refund for
0
0
null
null
// Implementation: impl api::PaymentAuthorize for for Placetopay // File: crates/hyperswitch_connectors/src/connectors/placetopay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentAuthorize for for Placetopay
crates/hyperswitch_connectors/src/connectors/placetopay.rs
hyperswitch_connectors
impl_block
null
null
null
63
null
Placetopay
api::PaymentAuthorize for
0
0
null
null
// Implementation: impl PaypalUpdateOrderRequest // File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs // Module: hyperswitch_connectors // Methods: 1 total (1 public) impl PaypalUpdateOrderRequest
crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
hyperswitch_connectors
impl_block
null
null
null
52
null
PaypalUpdateOrderRequest
null
1
1
null
null
// Implementation: impl api::PaymentVoid for for Worldpay // File: crates/hyperswitch_connectors/src/connectors/worldpay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentVoid for for Worldpay
crates/hyperswitch_connectors/src/connectors/worldpay.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Worldpay
api::PaymentVoid for
0
0
null
null
// Implementation: impl ConnectorCommon for for Nomupay // File: crates/hyperswitch_connectors/src/connectors/nomupay.rs // Module: hyperswitch_connectors // Methods: 6 total (0 public) impl ConnectorCommon for for Nomupay
crates/hyperswitch_connectors/src/connectors/nomupay.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Nomupay
ConnectorCommon for
6
0
null
null
// Struct: SamsungPayPaymentInformation // File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct SamsungPayPaymentInformation
crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
hyperswitch_connectors
struct_definition
SamsungPayPaymentInformation
0
[]
51
null
null
null
null
null
null
null
// Implementation: impl ConnectorSpecifications for for Klarna // File: crates/hyperswitch_connectors/src/connectors/klarna.rs // Module: hyperswitch_connectors // Methods: 3 total (0 public) impl ConnectorSpecifications for for Klarna
crates/hyperswitch_connectors/src/connectors/klarna.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Klarna
ConnectorSpecifications for
3
0
null
null
// Function: get_header_value_by_key // File: crates/router/src/services/authentication.rs // Module: router pub fn get_header_value_by_key(&self, key: &str) -> Option<&str>
crates/router/src/services/authentication.rs
router
function_signature
null
null
null
44
get_header_value_by_key
null
null
null
null
null
null
// Struct: SmithyEnumValue // File: crates/smithy-core/src/types.rs // Module: smithy-core // Implementations: 0 pub struct SmithyEnumValue
crates/smithy-core/src/types.rs
smithy-core
struct_definition
SmithyEnumValue
0
[]
40
null
null
null
null
null
null
null
// Function: add_payment_method_token // File: crates/router/src/core/payments/tokenization.rs // Module: router pub fn add_payment_method_token<F: Clone, T: types::Tokenizable + Clone>( state: &SessionState, connector: &api::ConnectorData, tokenization_action: &payments::TokenizationAction, router_dat...
crates/router/src/core/payments/tokenization.rs
router
function_signature
null
null
null
126
add_payment_method_token
null
null
null
null
null
null
// Struct: GetSubscriptionPlanPrices // File: crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct GetSubscriptionPlanPrices
crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs
hyperswitch_domain_models
struct_definition
GetSubscriptionPlanPrices
0
[]
47
null
null
null
null
null
null
null
// Implementation: impl super::refunds::metrics::RefundMetricAnalytics for for SqlxClient // File: crates/analytics/src/sqlx.rs // Module: analytics // Methods: 0 total (0 public) impl super::refunds::metrics::RefundMetricAnalytics for for SqlxClient
crates/analytics/src/sqlx.rs
analytics
impl_block
null
null
null
64
null
SqlxClient
super::refunds::metrics::RefundMetricAnalytics for
0
0
null
null
// Struct: PaymentMethodOptions // File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaymentMethodOptions
crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
hyperswitch_connectors
struct_definition
PaymentMethodOptions
0
[]
48
null
null
null
null
null
null
null
// Implementation: impl NetworkTokenWebhookResponse // File: crates/router/src/core/webhooks/network_tokenization_incoming.rs // Module: router // Methods: 3 total (1 public) impl NetworkTokenWebhookResponse
crates/router/src/core/webhooks/network_tokenization_incoming.rs
router
impl_block
null
null
null
47
null
NetworkTokenWebhookResponse
null
3
1
null
null
// Function: mock_get_card // File: crates/router/src/core/payment_methods/cards.rs // Module: router pub fn mock_get_card<'a>( db: &dyn db::StorageInterface, card_id: &'a str, ) -> errors::CustomResult<(payment_methods::GetCardResponse, Option<String>), errors::VaultError>
crates/router/src/core/payment_methods/cards.rs
router
function_signature
null
null
null
73
mock_get_card
null
null
null
null
null
null
// Implementation: impl RedisConnInterface for for RouterStore // File: crates/storage_impl/src/lib.rs // Module: storage_impl // Methods: 1 total (0 public) impl RedisConnInterface for for RouterStore
crates/storage_impl/src/lib.rs
storage_impl
impl_block
null
null
null
46
null
RouterStore
RedisConnInterface for
1
0
null
null
// Implementation: impl api::MandateSetup for for Peachpayments // File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::MandateSetup for for Peachpayments
crates/hyperswitch_connectors/src/connectors/peachpayments.rs
hyperswitch_connectors
impl_block
null
null
null
63
null
Peachpayments
api::MandateSetup for
0
0
null
null
// Function: unlock_connector_customer_status // File: crates/router/src/core/revenue_recovery_data_backfill.rs // Module: router pub fn unlock_connector_customer_status( state: SessionState, connector_customer_id: String, ) -> RouterResult<ApplicationResponse<UnlockStatusResponse>>
crates/router/src/core/revenue_recovery_data_backfill.rs
router
function_signature
null
null
null
59
unlock_connector_customer_status
null
null
null
null
null
null
// Function: get_connector_tokenization_action_when_confirm_true // File: crates/router/src/core/payments.rs // Module: router pub fn get_connector_tokenization_action_when_confirm_true<F, Req, D>( state: &SessionState, operation: &BoxedOperation<'_, F, Req, D>, payment_data: &mut D, validate_result: &...
crates/router/src/core/payments.rs
router
function_signature
null
null
null
166
get_connector_tokenization_action_when_confirm_true
null
null
null
null
null
null
// Function: find_by_merchant_id_payment_id // File: crates/diesel_models/src/query/dispute.rs // Module: diesel_models pub fn find_by_merchant_id_payment_id( conn: &PgPooledConn, merchant_id: &common_utils::id_type::MerchantId, payment_id: &common_utils::id_type::PaymentId, ) -> StorageRes...
crates/diesel_models/src/query/dispute.rs
diesel_models
function_signature
null
null
null
85
find_by_merchant_id_payment_id
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs // Module: hyperswitch_connectors // Public functions: 11 // Public structs: 32 use base64::Engine; use common_enums::enums; use common_utils::{ consts::BASE64_ENGINE, crypto::{EncodeMessage, SignMessage}, ext_traits::{Encode, Val...
crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs#chunk0
hyperswitch_connectors
chunk
null
null
null
8,173
null
null
null
null
null
null
null
// Struct: FrmFulfillmentResponse // File: crates/router/src/core/fraud_check/types.rs // Module: router // Implementations: 0 pub struct FrmFulfillmentResponse
crates/router/src/core/fraud_check/types.rs
router
struct_definition
FrmFulfillmentResponse
0
[]
41
null
null
null
null
null
null
null
// Struct: RelayWebhooks // File: crates/router/src/routes/app.rs // Module: router // Implementations: 1 pub struct RelayWebhooks
crates/router/src/routes/app.rs
router
struct_definition
RelayWebhooks
1
[]
34
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs // Module: hyperswitch_connectors // Public structs: 9 use std::collections::HashMap; use common_enums::{enums, AttemptStatus}; use common_utils::{request::Method, types::MinorUnit}; use hyperswitch_domain_models::{ router_data::{Conne...
crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs
hyperswitch_connectors
full_file
null
null
null
2,070
null
null
null
null
null
null
null
// Struct: BokuAuthType // File: crates/hyperswitch_connectors/src/connectors/boku/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BokuAuthType
crates/hyperswitch_connectors/src/connectors/boku/transformers.rs
hyperswitch_connectors
struct_definition
BokuAuthType
0
[]
49
null
null
null
null
null
null
null
// Function: get_order_status // File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs // Module: hyperswitch_connectors pub fn get_order_status( item: PaypalOrderStatus, intent: PaypalPaymentIntent, ) -> storage_enums::AttemptStatus
crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
hyperswitch_connectors
function_signature
null
null
null
63
get_order_status
null
null
null
null
null
null
// Function: get_basic_auth_header // File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs // Module: hyperswitch_connectors pub fn get_basic_auth_header(&self) -> String
crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
hyperswitch_connectors
function_signature
null
null
null
48
get_basic_auth_header
null
null
null
null
null
null
// File: crates/payment_methods/src/configs.rs // Module: payment_methods pub mod payment_connector_required_fields; pub mod settings;
crates/payment_methods/src/configs.rs
payment_methods
full_file
null
null
null
28
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs // Module: hyperswitch_connectors // Public functions: 1 // Public structs: 1 pub mod transformers; use std::sync::LazyLock; use common_enums::{enums, enums::PaymentMethodType}; use common_utils::{ errors::CustomResult, ext_traits::Byte...
crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
hyperswitch_connectors
full_file
null
null
null
4,463
null
null
null
null
null
null
null
// Function: get_profile_routing_events // File: crates/router/src/analytics.rs // Module: router pub fn get_profile_routing_events( state: web::Data<AppState>, req: actix_web::HttpRequest, json_payload: web::Query<api_models::analytics::routing_events::RoutingEventsRequest>, ) -> impl Resp...
crates/router/src/analytics.rs
router
function_signature
null
null
null
74
get_profile_routing_events
null
null
null
null
null
null
// Implementation: impl api::PaymentAuthorize for for Payme // File: crates/hyperswitch_connectors/src/connectors/payme.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentAuthorize for for Payme
crates/hyperswitch_connectors/src/connectors/payme.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Payme
api::PaymentAuthorize for
0
0
null
null
// Function: collect // File: crates/analytics/src/active_payments/accumulator.rs // Module: analytics pub fn collect(self) -> ActivePaymentsMetricsBucketValue
crates/analytics/src/active_payments/accumulator.rs
analytics
function_signature
null
null
null
35
collect
null
null
null
null
null
null
// Struct: GenericLink // File: crates/diesel_models/src/generic_link.rs // Module: diesel_models // Implementations: 0 pub struct GenericLink
crates/diesel_models/src/generic_link.rs
diesel_models
struct_definition
GenericLink
0
[]
36
null
null
null
null
null
null
null
// Module Structure // File: crates/diesel_models/src/query/user.rs // Module: diesel_models // Public submodules: pub mod sample_data; pub mod theme;
crates/diesel_models/src/query/user.rs
diesel_models
module_structure
null
null
null
36
null
null
null
null
null
2
0
// File: crates/api_models/src/open_router.rs // Module: api_models // Public functions: 6 // Public structs: 23 use std::{collections::HashMap, fmt::Debug}; use common_utils::{errors, id_type, types::MinorUnit}; pub use euclid::{ dssa::types::EuclidAnalysable, frontend::{ ast, dir::{DirKeyKin...
crates/api_models/src/open_router.rs
api_models
full_file
null
null
null
3,088
null
null
null
null
null
null
null
// Struct: PaymentsDslInput // File: crates/router/src/core/routing.rs // Module: router // Implementations: 1 pub struct PaymentsDslInput<'a>
crates/router/src/core/routing.rs
router
struct_definition
PaymentsDslInput
1
[]
40
null
null
null
null
null
null
null
// File: crates/router_derive/src/macros/api_error/helpers.rs // Module: router_derive use proc_macro2::TokenStream; use quote::ToTokens; use syn::{ parse::Parse, spanned::Spanned, DeriveInput, Field, Fields, LitStr, Token, TypePath, Variant, }; use crate::macros::helpers::{get_metadata_inner, occurrence_error}; ...
crates/router_derive/src/macros/api_error/helpers.rs
router_derive
full_file
null
null
null
1,848
null
null
null
null
null
null
null
// Implementation: impl api::PaymentAuthorize for for Itaubank // File: crates/hyperswitch_connectors/src/connectors/itaubank.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentAuthorize for for Itaubank
crates/hyperswitch_connectors/src/connectors/itaubank.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Itaubank
api::PaymentAuthorize for
0
0
null
null
// Function: call_update_gateway_score_open_router // File: crates/router/src/routes/routing.rs // Module: router pub fn call_update_gateway_score_open_router( state: web::Data<AppState>, req: HttpRequest, payload: web::Json<api_models::open_router::UpdateScorePayload>, ) -> impl Responder
crates/router/src/routes/routing.rs
router
function_signature
null
null
null
71
call_update_gateway_score_open_router
null
null
null
null
null
null
// Struct: BillingAddress // File: crates/hyperswitch_connectors/src/connectors/payload/requests.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BillingAddress
crates/hyperswitch_connectors/src/connectors/payload/requests.rs
hyperswitch_connectors
struct_definition
BillingAddress
0
[]
44
null
null
null
null
null
null
null
// Function: refunds_manual_update // File: crates/router/src/routes/refunds.rs // Module: router pub fn refunds_manual_update( state: web::Data<AppState>, req: HttpRequest, payload: web::Json<api_models::refunds::RefundManualUpdateRequest>, path: web::Path<String>, ) -> HttpResponse
crates/router/src/routes/refunds.rs
router
function_signature
null
null
null
73
refunds_manual_update
null
null
null
null
null
null
// File: crates/connector_configs/src/transformer.rs // Module: connector_configs // Public functions: 4 use std::str::FromStr; use api_models::{ enums::{ Connector, PaymentMethod, PaymentMethodType::{self, AliPay, ApplePay, GooglePay, Klarna, Paypal, WeChatPay}, }, payment_methods, re...
crates/connector_configs/src/transformer.rs
connector_configs
full_file
null
null
null
1,506
null
null
null
null
null
null
null
// Implementation: impl Barclaycard // File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs // Module: hyperswitch_connectors // Methods: 1 total (1 public) impl Barclaycard
crates/hyperswitch_connectors/src/connectors/barclaycard.rs
hyperswitch_connectors
impl_block
null
null
null
49
null
Barclaycard
null
1
1
null
null
// Struct: FiservemeaError // File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct FiservemeaError
crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
hyperswitch_connectors
struct_definition
FiservemeaError
0
[]
56
null
null
null
null
null
null
null
// Struct: Hipay // File: crates/hyperswitch_connectors/src/connectors/hipay.rs // Module: hyperswitch_connectors // Implementations: 17 // Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund...
crates/hyperswitch_connectors/src/connectors/hipay.rs
hyperswitch_connectors
struct_definition
Hipay
17
[ "api::Payment", "api::PaymentSession", "api::ConnectorAccessToken", "api::MandateSetup", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentCapture", "api::PaymentVoid", "api::Refund", "api::RefundExecute", "api::RefundSync", "api::PaymentToken", "ConnectorCommon", "ConnectorValidat...
126
null
null
null
null
null
null
null
// Struct: PaymentWebhooksLink // File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PaymentWebhooksLink
crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
hyperswitch_connectors
struct_definition
PaymentWebhooksLink
0
[]
50
null
null
null
null
null
null
null
// File: crates/router/src/services/kafka/payment_intent_event.rs // Module: router // Public functions: 4 // Public structs: 2 #[cfg(feature = "v2")] use ::common_types::{ payments, primitive_wrappers::{EnablePartialAuthorizationBool, RequestExtendedAuthorizationBool}, }; #[cfg(feature = "v2")] use common_enu...
crates/router/src/services/kafka/payment_intent_event.rs
router
full_file
null
null
null
3,283
null
null
null
null
null
null
null
// Struct: Noon // File: crates/hyperswitch_connectors/src/connectors/noon.rs // Module: hyperswitch_connectors // Implementations: 19 // Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund, ...
crates/hyperswitch_connectors/src/connectors/noon.rs
hyperswitch_connectors
struct_definition
Noon
19
[ "api::Payment", "api::PaymentSession", "api::ConnectorAccessToken", "api::MandateSetup", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentCapture", "api::PaymentVoid", "api::Refund", "api::RefundExecute", "api::RefundSync", "api::PaymentToken", "api::ConnectorMandateRevoke", "Conn...
138
null
null
null
null
null
null
null
// Implementation: impl webhooks::IncomingWebhook for for Katapult // File: crates/hyperswitch_connectors/src/connectors/katapult.rs // Module: hyperswitch_connectors // Methods: 3 total (0 public) impl webhooks::IncomingWebhook for for Katapult
crates/hyperswitch_connectors/src/connectors/katapult.rs
hyperswitch_connectors
impl_block
null
null
null
62
null
Katapult
webhooks::IncomingWebhook for
3
0
null
null
// Struct: OrderInformationWithBill // File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct OrderInformationWithBill
crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
hyperswitch_connectors
struct_definition
OrderInformationWithBill
0
[]
51
null
null
null
null
null
null
null
// Trait: FieldExt // File: crates/router_derive/src/macros/schema/helpers.rs // Module: router_derive pub trait FieldExt
crates/router_derive/src/macros/schema/helpers.rs
router_derive
trait_definition
null
null
null
31
null
null
FieldExt
null
null
null
null
// Function: add_random_delay_to_schedule_time // File: crates/router/src/workflows/revenue_recovery.rs // Module: router pub fn add_random_delay_to_schedule_time( state: &SessionState, schedule_time: time::PrimitiveDateTime, ) -> time::PrimitiveDateTime
crates/router/src/workflows/revenue_recovery.rs
router
function_signature
null
null
null
59
add_random_delay_to_schedule_time
null
null
null
null
null
null
// Struct: ChargebeeSubscriptionData // File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ChargebeeSubscriptionData
crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
hyperswitch_connectors
struct_definition
ChargebeeSubscriptionData
0
[]
50
null
null
null
null
null
null
null
// Implementation: impl PaymentLink // File: crates/router/src/routes/app.rs // Module: router // Methods: 1 total (1 public) impl PaymentLink
crates/router/src/routes/app.rs
router
impl_block
null
null
null
35
null
PaymentLink
null
1
1
null
null
// File: crates/router/src/core/payments/operations/payment_complete_authorize.rs // Module: router // Public structs: 1 use std::marker::PhantomData; use api_models::enums::FrmSuggestion; use async_trait::async_trait; use error_stack::{report, ResultExt}; use router_derive::PaymentOperation; use router_env::{instrum...
crates/router/src/core/payments/operations/payment_complete_authorize.rs
router
full_file
null
null
null
4,081
null
null
null
null
null
null
null
// Struct: BitpayErrorResponse // File: crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BitpayErrorResponse
crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs
hyperswitch_connectors
struct_definition
BitpayErrorResponse
0
[]
47
null
null
null
null
null
null
null
// Struct: ReInviteUserRequest // File: crates/api_models/src/user.rs // Module: api_models // Implementations: 0 pub struct ReInviteUserRequest
crates/api_models/src/user.rs
api_models
struct_definition
ReInviteUserRequest
0
[]
37
null
null
null
null
null
null
null
// Struct: CheckoutWebhookObjectResource // File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct CheckoutWebhookObjectResource
crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
hyperswitch_connectors
struct_definition
CheckoutWebhookObjectResource
0
[]
51
null
null
null
null
null
null
null
// Struct: OrderInformationWithBill // File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct OrderInformationWithBill
crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
hyperswitch_connectors
struct_definition
OrderInformationWithBill
0
[]
51
null
null
null
null
null
null
null
// Function: get_billing_required_fields // File: crates/payment_methods/src/configs/payment_connector_required_fields.rs // Module: payment_methods pub fn get_billing_required_fields() -> HashMap<String, RequiredFieldInfo>
crates/payment_methods/src/configs/payment_connector_required_fields.rs
payment_methods
function_signature
null
null
null
44
get_billing_required_fields
null
null
null
null
null
null
// Implementation: impl RoleNew // File: crates/diesel_models/src/query/role.rs // Module: diesel_models // Methods: 1 total (0 public) impl RoleNew
crates/diesel_models/src/query/role.rs
diesel_models
impl_block
null
null
null
39
null
RoleNew
null
1
0
null
null
// Struct: SignifydPaymentsRecordReturnResponse // File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct SignifydPaymentsRecordReturnResponse
crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
hyperswitch_connectors
struct_definition
SignifydPaymentsRecordReturnResponse
0
[]
57
null
null
null
null
null
null
null
// Implementation: impl ConnectorCommon for for Worldpayvantiv // File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs // Module: hyperswitch_connectors // Methods: 6 total (0 public) impl ConnectorCommon for for Worldpayvantiv
crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
hyperswitch_connectors
impl_block
null
null
null
59
null
Worldpayvantiv
ConnectorCommon for
6
0
null
null
// Struct: Encryption // File: crates/common_utils/src/encryption.rs // Module: common_utils // Implementations: 1 pub struct Encryption
crates/common_utils/src/encryption.rs
common_utils
struct_definition
Encryption
1
[]
32
null
null
null
null
null
null
null
// Struct: Nmi // File: crates/hyperswitch_connectors/src/connectors/nmi.rs // Module: hyperswitch_connectors // Implementations: 20 // Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund, ap...
crates/hyperswitch_connectors/src/connectors/nmi.rs
hyperswitch_connectors
struct_definition
Nmi
20
[ "api::Payment", "api::PaymentSession", "api::ConnectorAccessToken", "api::MandateSetup", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentCapture", "api::PaymentVoid", "api::Refund", "api::RefundExecute", "api::RefundSync", "api::PaymentToken", "ConnectorCommon", "ConnectorValidat...
138
null
null
null
null
null
null
null
// Struct: PayoutLinkResponse // File: crates/api_models/src/payouts.rs // Module: api_models // Implementations: 0 pub struct PayoutLinkResponse
crates/api_models/src/payouts.rs
api_models
struct_definition
PayoutLinkResponse
0
[]
39
null
null
null
null
null
null
null