text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl DomainIdentifier
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Methods: 2 total (2 public)
impl DomainIdentifier | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 42 | null | DomainIdentifier | null | 2 | 2 | null | null |
// Struct: RoutingRetrieveLinkQueryWrapper
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingRetrieveLinkQueryWrapper | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingRetrieveLinkQueryWrapper | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: DummyConnectorUpiFlow
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Implementations: 0
pub struct DummyConnectorUpiFlow | crates/router/src/routes/dummy_connector/types.rs | router | struct_definition | DummyConnectorUpiFlow | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: OrderInformationIncrementalAuthorization
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderInformationIncrementalAuthorization | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | OrderInformationIncrementalAuthorization | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 8
use common_enums::enums;
use common_utils::types::MinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterData},
... | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,825 | null | null | null | null | null | null | null |
// Implementation: impl super::refunds::filters::RefundFilterAnalytics for for SqlxClient
// File: crates/analytics/src/sqlx.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::refunds::filters::RefundFilterAnalytics for for SqlxClient | crates/analytics/src/sqlx.rs | analytics | impl_block | null | null | null | 64 | null | SqlxClient | super::refunds::filters::RefundFilterAnalytics for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Checkbook | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Checkbook | api::PaymentToken for | 0 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Gocardless | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Gocardless | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: retrieve_and_delete_cvc_from_payment_token
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn retrieve_and_delete_cvc_from_payment_token(
state: &routes::SessionState,
payment_token: &String,
payment_method: common_enums::PaymentMethod,
encryption_key: &maski... | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 92 | retrieve_and_delete_cvc_from_payment_token | null | null | null | null | null | null |
let additional_recovery_details = match response.response {
Ok(response) => Ok(response),
error @ Err(_) => {
logger::error!(?error);
Err(errors::RevenueRecoveryError::BillingConnectorPaymentsSyncFailed)
.attach_printable("Failed while ... | crates/router/src/core/webhooks/recovery_incoming.rs#chunk1 | router | chunk | null | null | null | 4,410 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Implementation: impl Capturable for for PaymentsPostSessionTokensData
// File: crates/router/src/types.rs
// Module: router
// Methods: 0 total (0 public)
impl Capturable for for PaymentsPostSessionTokensData | crates/router/src/types.rs | router | impl_block | null | null | null | 48 | null | PaymentsPostSessionTokensData | Capturable for | 0 | 0 | null | null |
// Function: apply_debit_routing_decision
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn apply_debit_routing_decision<F, D>(&self, payment_data: &mut D) | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 46 | apply_debit_routing_decision | null | null | null | null | null | null |
// Function: merge_transaction_responses
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
pub fn merge_transaction_responses(
auth_response: &Self,
capture_response: &Self,
) -> Result<Self, error_stack::Report<ApiErrorResponse>> | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | function_signature | null | null | null | 65 | merge_transaction_responses | null | null | null | null | null | null |
// Function: handle_tokenization_response
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
pub fn handle_tokenization_response<F, Req>(
resp: &mut types::RouterData<F, Req, types::PaymentsResponseData>,
) | crates/router/src/core/payments/tokenization.rs | router | function_signature | null | null | null | 56 | handle_tokenization_response | null | null | null | null | null | null |
connectors::Riskified,
connectors::Santander,
connectors::Shift4,
connectors::Sift,
connectors::Silverflow,
connectors::Signifyd,
connectors::Stax,
connectors::Stripe,
connectors::Square,
connectors::Stripebilling,
connectors::Taxjar,
connectors::Tesouro,
connectors::... | crates/hyperswitch_connectors/src/default_implementations_v2.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 8,185 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Checkbook | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Checkbook | api::Refund for | 0 | 0 | null | null |
// Implementation: impl api::Refund for for Deutschebank
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Deutschebank | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Deutschebank | api::Refund for | 0 | 0 | null | null |
// Implementation: impl Default for for DrainerSettings
// File: crates/scheduler/src/settings.rs
// Module: scheduler
// Methods: 1 total (0 public)
impl Default for for DrainerSettings | crates/scheduler/src/settings.rs | scheduler | impl_block | null | null | null | 43 | null | DrainerSettings | Default for | 1 | 0 | null | null |
// File: crates/analytics/src/disputes/core.rs
// Module: analytics
// Public functions: 2
use std::collections::HashMap;
use api_models::analytics::{
disputes::{
DisputeDimensions, DisputeMetrics, DisputeMetricsBucketIdentifier,
DisputeMetricsBucketResponse,
},
DisputeFilterValue, Dispute... | crates/analytics/src/disputes/core.rs | analytics | full_file | null | null | null | 1,614 | null | null | null | null | null | null | null |
// Implementation: impl DrainerSettings
// File: crates/drainer/src/settings.rs
// Module: drainer
// Methods: 1 total (0 public)
impl DrainerSettings | crates/drainer/src/settings.rs | drainer | impl_block | null | null | null | 38 | null | DrainerSettings | null | 1 | 0 | null | null |
// Struct: ThreeDsResponseData
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDsResponseData | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDsResponseData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: Initiator
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Initiator | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | Initiator | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/dispute.rs
// Module: diesel_models
// Public structs: 3
use common_utils::{
custom_serde,
types::{MinorUnit, StringMinorUnit},
};
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use masking::Secret;
use serde::Serialize;
use time::PrimitiveDateTime... | crates/diesel_models/src/dispute.rs | diesel_models | full_file | null | null | null | 1,259 | null | null | null | null | null | null | null |
// Function: from_string
// File: crates/common_utils/src/id_type/global_id/token.rs
// Module: common_utils
// Documentation: Get GlobalTokenId from a string
pub fn from_string(token_string: &str) -> CustomResult<Self, ValidationError> | crates/common_utils/src/id_type/global_id/token.rs | common_utils | function_signature | null | null | null | 54 | from_string | null | null | null | null | null | null |
// Struct: ConnectorParams
// File: crates/hyperswitch_domain_models/src/connector_endpoints.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ConnectorParams | crates/hyperswitch_domain_models/src/connector_endpoints.rs | hyperswitch_domain_models | struct_definition | ConnectorParams | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: SantanderPixQRCodeRequest
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderPixQRCodeRequest | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderPixQRCodeRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: MifinityPayload
// File: crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MifinityPayload | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs | hyperswitch_connectors | struct_definition | MifinityPayload | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: StripeSplitRefund
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct StripeSplitRefund | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | StripeSplitRefund | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: AccessTokenRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AccessTokenRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | AccessTokenRequestData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: FraudMarkingInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FraudMarkingInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | FraudMarkingInformation | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: AuthorizedotnetRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetRefundResponse | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetRefundResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(config: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Function: get_masked_bank_details
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn get_masked_bank_details(
pm: &domain::PaymentMethod,
) -> errors::RouterResult<Option<MaskedBankDetails>> | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 56 | get_masked_bank_details | null | null | null | null | null | null |
// Struct: OpenIdConnectPublicConfig
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct OpenIdConnectPublicConfig | crates/api_models/src/user.rs | api_models | struct_definition | OpenIdConnectPublicConfig | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Payload | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payload | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: PlacetopayPayment
// File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlacetopayPayment | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs | hyperswitch_connectors | struct_definition | PlacetopayPayment | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl opentelemetry_sdk::trace::ShouldSample for for ConditionalSampler
// File: crates/router_env/src/logger/setup.rs
// Module: router_env
// Methods: 1 total (0 public)
impl opentelemetry_sdk::trace::ShouldSample for for ConditionalSampler | crates/router_env/src/logger/setup.rs | router_env | impl_block | null | null | null | 59 | null | ConditionalSampler | opentelemetry_sdk::trace::ShouldSample for | 1 | 0 | null | null |
// Struct: CheckoutMeta
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutMeta | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutMeta | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/lib.rs
// Module: hyperswitch_interfaces
//! Hyperswitch interface
#![warn(missing_docs, missing_debug_implementations)]
pub mod api;
pub mod authentication;
/// Configuration related functionalities
pub mod configs;
/// Connector integration interface module
pub mod connect... | crates/hyperswitch_interfaces/src/lib.rs | hyperswitch_interfaces | full_file | null | null | null | 159 | null | null | null | null | null | null | null |
// Function: sync_merchant_onboarding_status
// File: crates/router/src/core/connector_onboarding/paypal.rs
// Module: router
pub fn sync_merchant_onboarding_status(
state: SessionState,
tracking_id: String,
) -> RouterResult<api::OnboardingStatus> | crates/router/src/core/connector_onboarding/paypal.rs | router | function_signature | null | null | null | 62 | sync_merchant_onboarding_status | null | null | null | null | null | null |
// Function: get_hash_key_for_kv_store
// File: crates/common_utils/src/id_type/payment.rs
// Module: common_utils
// Documentation: Get the hash key to be stored in redis
pub fn get_hash_key_for_kv_store(&self) -> String | crates/common_utils/src/id_type/payment.rs | common_utils | function_signature | null | null | null | 54 | get_hash_key_for_kv_store | null | null | null | null | null | null |
// File: crates/kgraph_utils/src/transformers.rs
// Module: kgraph_utils
// Public functions: 3
use api_models::enums as api_enums;
use euclid::{
backend::BackendInput,
dirval,
dssa::types::AnalysisErrorType,
frontend::{ast, dir},
types::{NumValue, StrValue},
};
use crate::error::KgraphError;
pub... | crates/kgraph_utils/src/transformers.rs#chunk0 | kgraph_utils | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// Struct: CryptopayPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CryptopayPaymentsResponse | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs | hyperswitch_connectors | struct_definition | CryptopayPaymentsResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for UnifiedAuthenticationService | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | UnifiedAuthenticationService | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Paystack
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Paystack | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paystack | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: MerchantAccount
// File: crates/diesel_models/src/merchant_account.rs
// Module: diesel_models
// Implementations: 1
pub struct MerchantAccount | crates/diesel_models/src/merchant_account.rs | diesel_models | struct_definition | MerchantAccount | 1 | [] | 36 | null | null | null | null | null | null | null |
// Function: is_confirm
// File: crates/router/src/core/payments.rs
// Module: router
pub fn is_confirm<'a, F: Clone + Send, R, Op>(
operation: &'a Op,
confirm: Option<bool>,
) -> BoxedOperation<'a, F, R, PaymentData<F>>
where
PaymentConfirm: Operation<F, R, Data = PaymentData<F>>,
&'a PaymentConfirm: ... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 137 | is_confirm | null | null | null | null | null | null |
// Function: get_merchant_default_config
// File: crates/router/src/core/routing/helpers.rs
// Module: router
// Documentation: Provides us with all the configured configs of the Merchant in the ascending time configured manner and chooses the first of them
pub fn get_merchant_default_config(
db: &dyn StorageInte... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 122 | get_merchant_default_config | null | null | null | null | null | null |
// Function: parse_googlepay_token_safely
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
pub fn parse_googlepay_token_safely(token_json_str: &str) -> FullyParsedGooglePayToken | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 62 | parse_googlepay_token_safely | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Struct: FortePaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FortePaymentsResponse | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | FortePaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: should_call_unified_connector_service_for_webhooks
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
pub fn should_call_unified_connector_service_for_webhooks(
state: &SessionState,
merchant_context: &MerchantContext,
connector_name: &str,
) -> RouterResult<bool> | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 71 | should_call_unified_connector_service_for_webhooks | null | null | null | null | null | null |
)?)
.build(),
))
}
fn handle_response(
&self,
data: &PaymentsPreProcessingRouterData,
event_builder: Option<&mut ConnectorEvent>,
res: Response,
) -> CustomResult<PaymentsPreProcessingRouterData, errors::ConnectorError> {
let r... | crates/hyperswitch_connectors/src/connectors/adyen.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,185 | null | null | null | null | null | null | null |
// Implementation: impl TrustpaymentsPaymentResponseData
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Methods: 4 total (4 public)
impl TrustpaymentsPaymentResponseData | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | TrustpaymentsPaymentResponseData | null | 4 | 4 | null | null |
// Struct: StoredCredentialMode
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct StoredCredentialMode | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | StoredCredentialMode | 1 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl RoutingEvent
// File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
// Module: hyperswitch_interfaces
// Methods: 16 total (12 public)
impl RoutingEvent | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs | hyperswitch_interfaces | impl_block | null | null | null | 46 | null | RoutingEvent | null | 16 | 12 | null | null |
// File: crates/router/src/core/mandate.rs
// Module: router
// Public functions: 6
pub mod helpers;
pub mod utils;
use api_models::payments;
use common_types::payments as common_payments_types;
use common_utils::{ext_traits::Encode, id_type};
use diesel_models::enums as storage_enums;
use error_stack::{report, Result... | crates/router/src/core/mandate.rs | router | full_file | null | null | null | 3,396 | null | null | null | null | null | null | null |
// Function: payouts_cancel
// File: crates/router/src/routes/payouts.rs
// Module: router
pub fn payouts_cancel(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<id_type::PayoutId>,
) -> HttpResponse | crates/router/src/routes/payouts.rs | router | function_signature | null | null | null | 59 | payouts_cancel | null | null | null | null | null | null |
// Struct: GenericTokenizationResponse
// File: crates/api_models/src/tokenization.rs
// Module: api_models
// Implementations: 0
pub struct GenericTokenizationResponse | crates/api_models/src/tokenization.rs | api_models | struct_definition | GenericTokenizationResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: EmailToken
// File: crates/router/src/services/email/types.rs
// Module: router
// Implementations: 1
pub struct EmailToken | crates/router/src/services/email/types.rs | router | struct_definition | EmailToken | 1 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Itaubank | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: AuthorizedotnetNonZeroMandateResponse
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetNonZeroMandateResponse | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetNonZeroMandateResponse | 0 | [] | 61 | null | null | null | null | null | null | null |
// Struct: SubscriptionLineItem
// File: crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SubscriptionLineItem | crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs | hyperswitch_domain_models | struct_definition | SubscriptionLineItem | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: build_query
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn build_query(&mut self) -> QueryResult<String>
where
Aggregate<&'static str>: ToSql<T>,
Window<&'static str>: ToSql<T>, | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 59 | build_query | null | null | null | null | null | null |
// Function: get_amount_captured
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
pub fn get_amount_captured(
partial_approval_data: Option<NuveiPartialApproval>,
transaction_type: Option<NuveiTransactionType>,
) -> Result<(Option<i64>, Option<MinorU... | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 93 | get_amount_captured | null | null | null | null | null | null |
// Function: generate_signature
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
pub fn generate_signature(
&self,
auth: barclaycard::BarclaycardAuthType,
host: String,
resource: &str,
payload: &String,
date: OffsetDa... | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | function_signature | null | null | null | 98 | generate_signature | null | null | null | null | null | null |
// Struct: RelayRetrieveBody
// File: crates/api_models/src/relay.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct RelayRetrieveBody | crates/api_models/src/relay.rs | api_models | struct_definition | RelayRetrieveBody | 1 | [
"common_utils::events::ApiEventMetric"
] | 48 | null | null | null | null | null | null | null |
// Struct: PaymentsVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsVoidRequest | crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsVoidRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: payments_update_metadata
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_update_metadata(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsUpdateMetadataRequest>,
path: web::Path<common_utils::id_ty... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 86 | payments_update_metadata | null | null | null | null | null | null |
// Struct: BankOfAmericaErrorInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaErrorInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaErrorInformation | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: EliminationAnalyserConfig
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 1
pub struct EliminationAnalyserConfig | crates/api_models/src/routing.rs | api_models | struct_definition | EliminationAnalyserConfig | 1 | [] | 40 | null | null | null | null | null | null | null |
// Struct: CustomerUpdateRequestInternal
// File: crates/api_models/src/customers.rs
// Module: api_models
// Implementations: 0
pub struct CustomerUpdateRequestInternal | crates/api_models/src/customers.rs | api_models | struct_definition | CustomerUpdateRequestInternal | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: LineItem
// File: crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct LineItem | crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs | hyperswitch_connectors | struct_definition | LineItem | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/router/src/services/kafka/authentication.rs
// Module: router
// Public functions: 1
// Public structs: 1
use diesel_models::{authentication::Authentication, enums as storage_enums};
use time::OffsetDateTime;
#[derive(serde::Serialize, Debug)]
pub struct KafkaAuthentication<'a> {
pub authenticatio... | crates/router/src/services/kafka/authentication.rs | router | full_file | null | null | null | 1,118 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/external_services/src/lib.rs
// Module: external_services
// Public submodules:
pub mod email;
pub mod aws_kms;
pub mod file_storage;
pub mod hashicorp_vault;
pub mod no_encryption;
pub mod grpc_client;
pub mod http_client;
pub mod hubspot_proxy;
pub mod managers;
pub mod crm;
pub m... | crates/external_services/src/lib.rs | external_services | module_structure | null | null | null | 84 | null | null | null | null | null | 11 | 0 |
// Struct: MandateBodyResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandateBodyResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | MandateBodyResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: get_metrics
// File: crates/analytics/src/active_payments/core.rs
// Module: analytics
pub fn get_metrics(
pool: &AnalyticsProvider,
publishable_key: &String,
merchant_id: &common_utils::id_type::MerchantId,
req: GetActivePaymentsMetricRequest,
) -> AnalyticsResult<MetricsResponse<MetricsB... | crates/analytics/src/active_payments/core.rs | analytics | function_signature | null | null | null | 79 | get_metrics | null | null | null | null | null | null |
// Function: payments_to_payments_response
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn payments_to_payments_response<Op, F: Clone, D>(
payment_data: D,
captures: Option<Vec<storage::Capture>>,
customer: Option<domain::Customer>,
_auth_flow: services::AuthFlow,
... | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 161 | payments_to_payments_response | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Sift | api::RefundExecute for | 0 | 0 | null | null |
// Function: add_outer_select_column
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn add_outer_select_column(&mut self, column: impl ToSql<T>) -> QueryResult<()> | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 44 | add_outer_select_column | null | null | null | null | null | null |
// Function: get_total_count_of_payouts
// File: crates/diesel_models/src/query/payouts.rs
// Module: diesel_models
pub fn get_total_count_of_payouts(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
active_payout_ids: &[common_utils::id_type::PayoutId],
connector: ... | crates/diesel_models/src/query/payouts.rs | diesel_models | function_signature | null | null | null | 132 | get_total_count_of_payouts | null | null | null | null | null | null |
// Implementation: impl AttemptAmountDetails
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Methods: 9 total (9 public)
impl AttemptAmountDetails | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | impl_block | null | null | null | 47 | null | AttemptAmountDetails | null | 9 | 9 | null | null |
// Struct: NuveiInitPaymentRequest
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiInitPaymentRequest | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiInitPaymentRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/organization.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Organization> | crates/diesel_models/src/query/organization.rs | diesel_models | function_signature | null | null | null | 43 | insert | null | null | null | null | null | null |
// Function: get_error_reason
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
pub fn get_error_reason(
error_info: Option<String>,
detailed_error_info: Option<String>,
avs_error_info: Option<String>,
) -> Option<String> | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 72 | get_error_reason | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: NuveiVoidRequest
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiVoidRequest | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiVoidRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: MerchantAccountMetadata
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantAccountMetadata | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantAccountMetadata | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: MerchantAccount
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 2
pub struct MerchantAccount | crates/router/src/routes/app.rs | router | struct_definition | MerchantAccount | 2 | [] | 32 | null | null | null | null | null | null | null |
// Struct: AttributeResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AttributeResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | AttributeResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: Void
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Void | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | Void | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: files_retrieve
// File: crates/router/src/routes/files.rs
// Module: router
pub fn files_retrieve(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
json_payload: web::Query<file_types::FileRetrieveQuery>,
) -> HttpResponse | crates/router/src/routes/files.rs | router | function_signature | null | null | null | 68 | files_retrieve | null | null | null | null | null | null |
// Function: do_list_customer_pm_fetch_customer_if_not_passed
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn do_list_customer_pm_fetch_customer_if_not_passed(
state: routes::SessionState,
merchant_context: domain::MerchantContext,
req: Option<api::PaymentMethodListRequest... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 107 | do_list_customer_pm_fetch_customer_if_not_passed | null | null | null | null | null | null |
// Struct: AmazonpayRouterData
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AmazonpayRouterData<T> | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | AmazonpayRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/aci_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct AciSeleniumTest;
impl SeleniumTest for AciSeleniumTest {
fn get_connector_name(&self) -> String {
"aci".to_string()
}... | crates/test_utils/tests/connectors/aci_ui.rs | test_utils | full_file | null | null | null | 2,255 | null | null | null | null | null | null | null |
// Function: relay_retrieve
// File: crates/router/src/core/relay.rs
// Module: router
pub fn relay_retrieve(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_optional: Option<id_type::ProfileId>,
req: relay_api_models::RelayRetrieveRequest,
) -> RouterResponse<relay_api_model... | crates/router/src/core/relay.rs | router | function_signature | null | null | null | 82 | relay_retrieve | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Santander
// File: crates/hyperswitch_connectors/src/connectors/santander.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Santander | crates/hyperswitch_connectors/src/connectors/santander.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Santander | api::PaymentCapture for | 0 | 0 | null | null |
// File: crates/router/src/core/debit_routing.rs
// Module: router
// Public functions: 4
// Public structs: 1
use std::{collections::HashSet, fmt::Debug};
use api_models::{enums as api_enums, open_router};
use common_enums::enums;
use common_utils::{
errors::CustomResult, ext_traits::ValueExt, id_type, types::ke... | crates/router/src/core/debit_routing.rs | router | full_file | null | null | null | 5,678 | null | null | null | null | null | null | null |
// Function: check_refund_integrity
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn check_refund_integrity<T, Request>(
request: &Request,
refund_response_data: &Result<types::RefundsResponseData, ErrorResponse>,
) -> Result<(), common_utils::errors::IntegrityCheckError>
where
T: Flo... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 102 | check_refund_integrity | 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.