text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: BarclaycardErrorInformationResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardErrorInformationResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardErrorInformationResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: DebitRoutingDecisionData
// File: crates/router/src/core/routing/helpers.rs
// Module: router
// Implementations: 1
pub struct DebitRoutingDecisionData | crates/router/src/core/routing/helpers.rs | router | struct_definition | DebitRoutingDecisionData | 1 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/webhook_events.rs
// Module: router
pub use api_models::webhook_events::{
EventListConstraints, EventListConstraintsInternal, EventListItemResponse,
EventListRequestInternal, EventRetrieveResponse, OutgoingWebhookRequestContent,
OutgoingWebhookResponseContent, TotalEven... | crates/router/src/types/api/webhook_events.rs | router | full_file | null | null | null | 87 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type/global_id/payment.rs
// Module: common_utils
// Public functions: 7
use common_enums::enums;
use error_stack::ResultExt;
use crate::errors;
crate::global_id_type!(
GlobalPaymentId,
"A global id that can be used to identify a payment.
The format will be `<cell_id>_<en... | crates/common_utils/src/id_type/global_id/payment.rs | common_utils | full_file | null | null | null | 833 | null | null | null | null | null | null | null |
// Struct: SearchFilters
// File: crates/api_models/src/analytics/search.rs
// Module: api_models
// Implementations: 1
pub struct SearchFilters | crates/api_models/src/analytics/search.rs | api_models | struct_definition | SearchFilters | 1 | [] | 35 | null | null | null | null | null | null | null |
// Function: decide_connector
// File: crates/router/src/core/payments.rs
// Module: router
pub fn decide_connector(
state: SessionState,
merchant_context: &domain::MerchantContext,
business_profile: &domain::Profile,
routing_data: &mut storage::RoutingData,
payment_dsl_input: core_routing::Payment... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 102 | decide_connector | null | null | null | null | null | null |
// Implementation: impl PaymentIntentUpdate
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl PaymentIntentUpdate | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | impl_block | null | null | null | 47 | null | PaymentIntentUpdate | null | 1 | 1 | null | null |
// File: crates/config_importer/src/main.rs
// Module: config_importer
mod cli;
use std::io::{BufWriter, Write};
use anyhow::Context;
/// The separator used in environment variable names.
const ENV_VAR_SEPARATOR: &str = "__";
#[cfg(not(feature = "preserve_order"))]
type EnvironmentVariableMap = std::collections::H... | crates/config_importer/src/main.rs | config_importer | full_file | null | null | null | 859 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Custombilling | api::RefundExecute for | 0 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/santander.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/santander.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: RevenueRecoveryResponse
// File: crates/api_models/src/process_tracker/revenue_recovery.rs
// Module: api_models
// Implementations: 0
pub struct RevenueRecoveryResponse | crates/api_models/src/process_tracker/revenue_recovery.rs | api_models | struct_definition | RevenueRecoveryResponse | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: RoutingAlgorithmMetadata
// File: crates/diesel_models/src/routing_algorithm.rs
// Module: diesel_models
// Implementations: 0
pub struct RoutingAlgorithmMetadata | crates/diesel_models/src/routing_algorithm.rs | diesel_models | struct_definition | RoutingAlgorithmMetadata | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: JpmorganRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganRefundResponse | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganRefundResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/stripe.rs
// Module: router
use std::str::FromStr;
use masking::Secret;
use router::types::{self, domain, storage::enums};
use crate::{
connector_auth,
utils::{self, ConnectorActions},
};
struct Stripe;
impl ConnectorActions for Stripe {}
impl utils::Connector for Str... | crates/router/tests/connectors/stripe.rs | router | full_file | null | null | null | 2,824 | null | null | null | null | null | null | null |
// File: crates/drainer/build.rs
// Module: drainer
fn main() {
#[cfg(feature = "vergen")]
router_env::vergen::generate_cargo_instructions();
}
| crates/drainer/build.rs | drainer | full_file | null | null | null | 41 | null | null | null | null | null | null | null |
// Function: generate_sample_data
// File: crates/router/src/utils/user/sample_data.rs
// Module: router
pub fn generate_sample_data(
state: &SessionState,
req: SampleDataRequest,
merchant_id: &id_type::MerchantId,
org_id: &id_type::OrganizationId,
) -> SampleDataResult<
Vec<(
PaymentIntent... | crates/router/src/utils/user/sample_data.rs | router | function_signature | null | null | null | 104 | generate_sample_data | null | null | null | null | null | null |
// Struct: PaymentGetListAttempts
// File: crates/router/src/core/payments/operations/payment_attempt_list.rs
// Module: router
// Implementations: 0
pub struct PaymentGetListAttempts | crates/router/src/core/payments/operations/payment_attempt_list.rs | router | struct_definition | PaymentGetListAttempts | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: get_aggregates_for_refunds
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn get_aggregates_for_refunds(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<common_utils::id_type::ProfileId>>,
time_range: common_utils::types::TimeRa... | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 97 | get_aggregates_for_refunds | null | null | null | null | null | null |
// Struct: FiservemeaRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservemeaRefundRequest | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | FiservemeaRefundRequest | 0 | [] | 60 | null | null | null | null | null | null | null |
// Function: set_token_details
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
pub fn set_token_details(
self,
network_token: &'a NetworkTokenizationResponse,
) -> NetworkTokenizationBuilder<'a, CardTokenized> | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | function_signature | null | null | null | 61 | set_token_details | null | null | null | null | null | null |
// Function: insert_email_token_in_blacklist
// File: crates/router/src/services/authentication/blacklist.rs
// Module: router
pub fn insert_email_token_in_blacklist(state: &SessionState, token: &str) -> UserResult<()> | crates/router/src/services/authentication/blacklist.rs | router | function_signature | null | null | null | 50 | insert_email_token_in_blacklist | null | null | null | null | null | null |
// Function: call_surcharge_decision_management_for_saved_card
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn call_surcharge_decision_management_for_saved_card(
state: &routes::SessionState,
merchant_context: &domain::MerchantContext,
business_profile: &Profile,
payme... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 108 | call_surcharge_decision_management_for_saved_card | null | null | null | null | null | null |
// Struct: NuveiAuthType
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiAuthType | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiAuthType | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/webhooks.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/webhooks.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: Mandate
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Mandate | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | Mandate | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 72 | null | Juspaythreedsserver | api::PaymentToken for | 0 | 0 | null | null |
// Struct: NovalnetResponsePaypal
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetResponsePaypal | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetResponsePaypal | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
pub fn new(code: String) -> Self | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Implementation: impl Parse for for StorageType
// File: crates/router_derive/src/macros/diesel.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl Parse for for StorageType | crates/router_derive/src/macros/diesel.rs | router_derive | impl_block | null | null | null | 47 | null | StorageType | Parse for | 1 | 0 | null | null |
// Struct: KafkaDisputeEvent
// File: crates/router/src/services/kafka/dispute_event.rs
// Module: router
// Implementations: 2
// Traits: super::KafkaMessage
pub struct KafkaDisputeEvent<'a> | crates/router/src/services/kafka/dispute_event.rs | router | struct_definition | KafkaDisputeEvent | 2 | [
"super::KafkaMessage"
] | 52 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: IntegrityCheckError
// File: crates/common_utils/src/errors.rs
// Module: common_utils
// Implementations: 0
pub struct IntegrityCheckError | crates/common_utils/src/errors.rs | common_utils | struct_definition | IntegrityCheckError | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: ChildTransactionsInResponse
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChildTransactionsInResponse | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | struct_definition | ChildTransactionsInResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 15
use bytes::Bytes;
use common_enums::enums;
use common_utils::{
date_time::DateFormat, errors::CustomResult, ext_traits::ValueExt, types::MinorUnit,
};
use erro... | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Struct: Event
// File: crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Event | crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs | hyperswitch_connectors | struct_definition | Event | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl OpenSearchQueryBuilder
// File: crates/analytics/src/opensearch.rs
// Module: analytics
// Methods: 10 total (10 public)
impl OpenSearchQueryBuilder | crates/analytics/src/opensearch.rs | analytics | impl_block | null | null | null | 41 | null | OpenSearchQueryBuilder | null | 10 | 10 | null | null |
// Function: get_frm_routing_algorithm
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_frm_routing_algorithm(
&self,
) -> CustomResult<
Option<api_models::routing::RoutingAlgorithmRef>,
api_error_response::ApiErrorResponse,
... | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 70 | get_frm_routing_algorithm | null | null | null | null | null | null |
// Struct: SyncCardDetails
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SyncCardDetails | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | SyncCardDetails | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 8 total (0 public)
impl webhooks::IncomingWebhook for for Recurly | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Recurly | webhooks::IncomingWebhook for | 8 | 0 | null | null |
// Function: decide_connector
// File: crates/router/src/core/payments.rs
// Module: router
pub fn decide_connector<F, D>(
state: SessionState,
merchant_context: &domain::MerchantContext,
business_profile: &domain::Profile,
payment_data: &mut D,
request_straight_through: Option<api::routing::Straig... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 161 | decide_connector | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Amazonpay
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Amazonpay | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Amazonpay | api::RefundSync for | 0 | 0 | null | null |
// Struct: CaptureOptions
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureOptions | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CaptureOptions | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: ApplepayPaymentData
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplepayPaymentData | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | ApplepayPaymentData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: to_display_name
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn to_display_name(&self) -> String | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 36 | to_display_name | null | null | null | null | null | null |
// File: crates/router/src/core/utils/refunds_validator.rs
// Module: router
// Public functions: 10
use diesel_models::refund as diesel_refund;
use error_stack::report;
use router_env::{instrument, tracing};
use time::PrimitiveDateTime;
use crate::{
core::errors::{self, CustomResult, RouterResult},
types::{
... | crates/router/src/core/utils/refunds_validator.rs | router | full_file | null | null | null | 2,322 | null | null | null | null | null | null | null |
// Struct: CustomerRequest
// File: crates/api_models/src/customers.rs
// Module: api_models
// Implementations: 2
pub struct CustomerRequest | crates/api_models/src/customers.rs | api_models | struct_definition | CustomerRequest | 2 | [] | 34 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: connector-template/transformers.rs
// Module: connector-template
// Implementations: 0
pub struct RefundResponse | connector-template/transformers.rs | connector-template | struct_definition | RefundResponse | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: trigger_payouts_webhook
// File: crates/router/src/utils.rs
// Module: router
pub fn trigger_payouts_webhook(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payout_response: &api_models::payouts::PayoutCreateResponse,
) -> RouterResult<()> | crates/router/src/utils.rs | router | function_signature | null | null | null | 72 | trigger_payouts_webhook | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorCommon for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Adyenplatform | ConnectorCommon for | 4 | 0 | null | null |
// Function: get_id
// File: crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs
// Module: hyperswitch_domain_models
pub fn get_id(&self) -> &masking::Secret<String> | crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs | hyperswitch_domain_models | function_signature | null | null | null | 47 | get_id | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Tsys
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Tsys | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tsys | api::PaymentToken for | 0 | 0 | null | null |
// Function: validate_payout_link_request
// File: crates/router/src/core/payouts/validator.rs
// Module: router
pub fn validate_payout_link_request(
req: &payouts::PayoutCreateRequest,
) -> Result<(), errors::ApiErrorResponse> | crates/router/src/core/payouts/validator.rs | router | function_signature | null | null | null | 58 | validate_payout_link_request | null | null | null | null | null | null |
// Function: get_auth_event_dimensions
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_auth_event_dimensions() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 36 | get_auth_event_dimensions | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Bankofamerica
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Bankofamerica | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Bankofamerica | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/router/src/services/api/generic_link_response/context.rs
// Module: router
// Public functions: 2
use common_utils::consts::DEFAULT_LOCALE;
use rust_i18n::t;
use tera::Context;
fn get_language(locale_str: &str) -> String {
let lowercase_str = locale_str.to_lowercase();
let primary_locale = low... | crates/router/src/services/api/generic_link_response/context.rs | router | full_file | null | null | null | 1,502 | null | null | null | null | null | null | null |
// Struct: AcquirerDetails
// File: crates/router/src/types/api/authentication.rs
// Module: router
// Implementations: 0
pub struct AcquirerDetails | crates/router/src/types/api/authentication.rs | router | struct_definition | AcquirerDetails | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | function_signature | null | null | null | 41 | new | null | null | null | null | null | null |
// Struct: Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Implementations: 20
// Traits: Payment, PaymentSession, ConnectorAccessToken, MandateSetup, PaymentAuthorize, PaymentSync, PaymentCapture, PaymentVoid, Refund, RefundExecute, RefundSync, PaymentToken, ... | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | struct_definition | Payone | 20 | [
"Payment",
"PaymentSession",
"ConnectorAccessToken",
"MandateSetup",
"PaymentAuthorize",
"PaymentSync",
"PaymentCapture",
"PaymentVoid",
"Refund",
"RefundExecute",
"RefundSync",
"PaymentToken",
"ConnectorCommon",
"ConnectorValidation",
"Payouts",
"PayoutFulfill",
"IncomingWebhook",
... | 111 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Globalpay
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Globalpay | crates/hyperswitch_connectors/src/connectors/globalpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Globalpay | api::RefundSync for | 0 | 0 | null | null |
// Function: set_card_details
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
pub fn set_card_details(
self,
card_req: &'a domain::TokenizeCardRequest,
optional_card_info: Option<diesel_models::CardInfo>,
) -> NetworkTokenizationBuilder<'a, CardDe... | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | function_signature | null | null | null | 76 | set_card_details | null | null | null | null | null | null |
// Struct: Error
// File: crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Error | crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs | hyperswitch_connectors | struct_definition | Error | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl PaymentSession for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSession for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Payone | PaymentSession for | 0 | 0 | null | null |
// Struct: ErrorParameters
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorParameters | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | ErrorParameters | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: get_amount_to_capture
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_amount_to_capture(&self) -> Option<MinorUnit> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 48 | get_amount_to_capture | null | null | null | null | null | null |
// Implementation: impl OutgoingWebhookEvent
// File: crates/router/src/events/outgoing_webhook_logs.rs
// Module: router
// Methods: 1 total (1 public)
impl OutgoingWebhookEvent | crates/router/src/events/outgoing_webhook_logs.rs | router | impl_block | null | null | null | 45 | null | OutgoingWebhookEvent | null | 1 | 1 | null | null |
// Implementation: impl ConnectorValidation for for Bluecode
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorValidation for for Bluecode | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Bluecode | ConnectorValidation for | 2 | 0 | null | null |
// Module Structure
// File: crates/router/src/analytics.rs
// Module: router
// Public exports:
pub use analytics::*;
| crates/router/src/analytics.rs | router | module_structure | null | null | null | 27 | null | null | null | null | null | 0 | 1 |
// Implementation: impl api::ConnectorAccessToken for for Braintree
// File: crates/hyperswitch_connectors/src/connectors/braintree.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Braintree | crates/hyperswitch_connectors/src/connectors/braintree.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Braintree | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: get_id
// File: crates/hyperswitch_domain_models/src/customer.rs
// Module: hyperswitch_domain_models
pub fn get_id(&self) -> &id_type::CustomerId | crates/hyperswitch_domain_models/src/customer.rs | hyperswitch_domain_models | function_signature | null | null | null | 41 | get_id | null | null | null | null | null | null |
// Function: get_merchant_dispute_filters
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_merchant_dispute_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<api_models::analytics::GetDisputeFilterRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 77 | get_merchant_dispute_filters | null | null | null | null | null | null |
// Function: find_by_internal_reference_id_merchant_id
// File: crates/diesel_models/src/query/refund.rs
// Module: diesel_models
pub fn find_by_internal_reference_id_merchant_id(
conn: &PgPooledConn,
internal_reference_id: &str,
merchant_id: &common_utils::id_type::MerchantId,
) -> Storage... | crates/diesel_models/src/query/refund.rs | diesel_models | function_signature | null | null | null | 80 | find_by_internal_reference_id_merchant_id | null | null | null | null | null | null |
// Struct: VerifyTotpRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct VerifyTotpRequest | crates/api_models/src/user.rs | api_models | struct_definition | VerifyTotpRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nexinets | ConnectorValidation for | 1 | 0 | null | null |
// File: crates/router/src/utils/currency.rs
// Module: router
// Public functions: 3
// Public structs: 1
use std::{
collections::HashMap,
ops::Deref,
str::FromStr,
sync::{Arc, LazyLock},
};
use api_models::enums;
use common_utils::{date_time, errors::CustomResult, events::ApiEventMetric, ext_traits:... | crates/router/src/utils/currency.rs | router | full_file | null | null | null | 4,447 | null | null | null | null | null | null | null |
// Struct: SessionObject
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SessionObject | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | SessionObject | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Nexixpay
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Nexixpay | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nexixpay | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: PaysafeApplePayDecryptedPaymentData
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeApplePayDecryptedPaymentData | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeApplePayDecryptedPaymentData | 0 | [] | 58 | null | null | null | null | null | null | null |
// Function: update_organization
// File: crates/router/src/core/admin.rs
// Module: router
pub fn update_organization(
state: SessionState,
org_id: api::OrganizationId,
req: api::OrganizationUpdateRequest,
) -> RouterResponse<api::OrganizationResponse> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 60 | update_organization | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Elavon | ConnectorValidation for | 1 | 0 | null | null |
// Struct: TDS2ApiError
// File: crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TDS2ApiError | crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs | hyperswitch_connectors | struct_definition | TDS2ApiError | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: KafkaRefund
// File: crates/router/src/services/kafka/refund.rs
// Module: router
// Implementations: 3
// Traits: super::KafkaMessage
pub struct KafkaRefund<'a> | crates/router/src/services/kafka/refund.rs | router | struct_definition | KafkaRefund | 3 | [
"super::KafkaMessage"
] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Paysafe | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::UasAuthentication for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::UasAuthentication for for UnifiedAuthenticationService | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | UnifiedAuthenticationService | api::UasAuthentication for | 0 | 0 | null | null |
// Function: resource
// File: crates/router_derive/src/macros/generate_permissions.rs
// Module: router_derive
pub fn resource(&self) -> Resource | crates/router_derive/src/macros/generate_permissions.rs | router_derive | function_signature | null | null | null | 35 | resource | null | null | null | null | null | null |
// File: crates/router/src/core/webhooks/outgoing.rs
// Module: router
use std::collections::HashMap;
use api_models::{
webhook_events::{OutgoingWebhookRequestContent, OutgoingWebhookResponseContent},
webhooks,
};
use common_utils::{
ext_traits::{Encode, StringExt},
request::RequestContent,
type_n... | crates/router/src/core/webhooks/outgoing.rs | router | full_file | null | null | null | 7,490 | null | null | null | null | null | null | null |
// Implementation: impl DecisionEngineEliminationData
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Methods: 1 total (1 public)
impl DecisionEngineEliminationData | crates/api_models/src/open_router.rs | api_models | impl_block | null | null | null | 43 | null | DecisionEngineEliminationData | null | 1 | 1 | null | null |
// Struct: BarclaycardConsumerAuthInformationResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardConsumerAuthInformationResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardConsumerAuthInformationResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: get_payment_id
// File: crates/api_models/src/webhooks.rs
// Module: api_models
pub fn get_payment_id(&self) -> Option<common_utils::id_type::GlobalPaymentId> | crates/api_models/src/webhooks.rs | api_models | function_signature | null | null | null | 45 | get_payment_id | null | null | null | null | null | null |
// Struct: JpmorganRouterData
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganRouterData<T> | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/router/src/core/cards_info.rs
// Module: router
// Public functions: 6
// Public structs: 7
use actix_multipart::form::{bytes::Bytes, MultipartForm};
use api_models::cards_info as cards_info_api_types;
use common_utils::fp_utils::when;
use csv::Reader;
use diesel_models::cards_info as card_info_models;... | crates/router/src/core/cards_info.rs | router | full_file | null | null | null | 2,609 | null | null | null | null | null | null | null |
// Trait: ConvertRaw
// File: crates/common_utils/src/keymanager.rs
// Module: common_utils
// Documentation: Trait to convert the raw data to the required format for encryption service request
pub trait ConvertRaw | crates/common_utils/src/keymanager.rs | common_utils | trait_definition | null | null | null | 45 | null | null | ConvertRaw | null | null | null | null |
// Implementation: impl ApiEventMetricsBucketIdentifier
// File: crates/api_models/src/analytics/api_event.rs
// Module: api_models
// Methods: 1 total (1 public)
impl ApiEventMetricsBucketIdentifier | crates/api_models/src/analytics/api_event.rs | api_models | impl_block | null | null | null | 45 | null | ApiEventMetricsBucketIdentifier | null | 1 | 1 | null | null |
// Struct: ZslWebhookResponse
// File: crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZslWebhookResponse | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs | hyperswitch_connectors | struct_definition | ZslWebhookResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PlaidSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlaidSyncResponse | crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs | hyperswitch_connectors | struct_definition | PlaidSyncResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PaypalFulfillRequest
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalFulfillRequest | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalFulfillRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: MerchantKeyStore
// File: crates/diesel_models/src/merchant_key_store.rs
// Module: diesel_models
// Implementations: 0
pub struct MerchantKeyStore | crates/diesel_models/src/merchant_key_store.rs | diesel_models | struct_definition | MerchantKeyStore | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: User
// File: crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct User | crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs | hyperswitch_connectors | struct_definition | User | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: which
// File: crates/router_env/src/env.rs
// Module: router_env
// Documentation: Name of current environment. Either "development", "sandbox" or "production".
pub fn which() -> Env | crates/router_env/src/env.rs | router_env | function_signature | null | null | null | 46 | which | null | null | null | null | null | null |
// Implementation: impl Drop for for RdKafkaProducer
// File: crates/router/src/services/kafka.rs
// Module: router
// Methods: 1 total (0 public)
impl Drop for for RdKafkaProducer | crates/router/src/services/kafka.rs | router | impl_block | null | null | null | 46 | null | RdKafkaProducer | Drop for | 1 | 0 | null | null |
// Struct: RoutingStrategy
// File: crates/external_services/src/grpc_client/dynamic_routing.rs
// Module: external_services
// Implementations: 0
pub struct RoutingStrategy | crates/external_services/src/grpc_client/dynamic_routing.rs | external_services | struct_definition | RoutingStrategy | 0 | [] | 38 | 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.