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_request_payload
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_request_payload(input: JsValue, response: JsValue) -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 46 | get_request_payload | null | null | null | null | null | null |
// Struct: Nexixpay
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: api::Payment, api::PaymentsPreProcessing, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapt... | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | struct_definition | Nexixpay | 19 | [
"api::Payment",
"api::PaymentsPreProcessing",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"api::... | 141 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/authentication.rs
// Module: router
// Public functions: 1
// Public structs: 4
use std::str::FromStr;
use api_models::enums;
use common_utils::errors::CustomResult;
use error_stack::ResultExt;
pub use hyperswitch_domain_models::{
router_flow_types::authentication::{
A... | crates/router/src/types/api/authentication.rs | router | full_file | null | null | null | 994 | null | null | null | null | null | null | null |
// Struct: AuthipayRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthipayRefundRequest | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | AuthipayRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl fmt::Display for for BokuRefundReasonCode
// File: crates/hyperswitch_connectors/src/connectors/boku/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl fmt::Display for for BokuRefundReasonCode | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | BokuRefundReasonCode | fmt::Display for | 1 | 0 | null | null |
// Struct: FiservChargesResponse
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservChargesResponse | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservChargesResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: PaymentDistributionRow
// File: crates/analytics/src/payments/distribution.rs
// Module: analytics
// Implementations: 0
pub struct PaymentDistributionRow | crates/analytics/src/payments/distribution.rs | analytics | struct_definition | PaymentDistributionRow | 0 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/common_enums/src/enums/accounts.rs
// Module: common_enums
use serde;
use utoipa::ToSchema;
#[derive(
Copy,
Default,
Clone,
Debug,
Eq,
PartialEq,
serde::Deserialize,
serde::Serialize,
strum::Display,
strum::EnumString,
ToSchema,
Hash,
)]
#[router_derive::... | crates/common_enums/src/enums/accounts.rs | common_enums | full_file | null | null | null | 454 | null | null | null | null | null | null | null |
// File: crates/router/src/utils/user/password.rs
// Module: router
// Public functions: 4
use argon2::{
password_hash::{
rand_core::OsRng, Error as argon2Err, PasswordHash, PasswordHasher, PasswordVerifier,
SaltString,
},
Argon2,
};
use common_utils::errors::CustomResult;
use error_stack::... | crates/router/src/utils/user/password.rs | router | full_file | null | null | null | 560 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for ConnectorAgnosticMitChoice
// File: crates/api_models/src/admin.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for ConnectorAgnosticMitChoice | crates/api_models/src/admin.rs | api_models | impl_block | null | null | null | 66 | null | ConnectorAgnosticMitChoice | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// File: crates/router/src/db/ephemeral_key.rs
// Module: router
#[cfg(feature = "v2")]
use common_utils::id_type;
use time::ext::NumericalDuration;
#[cfg(feature = "v2")]
use crate::types::storage::ephemeral_key::{ClientSecretType, ClientSecretTypeNew};
use crate::{
core::errors::{self, CustomResult},
db::Mo... | crates/router/src/db/ephemeral_key.rs | router | full_file | null | null | null | 2,869 | null | null | null | null | null | null | null |
// Implementation: impl Default for for AuthenticationUpdateInternal
// File: crates/diesel_models/src/authentication.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl Default for for AuthenticationUpdateInternal | crates/diesel_models/src/authentication.rs | diesel_models | impl_block | null | null | null | 45 | null | AuthenticationUpdateInternal | Default for | 1 | 0 | null | null |
// File: crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitc... | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs | analytics | full_file | null | null | null | 1,388 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl webhooks::IncomingWebhook for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Cryptopay | webhooks::IncomingWebhook for | 6 | 0 | null | null |
// Function: is_eligible_for_local_payout_cancellation
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
pub fn is_eligible_for_local_payout_cancellation(status: api_enums::PayoutStatus) -> bool | crates/router/src/core/payouts/helpers.rs | router | function_signature | null | null | null | 56 | is_eligible_for_local_payout_cancellation | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Braintree
// File: crates/hyperswitch_connectors/src/connectors/braintree.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Braintree | crates/hyperswitch_connectors/src/connectors/braintree.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Braintree | api::Payment for | 0 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Rapyd | api::MandateSetup for | 0 | 0 | null | null |
// Struct: CheckoutApplePayHeader
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutApplePayHeader | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutApplePayHeader | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl RoleInfo
// File: crates/router/src/services/authorization/roles.rs
// Module: router
// Methods: 15 total (13 public)
impl RoleInfo | crates/router/src/services/authorization/roles.rs | router | impl_block | null | null | null | 40 | null | RoleInfo | null | 15 | 13 | null | null |
// Implementation: impl Default for for CardTestingGuardConfig
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl Default for for CardTestingGuardConfig | crates/diesel_models/src/business_profile.rs | diesel_models | impl_block | null | null | null | 48 | null | CardTestingGuardConfig | Default for | 1 | 0 | null | null |
is_pre_network_tokenization_enabled: None,
three_ds_decision_rule_algorithm: None,
acquirer_config_map,
merchant_category_code: None,
merchant_country_code: None,
dispute_polling_interval: None,
is_manual_ret... | crates/hyperswitch_domain_models/src/business_profile.rs#chunk1 | hyperswitch_domain_models | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Implementation: impl Engine for for Kv2
// File: crates/external_services/src/hashicorp_vault/core.rs
// Module: external_services
// Methods: 1 total (0 public)
impl Engine for for Kv2 | crates/external_services/src/hashicorp_vault/core.rs | external_services | impl_block | null | null | null | 48 | null | Kv2 | Engine for | 1 | 0 | null | null |
// Function: into_level
// File: crates/router_env/src/logger/config.rs
// Module: router_env
// Documentation: Returns the most verbose [`tracing::Level`]
pub fn into_level(self) -> tracing::Level | crates/router_env/src/logger/config.rs | router_env | function_signature | null | null | null | 47 | into_level | null | null | null | null | null | null |
// Implementation: impl WorldpayPaymentsRequestData
for for RouterData
// File: crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs
// Module: hyperswitch_connectors
// Methods: 14 total (0 public)
impl WorldpayPaymentsRequestData
for for RouterData | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | RouterData | WorldpayPaymentsRequestData
for | 14 | 0 | null | null |
// Struct: RazorpayWebhookPayloadBody
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RazorpayWebhookPayloadBody | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | RazorpayWebhookPayloadBody | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/analytics/src/refunds/metrics/refund_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
refunds::{RefundDimensions, RefundFilters, RefundMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use error_stack::Resul... | crates/analytics/src/refunds/metrics/refund_count.rs | analytics | full_file | null | null | null | 871 | null | null | null | null | null | null | null |
// Implementation: impl SearchFilters
// File: crates/api_models/src/analytics/search.rs
// Module: api_models
// Methods: 1 total (1 public)
impl SearchFilters | crates/api_models/src/analytics/search.rs | api_models | impl_block | null | null | null | 38 | null | SearchFilters | null | 1 | 1 | null | null |
pub payment_method_id: String,
pub status: Option<common_enums::PaymentMethodStatus>,
pub network_transaction_id: Option<String>,
pub connector_mandate_details: Option<pii::SecretSerdeValue>,
pub update_status: UpdateStatus,
#[serde(skip_serializing_if = "Option::is_none")]
pub update_error:... | crates/api_models/src/payment_methods.rs#chunk3 | api_models | chunk | null | null | null | 4,940 | null | null | null | null | null | null | null |
// Struct: UserFromEmailRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct UserFromEmailRequest | crates/api_models/src/user.rs | api_models | struct_definition | UserFromEmailRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl Tokenization
// File: crates/hyperswitch_domain_models/src/tokenization.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl Tokenization | crates/hyperswitch_domain_models/src/tokenization.rs | hyperswitch_domain_models | impl_block | null | null | null | 43 | null | Tokenization | null | 1 | 1 | null | null |
// Struct: PaymentDetails
// File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentDetails | crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs | hyperswitch_domain_models | struct_definition | PaymentDetails | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorRedirectResponse for for Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Digitalvirgo | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Digitalvirgo | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Struct: CybersourceConnectorMetadataObject
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceConnectorMetadataObject | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceConnectorMetadataObject | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl NuveiAuthorizePreprocessingCommon for for PaymentsAuthorizeData
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Methods: 17 total (0 public)
impl NuveiAuthorizePreprocessingCommon for for PaymentsAuthorizeData | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 71 | null | PaymentsAuthorizeData | NuveiAuthorizePreprocessingCommon for | 17 | 0 | null | null |
// Struct: OpennodePaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OpennodePaymentsRequest | crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs | hyperswitch_connectors | struct_definition | OpennodePaymentsRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: ApplicationInformation
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplicationInformation | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | ApplicationInformation | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: Void
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Void | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | Void | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl GetPaymentMethodType for for UpiData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl GetPaymentMethodType for for UpiData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 58 | null | UpiData | GetPaymentMethodType for | 1 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Wellsfargo
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Wellsfargo | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Wellsfargo | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: PaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentsResponse | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | PaymentsResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/scheduler/src/configs/validations.rs
// Module: scheduler
// Public functions: 3
use common_utils::ext_traits::ConfigExt;
use storage_impl::errors::ApplicationError;
impl super::settings::SchedulerSettings {
pub fn validate(&self) -> Result<(), ApplicationError> {
use common_utils::fp_util... | crates/scheduler/src/configs/validations.rs | scheduler | full_file | null | null | null | 308 | null | null | null | null | null | null | null |
// Struct: Card
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct Card | crates/api_models/src/payment_methods.rs | api_models | struct_definition | Card | 0 | [] | 32 | null | null | null | null | null | null | null |
// Implementation: impl super::behaviour::Conversion for for UserKeyStore
// File: crates/router/src/types/domain/user_key_store.rs
// Module: router
// Methods: 3 total (0 public)
impl super::behaviour::Conversion for for UserKeyStore | crates/router/src/types/domain/user_key_store.rs | router | impl_block | null | null | null | 56 | null | UserKeyStore | super::behaviour::Conversion for | 3 | 0 | null | null |
// Function: get_surcharge_metadata_redis_key
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn get_surcharge_metadata_redis_key(payment_attempt_id: &str) -> String | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 44 | get_surcharge_metadata_redis_key | null | null | null | null | null | null |
// Struct: RefundListRequest
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundListRequest | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundListRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: DeutschebankAuthType
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankAuthType | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: is_confirm_operation
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
pub fn is_confirm_operation(&self) -> bool | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | function_signature | null | null | null | 42 | is_confirm_operation | null | null | null | null | null | null |
// File: crates/router/src/core/payments/helpers.rs
// Module: router
// Public functions: 143
// Public structs: 9
use std::{borrow::Cow, collections::HashSet, net::IpAddr, ops::Deref, str::FromStr};
pub use ::payment_methods::helpers::{
populate_bin_details_for_payment_method_create,
validate_payment_method... | crates/router/src/core/payments/helpers.rs#chunk0 | router | chunk | null | null | null | 8,181 | null | null | null | null | null | null | null |
// Implementation: impl Deref for for FloatDecimal
// File: crates/router/src/utils/currency.rs
// Module: router
// Methods: 1 total (0 public)
impl Deref for for FloatDecimal | crates/router/src/utils/currency.rs | router | impl_block | null | null | null | 44 | null | FloatDecimal | Deref for | 1 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use api_models::{self, webhooks::IncomingWebhookEvent};
#[cfg(feature = "payouts")]
use base64::Engine;
#[cfg(feature = "payouts")]
use common_utils::crypto;
use common_ut... | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | full_file | null | null | null | 3,879 | null | null | null | null | null | null | null |
// Struct: ErrorDistributionRow
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Implementations: 0
pub struct ErrorDistributionRow | crates/analytics/src/payment_intents/accumulator.rs | analytics | struct_definition | ErrorDistributionRow | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nexinets | api::PaymentSync for | 0 | 0 | null | null |
};
let payment_response_data = PaymentsResponseData::TransactionResponse {
resource_id: ResponseId::ConnectorTransactionId(response.id.clone()),
redirection_data: Box::new(redirection_data),
mandate_reference: Box::new(None),
connector_metadata: None,
network_txn_id: None... | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 1,612 | null | null | null | null | null | null | null |
// Struct: PmTokenUpdated
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct PmTokenUpdated | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | struct_definition | PmTokenUpdated | 1 | [
"State"
] | 47 | null | null | null | null | null | null | null |
// Struct: DeliverySpecifications
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeliverySpecifications | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | DeliverySpecifications | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl PayoutFulfill for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PayoutFulfill for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payone | PayoutFulfill for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Payu | api::RefundSync for | 0 | 0 | null | null |
// Struct: RefundLink
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundLink | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | RefundLink | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: set_shipping_data
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
pub fn set_shipping_data(mut self, address: Option<&Address>) -> Result<Self, Error> | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 55 | set_shipping_data | null | null | null | null | null | null |
// Function: with_mandate_flow
// File: crates/router/src/core/payments.rs
// Module: router
pub fn with_mandate_flow(
mut self,
is_mandate_flow: bool,
connector_mandate_details: Option<
hyperswitch_domain_models::mandates::PaymentsMandateReference,
>,
) -> Self | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 77 | with_mandate_flow | null | null | null | null | null | null |
// Function: check_if_pull_mechanism_for_external_3ds_enabled_from_connector_metadata
// File: crates/router/src/utils.rs
// Module: router
pub fn check_if_pull_mechanism_for_external_3ds_enabled_from_connector_metadata(
metadata: Option<Value>,
) -> bool | crates/router/src/utils.rs | router | function_signature | null | null | null | 60 | check_if_pull_mechanism_for_external_3ds_enabled_from_connector_metadata | null | null | null | null | null | null |
// Struct: SamsungPayTokenData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SamsungPayTokenData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | SamsungPayTokenData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: generate_payment_method_session_response
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn generate_payment_method_session_response(
payment_method_session: hyperswitch_domain_models::payment_methods::PaymentMethodSession,
client_secret: Secret<String>,
a... | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 105 | generate_payment_method_session_response | null | null | null | null | null | null |
// Struct: BlocklistLookup
// File: crates/diesel_models/src/blocklist_lookup.rs
// Module: diesel_models
// Implementations: 0
pub struct BlocklistLookup | crates/diesel_models/src/blocklist_lookup.rs | diesel_models | struct_definition | BlocklistLookup | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl GetPaymentMethodType for for GiftCardData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl GetPaymentMethodType for for GiftCardData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 58 | null | GiftCardData | GetPaymentMethodType for | 1 | 0 | null | null |
// Function: rule_conditions_array
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn rule_conditions_array(input: &str) -> ParseResult<&str, Vec<ast::IfStatement>> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 50 | rule_conditions_array | null | null | null | null | null | null |
// Struct: NmiWebhookObjectReference
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiWebhookObjectReference | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiWebhookObjectReference | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: OnboardTransferMethodRequest
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OnboardTransferMethodRequest | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | struct_definition | OnboardTransferMethodRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl SubscriptionNew
// File: crates/diesel_models/src/subscription.rs
// Module: diesel_models
// Methods: 2 total (2 public)
impl SubscriptionNew | crates/diesel_models/src/subscription.rs | diesel_models | impl_block | null | null | null | 38 | null | SubscriptionNew | null | 2 | 2 | null | null |
// Struct: RoutingDictionary
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingDictionary | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingDictionary | 0 | [] | 34 | null | null | null | null | null | null | null |
// Function: delete_merchant_account
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn delete_merchant_account(
state: web::Data<AppState>,
req: HttpRequest,
mid: web::Path<common_utils::id_type::MerchantId>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 63 | delete_merchant_account | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Payeezy | api::PaymentCapture for | 0 | 0 | null | null |
// Function: is_update_required
// File: crates/router/src/types/payment_methods.rs
// Module: router
pub fn is_update_required(
&self,
data_stored_in_vault: api::payment_methods::CardDetailFromLocker,
) -> bool | crates/router/src/types/payment_methods.rs | router | function_signature | null | null | null | 55 | is_update_required | null | null | null | null | null | null |
// Struct: DBEnumWrapper
// File: crates/analytics/src/types.rs
// Module: analytics
// Implementations: 2
// Traits: Default, FromStr
pub struct DBEnumWrapper<T: FromStr + Display> | crates/analytics/src/types.rs | analytics | struct_definition | DBEnumWrapper | 2 | [
"Default",
"FromStr"
] | 49 | null | null | null | null | null | null | null |
// Implementation: impl AuthenticationId
// File: crates/common_utils/src/id_type/authentication.rs
// Module: common_utils
// Methods: 2 total (2 public)
impl AuthenticationId | crates/common_utils/src/id_type/authentication.rs | common_utils | impl_block | null | null | null | 38 | null | AuthenticationId | null | 2 | 2 | null | null |
// Function: create_access_token
// File: crates/router/src/core/payouts/access_token.rs
// Module: router
pub fn create_access_token<F: Clone + 'static>(
state: &SessionState,
connector_data: &api_types::ConnectorData,
merchant_context: &domain::MerchantContext,
router_data: &mut types::PayoutsRouterD... | crates/router/src/core/payouts/access_token.rs | router | function_signature | null | null | null | 98 | create_access_token | null | null | null | null | null | null |
// Function: profile_acquirer_create
// File: crates/openapi/src/routes/profile_acquirer.rs
// Module: openapi
pub fn profile_acquirer_create() | crates/openapi/src/routes/profile_acquirer.rs | openapi | function_signature | null | null | null | 34 | profile_acquirer_create | null | null | null | null | null | null |
// Struct: XenditRouterData
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct XenditRouterData<T> | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | XenditRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: parse_csv
// File: crates/router/src/core/payment_methods/tokenize.rs
// Module: router
pub fn parse_csv(
merchant_id: &id_type::MerchantId,
data: &[u8],
) -> csv::Result<Vec<payment_methods_api::CardNetworkTokenizeRequest>> | crates/router/src/core/payment_methods/tokenize.rs | router | function_signature | null | null | null | 64 | parse_csv | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Phonepe | api::PaymentSync for | 0 | 0 | null | null |
// Struct: TsysPaymentAuthSaleRequest
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysPaymentAuthSaleRequest | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysPaymentAuthSaleRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Opayo | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Opayo | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: RedirectUrls
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedirectUrls | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | RedirectUrls | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: PaysafeApplePayDecryptedData
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeApplePayDecryptedData | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeApplePayDecryptedData | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/gsm.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<GatewayStatusMap> | crates/diesel_models/src/query/gsm.rs | diesel_models | function_signature | null | null | null | 45 | insert | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Bitpay
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Bitpay | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Bitpay | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: BokuRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/boku/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BokuRefundRequest | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs | hyperswitch_connectors | struct_definition | BokuRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paypal | api::RefundSync for | 0 | 0 | null | null |
// Function: list_blocked_payment_methods
// File: crates/router/src/routes/blocklist.rs
// Module: router
pub fn list_blocked_payment_methods(
state: web::Data<AppState>,
req: HttpRequest,
query_payload: web::Query<api_blocklist::ListBlocklistQuery>,
) -> HttpResponse | crates/router/src/routes/blocklist.rs | router | function_signature | null | null | null | 65 | list_blocked_payment_methods | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Noon
// File: crates/hyperswitch_connectors/src/connectors/noon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Noon | crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Noon | api::PaymentSync for | 0 | 0 | null | null |
// Struct: SetupMandateRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SetupMandateRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | SetupMandateRequestData | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/constants.rs
// Module: hyperswitch_connectors
/// Header Constants
pub(crate) mod headers {
pub(crate) const ACCEPT: &str = "Accept";
pub(crate) const API_KEY: &str = "API-KEY";
pub(crate) const APIKEY: &str = "apikey";
pub(crate) const API_TOKEN: &str = "Api... | crates/hyperswitch_connectors/src/constants.rs | hyperswitch_connectors | full_file | null | null | null | 825 | null | null | null | null | null | null | null |
// Function: get_metrics
// File: crates/analytics/src/payments/core.rs
// Module: analytics
pub fn get_metrics(
pool: &AnalyticsProvider,
ex_rates: &Option<ExchangeRates>,
auth: &AuthInfo,
req: GetPaymentMetricRequest,
) -> AnalyticsResult<PaymentsMetricsResponse<MetricsBucketResponse>> | crates/analytics/src/payments/core.rs | analytics | function_signature | null | null | null | 73 | get_metrics | null | null | null | null | null | null |
// Struct: FrmConfigsObject
// File: crates/router/src/core/fraud_check/types.rs
// Module: router
// Implementations: 0
pub struct FrmConfigsObject | crates/router/src/core/fraud_check/types.rs | router | struct_definition | FrmConfigsObject | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: CalSuccessRateEventRequest
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct CalSuccessRateEventRequest | crates/api_models/src/routing.rs | api_models | struct_definition | CalSuccessRateEventRequest | 0 | [] | 40 | 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: generic_update_by_id
// File: crates/diesel_models/src/query/generics.rs
// Module: diesel_models
pub fn generic_update_by_id<T, V, Pk, R>(
conn: &PgPooledConn,
id: Pk,
values: V,
) -> StorageResult<R>
where
T: FindDsl<Pk> + HasTable<Table = T> + LimitDsl + Table + 'static,
V: AsChange... | crates/diesel_models/src/query/generics.rs | diesel_models | function_signature | null | null | null | 352 | generic_update_by_id | null | null | null | null | null | null |
// Implementation: impl Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Stripebilling | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Stripebilling | null | 1 | 1 | null | null |
let redis_conn = state
.store
.get_redis_conn()
.change_context(errors::ApiErrorResponse::InternalServerError)
.attach_printable("Failed to get redis connection")?;
redis_conn
.serialize_and_set_key_with_expiry(
&self.key_for_to... | crates/router/src/routes/payment_methods.rs#chunk1 | router | chunk | null | null | null | 3,423 | 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.