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: AchBankTransferAdditionalData
// File: crates/common_utils/src/payout_method_utils.rs
// Module: common_utils
// Implementations: 0
pub struct AchBankTransferAdditionalData | crates/common_utils/src/payout_method_utils.rs | common_utils | struct_definition | AchBankTransferAdditionalData | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: new
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
pub fn new(value: FredRedisValue) -> Self | crates/redis_interface/src/types.rs | redis_interface | function_signature | null | null | null | 33 | new | null | null | null | null | null | null |
// Struct: CheckoutThreeDS
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutThreeDS | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutThreeDS | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Dlocal
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Dlocal | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Dlocal | api::PaymentCapture for | 0 | 0 | null | null |
// Function: get_blocklist_guard_key
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: get_blocklist_enabled_key
pub fn get_blocklist_guard_key(&self) -> String | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 49 | get_blocklist_guard_key | null | null | null | null | null | null |
// File: crates/router/src/workflows/process_dispute.rs
// Module: router
// Public functions: 2
// Public structs: 1
use common_utils::ext_traits::{StringExt, ValueExt};
use diesel_models::process_tracker::business_status;
use error_stack::ResultExt;
use router_env::logger;
use scheduler::{
consumer::{self, types... | crates/router/src/workflows/process_dispute.rs | router | full_file | null | null | null | 1,378 | null | null | null | null | null | null | null |
// Struct: FiservRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservRefundRequest | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservRefundRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: PayoutLinkInitiateRequest
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutLinkInitiateRequest | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutLinkInitiateRequest | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl OvercaptureEnabledBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Methods: 1 total (1 public)
impl OvercaptureEnabledBool | crates/common_types/src/primitive_wrappers.rs | common_types | impl_block | null | null | null | 43 | null | OvercaptureEnabledBool | null | 1 | 1 | null | null |
// Struct: RSync
// File: crates/hyperswitch_domain_models/src/router_flow_types/refunds.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RSync | crates/hyperswitch_domain_models/src/router_flow_types/refunds.rs | hyperswitch_domain_models | struct_definition | RSync | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: is_off_session
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Documentation: Indicates whether the payment method should be saved for future use or not
pub fn is_off_session(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 52 | is_off_session | null | null | null | null | null | null |
// File: crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::Repo... | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs | analytics | full_file | null | null | null | 998 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/zsl.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/zsl.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Struct: PaypalOrderErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalOrderErrorResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalOrderErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: files_create
// File: crates/router/src/routes/files.rs
// Module: router
pub fn files_create(
state: web::Data<AppState>,
req: HttpRequest,
payload: Multipart,
) -> HttpResponse | crates/router/src/routes/files.rs | router | function_signature | null | null | null | 49 | files_create | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Implementation: impl api::Payouts for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payouts for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Cybersource | api::Payouts for | 0 | 0 | null | null |
// File: crates/router/src/core/unified_authentication_service/types.rs
// Module: router
// Public structs: 2
use api_models::payments;
use hyperswitch_domain_models::{
errors::api_error_response::{self as errors, NotImplementedMessage},
router_request_types::{
authentication::MessageCategory,
... | crates/router/src/core/unified_authentication_service/types.rs | router | full_file | null | null | null | 1,593 | null | null | null | null | null | null | null |
// Struct: ProfileDefaultRoutingConfig
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct ProfileDefaultRoutingConfig | crates/api_models/src/routing.rs | api_models | struct_definition | ProfileDefaultRoutingConfig | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: find_by_profile_id_connector_transaction_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_by_profile_id_connector_transaction_id(
conn: &PgPooledConn,
profile_id: &common_utils::id_type::ProfileId,
connector_txn_id: &str,
) -> S... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 78 | find_by_profile_id_connector_transaction_id | null | null | null | null | null | null |
// Struct: TransactionDetails
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionDetails | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | TransactionDetails | 0 | [] | 45 | null | null | null | null | null | null | null |
&self,
request: &IncomingWebhookRequestDetails<'_>,
) -> CustomResult<disputes::DisputePayload, errors::ConnectorError> {
let notif = get_webhook_object_from_body(request.body)
.change_context(errors::ConnectorError::WebhookBodyDecodingFailed)?;
let amount = convert_amou... | crates/hyperswitch_connectors/src/connectors/adyen.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Implementation: impl ResponseError for for CustomJsonError
// File: crates/router/src/utils.rs
// Module: router
// Methods: 2 total (0 public)
impl ResponseError for for CustomJsonError | crates/router/src/utils.rs | router | impl_block | null | null | null | 44 | null | CustomJsonError | ResponseError for | 2 | 0 | null | null |
RouterData<F, RouterDReq, router_types::PaymentsResponseData>,
TokenizationAction,
)>
where
F: Send + Clone + Sync,
RouterDReq: Send + Sync,
// To create connector flow specific interface data
D: OperationSessionGetters<F> + OperationSessionSetters<F> + Send + Sync + Clone,
D: ConstructFlow... | crates/router/src/core/payments.rs#chunk4 | router | chunk | null | null | null | 8,182 | null | null | null | null | null | null | null |
// Implementation: impl GetPaymentMethodDetails for for DummyConnectorWallet
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Methods: 2 total (0 public)
impl GetPaymentMethodDetails for for DummyConnectorWallet | crates/router/src/routes/dummy_connector/types.rs | router | impl_block | null | null | null | 52 | null | DummyConnectorWallet | GetPaymentMethodDetails for | 2 | 0 | null | null |
// Struct: UpdateSuccessRateWindowEventResponse
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct UpdateSuccessRateWindowEventResponse | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | UpdateSuccessRateWindowEventResponse | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: DecryptDataResponse
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 0
pub struct DecryptDataResponse | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | DecryptDataResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: MetricsBucketResponse
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
// Implementations: 0
pub struct MetricsBucketResponse | crates/api_models/src/analytics/auth_events.rs | api_models | struct_definition | MetricsBucketResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Worldpayvantiv | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl PaymentIntentMetricsBucketIdentifier
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Methods: 1 total (1 public)
impl PaymentIntentMetricsBucketIdentifier | crates/api_models/src/analytics/payment_intents.rs | api_models | impl_block | null | null | null | 46 | null | PaymentIntentMetricsBucketIdentifier | null | 1 | 1 | null | null |
// Function: get_single_merchant_id_and_profile_id
// File: crates/router/src/utils/user_role.rs
// Module: router
pub fn get_single_merchant_id_and_profile_id(
state: &SessionState,
user_role: &UserRole,
) -> UserResult<(id_type::MerchantId, id_type::ProfileId)> | crates/router/src/utils/user_role.rs | router | function_signature | null | null | null | 70 | get_single_merchant_id_and_profile_id | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Hipay
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Hipay | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hipay | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/router/src/services/authorization/info.rs
// Module: router
// Public functions: 2
use std::ops::Not;
use api_models::user_role::GroupInfo;
use common_enums::{ParentGroup, PermissionGroup};
use strum::IntoEnumIterator;
// TODO: To be deprecated
pub fn get_group_authorization_info() -> Option<Vec<Grou... | crates/router/src/services/authorization/info.rs | router | full_file | null | null | null | 857 | null | null | null | null | null | null | null |
// Function: make_payout_data
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn make_payout_data(
state: &SessionState,
merchant_context: &domain::MerchantContext,
auth_profile_id: Option<id_type::ProfileId>,
req: &payouts::PayoutRequest,
locale: &str,
) -> RouterResult<PayoutData... | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 88 | make_payout_data | null | null | null | null | null | null |
// File: crates/router/src/routes/profile_acquirer.rs
// Module: router
// Public functions: 2
use actix_web::{web, HttpRequest, HttpResponse};
use api_models::profile_acquirer::{ProfileAcquirerCreate, ProfileAcquirerUpdate};
use router_env::{instrument, tracing, Flow};
use super::app::AppState;
use crate::{
core... | crates/router/src/routes/profile_acquirer.rs | router | full_file | null | null | null | 697 | null | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for PaymentsRedirectResponseData
// File: crates/router/src/events/api_logs.rs
// Module: router
// Methods: 1 total (0 public)
impl ApiEventMetric for for PaymentsRedirectResponseData | crates/router/src/events/api_logs.rs | router | impl_block | null | null | null | 50 | null | PaymentsRedirectResponseData | ApiEventMetric for | 1 | 0 | null | null |
// Function: payments_confirm
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_confirm() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 29 | payments_confirm | null | null | null | null | null | null |
// Module Structure
// File: crates/storage_impl/src/redis.rs
// Module: storage_impl
// Public submodules:
pub mod cache;
pub mod kv_store;
pub mod pub_sub;
| crates/storage_impl/src/redis.rs | storage_impl | module_structure | null | null | null | 40 | null | null | null | null | null | 3 | 0 |
// Implementation: impl ValidateStatusForOperation for for PaymentProxyIntent
// File: crates/router/src/core/payments/operations/proxy_payments_intent.rs
// Module: router
// Methods: 1 total (0 public)
impl ValidateStatusForOperation for for PaymentProxyIntent | crates/router/src/core/payments/operations/proxy_payments_intent.rs | router | impl_block | null | null | null | 56 | null | PaymentProxyIntent | ValidateStatusForOperation for | 1 | 0 | null | null |
// Struct: SerializeTupleVariant
// File: crates/masking/src/serde.rs
// Module: masking
// Implementations: 0
pub struct SerializeTupleVariant<T: Serializer> | crates/masking/src/serde.rs | masking | struct_definition | SerializeTupleVariant | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: unify_address
// File: crates/hyperswitch_domain_models/src/address.rs
// Module: hyperswitch_domain_models
// Documentation: Unify the address, giving priority to `self` when details are present in both
pub fn unify_address(&self, other: Option<&Self>) -> Self | crates/hyperswitch_domain_models/src/address.rs | hyperswitch_domain_models | function_signature | null | null | null | 64 | unify_address | null | null | null | null | null | null |
// File: crates/payment_methods/src/core/migration.rs
// Module: payment_methods
// Public functions: 9
// Public structs: 3
use actix_multipart::form::{self, bytes, text};
use api_models::payment_methods as pm_api;
use csv::Reader;
use error_stack::ResultExt;
#[cfg(feature = "v1")]
use hyperswitch_domain_models::{api... | crates/payment_methods/src/core/migration.rs | payment_methods | full_file | null | null | null | 2,345 | null | null | null | null | null | null | null |
// Struct: NexixpayRedirectionRequest
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexixpayRedirectionRequest | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | NexixpayRedirectionRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: ProgramThreeDsDecisionRule
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct ProgramThreeDsDecisionRule | crates/api_models/src/routing.rs | api_models | struct_definition | ProgramThreeDsDecisionRule | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Helcim | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Volt
// File: crates/hyperswitch_connectors/src/connectors/volt.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Volt | crates/hyperswitch_connectors/src/connectors/volt.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Volt | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: PayoutLinkDetails
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutLinkDetails | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutLinkDetails | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorSpecifications for for DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | DummyConnector | ConnectorSpecifications for | 0 | 0 | null | null |
// Implementation: impl Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Forte | null | 1 | 1 | null | null |
// Struct: CurrencyAuthKey
// File: crates/test_utils/src/connector_auth.rs
// Module: test_utils
// Implementations: 0
pub struct CurrencyAuthKey | crates/test_utils/src/connector_auth.rs | test_utils | struct_definition | CurrencyAuthKey | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: retry_delivery_attempt
// File: crates/router/src/core/webhooks/webhook_events.rs
// Module: router
pub fn retry_delivery_attempt(
state: SessionState,
merchant_id: common_utils::id_type::MerchantId,
event_id: String,
) -> RouterResponse<api::webhook_events::EventRetrieveResponse> | crates/router/src/core/webhooks/webhook_events.rs | router | function_signature | null | null | null | 72 | retry_delivery_attempt | null | null | null | null | null | null |
// Function: clone_connector
// File: crates/router/src/core/user.rs
// Module: router
pub fn clone_connector(
state: SessionState,
request: user_api::CloneConnectorRequest,
) -> UserResponse<api_models::admin::MerchantConnectorResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 56 | clone_connector | null | null | null | null | null | null |
// Function: check_node
// File: crates/hyperswitch_constraint_graph/src/graph.rs
// Module: hyperswitch_constraint_graph
pub fn check_node<C>(
&self,
ctx: &C,
node_id: NodeId,
relation: Relation,
strength: Strength,
memo: &mut Memoization<V>,
cycle_map: &mut Cyc... | crates/hyperswitch_constraint_graph/src/graph.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 109 | check_node | null | null | null | null | null | null |
// Struct: CaptureUpdateInternal
// File: crates/diesel_models/src/capture.rs
// Module: diesel_models
// Implementations: 0
pub struct CaptureUpdateInternal | crates/diesel_models/src/capture.rs | diesel_models | struct_definition | CaptureUpdateInternal | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Stax | api::RefundSync for | 0 | 0 | null | null |
// Struct: FiuuRecurringResponse
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuRecurringResponse | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuRecurringResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: GetAuthEventMetricRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GetAuthEventMetricRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetAuthEventMetricRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_name
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_name(&self) -> Secret<String> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 33 | get_name | null | null | null | null | null | null |
// Struct: RecurringInformation
// File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RecurringInformation | crates/hyperswitch_connectors/src/connectors/nordea/requests.rs | hyperswitch_connectors | struct_definition | RecurringInformation | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: SofortInfo
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SofortInfo | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | SofortInfo | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl super::connector_events::events::ConnectorEventLogAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::connector_events::events::ConnectorEventLogAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 65 | null | ClickhouseClient | super::connector_events::events::ConnectorEventLogAnalytics for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSession for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Phonepe | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Mpgs | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: list_all_merchant_accounts
// File: crates/diesel_models/src/query/merchant_account.rs
// Module: diesel_models
pub fn list_all_merchant_accounts(
conn: &PgPooledConn,
limit: u32,
offset: Option<u32>,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/merchant_account.rs | diesel_models | function_signature | null | null | null | 69 | list_all_merchant_accounts | null | null | null | null | null | null |
// Function: extended_card_info_toggle
// File: crates/router/src/core/admin.rs
// Module: router
pub fn extended_card_info_toggle(
state: SessionState,
merchant_id: &id_type::MerchantId,
profile_id: &id_type::ProfileId,
ext_card_info_choice: admin_types::ExtendedCardInfoChoice,
) -> RouterResponse<adm... | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 85 | extended_card_info_toggle | null | null | null | null | null | null |
// Struct: ErrorResponse
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 1
pub struct ErrorResponse | crates/pm_auth/src/types.rs | pm_auth | struct_definition | ErrorResponse | 1 | [] | 31 | null | null | null | null | null | null | null |
// Struct: ChargebeeInvoiceBody
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct ChargebeeInvoiceBody | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeInvoiceBody | 1 | [] | 50 | null | null | null | null | null | null | null |
key_store: &domain::MerchantKeyStore,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::MerchantId,
status: common_enums::PaymentMethodStatus,
limit: Option<i64>,
storage_scheme: MerchantStorageScheme,
) -> CustomResult<Vec<domain::PaymentMethod>, errors::Stor... | crates/router/src/db/kafka_store.rs#chunk2 | router | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: TransactionBankAccountInfo
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionBankAccountInfo | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | TransactionBankAccountInfo | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: update_storage_scheme
// File: crates/diesel_models/src/mandate.rs
// Module: diesel_models
pub fn update_storage_scheme(&mut self, storage_scheme: MerchantStorageScheme) | crates/diesel_models/src/mandate.rs | diesel_models | function_signature | null | null | null | 42 | update_storage_scheme | null | null | null | null | null | null |
// File: crates/router/src/core/payment_methods/surcharge_decision_configs.rs
// Module: router
// Public functions: 8
// Public structs: 1
use api_models::{
payment_methods::SurchargeDetailsResponse,
payments, routing,
surcharge_decision_configs::{self, SurchargeDecisionConfigs, SurchargeDecisionManagerRe... | crates/router/src/core/payment_methods/surcharge_decision_configs.rs | router | full_file | null | null | null | 4,311 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Billwerk | ConnectorCommon for | 6 | 0 | null | null |
// Function: profiles_list
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn profiles_list(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::MerchantId>,
) -> HttpResponse | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 60 | profiles_list | null | null | null | null | null | null |
// File: crates/router/src/services/kafka/fraud_check_event.rs
// Module: router
// Public functions: 1
// Public structs: 1
use diesel_models::{
enums as storage_enums,
enums::{FraudCheckLastStep, FraudCheckStatus, FraudCheckType},
fraud_check::FraudCheck,
};
use time::OffsetDateTime;
#[derive(serde::Ser... | crates/router/src/services/kafka/fraud_check_event.rs | router | full_file | null | null | null | 661 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/operations/payment_get.rs
// Module: router
// Public structs: 1
use api_models::{enums::FrmSuggestion, payments::PaymentsRetrieveRequest};
use async_trait::async_trait;
use common_utils::ext_traits::AsyncExt;
use error_stack::ResultExt;
use hyperswitch_domain_models::payments:... | crates/router/src/core/payments/operations/payment_get.rs | router | full_file | null | null | null | 2,984 | null | null | null | null | null | null | null |
// Implementation: impl CustomerAcceptance
// File: crates/common_types/src/payments.rs
// Module: common_types
// Methods: 3 total (3 public)
impl CustomerAcceptance | crates/common_types/src/payments.rs | common_types | impl_block | null | null | null | 39 | null | CustomerAcceptance | null | 3 | 3 | null | null |
// Function: get_default_customer_shipping_address
// File: crates/api_models/src/customers.rs
// Module: api_models
pub fn get_default_customer_shipping_address(&self) -> Option<payments::AddressDetails> | crates/api_models/src/customers.rs | api_models | function_signature | null | null | null | 45 | get_default_customer_shipping_address | null | null | null | null | null | null |
// Struct: NoAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct NoAuth | crates/router/src/services/authentication.rs | router | struct_definition | NoAuth | 0 | [] | 32 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/barclaycard.rs
// Module: router
use masking::Secret;
use router::types::{self, api, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct BarclaycardTest;
impl ConnectorActions for BarclaycardTest {}... | crates/router/tests/connectors/barclaycard.rs | router | full_file | null | null | null | 2,945 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/generic_link.rs
// Module: router
pub use diesel_models::generic_link::{
GenericLink, GenericLinkData, GenericLinkNew, GenericLinkState, GenericLinkUpdateInternal,
PaymentMethodCollectLink, PayoutLink, PayoutLinkUpdate,
};
| crates/router/src/types/storage/generic_link.rs | router | full_file | null | null | null | 63 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/payment_link.rs
// Module: diesel_models
// Public functions: 2
use diesel::{associations::HasTable, ExpressionMethods};
use super::generics;
use crate::{
payment_link::{PaymentLink, PaymentLinkNew},
schema::payment_link::dsl,
PgPooledConn, StorageResult,
};
impl P... | crates/diesel_models/src/query/payment_link.rs | diesel_models | full_file | null | null | null | 202 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/unified_translations.rs
// Module: diesel_models
// Public functions: 4
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods};
use error_stack::report;
use crate::{
errors,
query::generics,
schema::unified_translations::dsl,
unified_tran... | crates/diesel_models/src/query/unified_translations.rs | diesel_models | full_file | null | null | null | 555 | null | null | null | null | null | null | null |
// Struct: Dlocal
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentToken, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::Pay... | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | struct_definition | Dlocal | 17 | [
"api::Payment",
"api::PaymentToken",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"ConnectorCommon",
"ConnectorValidat... | 125 | null | null | null | null | null | null | null |
// Implementation: impl AwsSes
// File: crates/external_services/src/email/ses.rs
// Module: external_services
// Methods: 4 total (0 public)
impl AwsSes | crates/external_services/src/email/ses.rs | external_services | impl_block | null | null | null | 41 | null | AwsSes | null | 4 | 0 | null | null |
// Implementation: impl ApiEventMetric for for ConfirmSubscriptionRequest
// File: crates/api_models/src/subscription.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for ConfirmSubscriptionRequest | crates/api_models/src/subscription.rs | api_models | impl_block | null | null | null | 49 | null | ConfirmSubscriptionRequest | ApiEventMetric for | 0 | 0 | null | null |
// Function: is_for_internal_use_only
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_for_internal_use_only(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 39 | is_for_internal_use_only | null | null | null | null | null | null |
// Function: get_refunds_filters
// File: crates/router/src/routes/refunds.rs
// Module: router
pub fn get_refunds_filters(state: web::Data<AppState>, req: HttpRequest) -> HttpResponse | crates/router/src/routes/refunds.rs | router | function_signature | null | null | null | 44 | get_refunds_filters | null | null | null | null | null | null |
// Struct: Address
// File: crates/router_derive/src/lib.rs
// Module: router_derive
// Implementations: 0
pub struct Address | crates/router_derive/src/lib.rs | router_derive | struct_definition | Address | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: RequiredFields
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Implementations: 0
pub struct RequiredFields | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | RequiredFields | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: CheckoutShippingAddress
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutShippingAddress | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutShippingAddress | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: separate_metadata_type_based_on_scope
// File: crates/router/src/utils/user/dashboard_metadata.rs
// Module: router
pub fn separate_metadata_type_based_on_scope(
metadata_keys: Vec<DBEnum>,
) -> (Vec<DBEnum>, Vec<DBEnum>) | crates/router/src/utils/user/dashboard_metadata.rs | router | function_signature | null | null | null | 58 | separate_metadata_type_based_on_scope | null | null | null | null | null | null |
// Function: call_decide_gateway_open_router
// File: crates/openapi/src/routes/routing.rs
// Module: openapi
pub fn call_decide_gateway_open_router() | crates/openapi/src/routes/routing.rs | openapi | function_signature | null | null | null | 37 | call_decide_gateway_open_router | null | null | null | null | null | null |
// File: crates/router/src/events/audit_events.rs
// Module: router
// Public functions: 1
// Public structs: 1
use api_models::payments::Amount;
use common_utils::types::MinorUnit;
use diesel_models::fraud_check::FraudCheck;
use events::{Event, EventInfo};
use serde::Serialize;
use time::PrimitiveDateTime;
#[derive(D... | crates/router/src/events/audit_events.rs | router | full_file | null | null | null | 716 | null | null | null | null | null | null | null |
// Function: error_type
// File: crates/api_models/src/errors/types.rs
// Module: api_models
pub fn error_type(&self) -> &'static str | crates/api_models/src/errors/types.rs | api_models | function_signature | null | null | null | 34 | error_type | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Mifinity | api::PaymentSession for | 0 | 0 | null | null |
// Function: update_payment_method_and_last_used
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn update_payment_method_and_last_used(
state: &routes::SessionState,
key_store: &domain::MerchantKeyStore,
db: &dyn db::StorageInterface,
pm: domain::PaymentMethod,
payme... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 110 | update_payment_method_and_last_used | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<PaymentAttempt> | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 44 | insert | null | null | null | null | null | null |
// Implementation: impl PaymentAuthorize for for DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentAuthorize for for DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | DummyConnector | PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: OpayoPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OpayoPaymentsResponse | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs | hyperswitch_connectors | struct_definition | OpayoPaymentsResponse | 0 | [] | 49 | 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.