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: CardTokenAdditionalData
// File: crates/api_models/src/payments/additional_info.rs
// Module: api_models
// Implementations: 0
pub struct CardTokenAdditionalData | crates/api_models/src/payments/additional_info.rs | api_models | struct_definition | CardTokenAdditionalData | 0 | [] | 41 | null | null | null | null | null | null | null |
let error_details = ErrorDetails {
code,
message,
reason,
unified_code: None,
unified_message: None,
network_advice_code,
network_decline_code,
... | crates/hyperswitch_domain_models/src/router_data.rs#chunk1 | hyperswitch_domain_models | chunk | null | null | null | 7,456 | null | null | null | null | null | null | null |
// Function: list_payment_methods_for_session
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn list_payment_methods_for_session(
state: SessionState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
payment_method_session_id: id_type::GlobalPaymentMethodSe... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 84 | list_payment_methods_for_session | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Chargebee
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Chargebee | crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Chargebee | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: DecisionManagerRecord
// File: crates/common_types/src/payments.rs
// Module: common_types
// Implementations: 1
// Traits: events::ApiEventMetric
// Documentation: DecisionManagerRecord
pub struct DecisionManagerRecord | crates/common_types/src/payments.rs | common_types | struct_definition | DecisionManagerRecord | 1 | [
"events::ApiEventMetric"
] | 52 | null | null | null | null | null | null | null |
// Struct: BankAccount
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankAccount | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | BankAccount | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: NmiMerchantDefinedField
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct NmiMerchantDefinedField | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiMerchantDefinedField | 1 | [] | 51 | null | null | null | null | null | null | null |
// Struct: Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund, ap... | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | struct_definition | Vgs | 19 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"api::ExternalVaultInsert",
"api::Ex... | 142 | null | null | null | null | null | null | null |
// Function: set_routing_event
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn set_routing_event(&mut self, routing_event: routing_events::RoutingEvent) | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 44 | set_routing_event | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Phonepe | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: PlacetopayNextActionRequest
// File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlacetopayNextActionRequest | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs | hyperswitch_connectors | struct_definition | PlacetopayNextActionRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/utils/connector_onboarding.rs
// Module: router
// Public submodules:
pub mod paypal;
| crates/router/src/utils/connector_onboarding.rs | router | module_structure | null | null | null | 31 | null | null | null | null | null | 1 | 0 |
// Function: get_four_digit_expiry_year
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Get the four-digit expiration year from the Apple Pay pre-decrypt data
pub fn get_four_digit_expiry_year(&self) -> Secret<String> | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 58 | get_four_digit_expiry_year | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Public structs: 16
use api_models::payments::DeviceChannel;
use common_enums::MerchantCategoryCode;
use common_types::payments::MerchantCountryCode;
use common_utils::types::Mino... | crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs | hyperswitch_domain_models | full_file | null | null | null | 1,598 | null | null | null | null | null | null | null |
// Struct: VgsInsertResponse
// File: crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VgsInsertResponse | crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs | hyperswitch_connectors | struct_definition | VgsInsertResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: is_three_ds_authentication
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_three_ds_authentication(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 37 | is_three_ds_authentication | null | null | null | null | null | null |
// Struct: TokenioPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenioPaymentsRequest | crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs | hyperswitch_connectors | struct_definition | TokenioPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: ShoppingCart
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ShoppingCart | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | ShoppingCart | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Forte | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: SubscriptionNew
// File: crates/diesel_models/src/subscription.rs
// Module: diesel_models
// Implementations: 1
pub struct SubscriptionNew | crates/diesel_models/src/subscription.rs | diesel_models | struct_definition | SubscriptionNew | 1 | [] | 35 | null | null | null | null | null | null | null |
// Struct: GetCardToken
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct GetCardToken | crates/router/src/types/payment_methods.rs | router | struct_definition | GetCardToken | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: execute
// File: crates/analytics/src/opensearch.rs
// Module: analytics
pub fn execute(
&self,
query_builder: OpenSearchQueryBuilder,
) -> CustomResult<Response, OpenSearchError> | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 49 | execute | null | null | null | null | null | null |
// File: crates/common_utils/src/types/primitive_wrappers.rs
// Module: common_utils
// Public functions: 1
// Public structs: 3
pub(crate) mod bool_wrappers {
use serde::{Deserialize, Serialize};
/// Bool that represents if Extended Authorization is Applied or not
#[derive(
Clone, Copy, Debug, Eq... | crates/common_utils/src/types/primitive_wrappers.rs | common_utils | full_file | null | null | null | 961 | null | null | null | null | null | null | null |
// Struct: KafkaRefund
// File: crates/router/src/services/kafka/refund.rs
// Module: router
// Implementations: 3
// Traits: super::KafkaMessage
pub struct KafkaRefund<'a> | crates/router/src/services/kafka/refund.rs | router | struct_definition | KafkaRefund | 3 | [
"super::KafkaMessage"
] | 49 | null | null | null | null | null | null | null |
// File: crates/euclid/src/backend/inputs.rs
// Module: euclid
// Public structs: 7
use rustc_hash::FxHashMap;
use serde::{Deserialize, Serialize};
use crate::{
enums,
frontend::dir::enums::{CustomerDeviceDisplaySize, CustomerDevicePlatform, CustomerDeviceType},
};
#[derive(Debug, Clone, Serialize, Deseriali... | crates/euclid/src/backend/inputs.rs | euclid | full_file | null | null | null | 506 | null | null | null | null | null | null | null |
// Function: url
// File: crates/common_utils/src/request.rs
// Module: common_utils
pub fn url(mut self, url: &str) -> Self | crates/common_utils/src/request.rs | common_utils | function_signature | null | null | null | 34 | url | null | null | null | null | null | null |
// File: crates/router/tests/connectors/airwallex.rs
// Module: router
use std::str::FromStr;
use hyperswitch_domain_models::address::{Address, AddressDetails};
use masking::{PeekInterface, Secret};
use router::types::{self, domain, storage::enums, AccessToken};
use crate::{
connector_auth,
utils::{self, Con... | crates/router/tests/connectors/airwallex.rs | router | full_file | null | null | null | 3,696 | null | null | null | null | null | null | null |
// Struct: IdealInfo
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IdealInfo | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | IdealInfo | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::Payouts for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payouts for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Stripe | api::Payouts for | 0 | 0 | null | null |
// Implementation: impl CaptureInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 3 total (0 public)
impl CaptureInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 45 | null | KafkaStore | CaptureInterface for | 3 | 0 | null | null |
// Implementation: impl CeleroErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Methods: 3 total (2 public)
impl CeleroErrorDetails | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | CeleroErrorDetails | null | 3 | 2 | null | null |
// Function: insert_org_level_user_role_in_db
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn insert_org_level_user_role_in_db(
self,
state: SessionState,
role_id: String,
user_status: UserStatus,
) -> UserResult<UserRole> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 67 | insert_org_level_user_role_in_db | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Breadpay
// File: crates/hyperswitch_connectors/src/connectors/breadpay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Breadpay | crates/hyperswitch_connectors/src/connectors/breadpay.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Breadpay | ConnectorCommon for | 6 | 0 | null | null |
// Function: get_id
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
pub fn get_id(&self) -> &String | crates/diesel_models/src/payment_method.rs | diesel_models | function_signature | null | null | null | 34 | get_id | null | null | null | null | null | null |
// Struct: ProfileUpdateInternal
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Implementations: 2
pub struct ProfileUpdateInternal | crates/diesel_models/src/business_profile.rs | diesel_models | struct_definition | ProfileUpdateInternal | 2 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paypal | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Implementation: impl api::Payment for for Bambora
// File: crates/hyperswitch_connectors/src/connectors/bambora.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Bambora | crates/hyperswitch_connectors/src/connectors/bambora.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Bambora | api::Payment for | 0 | 0 | null | null |
// Function: get_secret
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_secret(&self) -> Secret<String> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 33 | get_secret | null | null | null | null | null | null |
// Implementation: impl db::payment_method_session::PaymentMethodsSessionInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 3 total (0 public)
impl db::payment_method_session::PaymentMethodsSessionInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 61 | null | KafkaStore | db::payment_method_session::PaymentMethodsSessionInterface for | 3 | 0 | null | null |
// Struct: ZslPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZslPaymentsResponse | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs | hyperswitch_connectors | struct_definition | ZslPaymentsResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentVoid, api::PaymentSync, api::PaymentCapture, api::PaymentSession, api::PaymentAuthorize, api::PaymentsComp... | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | struct_definition | Shift4 | 19 | [
"ConnectorCommon",
"ConnectorValidation",
"api::Payment",
"api::PaymentVoid",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentSession",
"api::PaymentAuthorize",
"api::PaymentsCompleteAuthorize",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"api::Paym... | 135 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Elavon | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund... | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | struct_definition | Opayo | 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... | 125 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for ProfileAcquirerUpdate
// File: crates/api_models/src/profile_acquirer.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for ProfileAcquirerUpdate | crates/api_models/src/profile_acquirer.rs | api_models | impl_block | null | null | null | 62 | null | ProfileAcquirerUpdate | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// Struct: ReqState
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 0
pub struct ReqState | crates/router/src/routes/app.rs | router | struct_definition | ReqState | 0 | [] | 32 | null | null | null | null | null | null | null |
// Struct: FetchDisputesRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct FetchDisputesRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | FetchDisputesRequestData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: Activity
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Activity | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | Activity | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: IatapayRefundWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IatapayRefundWebhookBody | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | IatapayRefundWebhookBody | 0 | [] | 61 | null | null | null | null | null | null | null |
// Function: billing_country_to_dir_value
// File: crates/kgraph_utils/src/transformers.rs
// Module: kgraph_utils
pub fn billing_country_to_dir_value(c: api_enums::Country) -> dir::DirValue | crates/kgraph_utils/src/transformers.rs | kgraph_utils | function_signature | null | null | null | 49 | billing_country_to_dir_value | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 3
use std::collections::HashMap;
use api_models::payments::{MandateIds, MandateReferenceId};
use base64::Engine;
use common_enums::enums;
use common_utils::{
consts::BASE64_ENGINE, e... | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 7,346 | null | null | null | null | null | null | null |
// Struct: GetnetCancelResponse
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GetnetCancelResponse | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | GetnetCancelResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Globepay
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Globepay | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Globepay | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: get_profile_refund_metrics
// File: crates/router/src/analytics.rs
// Module: router
// Documentation: Panics if `json_payload` array does not contain one `GetRefundMetricRequest` element.
pub fn get_profile_refund_metrics(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
... | crates/router/src/analytics.rs | router | function_signature | null | null | null | 98 | get_profile_refund_metrics | null | null | null | null | null | null |
// Struct: Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Re... | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | struct_definition | Gigadat | 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... | 129 | null | null | null | null | null | null | null |
// Implementation: impl GsmInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 5 total (0 public)
impl GsmInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | GsmInterface for | 5 | 0 | null | null |
// File: crates/analytics/src/frm/types.rs
// Module: analytics
use api_models::analytics::frm::{FrmDimensions, FrmFilters};
use error_stack::ResultExt;
use crate::{
query::{QueryBuilder, QueryFilter, QueryResult, ToSql},
types::{AnalyticsCollection, AnalyticsDataSource},
};
impl<T> QueryFilter<T> for FrmFil... | crates/analytics/src/frm/types.rs | analytics | full_file | null | null | null | 279 | null | null | null | null | null | null | null |
// Struct: UasPreAuthenticationRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct UasPreAuthenticationRequestData | crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs | hyperswitch_domain_models | struct_definition | UasPreAuthenticationRequestData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: TrustpaymentsAuthType
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct TrustpaymentsAuthType | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsAuthType | 1 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/payload/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 3
use std::collections::HashMap;
use api_models::webhooks::IncomingWebhookEvent;
use common_enums::enums;
use common_utils::{ext_traits::ValueExt, types::StringMajorUnit};
use error_stack... | crates/hyperswitch_connectors/src/connectors/payload/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,455 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Bankofamerica
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Bankofamerica | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Bankofamerica | ConnectorCommon for | 5 | 0 | null | null |
// Struct: AuthenticationRequest
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthenticationRequest | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | AuthenticationRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: ForgotPasswordRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct ForgotPasswordRequest | crates/api_models/src/user.rs | api_models | struct_definition | ForgotPasswordRequest | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Stripebilling | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Stripebilling | api::MandateSetup for | 0 | 0 | null | null |
// Function: perform_debit_routing
// File: crates/router/src/core/debit_routing.rs
// Module: router
pub fn perform_debit_routing<F, Req, D>(
operation: &BoxedOperation<'_, F, Req, D>,
state: &SessionState,
business_profile: &domain::Profile,
payment_data: &mut D,
connector: Option<ConnectorCallTy... | crates/router/src/core/debit_routing.rs | router | function_signature | null | null | null | 139 | perform_debit_routing | null | null | null | null | null | null |
// Function: payments_operation_core
// File: crates/router/src/core/payments.rs
// Module: router
pub fn payments_operation_core<F, Req, Op, FData, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: &domain::MerchantContext,
profile_id_from_auth_layer: Option<id_type::ProfileId>,
ope... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 343 | payments_operation_core | null | null | null | null | null | null |
// Struct: RuleResults
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RuleResults | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | RuleResults | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/router_request_types/revenue_recovery.rs
// Module: hyperswitch_domain_models
// Public structs: 3
use common_enums::enums;
use crate::connector_endpoints;
#[derive(Debug, Clone)]
pub struct BillingConnectorPaymentsSyncRequest {
/// unique id for making billing conne... | crates/hyperswitch_domain_models/src/router_request_types/revenue_recovery.rs | hyperswitch_domain_models | full_file | null | null | null | 261 | null | null | null | null | null | null | null |
// File: crates/router/tests/payments2.rs
// Module: router
#![allow(
clippy::expect_used,
clippy::unwrap_in_result,
clippy::unwrap_used,
clippy::print_stdout,
unused_imports
)]
mod utils;
use std::{borrow::Cow, sync::Arc};
use common_utils::{id_type, types::MinorUnit};
use router::{
core::p... | crates/router/tests/payments2.rs | router | full_file | null | null | null | 4,285 | null | null | null | null | null | null | null |
// Struct: KlarnaRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaRefundRequest | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Finix
// File: crates/hyperswitch_connectors/src/connectors/finix.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Finix | crates/hyperswitch_connectors/src/connectors/finix.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Finix | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl SubmitEvidence for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl SubmitEvidence for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Stripe | SubmitEvidence for | 0 | 0 | null | null |
// File: crates/router/src/services/kafka/payout.rs
// Module: router
// Public functions: 1
// Public structs: 1
use common_utils::{id_type, pii, types::MinorUnit};
use diesel_models::enums as storage_enums;
use hyperswitch_domain_models::payouts::{payout_attempt::PayoutAttempt, payouts::Payouts};
use time::OffsetDat... | crates/router/src/services/kafka/payout.rs | router | full_file | null | null | null | 897 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Mpgs | api::Payment for | 0 | 0 | null | null |
// Struct: Decision
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Decision | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | Decision | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: tokenize_cards
// File: crates/router/src/core/payment_methods/tokenize.rs
// Module: router
pub fn tokenize_cards(
state: &SessionState,
records: Vec<payment_methods_api::CardNetworkTokenizeRequest>,
merchant_context: &domain::MerchantContext,
) -> errors::RouterResponse<Vec<payment_methods_a... | crates/router/src/core/payment_methods/tokenize.rs | router | function_signature | null | null | null | 79 | tokenize_cards | null | null | null | null | null | null |
// Struct: CybersourceAuthType
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceAuthType | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceAuthType | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: CeleroRouterData
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CeleroRouterData<T> | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl masking::SerializableSecret for for Address
// File: crates/hyperswitch_domain_models/src/address.rs
// Module: hyperswitch_domain_models
// Methods: 0 total (0 public)
impl masking::SerializableSecret for for Address | crates/hyperswitch_domain_models/src/address.rs | hyperswitch_domain_models | impl_block | null | null | null | 52 | null | Address | masking::SerializableSecret for | 0 | 0 | null | null |
// Implementation: impl IncomingWebhook for for Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl IncomingWebhook for for Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Nmi | IncomingWebhook for | 6 | 0 | null | null |
// Function: get_routing_algorithm_id
// File: crates/router/src/core/admin.rs
// Module: router
pub fn get_routing_algorithm_id<'a>(
&'a self,
transaction_data: &'a routing::TransactionData<'_>,
) -> Option<id_type::RoutingId> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 61 | get_routing_algorithm_id | null | null | null | null | null | null |
// Struct: PaymentFiltersResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct PaymentFiltersResponse | crates/api_models/src/analytics.rs | api_models | struct_definition | PaymentFiltersResponse | 0 | [] | 36 | null | null | null | null | null | null | null |
// Trait: AnalyticsDataSource
// File: crates/analytics/src/types.rs
// Module: analytics
pub trait AnalyticsDataSource | crates/analytics/src/types.rs | analytics | trait_definition | null | null | null | 25 | null | null | AnalyticsDataSource | null | null | null | null |
// Function: lock_connector_customer_status
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
pub fn lock_connector_customer_status(
state: &SessionState,
connector_customer_id: &str,
payment_id: &id_type::GlobalPaymentId,
) -> CustomResult<bool,... | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 74 | lock_connector_customer_status | null | null | null | null | null | null |
// Function: get_connector_customer_id
// File: crates/hyperswitch_domain_models/src/customer.rs
// Module: hyperswitch_domain_models
pub fn get_connector_customer_id(&self, connector_label: &str) -> Option<&str> | crates/hyperswitch_domain_models/src/customer.rs | hyperswitch_domain_models | function_signature | null | null | null | 50 | get_connector_customer_id | null | null | null | null | null | null |
// Struct: PlaidBankAccountCredentialsItem
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidBankAccountCredentialsItem | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidBankAccountCredentialsItem | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/nexinets_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct NexinetsSeleniumTest;
impl SeleniumTest for NexinetsSeleniumTest {
fn get_connector_name(&self) -> String {
"nexinet... | crates/test_utils/tests/connectors/nexinets_ui.rs | test_utils | full_file | null | null | null | 693 | null | null | null | null | null | null | null |
// Implementation: impl NuveiPaymentsGenericResponse for for Capture
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl NuveiPaymentsGenericResponse for for Capture | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Capture | NuveiPaymentsGenericResponse for | 0 | 0 | null | null |
// Function: get_payment_id
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn get_payment_id(&self) -> &id_type::GlobalPaymentId | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 46 | get_payment_id | null | null | null | null | null | null |
// Struct: TrustpaymentsVoidUpdates
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpaymentsVoidUpdates | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsVoidUpdates | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/external_services/src/managers/encryption_management.rs
// Module: external_services
// Documentation: Verifies that the client configuration is usable
pub fn validate(&self) -> Result<(), &'static str> | crates/external_services/src/managers/encryption_management.rs | external_services | function_signature | null | null | null | 51 | validate | null | null | null | null | null | null |
// Implementation: impl PaymentIntent
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Methods: 8 total (8 public)
impl PaymentIntent | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | impl_block | null | null | null | 43 | null | PaymentIntent | null | 8 | 8 | null | null |
// Implementation: impl api::MandateSetup for for Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Helcim | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Aci | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Aci | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl ApiKeyInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 6 total (0 public)
impl ApiKeyInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | ApiKeyInterface for | 6 | 0 | null | null |
// Struct: PayuRouterData
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuRouterData<T> | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: delete_by_merchant_id_fingerprint
// File: crates/diesel_models/src/query/blocklist_lookup.rs
// Module: diesel_models
pub fn delete_by_merchant_id_fingerprint(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
fingerprint: &str,
) -> StorageResult<Self> | crates/diesel_models/src/query/blocklist_lookup.rs | diesel_models | function_signature | null | null | null | 77 | delete_by_merchant_id_fingerprint | null | null | null | null | null | null |
// Function: get_payment_metrics_info
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_payment_metrics_info() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 36 | get_payment_metrics_info | null | null | null | null | null | null |
// Struct: AuthResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | AuthResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: PaypalRefundWebhooks
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalRefundWebhooks | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalRefundWebhooks | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: pre_payment_frm_core
// File: crates/router/src/core/fraud_check.rs
// Module: router
pub fn pre_payment_frm_core<F, Req, D>(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payment_data: &mut D,
frm_info: &mut FrmInfo<F, D>,
frm_configs: FrmConfigsObject,
custome... | crates/router/src/core/fraud_check.rs | router | function_signature | null | null | null | 176 | pre_payment_frm_core | 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.