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: NovalnetCancelResponse
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetCancelResponse | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetCancelResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl ErrorResponse
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Methods: 1 total (0 public)
impl ErrorResponse | crates/pm_auth/src/types.rs | pm_auth | impl_block | null | null | null | 34 | null | ErrorResponse | null | 1 | 0 | null | null |
// Struct: Details
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Details | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | Details | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: GpayAllowedMethodsParameters
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GpayAllowedMethodsParameters | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | GpayAllowedMethodsParameters | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs
// Module: analytics
use std::collections::HashSet;
use api_models::{
analytics::{
payment_intents::{
PaymentIntentDimensions, PaymentIntentFilters, PaymentIntentMetricsBucketIdentifier,
},
Granul... | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs | analytics | full_file | null | null | null | 996 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Payeezy | api::PaymentToken for | 0 | 0 | null | null |
// Function: mobile_payment_next_steps_check
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn mobile_payment_next_steps_check(
payment_attempt: &storage::PaymentAttempt,
) -> RouterResult<Option<api_models::payments::MobilePaymentNextStepData>> | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 63 | mobile_payment_next_steps_check | null | null | null | null | null | null |
// Struct: CustomerGeneralUpdate
// File: crates/hyperswitch_domain_models/src/customer.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CustomerGeneralUpdate | crates/hyperswitch_domain_models/src/customer.rs | hyperswitch_domain_models | struct_definition | CustomerGeneralUpdate | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: CardInfo
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardInfo | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | CardInfo | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: EphemeralKey
// File: crates/diesel_models/src/ephemeral_key.rs
// Module: diesel_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct EphemeralKey | crates/diesel_models/src/ephemeral_key.rs | diesel_models | struct_definition | EphemeralKey | 1 | [
"common_utils::events::ApiEventMetric"
] | 54 | null | null | null | null | null | null | null |
// Function: increment_blocked_count_in_cache
// File: crates/router/src/services/card_testing_guard.rs
// Module: router
pub fn increment_blocked_count_in_cache<A>(
state: &A,
cache_key: &str,
expiry: i64,
) -> RouterResult<()>
where
A: SessionStateInfo + Sync, | crates/router/src/services/card_testing_guard.rs | router | function_signature | null | null | null | 72 | increment_blocked_count_in_cache | null | null | null | null | null | null |
// Function: error_type
// File: crates/router_derive/src/macros/api_error.rs
// Module: router_derive
pub fn error_type(&self) -> #error_type_enum | crates/router_derive/src/macros/api_error.rs | router_derive | function_signature | null | null | null | 39 | error_type | null | null | null | null | null | null |
// Implementation: impl SecretState for for SecuredSecret
// File: crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs
// Module: hyperswitch_interfaces
// Methods: 0 total (0 public)
impl SecretState for for SecuredSecret | crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs | hyperswitch_interfaces | impl_block | null | null | null | 55 | null | SecuredSecret | SecretState for | 0 | 0 | null | null |
// Function: get_no_three_ds_account_id
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
pub fn get_no_three_ds_account_id(
&self,
currency: Currency,
) -> Result<Secret<String>, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 70 | get_no_three_ds_account_id | 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: DisputeListConstraints
// File: crates/hyperswitch_domain_models/src/disputes.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct DisputeListConstraints | crates/hyperswitch_domain_models/src/disputes.rs | hyperswitch_domain_models | struct_definition | DisputeListConstraints | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::MandateSetup, api::PaymentToken, api::PaymentVoid, api::ConnectorAccessToken, api::PaymentSync, api::PaymentCapture, ... | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | struct_definition | Payu | 17 | [
"ConnectorCommon",
"ConnectorValidation",
"api::Payment",
"api::MandateSetup",
"api::PaymentToken",
"api::PaymentVoid",
"api::ConnectorAccessToken",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentSession",
"api::PaymentAuthorize",
"api::Refund",
"api::RefundExecute",
"api::RefundS... | 122 | null | null | null | null | null | null | null |
// Implementation: impl Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Trustpay | null | 1 | 1 | null | null |
// Struct: ChargebeeMetadata
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeMetadata | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeMetadata | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Stripe | api::Refund for | 0 | 0 | null | null |
// Function: validate_and_create_refund
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn validate_and_create_refund(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payment_attempt: &storage::PaymentAttempt,
payment_intent: &storage::PaymentIntent,
refund_amount... | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 105 | validate_and_create_refund | null | null | null | null | null | null |
// Struct: Source
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Source | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | Source | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: CoingatePaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CoingatePaymentsResponse | crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs | hyperswitch_connectors | struct_definition | CoingatePaymentsResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: PaymentData
// File: crates/router/src/core/payments.rs
// Module: router
// Implementations: 1
pub struct PaymentData<F> | crates/router/src/core/payments.rs | router | struct_definition | PaymentData | 1 | [] | 35 | null | null | null | null | null | null | null |
// Struct: RoutableConnectors
// File: crates/router/src/core/routing.rs
// Module: router
// Implementations: 1
pub struct RoutableConnectors | crates/router/src/core/routing.rs | router | struct_definition | RoutableConnectors | 1 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Bitpay
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Bitpay | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Bitpay | api::PaymentVoid for | 0 | 0 | null | null |
// Trait: RefundDistributionAnalytics
// File: crates/analytics/src/refunds/distribution.rs
// Module: analytics
pub trait RefundDistributionAnalytics: LoadRow<RefundDistributionRow> | crates/analytics/src/refunds/distribution.rs | analytics | trait_definition | null | null | null | 41 | null | null | RefundDistributionAnalytics | null | null | null | null |
// Implementation: impl api::PaymentToken for for Blackhawknetwork
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Blackhawknetwork | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Blackhawknetwork | api::PaymentToken for | 0 | 0 | null | null |
// Struct: ResponseRouterData
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 0
pub struct ResponseRouterData<Flow, R, Request, Response> | crates/pm_auth/src/types.rs | pm_auth | struct_definition | ResponseRouterData | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: get_connector_image_link
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
pub fn get_connector_image_link(self, base_url: &str) -> String | crates/router/src/routes/dummy_connector/types.rs | router | function_signature | null | null | null | 42 | get_connector_image_link | null | null | null | null | null | null |
// Implementation: impl PaymentVoid for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentVoid for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Payone | PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl RequestIdStore for for MockDb
// File: crates/router/src/db.rs
// Module: router
// Methods: 0 total (0 public)
impl RequestIdStore for for MockDb | crates/router/src/db.rs | router | impl_block | null | null | null | 44 | null | MockDb | RequestIdStore for | 0 | 0 | null | null |
// Implementation: impl ForeignIDRef for for PaymentAttempt
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl ForeignIDRef for for PaymentAttempt | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | impl_block | null | null | null | 55 | null | PaymentAttempt | ForeignIDRef for | 1 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorSpecifications for for Gocardless | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Gocardless | ConnectorSpecifications for | 4 | 0 | null | null |
// Implementation: impl api::PaymentSession for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Adyen | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl MasterKeyInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 1 total (0 public)
impl MasterKeyInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | MasterKeyInterface for | 1 | 0 | null | null |
// Struct: SantanderCard
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderCard | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderCard | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: NordeaErrorBody
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaErrorBody | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | NordeaErrorBody | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::collections::HashSet;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Re... | crates/hyperswitch_connectors/src/connectors/nexixpay.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Function: delete_payment_method_data_from_vault
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn delete_payment_method_data_from_vault(
state: &routes::SessionState,
merchant_context: &domain::MerchantContext,
profile: &domain::Profile,
pm: &domain::PaymentMethod,
) ... | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 87 | delete_payment_method_data_from_vault | null | null | null | null | null | null |
// Function: derive_to_encryption_attr
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn derive_to_encryption_attr(input: proc_macro::TokenStream) -> proc_macro::TokenStream | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 48 | derive_to_encryption_attr | null | null | null | null | null | null |
// Struct: RefundData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | RefundData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: FiservResponseInteractions
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservResponseInteractions | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservResponseInteractions | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Payload | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payload | api::PaymentToken for | 0 | 0 | null | null |
// Function: add_top_n_clause
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn add_top_n_clause(
&mut self,
columns: &[impl ToSql<T>],
count: u64,
order_column: impl ToSql<T>,
order: Order,
) -> QueryResult<()>
where
Window<&'static str>: ToSql<... | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 87 | add_top_n_clause | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers.rs
// Module: hyperswitch_connectors
#[cfg(feature = "frm")]
pub mod api;
pub mod auth;
#[cfg(feature = "frm")]
pub use self::api::*;
pub use self::auth::*;
| crates/hyperswitch_connectors/src/connectors/signifyd/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 63 | null | null | null | null | null | null | null |
// Implementation: impl KafkaMessage for for KafkaEvent
// File: crates/router/src/services/kafka.rs
// Module: router
// Methods: 3 total (0 public)
impl KafkaMessage for for KafkaEvent | crates/router/src/services/kafka.rs | router | impl_block | null | null | null | 44 | null | KafkaEvent | KafkaMessage for | 3 | 0 | null | null |
// Function: payments_redirect_response
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_redirect_response(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: Option<web::Form<serde_json::Value>>,
path: web::Path<(
common_utils::id_type::P... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 97 | payments_redirect_response | null | null | null | null | null | null |
// Function: get_frm_config_as_secret
// File: crates/router/src/core/admin.rs
// Module: router
pub fn get_frm_config_as_secret(
frm_configs: Option<Vec<api_models::admin::FrmConfigs>>,
) -> Option<Vec<Secret<serde_json::Value>>> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 60 | get_frm_config_as_secret | null | null | null | null | null | null |
// Struct: NordeaOAuthExchangeRequest
// File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaOAuthExchangeRequest | crates/hyperswitch_connectors/src/connectors/nordea/requests.rs | hyperswitch_connectors | struct_definition | NordeaOAuthExchangeRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: AuthipayGatewayResponse
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthipayGatewayResponse | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | AuthipayGatewayResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Threedsecureio | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Threedsecureio | ConnectorCommon for | 6 | 0 | null | null |
// Struct: Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Implementations: 20
// Traits: api::Payment, api::PaymentSession, api::PaymentsCompleteAuthorize, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCaptur... | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | struct_definition | Payme | 20 | [
"api::Payment",
"api::PaymentSession",
"api::PaymentsCompleteAuthorize",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"C... | 139 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/operations/payment_create_intent.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
use api_models::{enums::FrmSuggestion, payments::PaymentsCreateIntentRequest};
use async_trait::async_trait;
use common_utils::{
errors::CustomResult,
ext_traits::E... | crates/router/src/core/payments/operations/payment_create_intent.rs | router | full_file | null | null | null | 2,379 | null | null | null | null | null | null | null |
// Function: create_specific_dynamic_routing_setup
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn create_specific_dynamic_routing_setup(
state: &SessionState,
key_store: domain::MerchantKeyStore,
business_profile: domain::Profile,
feature_to_enable: routing_types::DynamicRo... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 122 | create_specific_dynamic_routing_setup | null | null | null | null | null | null |
// Struct: ListUsersInEntityResponse
// File: crates/api_models/src/user_role.rs
// Module: api_models
// Implementations: 0
pub struct ListUsersInEntityResponse | crates/api_models/src/user_role.rs | api_models | struct_definition | ListUsersInEntityResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: PaypalNetworkTransactionReference
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalNetworkTransactionReference | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalNetworkTransactionReference | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/payment_methods/src/core/errors.rs
// Module: payment_methods
pub use common_utils::errors::{CustomResult, ParsingError, ValidationError};
pub use hyperswitch_domain_models::{
api,
errors::api_error_response::{self, *},
};
pub type PmResult<T> = CustomResult<T, ApiErrorResponse>;
pub type PmRe... | crates/payment_methods/src/core/errors.rs | payment_methods | full_file | null | null | null | 440 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Opennode | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Opennode | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: ChargebeePaymentMethodDetails
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeePaymentMethodDetails | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeePaymentMethodDetails | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl ErrorResponse
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl ErrorResponse | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 41 | null | ErrorResponse | null | 1 | 1 | null | null |
// Function: get_error_message
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn get_error_message(&self) -> String | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 46 | get_error_message | null | null | null | null | null | null |
// Function: add_select_column
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn add_select_column(&mut self, column: impl ToSql<T>) -> QueryResult<()> | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 42 | add_select_column | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Globepay
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Globepay | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Globepay | ConnectorValidation for | 0 | 0 | null | null |
// File: crates/router/src/core/webhooks.rs
// Module: router
#[cfg(feature = "v1")]
pub mod incoming;
#[cfg(feature = "v2")]
mod incoming_v2;
#[cfg(feature = "v1")]
mod network_tokenization_incoming;
#[cfg(feature = "v1")]
mod outgoing;
#[cfg(feature = "v2")]
mod outgoing_v2;
#[cfg(all(feature = "revenue_recovery", f... | crates/router/src/core/webhooks.rs | router | full_file | null | null | null | 235 | null | null | null | null | null | null | null |
// Struct: CalSuccessRateEventRequest
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct CalSuccessRateEventRequest | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | CalSuccessRateEventRequest | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: perform_session_flow_routing
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_session_flow_routing(
session_input: SessionFlowRoutingInput<'_>,
business_profile: &domain::Profile,
transaction_type: &api_enums::TransactionType,
) -> RoutingResult<(
FxHash... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 105 | perform_session_flow_routing | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: delete_payment_method_data_from_vault_external
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn delete_payment_method_data_from_vault_external(
state: &routes::SessionState,
merchant_account: &domain::MerchantAccount,
merchant_connector_account: domain::Merchan... | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 105 | delete_payment_method_data_from_vault_external | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 68 | null | Fiservemea | api::RefundSync for | 0 | 0 | null | null |
// File: crates/storage_impl/src/database/store.rs
// Module: storage_impl
// Public functions: 1
// Public structs: 2
use async_bb8_diesel::{AsyncConnection, ConnectionError};
use bb8::CustomizeConnection;
use common_utils::DbConnectionParams;
use diesel::PgConnection;
use error_stack::ResultExt;
use crate::{
co... | crates/storage_impl/src/database/store.rs | storage_impl | full_file | null | null | null | 1,182 | null | null | null | null | null | null | null |
// Implementation: impl Authentication
// File: crates/diesel_models/src/authentication.rs
// Module: diesel_models
// Methods: 2 total (2 public)
impl Authentication | crates/diesel_models/src/authentication.rs | diesel_models | impl_block | null | null | null | 35 | null | Authentication | null | 2 | 2 | null | null |
// File: crates/router/tests/connectors/prophetpay.rs
// Module: router
use masking::Secret;
use router::types::{self, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct ProphetpayTest;
impl ConnectorActions for ProphetpayTest {}
impl ut... | crates/router/tests/connectors/prophetpay.rs | router | full_file | null | null | null | 2,935 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/fiservemea.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/fiservemea.rs | router | full_file | null | null | null | 2,960 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/wellsfargo.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 WellsfargoTest;
impl ConnectorActions for WellsfargoTest {}
im... | crates/router/tests/connectors/wellsfargo.rs | router | full_file | null | null | null | 2,945 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Barclaycard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Barclaycard | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Barclaycard | api::RefundExecute for | 0 | 0 | null | null |
// Function: get_payment_id
// File: crates/api_models/src/webhooks.rs
// Module: api_models
pub fn get_payment_id(&self) -> Option<common_utils::id_type::PaymentId> | crates/api_models/src/webhooks.rs | api_models | function_signature | null | null | null | 44 | get_payment_id | null | null | null | null | null | null |
// File: crates/api_models/src/disputes.rs
// Module: api_models
// Public structs: 10
use std::collections::HashMap;
use common_utils::types::{StringMinorUnit, TimeRange};
use masking::{Deserialize, Serialize};
use serde::de::Error;
use time::PrimitiveDateTime;
use utoipa::ToSchema;
use super::enums::{Currency, Dis... | crates/api_models/src/disputes.rs | api_models | full_file | null | null | null | 2,360 | null | null | null | null | null | null | null |
// Function: profiles_list_at_profile_level
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn profiles_list_at_profile_level(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::MerchantId>,
) -> HttpResponse | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 66 | profiles_list_at_profile_level | null | null | null | null | null | null |
// File: crates/drainer/src/stream.rs
// Module: drainer
// Public functions: 6
use std::collections::HashMap;
use redis_interface as redis;
use router_env::{logger, tracing};
use crate::{errors, metrics, Store};
pub type StreamEntries = Vec<(String, HashMap<String, String>)>;
pub type StreamReadResult = HashMap<St... | crates/drainer/src/stream.rs | drainer | full_file | null | null | null | 1,057 | null | null | null | null | null | null | null |
// Struct: Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Implementations: 18
// Traits: Payment, PaymentSession, ConnectorAccessToken, MandateSetup, PaymentAuthorize, PaymentSync, PaymentCapture, PaymentVoid, Refund, RefundExecute, RefundSync, PaymentToken, Pa... | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | struct_definition | Plaid | 18 | [
"Payment",
"PaymentSession",
"ConnectorAccessToken",
"MandateSetup",
"PaymentAuthorize",
"PaymentSync",
"PaymentCapture",
"PaymentVoid",
"Refund",
"RefundExecute",
"RefundSync",
"PaymentToken",
"PaymentsPostProcessing",
"ConnectorCommon",
"ConnectorValidation",
"IncomingWebhook",
"Co... | 101 | null | null | null | null | null | null | null |
// Function: list_initial_attempts_by_profile_id_primary_object_id
// File: crates/diesel_models/src/query/events.rs
// Module: diesel_models
pub fn list_initial_attempts_by_profile_id_primary_object_id(
conn: &PgPooledConn,
profile_id: &common_utils::id_type::ProfileId,
primary_object_id: &str... | crates/diesel_models/src/query/events.rs | diesel_models | function_signature | null | null | null | 82 | list_initial_attempts_by_profile_id_primary_object_id | null | null | null | null | null | null |
// Struct: PaystackPaymentWebhookData
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaystackPaymentWebhookData | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | struct_definition | PaystackPaymentWebhookData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: DummyConnectorUpiCollect
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Implementations: 0
pub struct DummyConnectorUpiCollect | crates/router/src/routes/dummy_connector/types.rs | router | struct_definition | DummyConnectorUpiCollect | 0 | [] | 41 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
// Public exports:
pub use diesel_models::payment_method::{
PaymentMethod, PaymentMethodNew, PaymentMethodUpdate, PaymentMethodUpdateInternal,
TokenizeCoreWorkflow,
};
| crates/router/src/types/storage/payment_method.rs | router | module_structure | null | null | null | 57 | null | null | null | null | null | 0 | 1 |
// Struct: Destination
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Destination | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | Destination | 0 | [] | 45 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// File: crates/api_models/src/apple_pay_certificates_migration.rs
// Module: api_models
// Public structs: 2
#[derive(Debug, Clone, serde::Serialize)]
pub struct ApplePayCertificatesMigrationResponse {
pub migration_successful: Vec<common_utils::id_type::MerchantId>,
pub migration_failed: Vec<common_utils::id... | crates/api_models/src/apple_pay_certificates_migration.rs | api_models | full_file | null | null | null | 137 | null | null | null | null | null | null | null |
// Struct: EncryptableAddress
// File: crates/diesel_models/src/address.rs
// Module: diesel_models
// Implementations: 0
pub struct EncryptableAddress | crates/diesel_models/src/address.rs | diesel_models | struct_definition | EncryptableAddress | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: PaypalPaymentsCancelResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalPaymentsCancelResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalPaymentsCancelResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: PaymentApprove
// File: crates/router/src/core/payments/operations/payment_approve.rs
// Module: router
// Implementations: 0
pub struct PaymentApprove | crates/router/src/core/payments/operations/payment_approve.rs | router | struct_definition | PaymentApprove | 0 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/mock_db/payout_attempt.rs
// Module: storage_impl
use common_utils::errors::CustomResult;
use diesel_models::enums as storage_enums;
use hyperswitch_domain_models::payouts::{
payout_attempt::{
PayoutAttempt, PayoutAttemptInterface, PayoutAttemptNew, PayoutAttemptUpdate,
... | crates/storage_impl/src/mock_db/payout_attempt.rs | storage_impl | full_file | null | null | null | 666 | null | null | null | null | null | null | null |
// Struct: NovalnetPaymentsRequestBilling
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetPaymentsRequestBilling | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetPaymentsRequestBilling | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: delete_by_merchant_id_payment_method_id
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn delete_by_merchant_id_payment_method_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
payment_method_id: &str,
) -> Storage... | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 80 | delete_by_merchant_id_payment_method_id | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Prophetpay
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Prophetpay | crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Prophetpay | api::RefundSync for | 0 | 0 | null | null |
// Function: get_optional_full_name
// File: crates/hyperswitch_domain_models/src/address.rs
// Module: hyperswitch_domain_models
pub fn get_optional_full_name(&self) -> Option<Secret<String>> | crates/hyperswitch_domain_models/src/address.rs | hyperswitch_domain_models | function_signature | null | null | null | 45 | get_optional_full_name | null | null | null | null | null | null |
// Implementation: impl RefundExecute for for Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundExecute for for Plaid | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Plaid | RefundExecute for | 0 | 0 | null | null |
// Struct: V2ClientAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct V2ClientAuth | crates/router/src/services/authentication.rs | router | struct_definition | V2ClientAuth | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Square | api::PaymentToken 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.