text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: AutoSettlement
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AutoSettlement | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | AutoSettlement | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: to_merchant_connector_info
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn to_merchant_connector_info(&self, connector_label: &String) -> MerchantConnectorInfo | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 45 | to_merchant_connector_info | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | module_structure | null | null | null | 42 | null | null | null | null | null | 1 | 0 |
// Function: get_id
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
pub fn get_id(&self) -> &common_utils::id_type::GlobalPaymentMethodId | crates/diesel_models/src/payment_method.rs | diesel_models | function_signature | null | null | null | 43 | get_id | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Aci | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Aci | api::MandateSetup for | 0 | 0 | null | null |
// Struct: ChargeAmount
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargeAmount | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | ChargeAmount | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: update_enabled_features
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update_enabled_features(&mut self, feature_to_enable: DynamicRoutingFeatures) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 41 | update_enabled_features | 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 |
// Function: get_pm_link_config_as_value
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_pm_link_config_as_value(
&self,
) -> CustomResult<Option<serde_json::Value>, errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 56 | get_pm_link_config_as_value | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payu | api::PaymentSession for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 21
use std::collections::HashMap;
use api_models::payments::{self, AdditionalPaymentData};
use common_enums::enums;
use common_utils::{pii::Email, request::Method, types::MinorUnit};
us... | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 6,927 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/nexixpay.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
... | crates/router/tests/connectors/nexixpay.rs | router | full_file | null | null | null | 2,943 | null | null | null | null | null | null | null |
// Function: generate_merchant_refund_report
// File: crates/router/src/analytics.rs
// Module: router
pub fn generate_merchant_refund_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 | 69 | generate_merchant_refund_report | null | null | null | null | null | null |
// Function: refund_create_core
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn refund_create_core(
state: SessionState,
merchant_context: domain::MerchantContext,
req: refunds::RefundsCreateRequest,
global_refund_id: id_type::GlobalRefundId,
) -> errors::RouterResponse<refunds::... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 84 | refund_create_core | null | null | null | null | null | null |
// Struct: PayloadRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/payload/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayloadRefundResponse | crates/hyperswitch_connectors/src/connectors/payload/responses.rs | hyperswitch_connectors | struct_definition | PayloadRefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Ebanx | api::Refund for | 0 | 0 | null | null |
// Implementation: impl Relay
// File: crates/diesel_models/src/query/relay.rs
// Module: diesel_models
// Methods: 3 total (0 public)
impl Relay | crates/diesel_models/src/query/relay.rs | diesel_models | impl_block | null | null | null | 37 | null | Relay | null | 3 | 0 | null | null |
// Implementation: impl ConnectorRedirectResponse for for Globalpay
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Globalpay | crates/hyperswitch_connectors/src/connectors/globalpay.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Globalpay | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Implementation: impl IncomingWebhook for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Gpayments | IncomingWebhook for | 3 | 0 | null | null |
// Struct: AuthenticationSyncRequest
// File: crates/api_models/src/authentication.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct AuthenticationSyncRequest | crates/api_models/src/authentication.rs | api_models | struct_definition | AuthenticationSyncRequest | 1 | [
"ApiEventMetric"
] | 42 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Getnet | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Getnet | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Zsl
// File: crates/hyperswitch_connectors/src/connectors/zsl.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Zsl | crates/hyperswitch_connectors/src/connectors/zsl.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Zsl | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: VoltPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/volt/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoltPaymentsResponse | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs | hyperswitch_connectors | struct_definition | VoltPaymentsResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: TouchNGoRedirection
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct TouchNGoRedirection | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | TouchNGoRedirection | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: update_payment_intent_api
// File: crates/router/src/core/revenue_recovery/api.rs
// Module: router
pub fn update_payment_intent_api(
state: &SessionState,
global_payment_id: id_type::GlobalPaymentId,
revenue_recovery_payment_data: &storage::revenue_recovery::RevenueRecoveryPaymentData,
up... | crates/router/src/core/revenue_recovery/api.rs | router | function_signature | null | null | null | 103 | update_payment_intent_api | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Paybox
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Paybox | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Paybox | ConnectorCommon for | 5 | 0 | null | null |
// Struct: GocardlessWebhookEvent
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessWebhookEvent | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessWebhookEvent | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl Analytics
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 2 total (2 public)
impl Analytics | crates/router/src/analytics.rs | router | impl_block | null | null | null | 33 | null | Analytics | null | 2 | 2 | null | null |
// File: crates/diesel_models/src/subscription.rs
// Module: diesel_models
// Public functions: 3
// Public structs: 3
use common_utils::{generate_id_with_default_len, pii::SecretSerdeValue};
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use masking::Secret;
use serde::{Deserialize, Seria... | crates/diesel_models/src/subscription.rs | diesel_models | full_file | null | null | null | 860 | null | null | null | null | null | null | null |
// Struct: ProfileAcquirerConfigs
// File: crates/router/src/types/api/admin.rs
// Module: router
// Implementations: 0
pub struct ProfileAcquirerConfigs | crates/router/src/types/api/admin.rs | router | struct_definition | ProfileAcquirerConfigs | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: FiuuRouterData
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuRouterData<T> | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/api/refunds_v2.rs
// Module: hyperswitch_interfaces
//! Refunds V2 interface
use hyperswitch_domain_models::{
router_data_v2::flow_common_types::RefundFlowData,
router_flow_types::refunds::{Execute, RSync},
router_request_types::RefundsData,
router_response_t... | crates/hyperswitch_interfaces/src/api/refunds_v2.rs | hyperswitch_interfaces | full_file | null | null | null | 208 | null | null | null | null | null | null | null |
// Struct: TrustpayGooglePayResponse
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpayGooglePayResponse | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | TrustpayGooglePayResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/router/src/core/card_testing_guard.rs
// Module: router
pub mod utils;
use crate::core::errors;
| crates/router/src/core/card_testing_guard.rs | router | full_file | null | null | null | 28 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Dlocal
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Dlocal | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Dlocal | api::RefundExecute for | 0 | 0 | null | null |
// Implementation: impl EncryptedJsonType
// File: crates/hyperswitch_domain_models/src/type_encryption.rs
// Module: hyperswitch_domain_models
// Methods: 2 total (0 public)
impl EncryptedJsonType | crates/hyperswitch_domain_models/src/type_encryption.rs | hyperswitch_domain_models | impl_block | null | null | null | 48 | null | EncryptedJsonType | null | 2 | 0 | null | null |
// Struct: PaymentResponseData
// File: crates/api_models/src/subscription.rs
// Module: api_models
// Implementations: 0
pub struct PaymentResponseData | crates/api_models/src/subscription.rs | api_models | struct_definition | PaymentResponseData | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/reverse_lookup.rs
// Module: storage_impl
use diesel_models::reverse_lookup::ReverseLookup;
use crate::redis::kv_store::KvStorePartition;
impl KvStorePartition for ReverseLookup {}
| crates/storage_impl/src/reverse_lookup.rs | storage_impl | full_file | null | null | null | 49 | null | null | null | null | null | null | null |
// Function: server
// File: crates/drainer/src/health_check.rs
// Module: drainer
pub fn server(conf: Settings, stores: HashMap<id_type::TenantId, Arc<Store>>) -> Scope | crates/drainer/src/health_check.rs | drainer | function_signature | null | null | null | 46 | server | null | null | null | null | null | null |
// Function: complete_payout_retrieve
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn complete_payout_retrieve(
state: &SessionState,
merchant_context: &domain::MerchantContext,
connector_call_type: api::ConnectorCallType,
payout_data: &mut PayoutData,
) -> RouterResult<()> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 77 | complete_payout_retrieve | null | null | null | null | null | null |
// Struct: RefundStatusDetails
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundStatusDetails | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | RefundStatusDetails | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: create_merchant_connector_account
// File: crates/diesel_models/src/merchant_connector_account.rs
// Module: diesel_models
pub fn create_merchant_connector_account(
self,
source: MerchantConnectorAccount,
) -> MerchantConnectorAccount | crates/diesel_models/src/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 53 | create_merchant_connector_account | null | null | null | null | null | null |
// Implementation: impl PaymentAuthorize for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentAuthorize for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Netcetera | PaymentAuthorize for | 0 | 0 | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// File: crates/router/src/types/storage/role.rs
// Module: router
pub use diesel_models::role::*;
| crates/router/src/types/storage/role.rs | router | full_file | null | null | null | 24 | null | null | null | null | null | null | null |
// File: crates/external_services/src/file_storage/file_system.rs
// Module: external_services
//! Module for local file system storage operations
use std::{
fs::{remove_file, File},
io::{Read, Write},
path::PathBuf,
};
use common_utils::errors::CustomResult;
use error_stack::ResultExt;
use crate::file_... | crates/external_services/src/file_storage/file_system.rs | external_services | full_file | null | null | null | 994 | null | null | null | null | null | null | null |
// Struct: CaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureResponse | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | CaptureResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
Ok(Some(request))
}
fn handle_response(
&self,
data: &RouterData<RSync, RefundsData, RefundsResponseData>,
event_builder: Option<&mut ConnectorEvent>,
res: Response,
) -> CustomResult<RouterData<RSync, RefundsData, RefundsResponseData>, errors::ConnectorError>
wh... | crates/hyperswitch_connectors/src/connectors/payme.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 2,631 | null | null | null | null | null | null | null |
// Struct: MerchantInitiatedTransaction
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantInitiatedTransaction | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | MerchantInitiatedTransaction | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/connector_mapping.rs
// Module: router
// Public functions: 4
// Public structs: 1
use std::str::FromStr;
use error_stack::{report, ResultExt};
use hyperswitch_connectors::connectors::{Paytm, Phonepe};
use crate::{
configs::settings::Connectors,
connector,
core::error... | crates/router/src/types/api/connector_mapping.rs | router | full_file | null | null | null | 5,058 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Tesouro
// File: crates/hyperswitch_connectors/src/connectors/tesouro.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Tesouro | crates/hyperswitch_connectors/src/connectors/tesouro.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Tesouro | api::RefundExecute for | 0 | 0 | null | null |
// Struct: NetworkTokenizedCard
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NetworkTokenizedCard | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | NetworkTokenizedCard | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: start_tokenize_data_workflow
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn start_tokenize_data_workflow(
state: &routes::SessionState,
tokenize_tracker: &storage::ProcessTracker,
) -> Result<(), errors::ProcessTrackerError> | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 62 | start_tokenize_data_workflow | null | null | null | null | null | null |
// Struct: BitpayAuthType
// File: crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BitpayAuthType | crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs | hyperswitch_connectors | struct_definition | BitpayAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Opennode | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Opennode | api::PaymentSession for | 0 | 0 | null | null |
// File: crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
refunds::{RefundDimensions, RefundFilters, RefundMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitc... | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs | analytics | full_file | null | null | null | 1,283 | null | null | null | null | null | null | null |
// Function: payment_processor_token_retry_info
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
// Documentation: Calculate retry counts for exactly the last 30 days
pub fn payment_processor_token_retry_info(
state: &SessionState,
token: &PaymentProcessor... | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 87 | payment_processor_token_retry_info | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Katapult
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Katapult | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Katapult | api::PaymentVoid for | 0 | 0 | null | null |
// Function: new
// File: crates/currency_conversion/src/types.rs
// Module: currency_conversion
pub fn new(to_factor: Decimal, from_factor: Decimal) -> Self | crates/currency_conversion/src/types.rs | currency_conversion | function_signature | null | null | null | 37 | new | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Authipay
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Authipay | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Authipay | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: CaptureNew
// File: crates/diesel_models/src/capture.rs
// Module: diesel_models
// Implementations: 0
pub struct CaptureNew | crates/diesel_models/src/capture.rs | diesel_models | struct_definition | CaptureNew | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Inespay | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/router/tests/connectors/mpgs.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
stru... | crates/router/tests/connectors/mpgs.rs | router | full_file | null | null | null | 2,937 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutRecipientAccount for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutRecipientAccount for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Nomupay | api::PayoutRecipientAccount for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Multisafepay | api::PaymentCapture for | 0 | 0 | null | null |
// Function: format_emv_field
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
pub fn format_emv_field(id: &str, value: &str) -> String | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 55 | format_emv_field | null | null | null | null | null | null |
// Function: get_connector_customer_payment_processor_tokens
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
pub fn get_connector_customer_payment_processor_tokens(
state: &SessionState,
connector_customer_id: &str,
) -> CustomResult<HashMap<String, Pa... | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 72 | get_connector_customer_payment_processor_tokens | null | null | null | null | null | null |
// Struct: StripebillingRouterData
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingRouterData<T> | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorUpdate
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 1
pub struct MerchantConnectorUpdate | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantConnectorUpdate | 1 | [] | 35 | null | null | null | null | null | null | null |
// Struct: Store
// File: crates/drainer/src/services.rs
// Module: drainer
// Implementations: 1
pub struct Store | crates/drainer/src/services.rs | drainer | struct_definition | Store | 1 | [] | 31 | null | null | null | null | null | null | null |
// Struct: Forex
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct Forex | crates/router/src/routes/app.rs | router | struct_definition | Forex | 1 | [] | 30 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Worldpayvantiv | api::MandateSetup for | 0 | 0 | null | null |
// Function: is_dispute_event
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
pub fn is_dispute_event(event_code: &AirwallexWebhookEventType) -> bool | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 57 | is_dispute_event | null | null | null | null | null | null |
// Struct: PaymentAuthRouterData
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 0
pub struct PaymentAuthRouterData<F, Request, Response> | crates/pm_auth/src/types.rs | pm_auth | struct_definition | PaymentAuthRouterData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: AdyenAddress
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenAddress | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenAddress | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: list_invitable_roles_at_entity_level
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn list_invitable_roles_at_entity_level(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<role_api::ListRolesAtEntityLevelRequest>,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 71 | list_invitable_roles_at_entity_level | null | null | null | null | null | null |
// File: crates/router/src/events/api_logs.rs
// Module: router
// Public functions: 1
// Public structs: 1
use actix_web::HttpRequest;
pub use common_utils::events::{ApiEventMetric, ApiEventsType};
use common_utils::impl_api_event_type;
use router_env::{tracing_actix_web::RequestId, types::FlowMetric};
use serde::Ser... | crates/router/src/events/api_logs.rs | router | full_file | null | null | null | 1,214 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
// Module: hyperswitch_interfaces
pub fn new(
tenant_id: common_utils::id_type::TenantId,
routable_connectors: String,
flow: &str,
request: serde_json::Value,
url: String,
method: ApiM... | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs | hyperswitch_interfaces | function_signature | null | null | null | 130 | new | null | null | null | null | null | null |
// Function: try_redis_get_else_try_database_get
// File: crates/router/src/utils/db_utils.rs
// Module: router
pub fn try_redis_get_else_try_database_get<F, RFut, DFut, T>(
redis_fut: RFut,
database_call_closure: F,
) -> error_stack::Result<T, errors::StorageError>
where
F: FnOnce() -> DFut,
RFut: fut... | crates/router/src/utils/db_utils.rs | router | function_signature | null | null | null | 131 | try_redis_get_else_try_database_get | null | null | null | null | null | null |
// Struct: KlarnaMeta
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaMeta | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaMeta | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: scope
// File: crates/router_derive/src/macros/generate_permissions.rs
// Module: router_derive
pub fn scope(&self) -> PermissionScope | crates/router_derive/src/macros/generate_permissions.rs | router_derive | function_signature | null | null | null | 36 | scope | null | null | null | null | null | null |
// Struct: RazorpayOrderResponse
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RazorpayOrderResponse | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | RazorpayOrderResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: Bambora3DsResponse
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Bambora3DsResponse | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | Bambora3DsResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
))
}
}
impl PaymentUpdate {
fn populate_payment_attempt_with_request(
payment_attempt: &mut storage::PaymentAttempt,
request: &api::PaymentsRequest,
) {
request
.business_sub_label
.clone()
.map(|bsl| payment_attempt.business_sub_label.rep... | crates/router/src/core/payments/operations/payment_update.rs#chunk1 | router | chunk | null | null | null | 362 | null | null | null | null | null | null | null |
// Struct: PaymentLinkBackgroundImageConfig
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct PaymentLinkBackgroundImageConfig | crates/api_models/src/admin.rs | api_models | struct_definition | PaymentLinkBackgroundImageConfig | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: get_event_handler
// File: crates/router/src/events.rs
// Module: router
pub fn get_event_handler(&self) -> StorageResult<EventsHandler> | crates/router/src/events.rs | router | function_signature | null | null | null | 36 | get_event_handler | null | null | null | null | null | null |
// Struct: Fiserv
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: ConnectorCommon, api::ConnectorAccessToken, ConnectorValidation, api::Payment, api::PaymentToken, api::MandateSetup, api::PaymentVoid, api::PaymentSync, api::PaymentCaptu... | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | struct_definition | Fiserv | 17 | [
"ConnectorCommon",
"api::ConnectorAccessToken",
"ConnectorValidation",
"api::Payment",
"api::PaymentToken",
"api::MandateSetup",
"api::PaymentVoid",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentSession",
"api::PaymentAuthorize",
"api::Refund",
"api::RefundExecute",
"api::RefundS... | 128 | null | null | null | null | null | null | null |
// Implementation: impl Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Multisafepay | null | 1 | 1 | null | null |
// Function: call_unified_connector_service_for_webhook
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
// Documentation: High-level abstraction for calling UCS webhook transformation This provides a clean interface similar to payment flow UCS calls
pub fn call_unified_connector_service... | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 173 | call_unified_connector_service_for_webhook | null | null | null | null | null | null |
// File: crates/diesel_models/src/payment_intent.rs
// Module: diesel_models
// Public functions: 4
// Public structs: 14
use common_enums::{PaymentMethodType, RequestIncrementalAuthorization};
use common_types::primitive_wrappers::{
EnablePartialAuthorizationBool, RequestExtendedAuthorizationBool,
};
use common_u... | crates/diesel_models/src/payment_intent.rs#chunk0 | diesel_models | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Implementation: impl VerifyConnectorData
// File: crates/router/src/types/api/verify_connector.rs
// Module: router
// Methods: 2 total (0 public)
impl VerifyConnectorData | crates/router/src/types/api/verify_connector.rs | router | impl_block | null | null | null | 40 | null | VerifyConnectorData | null | 2 | 0 | null | null |
// Struct: NexinetsPaymentsMetadata
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexinetsPaymentsMetadata | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | NexinetsPaymentsMetadata | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Bambora
// File: crates/hyperswitch_connectors/src/connectors/bambora.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Bambora | crates/hyperswitch_connectors/src/connectors/bambora.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Bambora | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Gpayments | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl GetPaymentMethodType for for MobilePaymentData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl GetPaymentMethodType for for MobilePaymentData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 58 | null | MobilePaymentData | GetPaymentMethodType for | 1 | 0 | null | null |
// Function: payments_list_by_filter
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_list_by_filter(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
payload: web::Json<payment_types::PaymentListFilterConstraints>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 71 | payments_list_by_filter | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Square | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::Payment for for Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Iatapay | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Iatapay | api::Payment for | 0 | 0 | null | null |
// Function: get_total_amount
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_total_amount(&self) -> MinorUnit | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 43 | get_total_amount | null | null | null | null | null | null |
// File: crates/router/src/types/storage/fraud_check.rs
// Module: router
pub use diesel_models::fraud_check::{
FraudCheck, FraudCheckNew, FraudCheckUpdate, FraudCheckUpdateInternal,
};
| crates/router/src/types/storage/fraud_check.rs | router | full_file | null | null | null | 45 | 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.