text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl api::RefundSync for for CtpMastercard
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for CtpMastercard | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | CtpMastercard | api::RefundSync for | 0 | 0 | null | null |
// Function: normalize_retry_window
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
// Documentation: Normalize retry window to exactly `RETRY_WINDOW_DAYS` days (today to `RETRY_WINDOW_DAYS - 1` days ago).
pub fn normalize_retry_window(
payment_processor_token: &... | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 82 | normalize_retry_window | null | null | null | null | null | null |
// Struct: BillTo
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillTo | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | BillTo | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: payments_incremental_authorization
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_incremental_authorization() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 35 | payments_incremental_authorization | null | null | null | null | null | null |
// Function: trigger_payments_webhook
// File: crates/router/src/utils.rs
// Module: router
pub fn trigger_payments_webhook<F, Op, D>(
merchant_context: domain::MerchantContext,
business_profile: domain::Profile,
payment_data: D,
customer: Option<domain::Customer>,
state: &SessionState,
operati... | crates/router/src/utils.rs | router | function_signature | null | null | null | 112 | trigger_payments_webhook | null | null | null | null | null | null |
// Struct: MigrateCardResponse
// File: crates/api_models/src/locker_migration.rs
// Module: api_models
// Implementations: 0
pub struct MigrateCardResponse | crates/api_models/src/locker_migration.rs | api_models | struct_definition | MigrateCardResponse | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutFulfill for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutFulfill for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Cybersource | api::PayoutFulfill for | 0 | 0 | null | null |
// Struct: StaxAuthType
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StaxAuthType | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | struct_definition | StaxAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: perform_surcharge_decision_management_for_saved_cards
// File: crates/router/src/core/payment_methods/surcharge_decision_configs.rs
// Module: router
pub fn perform_surcharge_decision_management_for_saved_cards(
state: &SessionState,
algorithm_ref: routing::RoutingAlgorithmRef,
payment_attempt... | crates/router/src/core/payment_methods/surcharge_decision_configs.rs | router | function_signature | null | null | null | 112 | perform_surcharge_decision_management_for_saved_cards | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Paysafe | api::RefundExecute for | 0 | 0 | null | null |
// Function: delete_by_payment_method_id
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn delete_by_payment_method_id(
conn: &PgPooledConn,
payment_method_id: String,
) -> StorageResult<Self> | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 59 | delete_by_payment_method_id | null | null | null | null | null | null |
// Struct: ConnectorParamsWithSecondaryBaseUrl
// File: crates/hyperswitch_domain_models/src/connector_endpoints.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ConnectorParamsWithSecondaryBaseUrl | crates/hyperswitch_domain_models/src/connector_endpoints.rs | hyperswitch_domain_models | struct_definition | ConnectorParamsWithSecondaryBaseUrl | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/router/src/core/utils/refunds_transformers.rs
// Module: router
// Public structs: 1
pub struct SplitRefundInput {
pub refund_request: Option<common_types::refunds::SplitRefund>,
pub payment_charges: Option<common_types::payments::ConnectorChargeResponseData>,
pub split_payment_request: Opt... | crates/router/src/core/utils/refunds_transformers.rs | router | full_file | null | null | null | 94 | null | null | null | null | null | null | null |
// Function: new
// File: crates/common_utils/src/encryption.rs
// Module: common_utils
pub fn new(item: Secret<Vec<u8>, EncryptionStrategy>) -> Self | crates/common_utils/src/encryption.rs | common_utils | function_signature | null | null | null | 37 | new | null | null | null | null | null | null |
// Function: get_refund_update_for_refund_response_data
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn get_refund_update_for_refund_response_data(
router_data: RouterData<api::Execute, types::RefundsData, types::RefundsResponseData>,
connector: &api::ConnectorData,
refund_response_d... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 118 | get_refund_update_for_refund_response_data | null | null | null | null | null | null |
// Function: update_by_merchant_id_event_id
// File: crates/diesel_models/src/query/events.rs
// Module: diesel_models
pub fn update_by_merchant_id_event_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
event_id: &str,
event: EventUpdateInternal,
) -> Storag... | crates/diesel_models/src/query/events.rs | diesel_models | function_signature | null | null | null | 83 | update_by_merchant_id_event_id | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 17
use common_enums::enums;
use common_utils::types::StringMinorUnit;
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data:... | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 4,567 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Redsys
// File: crates/hyperswitch_connectors/src/connectors/redsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Redsys | crates/hyperswitch_connectors/src/connectors/redsys.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Redsys | ConnectorValidation for | 0 | 0 | null | null |
// File: crates/analytics/src/payments.rs
// Module: analytics
pub mod accumulator;
mod core;
pub mod distribution;
pub mod filters;
pub mod metrics;
pub mod types;
pub use accumulator::{
PaymentDistributionAccumulator, PaymentMetricAccumulator, PaymentMetricsAccumulator,
};
pub trait PaymentAnalytics:
metric... | crates/analytics/src/payments.rs | analytics | full_file | null | null | null | 95 | null | null | null | null | null | null | null |
// File: crates/router/src/types/storage/dynamic_routing_stats.rs
// Module: router
pub use diesel_models::dynamic_routing_stats::{
DynamicRoutingStats, DynamicRoutingStatsNew, DynamicRoutingStatsUpdate,
};
| crates/router/src/types/storage/dynamic_routing_stats.rs | router | full_file | null | null | null | 44 | null | null | null | null | null | null | null |
// Implementation: impl api::subscriptions::GetSubscriptionEstimateFlow for for Chargebee
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::subscriptions::GetSubscriptionEstimateFlow for for Chargebee | crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | impl_block | null | null | null | 68 | null | Chargebee | api::subscriptions::GetSubscriptionEstimateFlow for | 0 | 0 | null | null |
// Implementation: impl api::Refund for for Braintree
// File: crates/hyperswitch_connectors/src/connectors/braintree.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Braintree | crates/hyperswitch_connectors/src/connectors/braintree.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Braintree | api::Refund for | 0 | 0 | null | null |
// Struct: AvgTicketSize
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
// Implementations: 0
pub struct AvgTicketSize | crates/api_models/src/analytics/payments.rs | api_models | struct_definition | AvgTicketSize | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/operations/payment_capture_v2.rs
// Module: router
// Public structs: 1
use api_models::{enums::FrmSuggestion, payments::PaymentsCaptureRequest};
use async_trait::async_trait;
use error_stack::ResultExt;
use hyperswitch_domain_models::payments::PaymentCaptureData;
use router_en... | crates/router/src/core/payments/operations/payment_capture_v2.rs | router | full_file | null | null | null | 2,612 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/cache.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/cache.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Function: log_dispute_delete
// File: crates/router/src/services/kafka.rs
// Module: router
pub fn log_dispute_delete(
&self,
delete_old_dispute: &Dispute,
tenant_id: TenantID,
) -> MQResult<()> | crates/router/src/services/kafka.rs | router | function_signature | null | null | null | 58 | log_dispute_delete | null | null | null | null | null | null |
#[strum(serialize = "11")]
SamutPrakan,
#[strum(serialize = "74")]
SamutSakhon,
#[strum(serialize = "75")]
SamutSongkhram,
#[strum(serialize = "19")]
Saraburi,
#[strum(serialize = "91")]
Satun,
#[strum(serialize = "33")]
SiSaKet,
#[strum(serialize = "17")]
SingBur... | crates/common_enums/src/enums.rs#chunk3 | common_enums | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Struct: ConnectorParamsWithKeys
// File: crates/hyperswitch_domain_models/src/connector_endpoints.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ConnectorParamsWithKeys | crates/hyperswitch_domain_models/src/connector_endpoints.rs | hyperswitch_domain_models | struct_definition | ConnectorParamsWithKeys | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: update_by_merchant_id_authentication_id
// File: crates/diesel_models/src/query/authentication.rs
// Module: diesel_models
pub fn update_by_merchant_id_authentication_id(
conn: &PgPooledConn,
merchant_id: common_utils::id_type::MerchantId,
authentication_id: common_utils::id_type::... | crates/diesel_models/src/query/authentication.rs | diesel_models | function_signature | null | null | null | 88 | update_by_merchant_id_authentication_id | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hyperwallet | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: BankOfAmericaRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaRefundRequest | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaRefundRequest | 0 | [] | 56 | null | null | null | null | null | null | null |
/// Enable split payments, i.e., split the amount between multiple payment methods
#[schema(value_type = Option<SplitTxnsEnabled>, default = "skip")]
pub split_txns_enabled: Option<common_enums::SplitTxnsEnabled>,
/// Merchant Connector id to be stored for billing_processor connector
#[schema(valu... | crates/api_models/src/admin.rs#chunk4 | api_models | chunk | null | null | null | 3,552 | null | null | null | null | null | null | null |
// Implementation: impl GlobalStorageInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 1 total (0 public)
impl GlobalStorageInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | GlobalStorageInterface for | 1 | 0 | null | null |
// Implementation: impl RecoveryPaymentAttempt
// File: crates/hyperswitch_domain_models/src/revenue_recovery.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl RecoveryPaymentAttempt | crates/hyperswitch_domain_models/src/revenue_recovery.rs | hyperswitch_domain_models | impl_block | null | null | null | 46 | null | RecoveryPaymentAttempt | null | 1 | 1 | null | null |
// Function: list_user_roles_by_user_id_across_tenants
// File: crates/diesel_models/src/query/user_role.rs
// Module: diesel_models
pub fn list_user_roles_by_user_id_across_tenants(
conn: &PgPooledConn,
user_id: String,
limit: Option<u32>,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/user_role.rs | diesel_models | function_signature | null | null | null | 77 | list_user_roles_by_user_id_across_tenants | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cybersource | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/openapi/src/routes/blocklist.rs
// Module: openapi
// Public functions: 4
#[utoipa::path(
post,
path = "/blocklist/toggle",
params (
("status" = bool, Query, description = "Boolean value to enable/disable blocklist"),
),
responses(
(status = 200, description = "Block... | crates/openapi/src/routes/blocklist.rs | openapi | full_file | null | null | null | 487 | null | null | null | null | null | null | null |
// Function: get_payment_method_surcharge_routing_id
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: get_payment_method_surcharge_routing_id
pub fn get_payment_method_surcharge_routing_id(&self) -> String | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 55 | get_payment_method_surcharge_routing_id | null | null | null | null | null | null |
// Function: get_gsm_decision
// File: crates/router/src/core/payments/retry.rs
// Module: router
pub fn get_gsm_decision(
option_gsm: Option<hyperswitch_domain_models::gsm::GatewayStatusMap>,
) -> storage_enums::GsmDecision | crates/router/src/core/payments/retry.rs | router | function_signature | null | null | null | 62 | get_gsm_decision | null | null | null | null | null | null |
// File: crates/external_services/src/grpc_client.rs
// Module: external_services
// Public functions: 3
// Public structs: 5
/// Dyanimc Routing Client interface implementation
#[cfg(feature = "dynamic_routing")]
pub mod dynamic_routing;
/// gRPC based Heath Check Client interface implementation
#[cfg(feature = "dyna... | crates/external_services/src/grpc_client.rs | external_services | full_file | null | null | null | 1,892 | null | null | null | null | null | null | null |
// Struct: EbanxAuthType
// File: crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EbanxAuthType | crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs | hyperswitch_connectors | struct_definition | EbanxAuthType | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl Default for for SmithyGenerator
// File: crates/smithy-core/src/generator.rs
// Module: smithy-core
// Methods: 1 total (0 public)
impl Default for for SmithyGenerator | crates/smithy-core/src/generator.rs | smithy-core | impl_block | null | null | null | 48 | null | SmithyGenerator | Default for | 1 | 0 | null | null |
// Struct: CommonMandateReference
// File: crates/hyperswitch_domain_models/src/mandates.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct CommonMandateReference | crates/hyperswitch_domain_models/src/mandates.rs | hyperswitch_domain_models | struct_definition | CommonMandateReference | 1 | [] | 47 | null | null | null | null | null | null | null |
// Struct: MandateMetaData
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandateMetaData | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | MandateMetaData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl FraudCheckTransaction for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl FraudCheckTransaction for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Riskified | FraudCheckTransaction for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Authipay
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Authipay | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Authipay | api::PaymentToken for | 0 | 0 | null | null |
// Implementation: impl Routing
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Routing | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Routing | null | 1 | 1 | null | null |
// Struct: Payouts
// File: crates/hyperswitch_domain_models/src/payouts/payouts.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Payouts | crates/hyperswitch_domain_models/src/payouts/payouts.rs | hyperswitch_domain_models | struct_definition | Payouts | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/metrics/sessionized_metrics.rs
// Module: analytics
mod payment_intent_count;
mod payment_processed_amount;
mod payments_distribution;
mod payments_success_rate;
mod smart_retried_amount;
mod successful_smart_retries;
mod total_smart_retries;
pub(super) use payment_intent... | crates/analytics/src/payment_intents/metrics/sessionized_metrics.rs | analytics | full_file | null | null | null | 167 | null | null | null | null | null | null | null |
// Function: get_merchant_id_not_found
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: Get a merchant id with the const value of `MERCHANT_ID_NOT_FOUND`
pub fn get_merchant_id_not_found() -> Self | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 59 | get_merchant_id_not_found | null | null | null | null | null | null |
// Function: get_connector_account_details
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_connector_account_details(
&self,
) -> error_stack::Result<router_data::ConnectorAuthType, common_utils::errors::ParsingError> | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 67 | get_connector_account_details | null | null | null | null | null | null |
// Trait: ToSql
// File: crates/analytics/src/query.rs
// Module: analytics
pub trait ToSql<T: AnalyticsDataSource> | crates/analytics/src/query.rs | analytics | trait_definition | null | null | null | 30 | null | null | ToSql | null | null | null | null |
// Struct: CalSuccessRateEventResponse
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct CalSuccessRateEventResponse | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | CalSuccessRateEventResponse | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Implementations: 60
// Traits: AddressInterface, ApiKeyInterface, CardsInfoInterface, ConfigInterface, CustomerInterface, DisputeInterface, EphemeralKeyInterface, ClientSecretInterface, EventInterface, LockerMockUpInterface, Mandate... | crates/router/src/db/kafka_store.rs | router | struct_definition | KafkaStore | 60 | [
"AddressInterface",
"ApiKeyInterface",
"CardsInfoInterface",
"ConfigInterface",
"CustomerInterface",
"DisputeInterface",
"EphemeralKeyInterface",
"ClientSecretInterface",
"EventInterface",
"LockerMockUpInterface",
"MandateInterface",
"PaymentLinkInterface",
"MerchantAccountInterface",
"Con... | 289 | null | null | null | null | null | null | null |
// Struct: TsysPaymentsCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysPaymentsCancelRequest | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysPaymentsCancelRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: RefundData
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundData | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | RefundData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: delete_refunds
// File: crates/diesel_models/src/query/user/sample_data.rs
// Module: diesel_models
pub fn delete_refunds(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
) -> StorageResult<Vec<Refund>> | crates/diesel_models/src/query/user/sample_data.rs | diesel_models | function_signature | null | null | null | 65 | delete_refunds | null | null | null | null | null | null |
// Struct: UasFlowData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct UasFlowData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | UasFlowData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: PaymentMethods
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 2
pub struct PaymentMethods | crates/router/src/routes/app.rs | router | struct_definition | PaymentMethods | 2 | [] | 32 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use base64::Engine;
use common_enums::{enums, CaptureMethod, PaymentMethod, PaymentMethodType};
use common_utils::{
consts::BA... | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | full_file | null | null | null | 6,510 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Santander
// File: crates/hyperswitch_connectors/src/connectors/santander.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Santander | crates/hyperswitch_connectors/src/connectors/santander.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Santander | api::PaymentToken for | 0 | 0 | null | null |
// Struct: CustomerUpdateRequestInternal
// File: crates/api_models/src/customers.rs
// Module: api_models
// Implementations: 0
pub struct CustomerUpdateRequestInternal | crates/api_models/src/customers.rs | api_models | struct_definition | CustomerUpdateRequestInternal | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
// Public functions: 15
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods, Table};
use super::generics;
#[cfg(feature = "v1")]
use crate::schema::merchant_connector_account::dsl;
#[cfg(feature = ... | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | full_file | null | null | null | 1,964 | null | null | null | null | null | null | null |
// Struct: CardInfoResponse
// File: crates/router/src/core/cards_info.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct CardInfoResponse | crates/router/src/core/cards_info.rs | router | struct_definition | CardInfoResponse | 1 | [
"State"
] | 40 | null | null | null | null | null | null | null |
// Function: get_poll_id
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: get_poll_id
pub fn get_poll_id(&self, unique_id: &str) -> String | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 49 | get_poll_id | null | null | null | null | null | null |
// Struct: Rule
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct Rule | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | Rule | 0 | [] | 34 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Function: get_optional_email
// File: crates/api_models/src/customers.rs
// Module: api_models
pub fn get_optional_email(&self) -> Option<pii::Email> | crates/api_models/src/customers.rs | api_models | function_signature | null | null | null | 39 | get_optional_email | null | null | null | null | null | null |
// Struct: TrustlyData
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustlyData | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | TrustlyData | 0 | [] | 49 | null | null | null | null | null | null | null |
#[cfg(feature = "kv_store")]
self.drainer.validate()?;
self.api_keys.get_inner().validate()?;
self.file_storage
.validate()
.map_err(|err| ApplicationError::InvalidConfigurationValueError(err.to_string()))?;
self.crm
.validate()
.... | crates/router/src/configs/settings.rs#chunk1 | router | chunk | null | null | null | 3,765 | null | null | null | null | null | null | null |
// Struct: StaxBankTokenizeData
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StaxBankTokenizeData | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | struct_definition | StaxBankTokenizeData | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/metrics.rs
// Module: hyperswitch_interfaces
//! Metrics interface
use router_env::{counter_metric, global_meter};
global_meter!(GLOBAL_METER, "ROUTER_API");
counter_metric!(UNIMPLEMENTED_FLOW, GLOBAL_METER);
| crates/hyperswitch_interfaces/src/metrics.rs | hyperswitch_interfaces | full_file | null | null | null | 59 | null | null | null | null | null | null | null |
// Implementation: impl PaymentCapture for for DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentCapture for for DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | DummyConnector | PaymentCapture for | 0 | 0 | null | null |
// Function: refunds_create
// File: crates/router/src/routes/refunds.rs
// Module: router
pub fn refunds_create(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<refunds::RefundRequest>,
) -> HttpResponse | crates/router/src/routes/refunds.rs | router | function_signature | null | null | null | 59 | refunds_create | null | null | null | null | null | null |
// Implementation: impl RefundResponse
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Methods: 1 total (1 public)
impl RefundResponse | crates/api_models/src/refunds.rs | api_models | impl_block | null | null | null | 39 | null | RefundResponse | null | 1 | 1 | null | null |
limit,
merchant_context.get_merchant_account().storage_scheme,
)
.await
.to_not_found_response(errors::ApiErrorResponse::PaymentMethodNotFound)?;
let mut customer_pms = Vec::new();
let profile_id = payment_intent
.as_ref()
.map(|payment_intent| {
... | crates/router/src/core/payment_methods/cards.rs#chunk4 | router | chunk | null | null | null | 7,567 | null | null | null | null | null | null | null |
// Function: upload_file_to_user_theme_storage
// File: crates/router/src/routes/user/theme.rs
// Module: router
pub fn upload_file_to_user_theme_storage(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
MultipartForm(payload) | crates/router/src/routes/user/theme.rs | router | function_signature | null | null | null | 63 | upload_file_to_user_theme_storage | null | null | null | null | null | null |
// Function: is_disabled
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn is_disabled(&self) -> bool | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 40 | is_disabled | null | null | null | null | null | null |
// Struct: Amount
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Amount | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | Amount | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: DefaultObject
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DefaultObject | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | DefaultObject | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Archipel | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Archipel | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorCommon for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Wise | ConnectorCommon for | 4 | 0 | null | null |
// Function: transform_card
// File: crates/connector_configs/src/transformer.rs
// Module: connector_configs
pub fn transform_card(
payment_method_type: PaymentMethodType,
card_provider: Vec<api_models::enums::CardNetwork>,
) -> payment_methods::RequestPaymentMethodTypes | crates/connector_configs/src/transformer.rs | connector_configs | function_signature | null | null | null | 63 | transform_card | null | null | null | null | null | null |
// File: crates/api_models/src/events/dispute.rs
// Module: api_models
use common_utils::events::{ApiEventMetric, ApiEventsType};
use super::{
DeleteEvidenceRequest, DisputeResponse, DisputeResponsePaymentsRetrieve,
DisputeRetrieveRequest, DisputesAggregateResponse, SubmitEvidenceRequest,
};
impl ApiEventMet... | crates/api_models/src/events/dispute.rs | api_models | full_file | null | null | null | 361 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Phonepe | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use common_enums::{CaptureMethod, PaymentMethod, PaymentMethodType};
use comm... | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | full_file | null | null | null | 4,804 | null | null | null | null | null | null | null |
// Struct: TrustpayAuthUpdateResponse
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpayAuthUpdateResponse | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | TrustpayAuthUpdateResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: FiservemeaPaymentMethodDetails
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservemeaPaymentMethodDetails | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | FiservemeaPaymentMethodDetails | 0 | [] | 60 | null | null | null | null | null | null | null |
// Struct: GetFrmFilterRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct GetFrmFilterRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetFrmFilterRequest | 1 | [
"ApiEventMetric"
] | 47 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl webhooks::IncomingWebhook for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Coinbase | webhooks::IncomingWebhook for | 6 | 0 | null | null |
// Function: get_applepay_encrypt_account_id
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
pub fn get_applepay_encrypt_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 | 72 | get_applepay_encrypt_account_id | null | null | null | null | null | null |
// Function: accept_invitations_pre_auth
// File: crates/router/src/core/user_role.rs
// Module: router
pub fn accept_invitations_pre_auth(
state: SessionState,
user_token: auth::UserFromSinglePurposeToken,
req: user_role_api::AcceptInvitationsPreAuthRequest,
) -> UserResponse<user_api::TokenResponse> | crates/router/src/core/user_role.rs | router | function_signature | null | null | null | 76 | accept_invitations_pre_auth | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Tsys
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorCommon for for Tsys | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Tsys | ConnectorCommon for | 3 | 0 | null | null |
// Function: get_surcharge_amount
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_surcharge_amount(&self) -> Option<MinorUnit> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 48 | get_surcharge_amount | null | null | null | null | null | null |
// Struct: NexinetsRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexinetsRefundResponse | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | NexinetsRefundResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: IncomingWebhookDetails
// File: crates/api_models/src/webhooks.rs
// Module: api_models
// Implementations: 0
pub struct IncomingWebhookDetails | crates/api_models/src/webhooks.rs | api_models | struct_definition | IncomingWebhookDetails | 0 | [] | 38 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.