text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: generate_org_dispute_report
// File: crates/router/src/analytics.rs
// Module: router
pub fn generate_org_dispute_report(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<ReportRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 67 | generate_org_dispute_report | null | null | null | null | null | null |
// Struct: ProphetpayVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProphetpayVoidRequest | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | struct_definition | ProphetpayVoidRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl super::payment_intents::metrics::PaymentIntentMetricAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::payment_intents::metrics::PaymentIntentMetricAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 67 | null | ClickhouseClient | super::payment_intents::metrics::PaymentIntentMetricAnalytics for | 0 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
pub fn new(identifier: String) -> Self | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 36 | new | null | null | null | null | null | null |
// Function: new
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
pub fn new(
id: id_type::OrganizationId,
organization_type: common_enums::OrganizationType,
organization_name: Option<String>,
) -> Self | crates/diesel_models/src/organization.rs | diesel_models | function_signature | null | null | null | 58 | new | null | null | null | null | null | null |
// Struct: CardResponse
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardResponse | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | CardResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: get_decision
// File: crates/common_types/src/domain.rs
// Module: common_types
// Documentation: Retrieves the decision to be taken for auto retries flow.
pub fn get_decision(&self) -> common_enums::GsmDecision | crates/common_types/src/domain.rs | common_types | function_signature | null | null | null | 51 | get_decision | null | null | null | null | null | null |
// File: crates/router/src/services/authorization/roles.rs
// Module: router
// Public functions: 15
// Public structs: 1
#[cfg(feature = "recon")]
use std::collections::HashMap;
use std::collections::HashSet;
#[cfg(feature = "recon")]
use api_models::enums::ReconPermissionScope;
use common_enums::{EntityType, Permis... | crates/router/src/services/authorization/roles.rs | router | full_file | null | null | null | 1,244 | null | null | null | null | null | null | null |
// Struct: PaymentIntent
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 2
pub struct PaymentIntent | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | struct_definition | PaymentIntent | 2 | [] | 40 | null | null | null | null | null | null | null |
// Struct: FiservPaymentMethod
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservPaymentMethod | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservPaymentMethod | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: UserNew
// File: crates/diesel_models/src/user.rs
// Module: diesel_models
// Implementations: 0
pub struct UserNew | crates/diesel_models/src/user.rs | diesel_models | struct_definition | UserNew | 0 | [] | 34 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Worldpayvantiv | api::RefundExecute for | 0 | 0 | null | null |
// Function: delete_surcharge_decision_manager_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn delete_surcharge_decision_manager_config(
state: web::Data<AppState>,
req: HttpRequest,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 54 | delete_surcharge_decision_manager_config | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Braintree
// File: crates/hyperswitch_connectors/src/connectors/braintree.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Braintree | crates/hyperswitch_connectors/src/connectors/braintree.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Braintree | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Tsys
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Tsys | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Tsys | ConnectorValidation for | 0 | 0 | null | null |
// Implementation: impl ResponseError for for BackfillError
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Methods: 1 total (0 public)
impl ResponseError for for BackfillError | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | impl_block | null | null | null | 51 | null | BackfillError | ResponseError for | 1 | 0 | null | null |
// Function: find_by_id
// File: crates/diesel_models/src/query/relay.rs
// Module: diesel_models
pub fn find_by_id(
conn: &PgPooledConn,
id: &common_utils::id_type::RelayId,
) -> StorageResult<Self> | crates/diesel_models/src/query/relay.rs | diesel_models | function_signature | null | null | null | 62 | find_by_id | null | null | null | null | null | null |
// Struct: DataPaymentCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DataPaymentCaptureRequest | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | DataPaymentCaptureRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Paystack
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Paystack | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Paystack | ConnectorValidation for | 0 | 0 | null | null |
// Function: with_network_tokenization
// File: crates/router/src/core/payments.rs
// Module: router
pub fn with_network_tokenization(
mut self,
state: &SessionState,
is_network_token_with_ntid_flow: IsNtWithNtiFlow,
is_nt_with_ntid_supported_connector: bool,
payment_method_info... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 85 | with_network_tokenization | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
mod transformers;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, RequestBuilder, RequestContent}... | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | full_file | null | null | null | 4,406 | null | null | null | null | null | null | null |
// Function: get_index_for_correct_recovery_code
// File: crates/router/src/utils/user/password.rs
// Module: router
pub fn get_index_for_correct_recovery_code(
candidate: &Secret<String>,
recovery_codes: &[Secret<String>],
) -> CustomResult<Option<usize>, UserErrors> | crates/router/src/utils/user/password.rs | router | function_signature | null | null | null | 61 | get_index_for_correct_recovery_code | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/affirm.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/affirm.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: NovalnetAuthType
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetAuthType | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl RequestExtendedAuthorizationBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (1 public)
impl RequestExtendedAuthorizationBool | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 43 | null | RequestExtendedAuthorizationBool | null | 1 | 1 | null | null |
// Struct: ApiKeyAuthWithMerchantIdFromRoute
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 1
// Traits: GetAuthType
pub struct ApiKeyAuthWithMerchantIdFromRoute | crates/router/src/services/authentication.rs | router | struct_definition | ApiKeyAuthWithMerchantIdFromRoute | 1 | [
"GetAuthType"
] | 51 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Noon
// File: crates/hyperswitch_connectors/src/connectors/noon.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Noon | crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Noon | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: setup_intents_retrieve
// File: crates/router/src/compatibility/stripe/setup_intents.rs
// Module: router
pub fn setup_intents_retrieve(
state: web::Data<routes::AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::PaymentId>,
query_payload: web::Query<stripe_payment_types::... | crates/router/src/compatibility/stripe/setup_intents.rs | router | function_signature | null | null | null | 90 | setup_intents_retrieve | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenex | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl NmiMerchantDefinedField
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl NmiMerchantDefinedField | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | NmiMerchantDefinedField | null | 1 | 1 | null | null |
// File: crates/api_models/src/files.rs
// Module: api_models
// Public structs: 3
use utoipa::ToSchema;
#[derive(Debug, serde::Serialize, ToSchema)]
pub struct CreateFileResponse {
/// ID of the file created
pub file_id: String,
}
#[derive(Debug, serde::Serialize, ToSchema, Clone)]
pub struct FileMetadataRe... | crates/api_models/src/files.rs | api_models | full_file | null | null | null | 190 | null | null | null | null | null | null | null |
// Function: success_based_routing_update_configs
// File: crates/router/src/core/routing.rs
// Module: router
pub fn success_based_routing_update_configs(
state: SessionState,
request: routing_types::SuccessBasedRoutingConfig,
algorithm_id: common_utils::id_type::RoutingId,
profile_id: common_utils::i... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 88 | success_based_routing_update_configs | null | null | null | null | null | null |
// Function: perform_dynamic_routing_with_intelligent_router
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_dynamic_routing_with_intelligent_router<F, D>(
state: &SessionState,
routable_connectors: Vec<api_routing::RoutableConnectorChoice>,
profile: &domain::Profile,
... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 147 | perform_dynamic_routing_with_intelligent_router | null | null | null | null | null | null |
// Implementation: impl CeleroTransactionResponseData
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl CeleroTransactionResponseData | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | CeleroTransactionResponseData | null | 1 | 1 | null | null |
// Struct: PayeezyRouterData
// File: crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayeezyRouterData<T> | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | hyperswitch_connectors | struct_definition | PayeezyRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/router/src/consts/opensearch.rs
// Module: router
use api_models::analytics::search::SearchIndex;
pub const fn get_search_indexes() -> [SearchIndex; 8] {
[
SearchIndex::PaymentAttempts,
SearchIndex::PaymentIntents,
SearchIndex::Refunds,
SearchIndex::Disputes,
... | crates/router/src/consts/opensearch.rs | router | full_file | null | null | null | 136 | null | null | null | null | null | null | null |
// Struct: PaymentProcessingDetails
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentProcessingDetails | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | PaymentProcessingDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_count_by_merchant_id_status
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn get_count_by_merchant_id_status(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
status: common_enums::PaymentMethodStatus,
) -> Stora... | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 83 | get_count_by_merchant_id_status | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Xendit | api::PaymentSync for | 0 | 0 | null | null |
// Struct: AdyenBankAccountDetails
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenBankAccountDetails | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenBankAccountDetails | 0 | [] | 56 | null | null | null | null | null | null | null |
// Trait: Domain
// File: crates/router/src/core/payments/operations.rs
// Module: router
pub trait Domain<F: Clone, R, D>: Send + Sync | crates/router/src/core/payments/operations.rs | router | trait_definition | null | null | null | 37 | null | null | Domain | 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: BillingData
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillingData | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | BillingData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: AlwaysRequestExtendedAuthorization
// File: crates/common_utils/src/types/primitive_wrappers.rs
// Module: common_utils
// Implementations: 0
pub struct AlwaysRequestExtendedAuthorization | crates/common_utils/src/types/primitive_wrappers.rs | common_utils | struct_definition | AlwaysRequestExtendedAuthorization | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl MerchantConnectorAccount
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
// Methods: 6 total (6 public)
impl MerchantConnectorAccount | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | impl_block | null | null | null | 47 | null | MerchantConnectorAccount | null | 6 | 6 | null | null |
// Struct: LastPaymentError
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct LastPaymentError | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | LastPaymentError | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: Notifications
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Notifications | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | Notifications | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl Hash for for FrmMetricsBucketIdentifier
// File: crates/api_models/src/analytics/frm.rs
// Module: api_models
// Methods: 1 total (0 public)
impl Hash for for FrmMetricsBucketIdentifier | crates/api_models/src/analytics/frm.rs | api_models | impl_block | null | null | null | 49 | null | FrmMetricsBucketIdentifier | Hash for | 1 | 0 | null | null |
// Implementation: impl DynamicRoutingStats
// File: crates/diesel_models/src/query/dynamic_routing_stats.rs
// Module: diesel_models
// Methods: 2 total (0 public)
impl DynamicRoutingStats | crates/diesel_models/src/query/dynamic_routing_stats.rs | diesel_models | impl_block | null | null | null | 43 | null | DynamicRoutingStats | null | 2 | 0 | null | null |
// Implementation: impl PaymentSync for for Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSync for for Threedsecureio | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Threedsecureio | PaymentSync for | 0 | 0 | null | null |
// File: crates/router/tests/connectors/globalpay.rs
// Module: router
use std::str::FromStr;
use hyperswitch_domain_models::address::{Address, AddressDetails};
use masking::Secret;
use router::types::{self, api, domain, storage::enums, AccessToken, ConnectorAuthType};
use serde_json::json;
use crate::{
connecto... | crates/router/tests/connectors/globalpay.rs | router | full_file | null | null | null | 3,007 | null | null | null | null | null | null | null |
// File: crates/router/src/db/dynamic_routing_stats.rs
// Module: router
use error_stack::report;
use router_env::{instrument, tracing};
use storage_impl::MockDb;
use super::Store;
use crate::{
connection,
core::errors::{self, CustomResult},
db::kafka_store::KafkaStore,
types::storage,
};
#[async_tra... | crates/router/src/db/dynamic_routing_stats.rs | router | full_file | null | null | null | 1,097 | null | null | null | null | null | null | null |
// Struct: ItaubankMetaData
// File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ItaubankMetaData | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs | hyperswitch_connectors | struct_definition | ItaubankMetaData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl Capturable for for PaymentsTaxCalculationData
// File: crates/router/src/types.rs
// Module: router
// Methods: 0 total (0 public)
impl Capturable for for PaymentsTaxCalculationData | crates/router/src/types.rs | router | impl_block | null | null | null | 48 | null | PaymentsTaxCalculationData | Capturable for | 0 | 0 | null | null |
// Implementation: impl Taxjar
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Taxjar | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Taxjar | null | 1 | 1 | null | null |
// File: crates/router/src/types/storage/payment_attempt.rs
// Module: router
use common_utils::types::MinorUnit;
use diesel_models::{capture::CaptureNew, enums};
use error_stack::ResultExt;
pub use hyperswitch_domain_models::payments::payment_attempt::{
PaymentAttempt, PaymentAttemptUpdate,
};
use crate::{
c... | crates/router/src/types/storage/payment_attempt.rs | router | full_file | null | null | null | 3,695 | null | null | null | null | null | null | null |
// Struct: FileMetadata
// File: crates/diesel_models/src/file.rs
// Module: diesel_models
// Implementations: 0
pub struct FileMetadata | crates/diesel_models/src/file.rs | diesel_models | struct_definition | FileMetadata | 0 | [] | 34 | null | null | null | null | null | null | null |
// Function: get_payment_response_using_payment_get_operation
// File: crates/router/src/core/revenue_recovery.rs
// Module: router
pub fn get_payment_response_using_payment_get_operation(
state: &SessionState,
payment_intent_id: &id_type::GlobalPaymentId,
revenue_recovery_payment_data: &pcr::RevenueRecove... | crates/router/src/core/revenue_recovery.rs | router | function_signature | null | null | null | 116 | get_payment_response_using_payment_get_operation | null | null | null | null | null | null |
// Struct: MerchantConnectorCreate
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 2
pub struct MerchantConnectorCreate | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantConnectorCreate | 2 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Razorpay | api::Refund for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Getnet | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Getnet | api::PaymentToken for | 0 | 0 | null | null |
// Function: set_amount_to_capture
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn set_amount_to_capture(&mut self, amount_to_capture: MinorUnit) | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 50 | set_amount_to_capture | null | null | null | null | null | null |
// Struct: UserDeprecated
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct UserDeprecated | crates/router/src/routes/app.rs | router | struct_definition | UserDeprecated | 1 | [] | 32 | null | null | null | null | null | null | null |
// Struct: FacilitapayPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapayPaymentsResponse | crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs | hyperswitch_connectors | struct_definition | FacilitapayPaymentsResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::UasAuthenticationConfirmation for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::UasAuthenticationConfirmation for for UnifiedAuthenticationS... | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | UnifiedAuthenticationService | api::UasAuthenticationConfirmation for | 0 | 0 | null | null |
// Struct: WellsfargopayoutPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargopayoutPaymentsResponse | crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargopayoutPaymentsResponse | 0 | [] | 59 | null | null | null | null | null | null | null |
// Implementation: impl VerifyIdForUpdateCustomer
// File: crates/router/src/core/customers.rs
// Module: router
// Methods: 1 total (0 public)
impl VerifyIdForUpdateCustomer | crates/router/src/core/customers.rs | router | impl_block | null | null | null | 42 | null | VerifyIdForUpdateCustomer | null | 1 | 0 | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: AirwallexWebhookData
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexWebhookData | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexWebhookData | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/mock_db/payment_intent.rs
// Module: storage_impl
use common_utils::{errors::CustomResult, types::keymanager::KeyManagerState};
use diesel_models::enums as storage_enums;
#[cfg(feature = "v1")]
use error_stack::ResultExt;
#[cfg(feature = "v1")]
use hyperswitch_domain_models::behaviour:... | crates/storage_impl/src/mock_db/payment_intent.rs | storage_impl | full_file | null | null | null | 2,127 | null | null | null | null | null | null | null |
// Function: create_tenant_user
// File: crates/router/src/routes/user.rs
// Module: router
pub fn create_tenant_user(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<user_api::CreateTenantUserRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 64 | create_tenant_user | 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 |
// Function: get_string_repr
// File: crates/common_utils/src/id_type/global_id/payment.rs
// Module: common_utils
// Documentation: Get string representation of the id
pub fn get_string_repr(&self) -> &str | crates/common_utils/src/id_type/global_id/payment.rs | common_utils | function_signature | null | null | null | 48 | get_string_repr | null | null | null | null | null | null |
VaultFetchAction::FetchNetworkTokenDetailsFromLocker(nt_data)
}
Some(api_models::payments::MandateReferenceId::NetworkMandateId(_)) => {
VaultFetchAction::FetchCardDetailsForNetworkTransactionIdFlowFromLocker
}
Some(... | crates/router/src/core/payments/helpers.rs#chunk2 | router | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: IncrementalAuthorization
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct IncrementalAuthorization | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | IncrementalAuthorization | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 29
use bytes::Bytes;
use common_enums::{
self, AttemptStatus, AuthorizationStatus, CaptureMethod, Currency, FutureUsage,
PaymentMethodStatus, RefundStatus,
};
use common_utils::{d... | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Function: lower_program
// File: crates/euclid/src/frontend/dir/lowering.rs
// Module: euclid
pub fn lower_program<O>(
dir_program: dir::DirProgram<O>,
) -> Result<vir::ValuedProgram<O>, AnalysisError> | crates/euclid/src/frontend/dir/lowering.rs | euclid | function_signature | null | null | null | 56 | lower_program | null | null | null | null | null | null |
// Implementation: impl Relay
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Relay | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Relay | null | 1 | 1 | null | null |
// Implementation: impl fred::types::FromRedis for for HsetnxReply
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Methods: 1 total (0 public)
impl fred::types::FromRedis for for HsetnxReply | crates/redis_interface/src/types.rs | redis_interface | impl_block | null | null | null | 57 | null | HsetnxReply | fred::types::FromRedis for | 1 | 0 | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: MultipleCaptureRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct MultipleCaptureRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | MultipleCaptureRequestData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Aci | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Aci | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: RsyncApplicationInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RsyncApplicationInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | RsyncApplicationInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: new
// File: crates/common_utils/src/types/user/theme.rs
// Module: common_utils
// Documentation: Constructor for ThemeLineage
pub fn new(
entity_type: EntityType,
tenant_id: id_type::TenantId,
org_id: id_type::OrganizationId,
merchant_id: id_type::MerchantId,
pro... | crates/common_utils/src/types/user/theme.rs | common_utils | function_signature | null | null | null | 86 | new | null | null | null | null | null | null |
// Struct: WellsfargoAuthenticationErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoAuthenticationErrorResponse | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoAuthenticationErrorResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl super::behaviour::Conversion for for MerchantKeyStore
// File: crates/hyperswitch_domain_models/src/merchant_key_store.rs
// Module: hyperswitch_domain_models
// Methods: 3 total (0 public)
impl super::behaviour::Conversion for for MerchantKeyStore | crates/hyperswitch_domain_models/src/merchant_key_store.rs | hyperswitch_domain_models | impl_block | null | null | null | 63 | null | MerchantKeyStore | super::behaviour::Conversion for | 3 | 0 | null | null |
// File: crates/router/src/routes/metrics/bg_metrics_collector.rs
// Module: router
// Public functions: 1
use storage_impl::redis::cache;
const DEFAULT_BG_METRICS_COLLECTION_INTERVAL_IN_SECS: u16 = 15;
pub fn spawn_metrics_collector(metrics_collection_interval_in_secs: Option<u16>) {
let metrics_collection_inte... | crates/router/src/routes/metrics/bg_metrics_collector.rs | router | full_file | null | null | null | 267 | null | null | null | null | null | null | null |
// Function: get_merchant_reference_id
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_merchant_reference_id(&self) -> id_type::MerchantId | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 41 | get_merchant_reference_id | null | null | null | null | null | null |
// Struct: RefundPaymentData
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundPaymentData | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | RefundPaymentData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_sso_id_from_redis
// File: crates/router/src/utils/user.rs
// Module: router
pub fn get_sso_id_from_redis(
state: &SessionState,
oidc_state: Secret<String>,
) -> UserResult<String> | crates/router/src/utils/user.rs | router | function_signature | null | null | null | 55 | get_sso_id_from_redis | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Authipay
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Authipay | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Authipay | api::RefundSync for | 0 | 0 | null | null |
// File: crates/diesel_models/src/refund.rs
// Module: diesel_models
// Public functions: 8
// Public structs: 8
use common_utils::{
id_type, pii,
types::{ChargeRefunds, ConnectorTransactionId, ConnectorTransactionIdTrait, MinorUnit},
};
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable... | crates/diesel_models/src/refund.rs | diesel_models | full_file | null | null | null | 6,732 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Bambora
// File: crates/hyperswitch_connectors/src/connectors/bambora.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Bambora | crates/hyperswitch_connectors/src/connectors/bambora.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Bambora | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Function: accept_dispute
// File: crates/router/src/core/disputes.rs
// Module: router
pub fn accept_dispute(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: Option<common_utils::id_type::ProfileId>,
req: disputes::DisputeId,
) -> RouterResponse<dispute_models::DisputeRes... | crates/router/src/core/disputes.rs | router | function_signature | null | null | null | 82 | accept_dispute | null | null | null | null | null | null |
// Function: routing_retrieve_default_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_retrieve_default_config(
state: web::Data<AppState>,
req: HttpRequest,
transaction_type: &enums::TransactionType,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 62 | routing_retrieve_default_config | null | null | null | null | null | null |
// Function: find_by_merchant_id_payment_id_connector_dispute_id
// File: crates/diesel_models/src/query/dispute.rs
// Module: diesel_models
pub fn find_by_merchant_id_payment_id_connector_dispute_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
payment_id: &common_util... | crates/diesel_models/src/query/dispute.rs | diesel_models | function_signature | null | null | null | 102 | find_by_merchant_id_payment_id_connector_dispute_id | null | null | null | null | null | null |
// Function: construct_payment_router_data_for_sdk_session
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn construct_payment_router_data_for_sdk_session<'a>(
state: &'a SessionState,
payment_data: hyperswitch_domain_models::payments::PaymentIntentData<api::Session>,
connec... | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 155 | construct_payment_router_data_for_sdk_session | null | null | null | null | null | null |
// Implementation: impl BackendOutput
// File: crates/euclid/src/backend.rs
// Module: euclid
// Methods: 1 total (1 public)
impl BackendOutput | crates/euclid/src/backend.rs | euclid | impl_block | null | null | null | 37 | null | BackendOutput | null | 1 | 1 | null | null |
// Struct: ReverseLookupNew
// File: crates/diesel_models/src/reverse_lookup.rs
// Module: diesel_models
// Implementations: 0
pub struct ReverseLookupNew | crates/diesel_models/src/reverse_lookup.rs | diesel_models | struct_definition | ReverseLookupNew | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: GlobalPayMeta
// File: crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalPayMeta | crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs | hyperswitch_connectors | struct_definition | GlobalPayMeta | 0 | [] | 47 | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.