text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// File: crates/router/src/core/payments/operations/payment_update_metadata.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
use api_models::enums::FrmSuggestion;
use async_trait::async_trait;
use common_utils::types::keymanager::KeyManagerState;
use error_stack::ResultExt;
use masking::ExposeI... | crates/router/src/core/payments/operations/payment_update_metadata.rs | router | full_file | null | null | null | 2,177 | null | null | null | null | null | null | null |
// Function: generate_password_hash
// File: crates/router/src/utils/user/password.rs
// Module: router
pub fn generate_password_hash(
password: Secret<String>,
) -> CustomResult<Secret<String>, UserErrors> | crates/router/src/utils/user/password.rs | router | function_signature | null | null | null | 46 | generate_password_hash | null | null | null | null | null | null |
// Function: get_authentication_connector_config
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
pub fn get_authentication_connector_config(
connector: AuthenticationConnectors,
) -> Result<Option<ConnectorTomlConfig>, String> | crates/connector_configs/src/connector.rs | connector_configs | function_signature | null | null | null | 53 | get_authentication_connector_config | null | null | null | null | null | null |
// Function: get_enable_payment_response_hash
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_enable_payment_response_hash(&self) -> bool | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 37 | get_enable_payment_response_hash | 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 |
// Implementation: impl CustomerUpdateRequest
// File: crates/api_models/src/customers.rs
// Module: api_models
// Methods: 2 total (2 public)
impl CustomerUpdateRequest | crates/api_models/src/customers.rs | api_models | impl_block | null | null | null | 39 | null | CustomerUpdateRequest | null | 2 | 2 | null | null |
// Function: receiver_for_error
// File: crates/router/src/lib.rs
// Module: router
pub fn receiver_for_error(rx: oneshot::Receiver<() | crates/router/src/lib.rs | router | function_signature | null | null | null | 35 | receiver_for_error | null | null | null | null | null | null |
// Struct: UserUpdateInternal
// File: crates/diesel_models/src/user.rs
// Module: diesel_models
// Implementations: 0
pub struct UserUpdateInternal | crates/diesel_models/src/user.rs | diesel_models | struct_definition | UserUpdateInternal | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: RedisKey
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Implementations: 1
pub struct RedisKey | crates/redis_interface/src/types.rs | redis_interface | struct_definition | RedisKey | 1 | [] | 34 | null | null | null | null | null | null | null |
// Struct: RefundSearchInput
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundSearchInput | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | RefundSearchInput | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Paybox
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Paybox | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Paybox | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Struct: GlobalPaymentMethodSessionId
// File: crates/common_utils/src/id_type/global_id/payment_methods.rs
// Module: common_utils
// Implementations: 2
// Traits: crate::events::ApiEventMetric
pub struct GlobalPaymentMethodSessionId | crates/common_utils/src/id_type/global_id/payment_methods.rs | common_utils | struct_definition | GlobalPaymentMethodSessionId | 2 | [
"crate::events::ApiEventMetric"
] | 55 | null | null | null | null | null | null | null |
// Implementation: impl std::ops::DerefMut for for PayoutsMandateReference
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl std::ops::DerefMut for for PayoutsMandateReference | crates/diesel_models/src/payment_method.rs | diesel_models | impl_block | null | null | null | 66 | null | PayoutsMandateReference | std::ops::DerefMut for | 1 | 0 | null | null |
// File: crates/router/src/types/api/cards.rs
// Module: router
| crates/router/src/types/api/cards.rs | router | full_file | null | null | null | 16 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutRecipient for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutRecipient for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nomupay | api::PayoutRecipient for | 0 | 0 | null | null |
// Struct: OrganizationLevel
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 0
pub struct OrganizationLevel | crates/router/src/types/domain/user.rs | router | struct_definition | OrganizationLevel | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: GlobalPaymentMethodId
// File: crates/common_utils/src/id_type/global_id/payment_methods.rs
// Module: common_utils
// Implementations: 2
// Traits: crate::events::ApiEventMetric
pub struct GlobalPaymentMethodId | crates/common_utils/src/id_type/global_id/payment_methods.rs | common_utils | struct_definition | GlobalPaymentMethodId | 2 | [
"crate::events::ApiEventMetric"
] | 53 | null | null | null | null | null | null | null |
// Struct: TokenizedBankSensitiveValues
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
// Implementations: 0
pub struct TokenizedBankSensitiveValues | crates/router/src/core/payment_methods/vault.rs | router | struct_definition | TokenizedBankSensitiveValues | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl AmountDetails
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Methods: 6 total (5 public)
impl AmountDetails | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | impl_block | null | null | null | 43 | null | AmountDetails | null | 6 | 5 | null | null |
// Function: update_gsm_rule
// File: crates/router/src/core/gsm.rs
// Module: router
pub fn update_gsm_rule(
state: SessionState,
gsm_request: gsm_api_types::GsmUpdateRequest,
) -> RouterResponse<gsm_api_types::GsmResponse> | crates/router/src/core/gsm.rs | router | function_signature | null | null | null | 65 | update_gsm_rule | null | null | null | null | null | null |
// Function: kv_for_merchant
// File: crates/router/src/core/admin.rs
// Module: router
pub fn kv_for_merchant(
state: SessionState,
merchant_id: id_type::MerchantId,
enable: bool,
) -> RouterResponse<api_models::admin::ToggleKVResponse> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 65 | kv_for_merchant | null | null | null | null | null | null |
// Implementation: impl PaymentAddress
// File: crates/hyperswitch_domain_models/src/payment_address.rs
// Module: hyperswitch_domain_models
// Methods: 7 total (7 public)
impl PaymentAddress | crates/hyperswitch_domain_models/src/payment_address.rs | hyperswitch_domain_models | impl_block | null | null | null | 43 | null | PaymentAddress | null | 7 | 7 | null | null |
// Implementation: impl Default for for ProducerSettings
// File: crates/scheduler/src/settings.rs
// Module: scheduler
// Methods: 1 total (0 public)
impl Default for for ProducerSettings | crates/scheduler/src/settings.rs | scheduler | impl_block | null | null | null | 41 | null | ProducerSettings | Default for | 1 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Inespay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl ApiEventMetric for for ConfirmSubscriptionResponse
// File: crates/api_models/src/subscription.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for ConfirmSubscriptionResponse | crates/api_models/src/subscription.rs | api_models | impl_block | null | null | null | 49 | null | ConfirmSubscriptionResponse | ApiEventMetric for | 0 | 0 | null | null |
// Struct: NovalnetCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetCancelRequest | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetCancelRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: BluesnapWebhookObjectEventType
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapWebhookObjectEventType | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapWebhookObjectEventType | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: CardPayoutMethodSpecificInput
// File: crates/hyperswitch_connectors/src/connectors/payone/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardPayoutMethodSpecificInput | crates/hyperswitch_connectors/src/connectors/payone/transformers.rs | hyperswitch_connectors | struct_definition | CardPayoutMethodSpecificInput | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Silverflow | null | 1 | 1 | null | null |
// Function: as_map
// File: crates/api_models/src/proxy.rs
// Module: api_models
pub fn as_map(&self) -> &HashMap<String, String> | crates/api_models/src/proxy.rs | api_models | function_signature | null | null | null | 37 | as_map | null | null | null | null | null | null |
// Struct: FileId
// File: crates/router/src/types/api/files.rs
// Module: router
// Implementations: 0
pub struct FileId | crates/router/src/types/api/files.rs | router | struct_definition | FileId | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: ScheduledToken
// File: crates/router/src/workflows/revenue_recovery.rs
// Module: router
// Implementations: 0
pub struct ScheduledToken | crates/router/src/workflows/revenue_recovery.rs | router | struct_definition | ScheduledToken | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Nexixpay
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Nexixpay | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nexixpay | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: get_country_code
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Returns the country code as a string.
pub fn get_country_code(&self) -> String | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 45 | get_country_code | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/configs.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Config> | crates/diesel_models/src/query/configs.rs | diesel_models | function_signature | null | null | null | 43 | insert | null | null | null | null | null | null |
// Function: transfer_encryption_key
// File: crates/router/src/core/encryption.rs
// Module: router
pub fn transfer_encryption_key(
state: &SessionState,
req: MerchantKeyTransferRequest,
) -> errors::CustomResult<usize, errors::ApiErrorResponse> | crates/router/src/core/encryption.rs | router | function_signature | null | null | null | 59 | transfer_encryption_key | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Paypal | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl IncomingWebhook for for Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Multisafepay | IncomingWebhook for | 3 | 0 | null | null |
// Function: is_zero_decimal_currency
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_zero_decimal_currency(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 37 | is_zero_decimal_currency | null | null | null | null | null | null |
) -> CustomResult<String, errors::ApiErrorResponse> {
let (tera, mut context) = build_payment_link_template(payment_link_data)
.attach_printable("Failed to build payment link's HTML template")?;
let payment_link_initiator =
include_str!("../core/payment_link/payment_link_initiate/payment_link_in... | crates/router/src/services/api.rs#chunk6 | router | chunk | null | null | null | 1,380 | null | null | null | null | null | null | null |
// Function: get_decrypted_apple_pay_payment_data_optional
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Get the decrypted Apple Pay payment data if it exists
pub fn get_decrypted_apple_pay_payment_data_optional(&self) -> Option<&ApplePayPredecryptData> | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 67 | get_decrypted_apple_pay_payment_data_optional | null | null | null | null | null | null |
// Implementation: impl Bambora
// File: crates/hyperswitch_connectors/src/connectors/bambora.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Bambora | crates/hyperswitch_connectors/src/connectors/bambora.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Bambora | null | 1 | 1 | null | null |
// Implementation: impl AccountsStorageInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 0 total (0 public)
impl AccountsStorageInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | AccountsStorageInterface for | 0 | 0 | null | null |
// Function: check_merchant_account_kv_status
// File: crates/router/src/core/admin.rs
// Module: router
pub fn check_merchant_account_kv_status(
state: SessionState,
merchant_id: id_type::MerchantId,
) -> RouterResponse<api_models::admin::ToggleKVResponse> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 64 | check_merchant_account_kv_status | null | null | null | null | null | null |
// Implementation: impl PaymentCapture for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentCapture for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Netcetera | PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl MandateNew
// File: crates/diesel_models/src/mandate.rs
// Module: diesel_models
// Methods: 2 total (2 public)
impl MandateNew | crates/diesel_models/src/mandate.rs | diesel_models | impl_block | null | null | null | 41 | null | MandateNew | null | 2 | 2 | null | null |
// Trait: DecryptedDataConversion
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
pub trait DecryptedDataConversion<T: Clone, S: Strategy<T> | crates/common_utils/src/types/keymanager.rs | common_utils | trait_definition | null | null | null | 41 | null | null | DecryptedDataConversion | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use base64::Engine;
use common_enums::enums;
use common_u... | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | full_file | null | null | null | 6,601 | null | null | null | null | null | null | null |
// File: crates/router/src/db/role.rs
// Module: router
use common_utils::id_type;
use diesel_models::{
enums::{EntityType, RoleScope},
role as storage,
};
use error_stack::report;
use router_env::{instrument, tracing};
use super::MockDb;
use crate::{
connection,
core::errors::{self, CustomResult},
... | crates/router/src/db/role.rs | router | full_file | null | null | null | 3,521 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Function: add_card_to_hs_locker
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn add_card_to_hs_locker(
state: &routes::SessionState,
payload: &payment_methods::StoreLockerReq,
customer_id: &id_type::CustomerId,
locker_choice: api_enums::LockerChoice,
) -> errors::Cu... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 97 | add_card_to_hs_locker | null | null | null | null | null | null |
// Struct: PaymePaySaleResponse
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymePaySaleResponse | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | PaymePaySaleResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: AuthenticationInfo
// File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AuthenticationInfo | crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs | hyperswitch_domain_models | struct_definition | AuthenticationInfo | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: AuthenticationErrorInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthenticationErrorInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | AuthenticationErrorInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: calculate_signature
// File: crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs
// Module: hyperswitch_connectors
pub fn calculate_signature(
enctype: EncodingType,
signature_data: ZslSignatureType,
) -> Result<Secret<String>, error_stack::Report<errors::ConnectorError>> | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 71 | calculate_signature | null | null | null | null | null | null |
// File: crates/smithy-core/src/generator.rs
// Module: smithy-core
// Public functions: 3
// Public structs: 1
// crates/smithy-core/generator.rs
use std::{collections::HashMap, fs, path::Path};
use crate::types::{self as types, SmithyModel};
/// Generator for creating Smithy IDL files from models
pub struct Smith... | crates/smithy-core/src/generator.rs | smithy-core | full_file | null | null | null | 2,166 | null | null | null | null | null | null | null |
// Struct: TokenData
// File: crates/injector/src/types.rs
// Module: injector
// Implementations: 0
pub struct TokenData | crates/injector/src/types.rs | injector | struct_definition | TokenData | 0 | [] | 33 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/transformers.rs
// Module: router
// Public functions: 25
// Public structs: 1
use std::{fmt::Debug, marker::PhantomData, str::FromStr};
#[cfg(feature = "v2")]
use api_models::enums as api_enums;
use api_models::payments::{
Address, ConnectorMandateReferenceId, CustomerDet... | crates/router/src/core/payments/transformers.rs#chunk0 | router | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// Struct: RecoveryCodes
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 1
pub struct RecoveryCodes | crates/router/src/types/domain/user.rs | router | struct_definition | RecoveryCodes | 1 | [] | 33 | null | null | null | null | null | null | null |
// File: crates/router/tests/cache.rs
// Module: router
#![allow(clippy::unwrap_used, clippy::print_stdout)]
use std::sync::Arc;
use router::{configs::settings::Settings, routes, services};
use storage_impl::redis::cache::{self, CacheKey};
mod utils;
#[actix_web::test]
async fn invalidate_existing_cache_success() {... | crates/router/tests/cache.rs | router | full_file | null | null | null | 742 | null | null | null | null | null | null | null |
// File: crates/router/src/core/poll.rs
// Module: router
// Public functions: 1
use api_models::poll::PollResponse;
use common_utils::ext_traits::StringExt;
use error_stack::ResultExt;
use router_env::{instrument, tracing};
use super::errors;
use crate::{
core::errors::RouterResponse, services::ApplicationRespon... | crates/router/src/core/poll.rs | router | full_file | null | null | null | 413 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs
// Module: analytics
use std::collections::HashSet;
use api_models::{
analytics::{
payment_intents::{
PaymentIntentDimensions, PaymentIntentFilters, PaymentIntentMetricsBucketIdentifier,
},
Granularit... | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs | analytics | full_file | null | null | null | 1,037 | null | null | null | null | null | null | null |
// File: crates/router/src/utils/user/sample_data.rs
// Module: router
// Public functions: 1
use api_models::{
enums::Connector::{DummyConnector4, DummyConnector7},
user::sample_data::SampleDataRequest,
};
use common_utils::{
id_type,
types::{AmountConvertor, ConnectorTransactionId, MinorUnit, StringM... | crates/router/src/utils/user/sample_data.rs | router | full_file | null | null | null | 4,095 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Redsys
// File: crates/hyperswitch_connectors/src/connectors/redsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Redsys | crates/hyperswitch_connectors/src/connectors/redsys.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Redsys | api::MandateSetup for | 0 | 0 | null | null |
// Struct: Address
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Address | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | Address | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: authentication_eligibility_core
// File: crates/router/src/core/unified_authentication_service.rs
// Module: router
pub fn authentication_eligibility_core(
state: SessionState,
merchant_context: domain::MerchantContext,
req: AuthenticationEligibilityRequest,
authentication_id: common_utils... | crates/router/src/core/unified_authentication_service.rs | router | function_signature | null | null | null | 83 | authentication_eligibility_core | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Worldpayxml
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Worldpayxml | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Worldpayxml | api::PaymentToken for | 0 | 0 | null | null |
// Function: retrieve_dispute
// File: crates/router/src/core/disputes.rs
// Module: router
pub fn retrieve_dispute(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: Option<common_utils::id_type::ProfileId>,
req: dispute_models::DisputeRetrieveRequest,
) -> RouterResponse<api... | crates/router/src/core/disputes.rs | router | function_signature | null | null | null | 87 | retrieve_dispute | null | null | null | null | null | null |
// Struct: OrderAddress
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderAddress | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | OrderAddress | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: retrieve_routing_algorithm_from_algorithm_id
// File: crates/router/src/core/routing.rs
// Module: router
pub fn retrieve_routing_algorithm_from_algorithm_id(
state: SessionState,
merchant_context: domain::MerchantContext,
authentication_profile_id: Option<common_utils::id_type::ProfileId>,
... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 91 | retrieve_routing_algorithm_from_algorithm_id | null | null | null | null | null | null |
// Function: record_operation_time
// File: crates/analytics/src/metrics/request.rs
// Module: analytics
pub fn record_operation_time<F, R, T>(
future: F,
metric: &router_env::opentelemetry::metrics::Histogram<f64>,
metric_name: &T,
source: &crate::AnalyticsProvider,
) -> R
where
F: futures::Future... | crates/analytics/src/metrics/request.rs | analytics | function_signature | null | null | null | 96 | record_operation_time | null | null | null | null | null | null |
// Implementation: impl RequiredFromNullable
// File: crates/diesel_models/src/lib.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl RequiredFromNullable | crates/diesel_models/src/lib.rs | diesel_models | impl_block | null | null | null | 39 | null | RequiredFromNullable | null | 1 | 1 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Worldpayvantiv | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: new
// File: crates/router/src/events/outgoing_webhook_logs.rs
// Module: router
pub fn new(
tenant_id: common_utils::id_type::TenantId,
merchant_id: common_utils::id_type::MerchantId,
event_id: String,
event_type: OutgoingWebhookEventType,
content: Option<OutgoingW... | crates/router/src/events/outgoing_webhook_logs.rs | router | function_signature | null | null | null | 120 | new | null | null | null | null | null | null |
// Function: payments_update
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_update() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 29 | payments_update | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Bluecode
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Bluecode | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Bluecode | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Function: get_org_auth_event_sankey
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_org_auth_event_sankey(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<TimeRange>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 69 | get_org_auth_event_sankey | null | null | null | null | null | null |
// Struct: BluesnapMetadata
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapMetadata | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapMetadata | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: AddressUpdateInternal
// File: crates/diesel_models/src/address.rs
// Module: diesel_models
// Implementations: 1
pub struct AddressUpdateInternal | crates/diesel_models/src/address.rs | diesel_models | struct_definition | AddressUpdateInternal | 1 | [] | 36 | null | null | null | null | null | null | null |
// Function: payouts_list
// File: crates/openapi/src/routes/payouts.rs
// Module: openapi
pub fn payouts_list() | crates/openapi/src/routes/payouts.rs | openapi | function_signature | null | null | null | 30 | payouts_list | null | null | null | null | null | null |
// Struct: DeutschebankThreeDSInitializeRequestAmountTotal
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankThreeDSInitializeRequestAmountTotal | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankThreeDSInitializeRequestAmountTotal | 0 | [] | 58 | null | null | null | null | null | null | null |
// Function: schedule_next_dispute_list_task
// File: crates/router/src/workflows/dispute_list.rs
// Module: router
pub fn schedule_next_dispute_list_task(
db: &dyn StorageInterface,
tracking_data: &api::DisputeListPTData,
dispute_polling_interval: i32,
) -> Result<(), errors::ProcessTrackerError> | crates/router/src/workflows/dispute_list.rs | router | function_signature | null | null | null | 78 | schedule_next_dispute_list_task | null | null | null | null | null | null |
// Function: get_pm_list_context
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn get_pm_list_context(
state: &routes::SessionState,
payment_method: &enums::PaymentMethod,
#[cfg(feature = "payouts") | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 61 | get_pm_list_context | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Xendit | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: generate_token_data_response
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn generate_token_data_response(
state: &SessionState,
request: payment_methods::GetTokenDataRequest,
profile: domain::Profile,
payment_method: &domain::PaymentMethod,
) -> RouterResult<ap... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 77 | generate_token_data_response | null | null | null | null | null | null |
// Struct: OpennodeRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OpennodeRefundRequest | crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs | hyperswitch_connectors | struct_definition | OpennodeRefundRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: ErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorDetails | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | ErrorDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: apply_changeset
// File: crates/diesel_models/src/payment_methods_session.rs
// Module: diesel_models
pub fn apply_changeset(self, update_session: PaymentMethodsSessionUpdateInternal) -> Self | crates/diesel_models/src/payment_methods_session.rs | diesel_models | function_signature | null | null | null | 44 | apply_changeset | null | null | null | null | null | null |
// Function: comparison
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn comparison(input: &str) -> ParseResult<&str, ast::Comparison> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 43 | comparison | null | null | null | null | null | null |
// Function: customers_retrieve
// File: crates/router/src/routes/customers.rs
// Module: router
pub fn customers_retrieve(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<id_type::GlobalCustomerId>,
) -> HttpResponse | crates/router/src/routes/customers.rs | router | function_signature | null | null | null | 59 | customers_retrieve | null | null | null | null | null | null |
// File: crates/router/src/core/payments/operations/payment_post_session_tokens.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
use api_models::enums::FrmSuggestion;
use async_trait::async_trait;
use common_utils::types::keymanager::KeyManagerState;
use error_stack::ResultExt;
use masking::Pee... | crates/router/src/core/payments/operations/payment_post_session_tokens.rs | router | full_file | null | null | null | 2,269 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nuvei | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: FrictionlessSuccessCount
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
// Implementations: 0
pub struct FrictionlessSuccessCount | crates/api_models/src/analytics/auth_events.rs | api_models | struct_definition | FrictionlessSuccessCount | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: ChargebeeInvoiceContent
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeInvoiceContent | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeInvoiceContent | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorErrorTypeMapping for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorErrorTypeMapping for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Bluesnap | ConnectorErrorTypeMapping for | 1 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use base64::Engine;
#[cfg(all(feature = "v2", feature = "revenue_recovery"))]
use common_utils::request::{Method, Request, RequestBuilder};
use common_ut... | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | full_file | null | null | null | 5,248 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/scheduler/src/configs/validations.rs
// Module: scheduler
pub fn validate(&self) -> Result<(), ApplicationError> | crates/scheduler/src/configs/validations.rs | scheduler | function_signature | null | null | null | 36 | validate | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/metrics/payments_success_rate.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payment_intents::{
PaymentIntentDimensions, PaymentIntentFilters, PaymentIntentMetricsBucketIdentifier,
},
Granularity, TimeRange,
};
use ... | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs | analytics | full_file | null | null | null | 932 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Airwallex | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Airwallex | api::Payment for | 0 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.