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: CustomerResponseObject
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustomerResponseObject | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | CustomerResponseObject | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: UploadFileAssetData
// File: crates/api_models/src/user/theme.rs
// Module: api_models
// Implementations: 0
pub struct UploadFileAssetData | crates/api_models/src/user/theme.rs | api_models | struct_definition | UploadFileAssetData | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: payouts_create_core
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn payouts_create_core(
state: SessionState,
merchant_context: domain::MerchantContext,
req: payouts::PayoutCreateRequest,
) -> RouterResponse<payouts::PayoutCreateResponse> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 68 | payouts_create_core | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 36
use std::collections::HashMap;
use cards::CardNumber;
use common_enums::{
AttemptStatus, CaptureMethod, CountryAlpha2, CountryAlpha3, Currency, RefundStatus... | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Function: enum_nums
// File: crates/euclid_macros/src/lib.rs
// Module: euclid_macros
pub fn enum_nums(ts: TokenStream) -> TokenStream | crates/euclid_macros/src/lib.rs | euclid_macros | function_signature | null | null | null | 37 | enum_nums | null | null | null | null | null | null |
// File: crates/router/tests/connectors/worldpayvantiv.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, C... | crates/router/tests/connectors/worldpayvantiv.rs | router | full_file | null | null | null | 2,946 | null | null | null | null | null | null | null |
// Struct: CryptoData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 1
// Traits: GetPaymentMethodType
pub struct CryptoData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | CryptoData | 1 | [
"GetPaymentMethodType"
] | 49 | null | null | null | null | null | null | null |
// Struct: FraudCheckSaleData
// File: crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct FraudCheckSaleData | crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs | hyperswitch_domain_models | struct_definition | FraudCheckSaleData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl ExternalToken
// File: crates/router/src/services/authentication.rs
// Module: router
// Methods: 2 total (1 public)
impl ExternalToken | crates/router/src/services/authentication.rs | router | impl_block | null | null | null | 35 | null | ExternalToken | null | 2 | 1 | null | null |
// Function: add_entity
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn add_entity<T>(self, entity: T) -> NewUserRole<T>
where
T: Clone, | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 47 | add_entity | null | null | null | null | null | null |
// Struct: PayoutsResponseData
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PayoutsResponseData | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | struct_definition | PayoutsResponseData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl PaymentAttempt
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Methods: 5 total (5 public)
impl PaymentAttempt | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | impl_block | null | null | null | 45 | null | PaymentAttempt | null | 5 | 5 | null | null |
// Struct: CnpOnlineRequest
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CnpOnlineRequest | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | CnpOnlineRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: should_perform_debit_routing_for_the_flow
// File: crates/router/src/core/debit_routing.rs
// Module: router
pub fn should_perform_debit_routing_for_the_flow<Op: Debug, F: Clone, D>(
operation: &Op,
payment_data: &D,
debit_routing_config: &settings::DebitRoutingConfig,
) -> bool
where
D: O... | crates/router/src/core/debit_routing.rs | router | function_signature | null | null | null | 100 | should_perform_debit_routing_for_the_flow | null | null | null | null | null | null |
// Struct: BillingAddress
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillingAddress | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | BillingAddress | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: get_connector_test_mode
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_connector_test_mode(&self) -> Option<bool> | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 46 | get_connector_test_mode | null | null | null | null | null | null |
// Struct: Authorization
// File: crates/router/src/core/webhooks/network_tokenization_incoming.rs
// Module: router
// Implementations: 1
pub struct Authorization | crates/router/src/core/webhooks/network_tokenization_incoming.rs | router | struct_definition | Authorization | 1 | [] | 36 | null | null | null | null | null | null | null |
// Struct: GetnetRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GetnetRefundRequest | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | GetnetRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: KafkaPaymentIntentEvent
// File: crates/router/src/services/kafka/payment_intent_event.rs
// Module: router
// Implementations: 4
// Traits: super::KafkaMessage
pub struct KafkaPaymentIntentEvent<'a> | crates/router/src/services/kafka/payment_intent_event.rs | router | struct_definition | KafkaPaymentIntentEvent | 4 | [
"super::KafkaMessage"
] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Paypal | api::PaymentVoid for | 0 | 0 | null | null |
// Function: wrap
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: Get a merchant id from String
pub fn wrap(merchant_id: String) -> CustomResult<Self, ValidationError> | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 50 | wrap | null | null | null | null | null | null |
// File: crates/analytics/src/payments/metrics/debit_routing.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use diesel_model... | crates/analytics/src/payments/metrics/debit_routing.rs | analytics | full_file | null | null | null | 1,059 | null | null | null | null | null | null | null |
// Struct: Refund
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Refund | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | Refund | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: BanksVector
// File: crates/payment_methods/src/configs/settings.rs
// Module: payment_methods
// Implementations: 0
pub struct BanksVector | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | BanksVector | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Thunes
// File: crates/hyperswitch_connectors/src/connectors/thunes.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Thunes | crates/hyperswitch_connectors/src/connectors/thunes.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Thunes | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: CardNetworkTokenizeExecutor
// File: crates/router/src/core/payment_methods/tokenize.rs
// Module: router
// Implementations: 0
pub struct CardNetworkTokenizeExecutor<'a, D> | crates/router/src/core/payment_methods/tokenize.rs | router | struct_definition | CardNetworkTokenizeExecutor | 0 | [] | 46 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/compatibility/stripe/payment_intents.rs
// Module: router
// Public submodules:
pub mod types;
| crates/router/src/compatibility/stripe/payment_intents.rs | router | module_structure | null | null | null | 34 | null | null | null | null | null | 1 | 0 |
// Implementation: impl api::PaymentAuthorize for for Tsys
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Tsys | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tsys | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl RoutableConnectors
// File: crates/router/src/core/routing.rs
// Module: router
// Methods: 2 total (1 public)
impl RoutableConnectors | crates/router/src/core/routing.rs | router | impl_block | null | null | null | 40 | null | RoutableConnectors | null | 2 | 1 | null | null |
// Function: update_redis_token_with_comprehensive_card_data
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
pub fn update_redis_token_with_comprehensive_card_data(
state: &SessionState,
customer_id: &str,
token: &str,
card_data: &api_model... | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 103 | update_redis_token_with_comprehensive_card_data | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Struct: ServiceDetails
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ServiceDetails | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | ServiceDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
return_raw_connector_response: Option<bool>,
) -> RouterResponse<Res>
where
F: Send + Clone + Sync,
Req: Send + Sync + Authenticate,
FData: Send + Sync + Clone,
Op: Operation<F, Req, Data = D> + ValidateStatusForOperation + Send + Sync + Clone,
Req: Debug,
D: OperationSessionGetters<F>
... | crates/router/src/core/payments.rs#chunk2 | router | chunk | null | null | null | 8,184 | null | null | null | null | null | null | null |
// Implementation: impl Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Payu | null | 1 | 1 | null | null |
// Struct: ProviderMetadata
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProviderMetadata | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | ProviderMetadata | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: redis_error_receiver
// File: crates/drainer/src/handler.rs
// Module: drainer
pub fn redis_error_receiver(rx: oneshot::Receiver<() | crates/drainer/src/handler.rs | drainer | function_signature | null | null | null | 38 | redis_error_receiver | null | null | null | null | null | null |
// Function: get_payment_method_type
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_payment_method_type(&self) -> Option<storage_enums::PaymentMethodType> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 53 | get_payment_method_type | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::IncomingWebhookEvent;
use base64::Engine;
use common_enums::enums;
use common_utils::{
errors::Cust... | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | full_file | null | null | null | 7,286 | null | null | null | null | null | null | null |
// Function: get_merchant_details_as_secret
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_merchant_details_as_secret(
&self,
) -> CustomResult<Option<pii::SecretSerdeValue>, errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 58 | get_merchant_details_as_secret | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/redsys.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/redsys.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Struct: BillingConnectorInvoiceSyncFlowRouterData
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
// Implementations: 1
pub struct BillingConnectorInvoiceSyncFlowRouterData | crates/router/src/core/webhooks/recovery_incoming.rs | router | struct_definition | BillingConnectorInvoiceSyncFlowRouterData | 1 | [] | 47 | null | null | null | null | null | null | null |
// Struct: OpenIdConnectPrivateConfig
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct OpenIdConnectPrivateConfig | crates/api_models/src/user.rs | api_models | struct_definition | OpenIdConnectPrivateConfig | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: ItaubankPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ItaubankPaymentsResponse | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs | hyperswitch_connectors | struct_definition | ItaubankPaymentsResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs
// Module: analytics
use api_models::analytics::{
refunds::{RefundDimensions, RefundFilters, RefundMetricsBucketIdentifier},
Granularity, RefundDistributionBody, TimeRange,
};
use common_utils::errors::ReportSwitchExt;... | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs | analytics | full_file | null | null | null | 1,154 | null | null | null | null | null | null | null |
// Function: signout
// File: crates/router/src/core/user.rs
// Module: router
pub fn signout(
state: SessionState,
user_from_token: auth::UserIdFromAuth,
) -> UserResponse<()> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 48 | signout | null | null | null | null | null | null |
// File: crates/euclid/src/backend/vir_interpreter/types.rs
// Module: euclid
// Public functions: 2
// Public structs: 1
use rustc_hash::{FxHashMap, FxHashSet};
use crate::{
backend::inputs::BackendInput,
dssa,
types::{self, EuclidKey, EuclidValue, MetadataValue, NumValueRefinement, StrValue},
};
#[deri... | crates/euclid/src/backend/vir_interpreter/types.rs | euclid | full_file | null | null | null | 1,330 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for ClientSecretCreateRequest
// File: crates/api_models/src/ephemeral_key.rs
// Module: api_models
// Methods: 1 total (0 public)
impl common_utils::events::ApiEventMetric for for ClientSecretCreateRequest | crates/api_models/src/ephemeral_key.rs | api_models | impl_block | null | null | null | 64 | null | ClientSecretCreateRequest | common_utils::events::ApiEventMetric for | 1 | 0 | null | null |
// Struct: PaysafeApplePayPaymentMethod
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeApplePayPaymentMethod | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeApplePayPaymentMethod | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/relay.rs
// Module: hyperswitch_domain_models
// Public functions: 2
// Public structs: 2
use common_enums::enums;
use common_utils::{
self,
errors::{CustomResult, ValidationError},
id_type::{self, GenerateId},
pii,
types::{keymanager, MinorUnit},
};
us... | crates/hyperswitch_domain_models/src/relay.rs | hyperswitch_domain_models | full_file | null | null | null | 2,162 | null | null | null | null | null | null | null |
// File: crates/analytics/src/refunds/metrics/refund_success_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
refunds::{RefundDimensions, RefundFilters, RefundMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use diesel_mod... | crates/analytics/src/refunds/metrics/refund_success_count.rs | analytics | full_file | null | null | null | 891 | null | null | null | null | null | null | null |
// Function: add_group_by_clause
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn add_group_by_clause(&mut self, column: impl ToSql<T>) -> QueryResult<()> | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 44 | add_group_by_clause | null | null | null | null | null | null |
// Implementation: impl AnalyticsRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Methods: 1 total (1 public)
impl AnalyticsRequest | crates/api_models/src/analytics.rs | api_models | impl_block | null | null | null | 37 | null | AnalyticsRequest | null | 1 | 1 | null | null |
// Function: get_json_body
// File: crates/hyperswitch_domain_models/src/api.rs
// Module: hyperswitch_domain_models
pub fn get_json_body(
self,
) -> common_utils::errors::CustomResult<R, common_utils::errors::ValidationError> | crates/hyperswitch_domain_models/src/api.rs | hyperswitch_domain_models | function_signature | null | null | null | 57 | get_json_body | null | null | null | null | null | null |
// Function: create_payout_link_db_entry
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn create_payout_link_db_entry(
state: &SessionState,
merchant_id: &id_type::MerchantId,
payout_link_data: &PayoutLinkData,
return_url: Option<String>,
) -> RouterResult<PayoutLink> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 80 | create_payout_link_db_entry | null | null | null | null | null | null |
// Struct: PaymentCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentCaptureResponse | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | PaymentCaptureResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.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/forte.rs | hyperswitch_connectors | struct_definition | Forte | 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... | 123 | null | null | null | null | null | null | null |
// Struct: SantanderViolations
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderViolations | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderViolations | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: RoutingVolumeSplitResponse
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingVolumeSplitResponse | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingVolumeSplitResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: delete_payment_method_core
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn delete_payment_method_core(
state: &SessionState,
pm_id: id_type::GlobalPaymentMethodId,
merchant_context: &domain::MerchantContext,
profile: &domain::Profile,
) -> RouterResult<api::Paym... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 80 | delete_payment_method_core | null | null | null | null | null | null |
// File: crates/storage_impl/src/errors.rs
// Module: storage_impl
// Public functions: 2
pub use common_enums::{ApiClientError, ApplicationError, ApplicationResult};
pub use redis_interface::errors::RedisError;
use crate::store::errors::DatabaseError;
pub type StorageResult<T> = error_stack::Result<T, StorageError>;... | crates/storage_impl/src/errors.rs | storage_impl | full_file | null | null | null | 2,480 | null | null | null | null | null | null | null |
// Implementation: impl PaymentSync for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSync for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Signifyd | PaymentSync for | 0 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Payu | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: apply_changeset
// File: crates/diesel_models/src/payout_attempt.rs
// Module: diesel_models
pub fn apply_changeset(self, source: PayoutAttempt) -> PayoutAttempt | crates/diesel_models/src/payout_attempt.rs | diesel_models | function_signature | null | null | null | 43 | apply_changeset | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Stripe | api::PaymentToken for | 0 | 0 | null | null |
// Struct: PlaidBankAccountCredentialsACH
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidBankAccountCredentialsACH | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidBankAccountCredentialsACH | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: fetch
// File: crates/external_services/src/hashicorp_vault/core.rs
// Module: external_services
// Documentation: - `I`: The type that can be constructed from the retrieved encoded data.
pub fn fetch<En, I>(&self, data: String) -> error_stack::Result<I, HashiCorpError>
where
for<'a> En: Engi... | crates/external_services/src/hashicorp_vault/core.rs | external_services | function_signature | null | null | null | 141 | fetch | null | null | null | null | null | null |
// Function: get_id
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_id(&self) -> &common_utils::id_type::ProfileId | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 46 | get_id | null | null | null | null | null | null |
// Struct: IssuerDataInput
// File: crates/euclid/src/backend/inputs.rs
// Module: euclid
// Implementations: 0
pub struct IssuerDataInput | crates/euclid/src/backend/inputs.rs | euclid | struct_definition | IssuerDataInput | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Wellsfargo
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// Module: hyperswitch_connectors
// Methods: 3 total (3 public)
impl Wellsfargo | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Wellsfargo | null | 3 | 3 | null | null |
// Struct: ForteLink
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ForteLink | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | ForteLink | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: ClientReferenceInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientReferenceInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | ClientReferenceInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_multiple_metadata
// File: crates/router/src/core/user/dashboard_metadata.rs
// Module: router
pub fn get_multiple_metadata(
state: SessionState,
user: UserFromToken,
request: GetMultipleMetaDataPayload,
_req_state: ReqState,
) -> UserResponse<Vec<api::GetMetaDataResponse>> | crates/router/src/core/user/dashboard_metadata.rs | router | function_signature | null | null | null | 71 | get_multiple_metadata | null | null | null | null | null | null |
// File: crates/diesel_models/src/routing_algorithm.rs
// Module: diesel_models
// Public functions: 1
// Public structs: 3
use common_utils::id_type;
use diesel::{Identifiable, Insertable, Queryable, Selectable};
use serde::{Deserialize, Serialize};
use crate::{enums, schema::routing_algorithm};
#[derive(Clone, Deb... | crates/diesel_models/src/routing_algorithm.rs | diesel_models | full_file | null | null | null | 446 | null | null | null | null | null | null | null |
// Struct: WebhookReferences
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WebhookReferences | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | WebhookReferences | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: RefundManualUpdateRequest
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundManualUpdateRequest | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundManualUpdateRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: MandateWebhookLink
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandateWebhookLink | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | MandateWebhookLink | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Elavon | api::PaymentCapture for | 0 | 0 | null | null |
// Function: to_currency_base_unit_asf64
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Documentation: Convert the amount to its base denomination based on Currency and return f64
pub fn to_currency_base_unit_asf64(self, amount: i64) -> Result<f64, TryFromIntError> | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 79 | to_currency_base_unit_asf64 | null | null | null | null | null | null |
// Struct: Entity
// File: crates/router/src/services/email/types.rs
// Module: router
// Implementations: 1
pub struct Entity | crates/router/src/services/email/types.rs | router | struct_definition | Entity | 1 | [] | 31 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Coingate
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Coingate | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Coingate | api::RefundSync for | 0 | 0 | null | null |
// File: crates/router/src/routes/refunds.rs
// Module: router
// Public functions: 17
// Public structs: 1
use actix_web::{web, HttpRequest, HttpResponse};
use common_utils;
use router_env::{instrument, tracing, Flow};
use super::app::AppState;
#[cfg(feature = "v1")]
use crate::core::refunds::*;
#[cfg(feature = "v2"... | crates/router/src/routes/refunds.rs | router | full_file | null | null | null | 5,272 | null | null | null | null | null | null | null |
// Struct: IatapayAuthType
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IatapayAuthType | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | IatapayAuthType | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: DecideConnector
// File: crates/router/src/core/routing.rs
// Module: router
// Implementations: 1
// Traits: GetRoutableConnectorsForChoice
pub struct DecideConnector | crates/router/src/core/routing.rs | router | struct_definition | DecideConnector | 1 | [
"GetRoutableConnectorsForChoice"
] | 45 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorDetailsWrap
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantConnectorDetailsWrap | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantConnectorDetailsWrap | 0 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/api/disputes.rs
// Module: hyperswitch_interfaces
//! Disputes interface
use hyperswitch_domain_models::{
router_flow_types::dispute::{Accept, Defend, Dsync, Evidence, Fetch},
router_request_types::{
AcceptDisputeRequestData, DefendDisputeRequestData, Dispute... | crates/hyperswitch_interfaces/src/api/disputes.rs | hyperswitch_interfaces | full_file | null | null | null | 345 | null | null | null | null | null | null | null |
// Struct: WellsfargoPaymentsIncrementalAuthorizationResponse
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoPaymentsIncrementalAuthorizationResponse | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoPaymentsIncrementalAuthorizationResponse | 0 | [] | 59 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorRedirectResponse for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Stripe | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Struct: ToggleKVResponse
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct ToggleKVResponse | crates/api_models/src/admin.rs | api_models | struct_definition | ToggleKVResponse | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: PaystackRefundsData
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaystackRefundsData | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | struct_definition | PaystackRefundsData | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/flexiti.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
s... | crates/router/tests/connectors/flexiti.rs | router | full_file | null | null | null | 2,932 | null | null | null | null | null | null | null |
// Struct: DwollaWebhookDetails
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaWebhookDetails | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaWebhookDetails | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: FraudResult
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FraudResult | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | FraudResult | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl CustomerInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 11 total (0 public)
impl CustomerInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 46 | null | KafkaStore | CustomerInterface for | 11 | 0 | null | null |
// Struct: MerchantIdAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct MerchantIdAuth | crates/router/src/services/authentication.rs | router | struct_definition | MerchantIdAuth | 0 | [] | 34 | null | null | null | null | null | null | null |
// Function: build_refund_sync_request
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
pub fn build_refund_sync_request(item: &RefundSyncRouterData) -> Result<Vec<u8>, Error> | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 61 | build_refund_sync_request | null | null | null | null | null | null |
// Struct: ShippingLines
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ShippingLines | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | ShippingLines | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: request_for_recon
// File: crates/router/src/routes/recon.rs
// Module: router
pub fn request_for_recon(state: web::Data<AppState>, http_req: HttpRequest) -> HttpResponse | crates/router/src/routes/recon.rs | router | function_signature | null | null | null | 45 | request_for_recon | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cybersource | api::PaymentVoid for | 0 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.