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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: get_expiry_month
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Get the expiration month from the Google Pay pre-decrypt data
pub fn get_expiry_month(&self) -> Result<Secret<String>, errors::ValidationError> | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 58 | get_expiry_month | null | null | null | null | null | null |
// Struct: PaymentMethodCreated
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct PaymentMethodCreated | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | struct_definition | PaymentMethodCreated | 1 | [
"State"
] | 44 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type/global_id/token.rs
// Module: common_utils
// Public functions: 3
use std::borrow::Cow;
use error_stack::ResultExt;
use crate::errors::{CustomResult, ValidationError};
crate::global_id_type!(
GlobalTokenId,
"A global id that can be used to identify a token.
The form... | crates/common_utils/src/id_type/global_id/token.rs | common_utils | full_file | null | null | null | 418 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/novalnet.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)]
... | crates/router/tests/connectors/novalnet.rs | router | full_file | null | null | null | 2,941 | null | null | null | null | null | null | null |
// Struct: PlacetopayRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlacetopayRefundResponse | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs | hyperswitch_connectors | struct_definition | PlacetopayRefundResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: validate_payment_method_data_against_payment_method
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
pub fn validate_payment_method_data_against_payment_method(
payment_method_type: api_enums::PaymentMethod,
payment_method_data: PaymentMethodCreateData,
) -> bool | crates/api_models/src/payment_methods.rs | api_models | function_signature | null | null | null | 66 | validate_payment_method_data_against_payment_method | null | null | null | null | null | null |
// Struct: DlocalRouterData
// File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DlocalRouterData<T> | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs | hyperswitch_connectors | struct_definition | DlocalRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PaymentIntentUpdateInternal
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentIntentUpdateInternal | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | struct_definition | PaymentIntentUpdateInternal | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: call_connector_service
// File: crates/router/src/core/payments.rs
// Module: router
pub fn call_connector_service<F, RouterDReq, ApiRequest, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: &domain::MerchantContext,
connector: api::ConnectorData,
operation: &BoxedOpera... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 390 | call_connector_service | null | null | null | null | null | null |
// Struct: NomupayPaymentResponse
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NomupayPaymentResponse | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | struct_definition | NomupayPaymentResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: create_client
// File: crates/external_services/src/email/smtp.rs
// Module: external_services
// Documentation: A helper function to create SMTP server client
pub fn create_client(&self) -> Result<SmtpTransport, SmtpError> | crates/external_services/src/email/smtp.rs | external_services | function_signature | null | null | null | 55 | create_client | null | null | null | null | null | null |
// Implementation: impl CommonStorageInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 3 total (0 public)
impl CommonStorageInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | CommonStorageInterface for | 3 | 0 | null | null |
// Implementation: impl MerchantConnectorAccount
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl MerchantConnectorAccount | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 37 | null | MerchantConnectorAccount | null | 1 | 1 | null | null |
// Struct: DefendDisputeRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct DefendDisputeRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | DefendDisputeRequestData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Opayo | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Opayo | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: RelayRequest
// File: crates/api_models/src/relay.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct RelayRequest | crates/api_models/src/relay.rs | api_models | struct_definition | RelayRequest | 1 | [
"common_utils::events::ApiEventMetric"
] | 46 | null | null | null | null | null | null | null |
// Function: generate_authentication_id
// File: crates/common_utils/src/id_type/authentication.rs
// Module: common_utils
// Documentation: Generate Authentication Id from prefix
pub fn generate_authentication_id(prefix: &'static str) -> Self | crates/common_utils/src/id_type/authentication.rs | common_utils | function_signature | null | null | null | 47 | generate_authentication_id | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn new(headers: &'a HeaderMap) -> Self | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 32 | new | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Chargebee
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Chargebee | crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Chargebee | api::RefundExecute for | 0 | 0 | null | null |
// Struct: DetailedWarnings
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DetailedWarnings | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | DetailedWarnings | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: CoingateSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CoingateSyncResponse | crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs | hyperswitch_connectors | struct_definition | CoingateSyncResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: submit_evidence
// File: crates/router/src/core/disputes.rs
// Module: router
pub fn submit_evidence(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id: Option<common_utils::id_type::ProfileId>,
req: dispute_models::SubmitEvidenceRequest,
) -> RouterResponse<disput... | crates/router/src/core/disputes.rs | router | function_signature | null | null | null | 83 | submit_evidence | null | null | null | null | null | null |
// File: crates/api_models/src/events.rs
// Module: api_models
pub mod apple_pay_certificates_migration;
pub mod chat;
pub mod connector_onboarding;
pub mod customer;
pub mod dispute;
pub mod external_service_auth;
pub mod gsm;
mod locker_migration;
pub mod payment;
#[cfg(feature = "payouts")]
pub mod payouts;
#[cfg(f... | crates/api_models/src/events.rs | api_models | full_file | null | null | null | 1,521 | null | null | null | null | null | null | null |
// Function: get_mandate
// File: crates/openapi/src/routes/mandates.rs
// Module: openapi
pub fn get_mandate() | crates/openapi/src/routes/mandates.rs | openapi | function_signature | null | null | null | 34 | get_mandate | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Opayo | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Opayo | ConnectorCommon for | 5 | 0 | null | null |
// Function: get_mandate_details_value
// File: crates/hyperswitch_domain_models/src/mandates.rs
// Module: hyperswitch_domain_models
pub fn get_mandate_details_value(&self) -> CustomResult<serde_json::Value, ParsingError> | crates/hyperswitch_domain_models/src/mandates.rs | hyperswitch_domain_models | function_signature | null | null | null | 57 | get_mandate_details_value | null | null | null | null | null | null |
// Struct: KafkaDispute
// File: crates/router/src/services/kafka/dispute.rs
// Module: router
// Implementations: 2
// Traits: super::KafkaMessage
pub struct KafkaDispute<'a> | crates/router/src/services/kafka/dispute.rs | router | struct_definition | KafkaDispute | 2 | [
"super::KafkaMessage"
] | 49 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/santander.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 SantanderTest;
impl ConnectorActions for SantanderTest {}
impl ... | crates/router/tests/connectors/santander.rs | router | full_file | null | null | null | 2,934 | null | null | null | null | null | null | null |
// Struct: StandardFlowCredentials
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StandardFlowCredentials | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | StandardFlowCredentials | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: retrieve_conditional_config
// File: crates/router/src/core/conditional_config.rs
// Module: router
pub fn retrieve_conditional_config(
state: SessionState,
merchant_context: domain::MerchantContext,
) -> RouterResponse<DecisionManagerResponse> | crates/router/src/core/conditional_config.rs | router | function_signature | null | null | null | 56 | retrieve_conditional_config | null | null | null | null | null | null |
// Function: update_gateway_system_in_feature_metadata
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
pub fn update_gateway_system_in_feature_metadata<F: Clone, D>(
payment_data: &mut D,
gateway_system: GatewaySystem,
) -> RouterResult<()>
where
D: OperationSessionGetters<F>... | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 81 | update_gateway_system_in_feature_metadata | null | null | null | null | null | null |
// Struct: SinglePurposeOrLoginTokenAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct SinglePurposeOrLoginTokenAuth | crates/router/src/services/authentication.rs | router | struct_definition | SinglePurposeOrLoginTokenAuth | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: ActionTypesBuilder
// File: crates/router/src/core/payments.rs
// Module: router
// Implementations: 1
pub struct ActionTypesBuilder | crates/router/src/core/payments.rs | router | struct_definition | ActionTypesBuilder | 1 | [] | 33 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: get_decision
// File: crates/common_types/src/domain.rs
// Module: common_types
// Documentation: Retrieves the decision from the retry feature data.
pub fn get_decision(&self) -> common_enums::GsmDecision | crates/common_types/src/domain.rs | common_types | function_signature | null | null | null | 49 | get_decision | null | null | null | null | null | null |
// Implementation: impl RedisResult
// File: crates/router_derive/src/lib.rs
// Module: router_derive
// Methods: 2 total (0 public)
impl RedisResult | crates/router_derive/src/lib.rs | router_derive | impl_block | null | null | null | 38 | null | RedisResult | null | 2 | 0 | null | null |
connector_meta_data: merchant_connector_account.get_metadata(),
connector_wallets_details: merchant_connector_account.get_connector_wallets_details(),
amount_captured: payment_intent
.amount_captured
.map(|amt| amt.get_amount_as_i64()),
minor_amount_captured: paym... | crates/router/src/core/utils.rs#chunk1 | router | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: GocardlessAuthType
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessAuthType | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
web::get().to(|state, req, path: web::Query<RoutingRetrieveQuery>| {
routing::list_routing_configs(state, req, path, None)
}),
)
.route(web::post().to(|state, req, payload| {
routi... | crates/router/src/routes/app.rs#chunk1 | router | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: NuveiPayoutErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiPayoutErrorResponse | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiPayoutErrorResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: GenericTokenizationRequest
// File: crates/api_models/src/tokenization.rs
// Module: api_models
// Implementations: 0
pub struct GenericTokenizationRequest | crates/api_models/src/tokenization.rs | api_models | struct_definition | GenericTokenizationRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: CashtocodeAuth
// File: crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CashtocodeAuth | crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs | hyperswitch_connectors | struct_definition | CashtocodeAuth | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Celero | api::Payment for | 0 | 0 | null | null |
// Struct: IssuerInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IssuerInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | IssuerInformation | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: payments_update_metadata
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_update_metadata() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 31 | payments_update_metadata | null | null | null | null | null | null |
.request_external_three_ds_authentication
!= Some(true)
}
#[cfg(feature = "v2")]
{
payment_data
.get_payment_intent()
... | crates/router/src/core/payments.rs#chunk6 | router | chunk | null | null | null | 8,184 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Wellsfargo
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Wellsfargo | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Wellsfargo | ConnectorSpecifications for | 3 | 0 | null | null |
// File: crates/diesel_models/src/query/authorization.rs
// Module: diesel_models
// Public functions: 3
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods};
use super::generics;
use crate::{
authorization::{
Authorization, AuthorizationNew, AuthorizationUpdate, AuthorizationUpd... | crates/diesel_models/src/query/authorization.rs | diesel_models | full_file | null | null | null | 537 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Novalnet | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Novalnet | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl SingleOrListElement
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl SingleOrListElement | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | SingleOrListElement | null | 1 | 0 | null | null |
// Struct: ExternalSignoutTokenRequest
// File: crates/api_models/src/external_service_auth.rs
// Module: api_models
// Implementations: 0
pub struct ExternalSignoutTokenRequest | crates/api_models/src/external_service_auth.rs | api_models | struct_definition | ExternalSignoutTokenRequest | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl TrustpaymentsAuthType
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl TrustpaymentsAuthType | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | TrustpaymentsAuthType | null | 1 | 1 | null | null |
// Struct: CustomerAddress
// File: crates/router/src/types/domain/address.rs
// Module: router
// Implementations: 1
// Traits: behaviour::Conversion
pub struct CustomerAddress | crates/router/src/types/domain/address.rs | router | struct_definition | CustomerAddress | 1 | [
"behaviour::Conversion"
] | 40 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/router_flow_types/payouts.rs
// Module: hyperswitch_domain_models
// Public structs: 8
#[derive(Debug, Clone)]
pub struct PoCancel;
#[derive(Debug, Clone)]
pub struct PoCreate;
#[derive(Debug, Clone)]
pub struct PoEligibility;
#[derive(Debug, Clone)]
pub struct PoFulfil... | crates/hyperswitch_domain_models/src/router_flow_types/payouts.rs | hyperswitch_domain_models | full_file | null | null | null | 126 | null | null | null | null | null | null | null |
// Struct: CaptureTransactionBody
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureTransactionBody | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | CaptureTransactionBody | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Redsys
// File: crates/hyperswitch_connectors/src/connectors/redsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Redsys | crates/hyperswitch_connectors/src/connectors/redsys.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Redsys | api::RefundSync for | 0 | 0 | null | null |
// Function: get_field_type
// File: crates/router_derive/src/macros/misc.rs
// Module: router_derive
pub fn get_field_type(field_type: syn::Type) -> Option<syn::Ident> | crates/router_derive/src/macros/misc.rs | router_derive | function_signature | null | null | null | 46 | get_field_type | null | null | null | null | null | null |
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
// Public functions: 6
// Public structs: 6
use actix_web::{web, Scope};
#[cfg(feature = "v1")]
use super::{customers::*, payment_intents::*, setup_intents::*};
use super::{refunds::*, webhooks::*};
use crate::routes::{self, mandates, webhooks};... | crates/router/src/compatibility/stripe/app.rs | router | full_file | null | null | null | 968 | null | null | null | null | null | null | null |
// Struct: GooglePayThirdPartySdkData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GooglePayThirdPartySdkData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | GooglePayThirdPartySdkData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Trait: RefundDistributionAccumulator
// File: crates/analytics/src/refunds/accumulator.rs
// Module: analytics
pub trait RefundDistributionAccumulator | crates/analytics/src/refunds/accumulator.rs | analytics | trait_definition | null | null | null | 36 | null | null | RefundDistributionAccumulator | null | null | null | null |
// Implementation: impl api::Payment for for Katapult
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Katapult | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Katapult | api::Payment for | 0 | 0 | null | null |
// Function: connector_list
// File: crates/openapi/src/routes/profile.rs
// Module: openapi
pub fn connector_list() | crates/openapi/src/routes/profile.rs | openapi | function_signature | null | null | null | 28 | connector_list | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Zsl
// File: crates/hyperswitch_connectors/src/connectors/zsl.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Zsl | crates/hyperswitch_connectors/src/connectors/zsl.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Zsl | api::PaymentSession for | 0 | 0 | null | null |
// Function: get_google_pay_wallet_data
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn get_google_pay_wallet_data(&self) -> Option<&GooglePayWalletData> | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 51 | get_google_pay_wallet_data | null | null | null | null | null | null |
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
// Public functions: 48
// Public structs: 2
use std::{
collections::{HashMap, HashSet},
fmt::Debug,
str::FromStr,
};
use ::payment_methods::{
configs::payment_connector_required_fields::{
get_billing_required_fields, g... | crates/router/src/core/payment_methods/cards.rs#chunk0 | router | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
refunds: common_enums::FeatureStatus::Supported,
supported_capture_methods: automatic_capture_supported.clone(),
specific_features: None,
},
);
stripe_supported_payment_methods.add(
common_enums::PaymentMethod::BankRedirect,
PaymentMethodType::Sofort,... | crates/hyperswitch_connectors/src/connectors/stripe.rs#chunk3 | hyperswitch_connectors | chunk | null | null | null | 410 | null | null | null | null | null | null | null |
// Function: proxy_create_attempt_amount_details
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn proxy_create_attempt_amount_details(
&self,
_confirm_intent_request: &api_models::payments::ProxyPaymentsRequest,
) -> payment_attempt::AttemptAmoun... | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 69 | proxy_create_attempt_amount_details | null | null | null | null | null | null |
// Struct: DiscountObject
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DiscountObject | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | DiscountObject | 0 | [] | 46 | null | null | null | null | null | null | null |
.map(|txn_id| txn_id.get_id().clone());
let connector = request.connector.map(|connector| connector.to_string());
let connector_request_reference_id = payment_intent
.merchant_reference_id
.as_ref()
.map(|id| id.get_string_repr().to_owned());
Ok(Se... | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs#chunk1 | hyperswitch_domain_models | chunk | null | null | null | 8,182 | null | null | null | null | null | null | null |
// Function: get_drainer_stream_name
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
pub fn get_drainer_stream_name(&self, shard_key: &str) -> String | crates/storage_impl/src/kv_router_store.rs | storage_impl | function_signature | null | null | null | 46 | get_drainer_stream_name | null | null | null | null | null | null |
// Struct: ChargebeeRecordbackInvoice
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeRecordbackInvoice | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeRecordbackInvoice | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: wait_screen_next_steps_check
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn wait_screen_next_steps_check(
payment_attempt: storage::PaymentAttempt,
) -> RouterResult<Option<api_models::payments::WaitScreenInstructions>> | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 60 | wait_screen_next_steps_check | null | null | null | null | null | null |
// Struct: AmazonpayPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AmazonpayPaymentsResponse | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | AmazonpayPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: AtomeData
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AtomeData | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AtomeData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PaymentCancelPostCapture
// File: crates/router/src/core/payments/operations/payment_cancel_post_capture.rs
// Module: router
// Implementations: 0
pub struct PaymentCancelPostCapture | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs | router | struct_definition | PaymentCancelPostCapture | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: GetTrackerResponse
// File: crates/router/src/core/payments/operations.rs
// Module: router
// Implementations: 0
pub struct GetTrackerResponse<D> | crates/router/src/core/payments/operations.rs | router | struct_definition | GetTrackerResponse | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: ProxyCardDetails
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct ProxyCardDetails | crates/api_models/src/payment_methods.rs | api_models | struct_definition | ProxyCardDetails | 0 | [] | 36 | null | 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: set_blocked_count_in_cache
// File: crates/router/src/services/card_testing_guard.rs
// Module: router
pub fn set_blocked_count_in_cache<A>(
state: &A,
cache_key: &str,
value: i32,
expiry: i64,
) -> RouterResult<()>
where
A: SessionStateInfo + Sync, | crates/router/src/services/card_testing_guard.rs | router | function_signature | null | null | null | 79 | set_blocked_count_in_cache | null | null | null | null | null | null |
// Function: apply_filters_on_payments
// File: crates/router/src/core/payments.rs
// Module: router
pub fn apply_filters_on_payments(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<id_type::ProfileId>>,
constraints: api::PaymentListFilterConstraints,
) -> R... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 83 | apply_filters_on_payments | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for PollResponse
// File: crates/api_models/src/poll.rs
// Module: api_models
// Methods: 1 total (0 public)
impl ApiEventMetric for for PollResponse | crates/api_models/src/poll.rs | api_models | impl_block | null | null | null | 47 | null | PollResponse | ApiEventMetric for | 1 | 0 | null | null |
// Implementation: impl GetPaymentMethodType for for WalletData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl GetPaymentMethodType for for WalletData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 56 | null | WalletData | GetPaymentMethodType for | 1 | 0 | null | null |
// Struct: AdyenplatformAuthType
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenplatformAuthType | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers.rs | hyperswitch_connectors | struct_definition | AdyenplatformAuthType | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: get_merchant_category_code_with_name
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_merchant_category_code_with_name() -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 45 | get_merchant_category_code_with_name | null | null | null | null | null | null |
// Struct: PmValidated
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct PmValidated | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | struct_definition | PmValidated | 1 | [
"State"
] | 47 | null | null | null | null | null | null | null |
// Struct: InespayPaymentWebhookData
// File: crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InespayPaymentWebhookData | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | struct_definition | InespayPaymentWebhookData | 0 | [] | 56 | null | null | null | null | null | null | null |
),
BankRedirectData::OnlineBankingSlovakia { issuer } => Ok(
AdyenPaymentMethod::OnlineBankingSlovakia(Box::new(OnlineBankingSlovakiaData {
issuer: OnlineBankingSlovakiaBanks::try_from(issuer)?,
})),
),
BankRedirectData:... | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs#chunk3 | hyperswitch_connectors | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutRecipient for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutRecipient for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Ebanx | api::PayoutRecipient for | 0 | 0 | null | null |
// Function: add_process_dispute_task_to_pt
// File: crates/router/src/core/disputes.rs
// Module: router
pub fn add_process_dispute_task_to_pt(
db: &dyn StorageInterface,
connector_name: &str,
dispute_payload: &DisputeSyncResponse,
merchant_id: common_utils::id_type::MerchantId,
schedule_time: Opt... | crates/router/src/core/disputes.rs | router | function_signature | null | null | null | 102 | add_process_dispute_task_to_pt | null | null | null | null | null | null |
// Implementation: impl ThreeDsDecisionRule
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl ThreeDsDecisionRule | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 39 | null | ThreeDsDecisionRule | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentSession for for Dwolla
// File: crates/hyperswitch_connectors/src/connectors/dwolla.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Dwolla | crates/hyperswitch_connectors/src/connectors/dwolla.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Dwolla | api::PaymentSession for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use common_enums::enums;
use common_utils::{
crypto::{self, GenerateDigest},
errors::CustomResult,
ext_traits::Byte... | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | full_file | null | null | null | 4,808 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Dwolla
// File: crates/hyperswitch_connectors/src/connectors/dwolla.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Dwolla | crates/hyperswitch_connectors/src/connectors/dwolla.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Dwolla | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: ChallengeFlowCount
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
// Implementations: 0
pub struct ChallengeFlowCount | crates/api_models/src/analytics/auth_events.rs | api_models | struct_definition | ChallengeFlowCount | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: PaymeQuerySaleRequest
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymeQuerySaleRequest | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | PaymeQuerySaleRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl DefaultFallbackRoutingConfigUpdate
// File: crates/router/src/core/admin.rs
// Module: router
// Methods: 2 total (0 public)
impl DefaultFallbackRoutingConfigUpdate | crates/router/src/core/admin.rs | router | impl_block | null | null | null | 41 | null | DefaultFallbackRoutingConfigUpdate | null | 2 | 0 | null | null |
// File: crates/external_services/src/hashicorp_vault/implementers.rs
// Module: external_services
//! Trait implementations for Hashicorp vault client
use common_utils::errors::CustomResult;
use error_stack::ResultExt;
use hyperswitch_interfaces::secrets_interface::{
SecretManagementInterface, SecretsManagementE... | crates/external_services/src/hashicorp_vault/implementers.rs | external_services | full_file | null | null | null | 200 | null | null | null | null | null | null | null |
// Struct: PaymentMethodCreateWrapper
// File: crates/router/src/core/webhooks/network_tokenization_incoming.rs
// Module: router
// Implementations: 1
pub struct PaymentMethodCreateWrapper | crates/router/src/core/webhooks/network_tokenization_incoming.rs | router | struct_definition | PaymentMethodCreateWrapper | 1 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Inespay | api::Refund for | 0 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Prophetpay
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Prophetpay | crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Prophetpay | ConnectorSpecifications for | 3 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.