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_payment_experience
// File: crates/connector_configs/src/transformer.rs
// Module: connector_configs
pub fn get_payment_experience(
connector: Connector,
payment_method_type: PaymentMethodType,
payment_method: PaymentMethod,
payment_experience: Option<api_models::enums:... | crates/connector_configs/src/transformer.rs | connector_configs | function_signature | null | null | null | 80 | get_payment_experience | null | null | null | null | null | null |
// Struct: CaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | CaptureResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: PaymentMethodIntentCreate
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodIntentCreate | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodIntentCreate | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl Jpmorgan
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Jpmorgan | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Jpmorgan | null | 1 | 1 | null | null |
// Implementation: impl OrganizationId
// File: crates/common_utils/src/id_type/organization.rs
// Module: common_utils
// Methods: 1 total (1 public)
impl OrganizationId | crates/common_utils/src/id_type/organization.rs | common_utils | impl_block | null | null | null | 39 | null | OrganizationId | null | 1 | 1 | null | null |
// Function: get_payment_link_status
// File: crates/router/src/core/payment_link.rs
// Module: router
pub fn get_payment_link_status(
_state: SessionState,
_merchant_context: domain::MerchantContext,
_merchant_id: common_utils::id_type::MerchantId,
_payment_id: common_utils::id_type::PaymentId,
) -> R... | crates/router/src/core/payment_link.rs | router | function_signature | null | null | null | 87 | get_payment_link_status | null | null | null | null | null | null |
// Implementation: impl UnifiedTranslations
// File: crates/diesel_models/src/query/unified_translations.rs
// Module: diesel_models
// Methods: 3 total (0 public)
impl UnifiedTranslations | crates/diesel_models/src/query/unified_translations.rs | diesel_models | impl_block | null | null | null | 41 | null | UnifiedTranslations | null | 3 | 0 | null | null |
// Struct: GetSubscriptionPlanPricesResponse
// File: crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GetSubscriptionPlanPricesResponse | crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs | hyperswitch_domain_models | struct_definition | GetSubscriptionPlanPricesResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/powertranz.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::{fmt::Debug, sync::LazyLock};
use api_models::enums::AuthenticationType;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::{By... | crates/hyperswitch_connectors/src/connectors/powertranz.rs | hyperswitch_connectors | full_file | null | null | null | 5,271 | null | null | null | null | null | null | null |
// File: crates/router/src/core/fraud_check/flows.rs
// Module: router
pub mod checkout_flow;
pub mod fulfillment_flow;
pub mod record_return;
pub mod sale_flow;
pub mod transaction_flow;
use async_trait::async_trait;
use crate::{
core::{
errors::RouterResult,
payments::{self, flows::ConstructFlo... | crates/router/src/core/fraud_check/flows.rs | router | full_file | null | null | null | 218 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Opennode | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Opennode | api::PaymentToken for | 0 | 0 | null | null |
// Struct: ChargeRefunds
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ChargeRefunds | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | ChargeRefunds | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: IdealMethodData
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IdealMethodData | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | IdealMethodData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: ArchipelOrderRequest
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelOrderRequest | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelOrderRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: pg_connection_write
// File: crates/storage_impl/src/connection.rs
// Module: storage_impl
pub fn pg_connection_write<T: crate::DatabaseStore>(
store: &T,
) -> errors::CustomResult<
PooledConnection<'_, async_bb8_diesel::ConnectionManager<PgConnection>>,
crate::errors::StorageError,
> | crates/storage_impl/src/connection.rs | storage_impl | function_signature | null | null | null | 75 | pg_connection_write | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
pub fn new(
currency: Option<Currency>,
status: Option<AttemptStatus>,
connector: Option<String>,
auth_type: Option<AuthenticationType>,
payment_method: Option<String>,
payment_me... | crates/api_models/src/analytics/payments.rs | api_models | function_signature | null | null | null | 182 | new | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/routing.rs
// Module: router
// Public submodules:
pub mod helpers;
pub mod transformers;
| crates/router/src/core/routing.rs | router | module_structure | null | null | null | 33 | null | null | null | null | null | 2 | 0 |
// Struct: NordeaPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaPaymentsRequest | crates/hyperswitch_connectors/src/connectors/nordea/requests.rs | hyperswitch_connectors | struct_definition | NordeaPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Trait: SmithyModelGenerator
// File: crates/smithy-core/src/types.rs
// Module: smithy-core
pub trait SmithyModelGenerator | crates/smithy-core/src/types.rs | smithy-core | trait_definition | null | null | null | 33 | null | null | SmithyModelGenerator | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Implementation: impl PaymentsResponseData
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Methods: 5 total (5 public)
impl PaymentsResponseData | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | impl_block | null | null | null | 46 | null | PaymentsResponseData | null | 5 | 5 | null | null |
// Struct: MerchantCategoryCodeWithName
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Implementations: 0
pub struct MerchantCategoryCodeWithName | crates/common_enums/src/enums.rs | common_enums | struct_definition | MerchantCategoryCodeWithName | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: deep_health_check
// File: crates/router/src/routes/health.rs
// Module: router
pub fn deep_health_check(
state: web::Data<app::AppState>,
request: HttpRequest,
) -> impl actix_web::Responder | crates/router/src/routes/health.rs | router | function_signature | null | null | null | 53 | deep_health_check | null | null | null | null | null | null |
// Struct: PayboxMeta
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayboxMeta | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | PayboxMeta | 0 | [] | 47 | null | null | null | null | null | null | null |
// Trait: EventInfo
// File: crates/events/src/lib.rs
// Module: events
// Documentation: Add information/metadata to the current context of an event.
pub trait EventInfo | crates/events/src/lib.rs | events | trait_definition | null | null | null | 39 | null | null | EventInfo | null | null | null | null |
// Struct: ProcessedAmountAccumulator
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: PaymentMetricAccumulator
pub struct ProcessedAmountAccumulator | crates/analytics/src/payments/accumulator.rs | analytics | struct_definition | ProcessedAmountAccumulator | 1 | [
"PaymentMetricAccumulator"
] | 52 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/payouts/payouts.rs
// Module: storage_impl
#[cfg(feature = "olap")]
use api_models::enums::PayoutConnectors;
#[cfg(feature = "olap")]
use async_bb8_diesel::{AsyncConnection, AsyncRunQueryDsl};
use common_utils::ext_traits::Encode;
#[cfg(feature = "olap")]
use diesel::{associations::Has... | crates/storage_impl/src/payouts/payouts.rs#chunk0 | storage_impl | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: BillingHandler
// File: crates/router/src/core/subscription.rs
// Module: router
// Implementations: 1
pub struct BillingHandler | crates/router/src/core/subscription.rs | router | struct_definition | BillingHandler | 1 | [] | 33 | null | null | null | null | null | null | null |
// File: crates/scheduler/src/db.rs
// Module: scheduler
pub mod process_tracker;
pub mod queue;
| crates/scheduler/src/db.rs | scheduler | full_file | null | null | null | 24 | null | null | null | null | null | null | null |
// Struct: WalletCardData
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WalletCardData | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | WalletCardData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: TrustpaymentsSyncRequestData
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpaymentsSyncRequestData | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsSyncRequestData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: record_internal_attempt_api
// File: crates/router/src/core/revenue_recovery/api.rs
// Module: router
pub fn record_internal_attempt_api(
state: &SessionState,
payment_intent: &payments_domain::PaymentIntent,
revenue_recovery_payment_data: &storage::revenue_recovery::RevenueRecoveryPaymentData... | crates/router/src/core/revenue_recovery/api.rs | router | function_signature | null | null | null | 118 | record_internal_attempt_api | null | null | null | null | null | null |
// Trait: RefundMetricAccumulator
// File: crates/analytics/src/refunds/accumulator.rs
// Module: analytics
pub trait RefundMetricAccumulator | crates/analytics/src/refunds/accumulator.rs | analytics | trait_definition | null | null | null | 36 | null | null | RefundMetricAccumulator | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Gigadat | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Gigadat | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Function: get_mca_from_payment_intent
// File: crates/router/src/utils.rs
// Module: router
pub fn get_mca_from_payment_intent(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payment_intent: PaymentIntent,
connector_name: &str,
) -> CustomResult<domain::MerchantConnectorAccount, e... | crates/router/src/utils.rs | router | function_signature | null | null | null | 80 | get_mca_from_payment_intent | null | null | null | null | null | null |
// Function: get_gsm
// File: crates/router/src/core/payments/retry.rs
// Module: router
pub fn get_gsm<F, FData>(
state: &app::SessionState,
router_data: &types::RouterData<F, FData, types::PaymentsResponseData>,
) -> RouterResult<Option<hyperswitch_domain_models::gsm::GatewayStatusMap>> | crates/router/src/core/payments/retry.rs | router | function_signature | null | null | null | 83 | get_gsm | null | null | null | null | null | null |
// Implementation: impl SuccessBasedRoutingConfigBody
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl SuccessBasedRoutingConfigBody | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 43 | null | SuccessBasedRoutingConfigBody | null | 1 | 1 | null | null |
// Struct: ArchipelAuthType
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ArchipelAuthType | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | ArchipelAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: terminate_two_factor_auth
// File: crates/router/src/core/user.rs
// Module: router
pub fn terminate_two_factor_auth(
state: SessionState,
user_token: auth::UserFromSinglePurposeToken,
skip_two_factor_auth: bool,
) -> UserResponse<user_api::TokenResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 67 | terminate_two_factor_auth | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for HyperswitchVault
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for HyperswitchVault | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | impl_block | null | null | null | 69 | null | HyperswitchVault | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Celero | ConnectorValidation for | 1 | 0 | null | null |
// File: crates/router/src/types/storage/hyperswitch_ai_interaction.rs
// Module: router
pub use diesel_models::hyperswitch_ai_interaction::*;
| crates/router/src/types/storage/hyperswitch_ai_interaction.rs | router | full_file | null | null | null | 32 | null | null | null | null | null | null | null |
// Function: customers_delete
// File: crates/router/src/routes/customers.rs
// Module: router
pub fn customers_delete(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<id_type::GlobalCustomerId>,
) -> impl Responder | crates/router/src/routes/customers.rs | router | function_signature | null | null | null | 59 | customers_delete | null | null | null | null | null | null |
// Implementation: impl Dwolla
// File: crates/hyperswitch_connectors/src/connectors/dwolla.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Dwolla | crates/hyperswitch_connectors/src/connectors/dwolla.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Dwolla | null | 1 | 1 | null | null |
// Struct: SantanderRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderRefundRequest | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// File: crates/router/src/middleware.rs
// Module: router
// Public functions: 1
// Public structs: 10
use common_utils::consts::TENANT_HEADER;
use futures::StreamExt;
use router_env::{
logger,
tracing::{field::Empty, Instrument},
};
use crate::{headers, routes::metrics};
/// Middleware to include request I... | crates/router/src/middleware.rs | router | full_file | null | null | null | 4,074 | null | null | null | null | null | null | null |
// Struct: EnableOvercaptureBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Implementations: 2
// Traits: Deref, Default
pub struct EnableOvercaptureBool | crates/common_types/src/primitive_wrappers.rs | common_types | struct_definition | EnableOvercaptureBool | 2 | [
"Deref",
"Default"
] | 48 | null | null | null | null | null | null | null |
// Struct: InputClientTokenData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InputClientTokenData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | InputClientTokenData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Multisafepay | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl RequestContent
// File: crates/common_utils/src/request.rs
// Module: common_utils
// Methods: 1 total (1 public)
impl RequestContent | crates/common_utils/src/request.rs | common_utils | impl_block | null | null | null | 36 | null | RequestContent | null | 1 | 1 | null | null |
// Struct: ListUserRolesByOrgIdPayload
// File: crates/router/src/db/user_role.rs
// Module: router
// Implementations: 0
pub struct ListUserRolesByOrgIdPayload<'a> | crates/router/src/db/user_role.rs | router | struct_definition | ListUserRolesByOrgIdPayload | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/api_models/src/events/recon.rs
// Module: api_models
use common_utils::events::{ApiEventMetric, ApiEventsType};
use masking::PeekInterface;
use crate::recon::{
ReconStatusResponse, ReconTokenResponse, ReconUpdateMerchantRequest, VerifyTokenResponse,
};
impl ApiEventMetric for ReconUpdateMerchantR... | crates/api_models/src/events/recon.rs | api_models | full_file | null | null | null | 230 | null | null | null | null | null | null | null |
// Struct: ChargebeeCustomerDetails
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeCustomerDetails | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeCustomerDetails | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl IncomingWebhook for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Square | IncomingWebhook for | 6 | 0 | null | null |
// Struct: CheckoutOptions
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutOptions | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutOptions | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl Amazonpay
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
// Methods: 5 total (2 public)
impl Amazonpay | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Amazonpay | null | 5 | 2 | null | null |
// Implementation: impl api::PaymentSync for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Facilitapay | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Inespay | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: ProfileUpdate
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct ProfileUpdate | crates/api_models/src/admin.rs | api_models | struct_definition | ProfileUpdate | 0 | [] | 33 | null | null | null | null | null | null | null |
// Function: update_with_specific_fields
// File: crates/diesel_models/src/query/merchant_account.rs
// Module: diesel_models
pub fn update_with_specific_fields(
conn: &PgPooledConn,
identifier: &common_utils::id_type::MerchantId,
merchant_account: MerchantAccountUpdateInternal,
) -> Storag... | crates/diesel_models/src/query/merchant_account.rs | diesel_models | function_signature | null | null | null | 73 | update_with_specific_fields | null | null | null | null | null | null |
// Implementation: impl fred::types::FromRedis for for SaddReply
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Methods: 1 total (0 public)
impl fred::types::FromRedis for for SaddReply | crates/redis_interface/src/types.rs | redis_interface | impl_block | null | null | null | 53 | null | SaddReply | fred::types::FromRedis for | 1 | 0 | null | null |
// Struct: NexixpayOperationResponse
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexixpayOperationResponse | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | NexixpayOperationResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: Reply
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Reply | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs | hyperswitch_connectors | struct_definition | Reply | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: ZenErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZenErrorResponse | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ZenErrorResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: delete_user_scoped_dashboard_metadata_by_merchant_id_data_key
// File: crates/diesel_models/src/query/dashboard_metadata.rs
// Module: diesel_models
pub fn delete_user_scoped_dashboard_metadata_by_merchant_id_data_key(
conn: &PgPooledConn,
user_id: String,
merchant_id: id_type::Mer... | crates/diesel_models/src/query/dashboard_metadata.rs | diesel_models | function_signature | null | null | null | 91 | delete_user_scoped_dashboard_metadata_by_merchant_id_data_key | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Billwerk | api::RefundExecute for | 0 | 0 | null | null |
// Struct: TsysRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysRefundRequest | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Xendit | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Xendit | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Function: get_order_error_response
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
pub fn get_order_error_response(
&self,
res: Response,
event_builder: Option<&mut ConnectorEvent>,
) -> CustomResult<ErrorResponse, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | function_signature | null | null | null | 72 | get_order_error_response | null | null | null | null | null | null |
// Struct: CreateDynamicRoutingWrapper
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct CreateDynamicRoutingWrapper | crates/api_models/src/routing.rs | api_models | struct_definition | CreateDynamicRoutingWrapper | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: PaymentUpdateIntent
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentUpdateIntent | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | PaymentUpdateIntent | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Sift
// File: crates/hyperswitch_connectors/src/connectors/sift.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Sift | crates/hyperswitch_connectors/src/connectors/sift.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Sift | api::ConnectorAccessToken for | 0 | 0 | null | null |
// File: crates/diesel_models/src/query/blocklist_lookup.rs
// Module: diesel_models
// Public functions: 3
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods};
use super::generics;
use crate::{
blocklist_lookup::{BlocklistLookup, BlocklistLookupNew},
schema::blocklist_lookup::dsl,
... | crates/diesel_models/src/query/blocklist_lookup.rs | diesel_models | full_file | null | null | null | 352 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Worldpay | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Struct: FraudCheckCheckoutData
// File: crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct FraudCheckCheckoutData | crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs | hyperswitch_domain_models | struct_definition | FraudCheckCheckoutData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/blocklist.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Blocklist> | crates/diesel_models/src/query/blocklist.rs | diesel_models | function_signature | null | null | null | 43 | insert | null | null | null | null | null | null |
// Struct: CheckTokenStatusResponsePayload
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct CheckTokenStatusResponsePayload | crates/router/src/types/payment_methods.rs | router | struct_definition | CheckTokenStatusResponsePayload | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: IdealDetails
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IdealDetails | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | IdealDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: Message
// File: crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Message | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs | hyperswitch_connectors | struct_definition | Message | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: CustomerAcceptance
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct CustomerAcceptance | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | CustomerAcceptance | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: generate_and_set_client_secret
// File: crates/diesel_models/src/subscription.rs
// Module: diesel_models
pub fn generate_and_set_client_secret(&mut self) -> Secret<String> | crates/diesel_models/src/subscription.rs | diesel_models | function_signature | null | null | null | 42 | generate_and_set_client_secret | null | null | null | null | null | null |
// Function: generate_profile_refund_report
// File: crates/router/src/analytics.rs
// Module: router
pub fn generate_profile_refund_report(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<ReportRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 67 | generate_profile_refund_report | null | null | null | null | null | null |
// Struct: RefundsResponseData
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RefundsResponseData | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | struct_definition | RefundsResponseData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: retrieve_poll_status
// File: crates/openapi/src/routes/poll.rs
// Module: openapi
pub fn retrieve_poll_status() | crates/openapi/src/routes/poll.rs | openapi | function_signature | null | null | null | 31 | retrieve_poll_status | null | null | null | null | null | null |
// Struct: Coingate
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::... | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | struct_definition | Coingate | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 128 | null | null | null | null | null | null | null |
// Function: get_flow_from_card_number
// File: crates/router/src/routes/dummy_connector/utils.rs
// Module: router
pub fn get_flow_from_card_number(
self,
connector: DummyConnectors,
) -> types::DummyConnectorResult<types::DummyConnectorCardFlow> | crates/router/src/routes/dummy_connector/utils.rs | router | function_signature | null | null | null | 61 | get_flow_from_card_number | null | null | null | null | null | null |
// Struct: AddAccessTokenResult
// File: crates/router/src/types.rs
// Module: router
// Implementations: 0
pub struct AddAccessTokenResult | crates/router/src/types.rs | router | struct_definition | AddAccessTokenResult | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: BreadpayTransactionResponse
// File: crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BreadpayTransactionResponse | crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs | hyperswitch_connectors | struct_definition | BreadpayTransactionResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_status
// File: crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs
// Module: hyperswitch_connectors
pub fn get_status(status: String) -> api_models::webhooks::IncomingWebhookEvent | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 53 | get_status | null | null | null | null | null | null |
// Function: generate_from_string
// File: crates/common_utils/src/id_type/global_id/payment_methods.rs
// Module: common_utils
// Documentation: Construct a new GlobalPaymentMethodId from a string
pub fn generate_from_string(value: String) -> CustomResult<Self, GlobalPaymentMethodIdError> | crates/common_utils/src/id_type/global_id/payment_methods.rs | common_utils | function_signature | null | null | null | 62 | generate_from_string | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Mifinity | IncomingWebhook for | 3 | 0 | null | null |
// Function: call_multiple_connectors_service
// File: crates/router/src/core/payments.rs
// Module: router
pub fn call_multiple_connectors_service<F, Op, Req, D>(
state: &SessionState,
merchant_context: &domain::MerchantContext,
connectors: api::SessionConnectorDatas,
_operation: &Op,
mut payment_... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 254 | call_multiple_connectors_service | null | null | null | null | null | null |
// Struct: CheckoutTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutTokenResponse | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutTokenResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: find_by_global_id
// File: crates/diesel_models/src/query/refund.rs
// Module: diesel_models
pub fn find_by_global_id(
conn: &PgPooledConn,
id: &common_utils::id_type::GlobalRefundId,
) -> StorageResult<Self> | crates/diesel_models/src/query/refund.rs | diesel_models | function_signature | null | null | null | 65 | find_by_global_id | null | null | null | null | null | null |
// Struct: ErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorResponse | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | ErrorResponse | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: WisePayoutsWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WisePayoutsWebhookBody | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WisePayoutsWebhookBody | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl RefundExecute for for Threedsecureio
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundExecute for for Threedsecureio | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Threedsecureio | RefundExecute for | 0 | 0 | null | null |
// Function: find_last_successful_or_partially_captured_attempt_by_payment_id_merchant_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn find_last_successful_or_partially_captured_attempt_by_payment_id_merchant_id(
conn: &PgPooledConn,
payment_id: &common_uti... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 100 | find_last_successful_or_partially_captured_attempt_by_payment_id_merchant_id | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payment_intents::{
PaymentIntentDimensions, PaymentIntentFilters, PaymentIntentMetricsBucketIdentifier,
},
Granularity,... | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs | analytics | full_file | null | null | null | 925 | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.