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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl super::KafkaMessage for for KafkaAuthenticationEvent
// File: crates/router/src/services/kafka/authentication_event.rs
// Module: router
// Methods: 2 total (0 public)
impl super::KafkaMessage for for KafkaAuthenticationEvent | crates/router/src/services/kafka/authentication_event.rs | router | impl_block | null | null | null | 54 | null | KafkaAuthenticationEvent | super::KafkaMessage for | 2 | 0 | null | null |
// Struct: Worldpayxml
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid,... | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs | hyperswitch_connectors | struct_definition | Worldpayxml | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 128 | null | null | null | null | null | null | null |
// Struct: ProphetpayCompleteAuthResponse
// File: crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProphetpayCompleteAuthResponse | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs | hyperswitch_connectors | struct_definition | ProphetpayCompleteAuthResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: publish_revenue_recovery_event_to_kafka
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
pub fn publish_revenue_recovery_event_to_kafka(
state: &SessionState,
recovery_payment_tuple: &Self,
retry_count: Option<i32>,
) -> CustomResult<(), errors::R... | crates/router/src/core/webhooks/recovery_incoming.rs | router | function_signature | null | null | null | 80 | publish_revenue_recovery_event_to_kafka | null | null | null | null | null | null |
// Function: next
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
pub fn next(self, user: UserFromStorage, state: &SessionState) -> UserResult<NextFlow> | crates/router/src/types/domain/user/decision_manager.rs | router | function_signature | null | null | null | 48 | next | null | null | null | null | null | null |
// Function: payment_link_status
// File: crates/router/src/routes/payment_link.rs
// Module: router
pub fn payment_link_status(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
path: web::Path<(
common_utils::id_type::MerchantId,
common_utils::id_type::PaymentId,
) | crates/router/src/routes/payment_link.rs | router | function_signature | null | null | null | 77 | payment_link_status | null | null | null | null | null | null |
// Implementation: impl CardInfo
// File: crates/diesel_models/src/query/cards_info.rs
// Module: diesel_models
// Methods: 3 total (0 public)
impl CardInfo | crates/diesel_models/src/query/cards_info.rs | diesel_models | impl_block | null | null | null | 39 | null | CardInfo | null | 3 | 0 | 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 |
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 36
use common_enums::{enums, MerchantCategoryCode};
use common_types::payments::MerchantCountryCode;
use common_utils::{ext_traits::OptionExt ... | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 7,637 | null | null | null | null | null | null | null |
// Function: set_event
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn set_event(&mut self, event: routing_events::RoutingEvent) | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 41 | set_event | null | null | null | null | null | null |
// Implementation: impl GraphError
// File: crates/hyperswitch_constraint_graph/src/error.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (1 public)
impl GraphError | crates/hyperswitch_constraint_graph/src/error.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 42 | null | GraphError | null | 1 | 1 | null | null |
// Struct: AuthenticationConnectorDetails
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct AuthenticationConnectorDetails | crates/api_models/src/admin.rs | api_models | struct_definition | AuthenticationConnectorDetails | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: WisePayoutsWebhookResource
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WisePayoutsWebhookResource | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WisePayoutsWebhookResource | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: SinglePurposeOrLoginToken
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct SinglePurposeOrLoginToken | crates/router/src/services/authentication.rs | router | struct_definition | SinglePurposeOrLoginToken | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::{fmt::Debug, sync::LazyLock};
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use base64::Engine;
use common_enums::enums;
use common_utils::{
... | crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | full_file | null | null | null | 5,574 | null | null | null | null | null | null | null |
// Struct: FinixRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/finix/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FinixRefundRequest | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs | hyperswitch_connectors | struct_definition | FinixRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl SESConfig
// File: crates/external_services/src/email/ses.rs
// Module: external_services
// Methods: 1 total (1 public)
impl SESConfig | crates/external_services/src/email/ses.rs | external_services | impl_block | null | null | null | 39 | null | SESConfig | null | 1 | 1 | null | null |
// Function: payments_post_session_tokens
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_post_session_tokens(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsPostSessionTokensRequest>,
path: web::Path<common_u... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 89 | payments_post_session_tokens | null | null | null | null | null | null |
// Struct: AuthorizationError
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizationError | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | AuthorizationError | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Nordea
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Nordea | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Nordea | api::RefundExecute for | 0 | 0 | null | null |
// Struct: StripeChargeResponseData
// File: crates/common_types/src/payments.rs
// Module: common_types
// Implementations: 0
pub struct StripeChargeResponseData | crates/common_types/src/payments.rs | common_types | struct_definition | StripeChargeResponseData | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: MerchantData
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantData | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | MerchantData | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/analytics/src/routing_events/events.rs
// Module: analytics
// Public functions: 1
// Public structs: 1
use api_models::analytics::{routing_events::RoutingEventsRequest, Granularity};
use common_utils::errors::ReportSwitchExt;
use error_stack::ResultExt;
use time::PrimitiveDateTime;
use crate::{
q... | crates/analytics/src/routing_events/events.rs | analytics | full_file | null | null | null | 605 | null | null | null | null | null | null | null |
// Struct: ThreeDSRequestorAuthenticationInformation
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSRequestorAuthenticationInformation | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | ThreeDSRequestorAuthenticationInformation | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Opennode | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Opennode | api::PaymentSync for | 0 | 0 | null | null |
// File: crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::Re... | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs | analytics | full_file | null | null | null | 1,126 | null | null | null | null | null | null | null |
// Struct: AirwallexPayLaterPaymentOptions
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexPayLaterPaymentOptions | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexPayLaterPaymentOptions | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Checkbook | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Checkbook | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl api::Payment for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Paypal | api::Payment for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Paytm
// File: crates/hyperswitch_connectors/src/connectors/paytm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Paytm | crates/hyperswitch_connectors/src/connectors/paytm.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paytm | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Bluesnap | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl CardInfoBuilder
// File: crates/router/src/core/cards_info.rs
// Module: router
// Methods: 1 total (0 public)
impl CardInfoBuilder | crates/router/src/core/cards_info.rs | router | impl_block | null | null | null | 38 | null | CardInfoBuilder | null | 1 | 0 | null | null |
// Function: find_process_by_id
// File: crates/diesel_models/src/query/process_tracker.rs
// Module: diesel_models
pub fn find_process_by_id(conn: &PgPooledConn, id: &str) -> StorageResult<Option<Self>> | crates/diesel_models/src/query/process_tracker.rs | diesel_models | function_signature | null | null | null | 52 | find_process_by_id | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl super::behaviour::Conversion for for Profile
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
// Methods: 3 total (0 public)
impl super::behaviour::Conversion for for Profile | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | impl_block | null | null | null | 57 | null | Profile | super::behaviour::Conversion for | 3 | 0 | null | null |
// Function: find_by_merchant_id_payment_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_by_merchant_id_payment_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
payment_id: &common_utils::id_type::PaymentId,
) -> St... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 85 | find_by_merchant_id_payment_id | null | null | null | null | null | null |
// Implementation: impl Conversion
// File: crates/router_derive/src/macros/operation.rs
// Module: router_derive
// Methods: 13 total (0 public)
impl Conversion | crates/router_derive/src/macros/operation.rs | router_derive | impl_block | null | null | null | 40 | null | Conversion | null | 13 | 0 | null | null |
// Implementation: impl api::Payment for for Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Aci | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Aci | api::Payment for | 0 | 0 | null | null |
// Struct: GetSdkEventMetricRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GetSdkEventMetricRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetSdkEventMetricRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_filters_for_refunds
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn get_filters_for_refunds(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<common_utils::id_type::ProfileId>>,
) -> RouterResponse<api_models::refunds::RefundLi... | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 81 | get_filters_for_refunds | null | null | null | null | null | null |
// Struct: RuleMigrationResponse
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 1
pub struct RuleMigrationResponse | crates/api_models/src/routing.rs | api_models | struct_definition | RuleMigrationResponse | 1 | [] | 36 | null | null | null | null | null | null | null |
// Trait: DataModelExt
// File: crates/storage_impl/src/lib.rs
// Module: storage_impl
pub trait DataModelExt | crates/storage_impl/src/lib.rs | storage_impl | trait_definition | null | null | null | 28 | null | null | DataModelExt | null | null | null | null |
// Struct: HyperwalletPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HyperwalletPaymentsRequest | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs | hyperswitch_connectors | struct_definition | HyperwalletPaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/api/disputes_v2.rs
// Module: hyperswitch_interfaces
//! Disputes V2 interface
use hyperswitch_domain_models::{
router_data_v2::DisputesFlowData,
router_flow_types::dispute::{Accept, Defend, Dsync, Evidence, Fetch},
router_request_types::{
AcceptDisputeReq... | crates/hyperswitch_interfaces/src/api/disputes_v2.rs | hyperswitch_interfaces | full_file | null | null | null | 442 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
mod requests;
mod responses;
pub mod transformers;
use common_enums::enums;
use common_utils::{
crypto,
errors::CustomResult,
ext_traits::{ByteSliceExt, BytesE... | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | full_file | null | null | null | 7,276 | null | null | null | null | null | null | null |
// Struct: Authentication
// File: crates/diesel_models/src/authentication.rs
// Module: diesel_models
// Implementations: 1
pub struct Authentication | crates/diesel_models/src/authentication.rs | diesel_models | struct_definition | Authentication | 1 | [] | 32 | null | null | null | null | null | null | null |
// Struct: KatapultPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KatapultPaymentsResponse | crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs | hyperswitch_connectors | struct_definition | KatapultPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Payeezy | api::PaymentVoid for | 0 | 0 | null | null |
// File: crates/common_utils/src/consts.rs
// Module: common_utils
// Public functions: 2
//! Commonly used constants
/// Number of characters in a generated ID
pub const ID_LENGTH: usize = 20;
/// Characters to use for generating NanoID
pub(crate) const ALPHABETS: [char; 62] = [
'0', '1', '2', '3', '4', '5', '6... | crates/common_utils/src/consts.rs | common_utils | full_file | null | null | null | 2,232 | null | null | null | null | null | null | null |
// Function: get_grpc_headers
// File: crates/router/src/routes/app.rs
// Module: router
pub fn get_grpc_headers(&self) -> GrpcHeaders | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 36 | get_grpc_headers | null | null | null | null | null | null |
// Function: get_payment_method_data_from_locker
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn get_payment_method_data_from_locker(
state: &routes::SessionState,
lookup_key: &str,
merchant_key_store: &domain::MerchantKeyStore,
) -> RouterResult<(Option<do... | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 85 | get_payment_method_data_from_locker | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// File: crates/router/tests/connectors/multisafepay.rs
// Module: router
use hyperswitch_domain_models::address::{Address, AddressDetails};
use masking::Secret;
use router::types::{self, domain, storage::enums, PaymentAddress};
use crate::{
connector_auth,
utils::{self, ConnectorActions, PaymentInfo},
};
#[... | crates/router/tests/connectors/multisafepay.rs | router | full_file | null | null | null | 3,196 | null | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/shift4_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct Shift4SeleniumTest;
impl SeleniumTest for Shift4SeleniumTest {
fn get_connector_name(&self) -> String {
"shift4".to_st... | crates/test_utils/tests/connectors/shift4_ui.rs | test_utils | full_file | null | null | null | 950 | null | null | null | null | null | null | null |
// Struct: PaymentMethodDataWithId
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
// Implementations: 0
pub struct PaymentMethodDataWithId | crates/router/src/types/storage/payment_method.rs | router | struct_definition | PaymentMethodDataWithId | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: BarclaycardRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardRefundRequest | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardRefundRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: get_default_fallback_list_of_connector_under_profile
// File: crates/router/src/core/admin.rs
// Module: router
pub fn get_default_fallback_list_of_connector_under_profile(
&self,
) -> RouterResult<Vec<routing_types::RoutableConnectorChoice>> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 60 | get_default_fallback_list_of_connector_under_profile | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hyperwallet | api::PaymentSession for | 0 | 0 | null | null |
// Struct: Beneficiary
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Beneficiary | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | Beneficiary | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/api_keys.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/api_keys.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: CurrentBlockThreshold
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 1
pub struct CurrentBlockThreshold | crates/api_models/src/routing.rs | api_models | struct_definition | CurrentBlockThreshold | 1 | [] | 36 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// File: crates/test_utils/src/main.rs
// Module: test_utils
#![allow(clippy::print_stdout, clippy::print_stderr)]
use std::process::{exit, Command};
use anyhow::Result;
use test_utils::newman_runner;
fn main() -> Result<()> {
let mut runner = newman_runner::generate_runner()?;
// Execute the newman comman... | crates/test_utils/src/main.rs | test_utils | full_file | null | null | null | 391 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/type_encryption.rs
// Module: hyperswitch_domain_models
// Public functions: 3
// Public structs: 1
use async_trait::async_trait;
use common_utils::{
crypto,
encryption::Encryption,
errors::{self, CustomResult},
ext_traits::AsyncExt,
metrics::utils::rec... | crates/hyperswitch_domain_models/src/type_encryption.rs#chunk0 | hyperswitch_domain_models | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// Function: payments_get_intent_using_merchant_reference
// File: crates/router/src/core/payments.rs
// Module: router
pub fn payments_get_intent_using_merchant_reference(
state: SessionState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
req_state: ReqState,
merchant_refere... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 97 | payments_get_intent_using_merchant_reference | null | null | null | null | null | null |
// Function: create_revenue_recovery_grpc_request
// File: crates/external_services/src/grpc_client/revenue_recovery.rs
// Module: external_services
// Documentation: Creates a tonic::Request with recovery headers added.
pub fn create_revenue_recovery_grpc_request<T: Debug>(
message: T,
recovery_headers: Grpc... | crates/external_services/src/grpc_client/revenue_recovery.rs | external_services | function_signature | null | null | null | 80 | create_revenue_recovery_grpc_request | null | null | null | null | null | null |
// Struct: ForteCancelResponse
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ForteCancelResponse | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | ForteCancelResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/customers.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/customers.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl api::PayoutEligibility for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutEligibility for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Adyen | api::PayoutEligibility for | 0 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: AmazonpayFinalizeRequest
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AmazonpayFinalizeRequest | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | AmazonpayFinalizeRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: update_requestor_card_reference
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn update_requestor_card_reference(&mut self, card_reference: Option<String>) | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 45 | update_requestor_card_reference | null | null | null | null | null | null |
// File: crates/router/tests/connectors/nexinets.rs
// Module: router
use std::str::FromStr;
use cards::CardNumber;
use common_utils::types::MinorUnit;
use masking::Secret;
use router::types::{self, domain, storage::enums, PaymentsAuthorizeData};
use crate::{
connector_auth,
utils::{self, ConnectorActions},
... | crates/router/tests/connectors/nexinets.rs | router | full_file | null | null | null | 4,995 | null | null | null | null | null | null | null |
// Function: filter_type_to_sql
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn filter_type_to_sql(l: &str, op: FilterTypes, r: &str) -> String | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 46 | filter_type_to_sql | null | null | null | null | null | null |
// Function: delete_surcharge_decision_config
// File: crates/router/src/core/surcharge_decision_config.rs
// Module: router
pub fn delete_surcharge_decision_config(
state: SessionState,
merchant_context: domain::MerchantContext,
) -> RouterResponse<()> | crates/router/src/core/surcharge_decision_config.rs | router | function_signature | null | null | null | 56 | delete_surcharge_decision_config | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Coingate
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Coingate | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Coingate | ConnectorValidation for | 0 | 0 | null | null |
// Struct: SplitShipment
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SplitShipment | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | SplitShipment | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: validate_secure_payment_link_render_request
// File: crates/router/src/core/payment_link/validator.rs
// Module: router
pub fn validate_secure_payment_link_render_request(
request_headers: &header::HeaderMap,
payment_link: &PaymentLink,
payment_link_config: &PaymentLinkConfig,
) -> RouterResul... | crates/router/src/core/payment_link/validator.rs | router | function_signature | null | null | null | 70 | validate_secure_payment_link_render_request | null | null | null | null | null | null |
// Implementation: impl api::Payouts for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payouts for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Adyenplatform | api::Payouts for | 0 | 0 | null | null |
// Function: setter
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn setter(input: proc_macro::TokenStream) -> proc_macro::TokenStream | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 40 | setter | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Multisafepay | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Paypal | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Archipel | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Archipel | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Powertranz
// File: crates/hyperswitch_connectors/src/connectors/powertranz.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Powertranz | crates/hyperswitch_connectors/src/connectors/powertranz.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Powertranz | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: AuthorizedotnetRouterData
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetRouterData<T> | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetRouterData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: ConsumerAuthenticationResponse
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ConsumerAuthenticationResponse | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | ConsumerAuthenticationResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: DlocalPaymentsCancelResponse
// File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DlocalPaymentsCancelResponse | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs | hyperswitch_connectors | struct_definition | DlocalPaymentsCancelResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: payments_complete_authorize
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_complete_authorize() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 33 | payments_complete_authorize | null | null | null | null | null | null |
// File: crates/router/src/types/transformers.rs
// Module: router
use actix_web::http::header::HeaderMap;
use api_models::{
cards_info as card_info_types, enums as api_enums, gsm as gsm_api_types, payment_methods,
payments, routing::ConnectorSelection,
};
use common_utils::{
consts::X_HS_LATENCY,
cryp... | crates/router/src/types/transformers.rs#chunk0 | router | chunk | null | null | null | 8,153 | null | null | null | null | null | null | null |
// Struct: SessionFlowRoutingInput
// File: crates/router/src/core/payments/routing.rs
// Module: router
// Implementations: 0
pub struct SessionFlowRoutingInput<'a> | crates/router/src/core/payments/routing.rs | router | struct_definition | SessionFlowRoutingInput | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Hipay
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Hipay | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hipay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// File: crates/diesel_models/src/query/process_tracker.rs
// Module: diesel_models
// Public functions: 7
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods, Table};
use router_env::{instrument, tracing};
use time::PrimitiveDateTime;
use super::generics;
use crate::{
enums, errors,
... | crates/diesel_models/src/query/process_tracker.rs | diesel_models | full_file | null | null | null | 967 | null | null | null | null | null | null | null |
// Struct: SantanderAdditionalInfo
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderAdditionalInfo | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderAdditionalInfo | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_payment_intent_payment_attempt
// File: crates/router/src/core/payments/operations/payment_status.rs
// Module: router
pub fn get_payment_intent_payment_attempt(
state: &SessionState,
payment_id: &api::PaymentIdType,
merchant_id: &common_utils::id_type::MerchantId,
key_store: &domain::... | crates/router/src/core/payments/operations/payment_status.rs | router | function_signature | null | null | null | 105 | get_payment_intent_payment_attempt | null | null | null | null | null | null |
// Implementation: impl Default for for ClickhouseConfig
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 1 total (0 public)
impl Default for for ClickhouseConfig | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 45 | null | ClickhouseConfig | Default for | 1 | 0 | null | null |
// Function: find_by_customer_id_merchant_id
// File: crates/diesel_models/src/query/customers.rs
// Module: diesel_models
pub fn find_by_customer_id_merchant_id(
conn: &PgPooledConn,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::MerchantId,
) -> StorageResult<Self> | crates/diesel_models/src/query/customers.rs | diesel_models | function_signature | null | null | null | 77 | find_by_customer_id_merchant_id | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::fmt::Debug;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
re... | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | full_file | null | null | null | 3,888 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/unified_authentication_service.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};
#... | crates/router/tests/connectors/unified_authentication_service.rs | router | full_file | null | null | null | 2,944 | null | null | null | null | null | null | null |
// File: crates/openapi/src/routes/merchant_connector_account.rs
// Module: openapi
// Public functions: 9
/// Merchant Connector - Create
///
/// Creates a new Merchant Connector for the merchant account. The connector could be a payment processor/facilitator/acquirer or a provider of specialized services like Fraud/... | crates/openapi/src/routes/merchant_connector_account.rs | openapi | full_file | null | null | null | 2,483 | 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.