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_info
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_info(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
domain: web::Path<analytics::AnalyticsDomain>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 62 | get_info | null | null | null | null | null | null |
// Implementation: impl GPayPredecryptData
// File: crates/common_types/src/payments.rs
// Module: common_types
// Methods: 4 total (4 public)
impl GPayPredecryptData | crates/common_types/src/payments.rs | common_types | impl_block | null | null | null | 43 | null | GPayPredecryptData | null | 4 | 4 | null | null |
// Function: get_shipping_cost
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_shipping_cost(&self) -> Option<MinorUnit> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 46 | get_shipping_cost | null | null | null | null | null | null |
// Function: get_dispute_stage
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
pub fn get_dispute_stage(code: &str) -> Result<enums::DisputeStage, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 62 | get_dispute_stage | null | null | null | null | null | null |
// Struct: ConnectorTokenReferenceRecord
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Implementations: 0
pub struct ConnectorTokenReferenceRecord | crates/diesel_models/src/payment_method.rs | diesel_models | struct_definition | ConnectorTokenReferenceRecord | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: update_connector_mandate_id
// File: crates/router/src/core/mandate.rs
// Module: router
pub fn update_connector_mandate_id(
db: &dyn StorageInterface,
merchant_id: &id_type::MerchantId,
mandate_ids_opt: Option<String>,
payment_method_id: Option<String>,
resp: Result<types::PaymentsRes... | crates/router/src/core/mandate.rs | router | function_signature | null | null | null | 107 | update_connector_mandate_id | null | null | null | null | null | null |
// Struct: VgsInsertRequest
// File: crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VgsInsertRequest | crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs | hyperswitch_connectors | struct_definition | VgsInsertRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: RevenueRecoveryPaymentProcessTrackerMapping
// File: crates/scheduler/src/consumer/types/process_data.rs
// Module: scheduler
// Implementations: 1
// Traits: Default
pub struct RevenueRecoveryPaymentProcessTrackerMapping | crates/scheduler/src/consumer/types/process_data.rs | scheduler | struct_definition | RevenueRecoveryPaymentProcessTrackerMapping | 1 | [
"Default"
] | 51 | null | null | null | null | null | null | null |
// Function: get_connector_payment_id
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_connector_payment_id(&self) -> Option<&str> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 47 | get_connector_payment_id | null | null | null | null | null | null |
// Struct: Payouts
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct Payouts | crates/router/src/routes/app.rs | router | struct_definition | Payouts | 1 | [] | 34 | null | null | null | null | null | null | null |
// Struct: InputData
// File: crates/hsdev/src/input_file.rs
// Module: hsdev
// Implementations: 1
pub struct InputData | crates/hsdev/src/input_file.rs | hsdev | struct_definition | InputData | 1 | [] | 35 | null | null | null | null | null | null | null |
// Function: rule
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn rule<O: EuclidParsable>(input: &str) -> ParseResult<&str, ast::Rule<O>> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 52 | rule | null | null | null | null | null | null |
// Struct: CheckoutErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutErrorResponse | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutErrorResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: get_connector_by_connector_name
// File: crates/router/src/core/webhooks/incoming.rs
// Module: router
pub fn get_connector_by_connector_name(
state: &SessionState,
connector_name: &str,
merchant_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>,
) -> CustomResult<(Connec... | crates/router/src/core/webhooks/incoming.rs | router | function_signature | null | null | null | 81 | get_connector_by_connector_name | null | null | null | null | null | null |
// File: crates/diesel_models/src/user/sample_data.rs
// Module: diesel_models
// Public structs: 2
#[cfg(feature = "v1")]
use common_enums::{
AttemptStatus, AuthenticationType, CaptureMethod, Currency, PaymentExperience, PaymentMethod,
PaymentMethodType,
};
#[cfg(feature = "v1")]
use common_types::primitive_w... | crates/diesel_models/src/user/sample_data.rs | diesel_models | full_file | null | null | null | 3,218 | null | null | null | null | null | null | null |
// Struct: AcquirerConfigMap
// File: crates/common_types/src/domain.rs
// Module: common_types
// Implementations: 0
// Documentation: Acquirer configs
pub struct AcquirerConfigMap | crates/common_types/src/domain.rs | common_types | struct_definition | AcquirerConfigMap | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorResponseData
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Methods: 4 total (4 public)
impl ConnectorResponseData | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 45 | null | ConnectorResponseData | null | 4 | 4 | null | null |
// Struct: SyncTransactionResponse
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SyncTransactionResponse | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | SyncTransactionResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethodsStorageInterface for for RouterStore
// File: crates/payment_methods/src/state.rs
// Module: payment_methods
// Methods: 0 total (0 public)
impl PaymentMethodsStorageInterface for for RouterStore | crates/payment_methods/src/state.rs | payment_methods | impl_block | null | null | null | 48 | null | RouterStore | PaymentMethodsStorageInterface for | 0 | 0 | null | null |
// File: crates/external_services/src/email/ses.rs
// Module: external_services
// Public functions: 3
// Public structs: 2
use std::time::{Duration, SystemTime};
use aws_sdk_sesv2::{
config::Region,
operation::send_email::SendEmailError,
types::{Body, Content, Destination, EmailContent, Message},
Cli... | crates/external_services/src/email/ses.rs | external_services | full_file | null | null | null | 1,852 | null | null | null | null | null | null | null |
// Implementation: impl ApplePayWalletData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl ApplePayWalletData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 48 | null | ApplePayWalletData | null | 1 | 1 | null | null |
// Implementation: impl CardInfoBuilder
// File: crates/router/src/core/cards_info.rs
// Module: router
// Methods: 1 total (1 public)
impl CardInfoBuilder | crates/router/src/core/cards_info.rs | router | impl_block | null | null | null | 38 | null | CardInfoBuilder | null | 1 | 1 | null | null |
// Function: get_external_authentication_request_poll_id
// File: crates/common_utils/src/id_type/authentication.rs
// Module: common_utils
// Documentation: Get external authentication request poll id
pub fn get_external_authentication_request_poll_id(&self) -> String | crates/common_utils/src/id_type/authentication.rs | common_utils | function_signature | null | null | null | 51 | get_external_authentication_request_poll_id | null | null | null | null | null | null |
let redirection_data = item.response.redirect.map(|data| {
let mut form_fields = std::collections::HashMap::<_, _>::from_iter(
data.parameters
.iter()
.map(|parameter| (parameter.name.clone(), parameter.value.clone())),
);
... | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 3,956 | null | null | null | null | null | null | null |
// Trait: OutgoingWebhookEventMetric
// File: crates/router/src/events/outgoing_webhook_logs.rs
// Module: router
pub trait OutgoingWebhookEventMetric | crates/router/src/events/outgoing_webhook_logs.rs | router | trait_definition | null | null | null | 37 | null | null | OutgoingWebhookEventMetric | null | null | null | null |
// Function: list_user_authentication_methods_for_auth_id
// File: crates/diesel_models/src/query/user_authentication_method.rs
// Module: diesel_models
pub fn list_user_authentication_methods_for_auth_id(
conn: &PgPooledConn,
auth_id: &str,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/user_authentication_method.rs | diesel_models | function_signature | null | null | null | 65 | list_user_authentication_methods_for_auth_id | null | null | null | null | null | null |
// Struct: FrmMetricsBucketResponse
// File: crates/api_models/src/analytics/frm.rs
// Module: api_models
// Implementations: 0
pub struct FrmMetricsBucketResponse | crates/api_models/src/analytics/frm.rs | api_models | struct_definition | FrmMetricsBucketResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: BreadpayCartRequest
// File: crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BreadpayCartRequest | crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs | hyperswitch_connectors | struct_definition | BreadpayCartRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: PaymentRoutingInfo
// File: crates/hyperswitch_domain_models/src/routing.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentRoutingInfo | crates/hyperswitch_domain_models/src/routing.rs | hyperswitch_domain_models | struct_definition | PaymentRoutingInfo | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nmi | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Struct: ChargebeeInvoicePayments
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeInvoicePayments | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeInvoicePayments | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: pg_connection_read
// File: crates/router/src/connection.rs
// Module: router
pub fn pg_connection_read<T: storage_impl::DatabaseStore>(
store: &T,
) -> errors::CustomResult<
PooledConnection<'_, async_bb8_diesel::ConnectionManager<PgConnection>>,
storage_errors::StorageError,
> | crates/router/src/connection.rs | router | function_signature | null | null | null | 73 | pg_connection_read | null | null | null | null | null | null |
// Function: merchant_account_create
// File: crates/openapi/src/routes/merchant_account.rs
// Module: openapi
pub fn merchant_account_create() | crates/openapi/src/routes/merchant_account.rs | openapi | function_signature | null | null | null | 32 | merchant_account_create | null | null | null | null | null | null |
// Function: parse_and_get_metadata
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn parse_and_get_metadata<T>(
&self,
type_name: &'static str,
) -> CustomResult<Option<T>, common_utils::errors::ParsingError>
where
T: for<'de> masking... | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 83 | parse_and_get_metadata | null | null | null | null | null | null |
// Implementation: impl CustomerRequest
// File: crates/api_models/src/customers.rs
// Module: api_models
// Methods: 4 total (4 public)
impl CustomerRequest | crates/api_models/src/customers.rs | api_models | impl_block | null | null | null | 37 | null | CustomerRequest | null | 4 | 4 | null | null |
// Struct: StripeCard
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripeCard | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | StripeCard | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: generate_authorization_signature
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
pub fn generate_authorization_signature(
&self,
auth: fiservemea::FiservemeaAuthType,
request_id: &str,
payload: &str,
timestamp: i... | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | function_signature | null | null | null | 96 | generate_authorization_signature | null | null | null | null | null | null |
// Struct: GenerateSaleRequest
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GenerateSaleRequest | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | GenerateSaleRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl BillingHandler
// File: crates/router/src/core/subscription.rs
// Module: router
// Methods: 4 total (0 public)
impl BillingHandler | crates/router/src/core/subscription.rs | router | impl_block | null | null | null | 36 | null | BillingHandler | null | 4 | 0 | null | null |
// Function: mk_get_card_request_hs
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn mk_get_card_request_hs(
jwekey: &settings::Jwekey,
locker: &settings::Locker,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::MerchantId,
card_reference: &str,
... | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 129 | mk_get_card_request_hs | null | null | null | null | null | null |
// Trait: AuthEventMetricAnalytics
// File: crates/analytics/src/auth_events/metrics.rs
// Module: analytics
pub trait AuthEventMetricAnalytics: LoadRow<AuthEventMetricRow> | crates/analytics/src/auth_events/metrics.rs | analytics | trait_definition | null | null | null | 41 | null | null | AuthEventMetricAnalytics | null | null | null | null |
// Implementation: impl api::RefundExecute for for Loonio
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Loonio | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Loonio | api::RefundExecute for | 0 | 0 | null | null |
// Function: construct_payment_router_data_for_setup_mandate
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn construct_payment_router_data_for_setup_mandate<'a>(
state: &'a SessionState,
payment_data: hyperswitch_domain_models::payments::PaymentConfirmData<api::SetupMandate>,
... | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 164 | construct_payment_router_data_for_setup_mandate | null | null | null | null | null | null |
// Trait: PaymentMetricAnalytics
// File: crates/analytics/src/payments/metrics.rs
// Module: analytics
pub trait PaymentMetricAnalytics: LoadRow<PaymentMetricRow> | crates/analytics/src/payments/metrics.rs | analytics | trait_definition | null | null | null | 38 | null | null | PaymentMetricAnalytics | null | null | null | null |
// File: crates/euclid/src/lib.rs
// Module: euclid
#![allow(clippy::result_large_err)]
pub mod backend;
pub mod dssa;
pub mod enums;
pub mod frontend;
pub mod types;
| crates/euclid/src/lib.rs | euclid | full_file | null | null | null | 47 | null | null | null | null | null | null | null |
// Function: into_inner
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
pub fn into_inner(&self) -> String | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | function_signature | null | null | null | 37 | into_inner | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Nexixpay
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Nexixpay | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Nexixpay | webhooks::IncomingWebhook for | 3 | 0 | 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 |
// File: crates/diesel_models/src/query/cards_info.rs
// Module: diesel_models
// Public functions: 3
use diesel::{associations::HasTable, ExpressionMethods};
use error_stack::report;
use crate::{
cards_info::{CardInfo, UpdateCardInfo},
errors,
query::generics,
schema::cards_info::dsl,
PgPooledCon... | crates/diesel_models/src/query/cards_info.rs | diesel_models | full_file | null | null | null | 319 | null | null | null | null | null | null | null |
// Struct: VerifyWebhookSourceRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct VerifyWebhookSourceRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | VerifyWebhookSourceRequestData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenio | api::Refund for | 0 | 0 | null | null |
// Implementation: impl api::revenue_recovery_v2::BillingConnectorInvoiceSyncIntegrationV2 for for Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::revenue_recovery_v2::BillingConnectorInvoiceSyncIntegrationV2 for for Re... | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 82 | null | Recurly | api::revenue_recovery_v2::BillingConnectorInvoiceSyncIntegrationV2 for | 0 | 0 | null | null |
// Struct: SESConfig
// File: crates/external_services/src/email/ses.rs
// Module: external_services
// Implementations: 1
pub struct SESConfig | crates/external_services/src/email/ses.rs | external_services | struct_definition | SESConfig | 1 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/router/src/services/authentication/decision.rs
// Module: router
// Public functions: 5
// Public structs: 2
use common_utils::{errors::CustomResult, request::RequestContent};
use masking::{ErasedMaskSerialize, Secret};
use serde::Serialize;
use storage_impl::errors::ApiClientError;
use crate::{
c... | crates/router/src/services/authentication/decision.rs | router | full_file | null | null | null | 1,506 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Boku
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Boku | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Boku | IncomingWebhook for | 3 | 0 | null | null |
// Function: payouts_list_available_filters_for_merchant
// File: crates/router/src/routes/payouts.rs
// Module: router
pub fn payouts_list_available_filters_for_merchant(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<common_utils::types::TimeRange>,
) -> HttpResponse | crates/router/src/routes/payouts.rs | router | function_signature | null | null | null | 71 | payouts_list_available_filters_for_merchant | null | null | null | null | null | null |
// File: crates/analytics/src/utils.rs
// Module: analytics
// Public functions: 16
use api_models::analytics::{
api_event::{ApiEventDimensions, ApiEventMetrics},
auth_events::{AuthEventDimensions, AuthEventMetrics},
disputes::{DisputeDimensions, DisputeMetrics},
frm::{FrmDimensions, FrmMetrics},
p... | crates/analytics/src/utils.rs | analytics | full_file | null | null | null | 991 | null | null | null | null | null | null | null |
// Implementation: impl FraudCheck for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl FraudCheck for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Signifyd | FraudCheck for | 0 | 0 | null | null |
// Struct: OrderInformationIncrementalAuthorization
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderInformationIncrementalAuthorization | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | OrderInformationIncrementalAuthorization | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl Blackhawknetwork
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Blackhawknetwork | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Blackhawknetwork | null | 1 | 1 | null | null |
// File: crates/common_utils/src/id_type/merchant_connector_account.rs
// Module: common_utils
// Public functions: 1
use std::str::FromStr;
use crate::errors::{CustomResult, ValidationError};
crate::id_type!(
MerchantConnectorAccountId,
"A type for merchant_connector_id that can be used for merchant_connect... | crates/common_utils/src/id_type/merchant_connector_account.rs | common_utils | full_file | null | null | null | 317 | null | null | null | null | null | null | null |
// Function: start_server
// File: crates/router/src/lib.rs
// Module: router
pub fn start_server(conf: settings::Settings<SecuredSecret>) -> ApplicationResult<Server> | crates/router/src/lib.rs | router | function_signature | null | null | null | 40 | start_server | null | null | null | null | null | null |
// Function: connector_list
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn connector_list(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::ProfileId>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 59 | connector_list | null | null | null | null | null | null |
// Function: refund_create_core
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn refund_create_core(
state: SessionState,
merchant_context: domain::MerchantContext,
_profile_id: Option<common_utils::id_type::ProfileId>,
req: refunds::RefundRequest,
) -> RouterResponse<refunds::Refund... | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 81 | refund_create_core | null | null | null | null | null | null |
// Function: find_optional_by_attempt_id_merchant_id
// File: crates/diesel_models/src/query/dynamic_routing_stats.rs
// Module: diesel_models
pub fn find_optional_by_attempt_id_merchant_id(
conn: &PgPooledConn,
attempt_id: String,
merchant_id: &common_utils::id_type::MerchantId,
) -> Stora... | crates/diesel_models/src/query/dynamic_routing_stats.rs | diesel_models | function_signature | null | null | null | 81 | find_optional_by_attempt_id_merchant_id | null | null | null | null | null | null |
// File: crates/router/src/types/storage/merchant_key_store.rs
// Module: router
pub use diesel_models::merchant_key_store::MerchantKeyStore;
| crates/router/src/types/storage/merchant_key_store.rs | router | full_file | null | null | null | 32 | null | null | null | null | null | null | null |
// Struct: PaymentsTaxCalculationData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsTaxCalculationData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsTaxCalculationData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: RefundsData
// File: crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundsData | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | struct_definition | RefundsData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: new
// File: crates/injector/src/types.rs
// Module: injector
// Documentation: Creates a new ConnectionConfig from basic parameters
pub fn new(endpoint: String, http_method: HttpMethod) -> Self | crates/injector/src/types.rs | injector | function_signature | null | null | null | 47 | new | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Datatrans | api::Payment for | 0 | 0 | null | null |
// File: crates/test_utils/tests/connectors/adyen_uk_wh_ui.rs
// Module: test_utils
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct AdyenSeleniumTest;
impl SeleniumTest for AdyenSeleniumTest {
fn get_connector_name(&self) -> String {
"adyen_uk".to_string()
}
}
asyn... | crates/test_utils/tests/connectors/adyen_uk_wh_ui.rs | test_utils | full_file | null | null | null | 214 | null | null | null | null | null | null | null |
// File: crates/analytics/src/opensearch.rs
// Module: analytics
// Public functions: 17
// Public structs: 6
use std::collections::HashSet;
use api_models::{
analytics::search::SearchIndex,
errors::types::{ApiError, ApiErrorResponse},
};
use aws_config::{self, meta::region::RegionProviderChain, Region};
use ... | crates/analytics/src/opensearch.rs | analytics | full_file | null | null | null | 5,086 | null | null | null | null | null | null | null |
// Implementation: impl PaypalConnectorCredentials
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Methods: 4 total (4 public)
impl PaypalConnectorCredentials | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 50 | null | PaypalConnectorCredentials | null | 4 | 4 | null | null |
// Struct: ClientAuthSetupInfoResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientAuthSetupInfoResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | ClientAuthSetupInfoResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: Proxy
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct Proxy | crates/router/src/routes/app.rs | router | struct_definition | Proxy | 1 | [] | 30 | null | null | null | null | null | null | null |
// Struct: PayerInfo
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayerInfo | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | PayerInfo | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/stripe_wh_ui.rs
// Module: test_utils
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct StripeSeleniumTest;
impl SeleniumTest for StripeSeleniumTest {
fn get_connector_name(&self) -> String {
"stripe".to_string()
}
}
async ... | crates/test_utils/tests/connectors/stripe_wh_ui.rs | test_utils | full_file | null | null | null | 217 | null | null | null | null | null | null | null |
// Function: get_authorize_page
// File: crates/router/src/routes/dummy_connector/utils.rs
// Module: router
pub fn get_authorize_page(
payment_data: types::DummyConnectorPaymentData,
return_url: String,
dummy_connector_conf: &settings::DummyConnector,
) -> String | crates/router/src/routes/dummy_connector/utils.rs | router | function_signature | null | null | null | 64 | get_authorize_page | null | null | null | null | null | null |
// Struct: Storage
// File: crates/router_env/src/logger/storage.rs
// Module: router_env
// Implementations: 3
// Traits: Default, Visit
pub struct Storage<'a> | crates/router_env/src/logger/storage.rs | router_env | struct_definition | Storage | 3 | [
"Default",
"Visit"
] | 42 | null | null | null | null | null | null | null |
// Struct: CreateOrderResult
// File: crates/router/src/types.rs
// Module: router
// Implementations: 0
pub struct CreateOrderResult | crates/router/src/types.rs | router | struct_definition | CreateOrderResult | 0 | [] | 33 | null | null | null | null | null | null | null |
// Implementation: impl Cards
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Cards | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Cards | null | 1 | 1 | null | null |
// Function: get_api_event
// File: crates/analytics/src/api_event/events.rs
// Module: analytics
pub fn get_api_event<T>(
merchant_id: &common_utils::id_type::MerchantId,
query_param: ApiLogsRequest,
pool: &T,
) -> FiltersResult<Vec<ApiLogsResult>>
where
T: AnalyticsDataSource + ApiLogsFilterAnalytics... | crates/analytics/src/api_event/events.rs | analytics | function_signature | null | null | null | 129 | get_api_event | null | null | null | null | null | null |
// File: crates/router/src/routes/three_ds_decision_rule.rs
// Module: router
// Public functions: 1
use actix_web::{web, Responder};
use hyperswitch_domain_models::merchant_context::{Context, MerchantContext};
use router_env::{instrument, tracing, Flow};
use crate::{
self as app,
core::{api_locking, three_ds... | crates/router/src/routes/three_ds_decision_rule.rs | router | full_file | null | null | null | 335 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethodsEnabled
// File: crates/api_models/src/admin.rs
// Module: api_models
// Methods: 2 total (2 public)
impl PaymentMethodsEnabled | crates/api_models/src/admin.rs | api_models | impl_block | null | null | null | 38 | null | PaymentMethodsEnabled | null | 2 | 2 | null | null |
// Struct: GiftCardDetails
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GiftCardDetails | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | GiftCardDetails | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/analytics/src/api_event.rs
// Module: analytics
mod core;
pub mod events;
pub mod filters;
pub mod metrics;
pub mod types;
pub trait APIEventAnalytics: events::ApiLogsFilterAnalytics {}
pub use self::core::{api_events_core, get_api_event_metrics, get_filters};
| crates/analytics/src/api_event.rs | analytics | full_file | null | null | null | 66 | null | null | null | null | null | null | null |
// Struct: Tax
// File: crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Tax | crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs | hyperswitch_connectors | struct_definition | Tax | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: GetCardToken
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct GetCardToken | crates/router/src/types/payment_methods.rs | router | struct_definition | GetCardToken | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: payouts_list_core
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn payouts_list_core(
_state: SessionState,
_merchant_context: domain::MerchantContext,
_profile_id_list: Option<Vec<id_type::ProfileId>>,
_constraints: payouts::PayoutListConstraints,
) -> RouterResponse<pa... | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 86 | payouts_list_core | null | null | null | null | null | null |
// Implementation: impl CardInfoBuilder
// File: crates/router/src/core/cards_info.rs
// Module: router
// Methods: 1 total (0 public)
impl CardInfoBuilder | crates/router/src/core/cards_info.rs | router | impl_block | null | null | null | 38 | null | CardInfoBuilder | null | 1 | 0 | null | null |
// Implementation: impl AddressConstructor for for ShippingAddress
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl AddressConstructor for for ShippingAddress | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | ShippingAddress | AddressConstructor for | 1 | 0 | null | null |
// File: crates/router/src/core/authentication/transformers.rs
// Module: router
// Public functions: 4
use std::marker::PhantomData;
use api_models::payments;
use common_enums::PaymentMethod;
use common_utils::ext_traits::ValueExt;
use error_stack::ResultExt;
use crate::{
core::{
errors::{self, RouterRe... | crates/router/src/core/authentication/transformers.rs | router | full_file | null | null | null | 1,826 | null | null | null | null | null | null | null |
// File: crates/common_enums/src/transformers.rs
// Module: common_enums
// Public functions: 10
// Public structs: 1
use std::fmt::{Display, Formatter};
use serde::{Deserialize, Serialize};
#[cfg(feature = "payouts")]
use crate::enums::PayoutStatus;
use crate::enums::{
AttemptStatus, Country, CountryAlpha2, Cou... | crates/common_enums/src/transformers.rs#chunk0 | common_enums | chunk | null | null | null | 8,185 | null | null | null | null | null | null | null |
// Function: get_decision_engine_configs
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn get_decision_engine_configs(
&self,
) -> Result<open_router::DecisionEngineEliminationData, error_stack::Report<ValidationError>> | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 57 | get_decision_engine_configs | null | null | null | null | null | null |
// Struct: RecurlyAuthType
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RecurlyAuthType | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | struct_definition | RecurlyAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: PaymentAttemptUpdateMems
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
// Implementations: 0
pub struct PaymentAttemptUpdateMems | crates/diesel_models/src/kv.rs | diesel_models | struct_definition | PaymentAttemptUpdateMems | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: ConditionalConfigs
// File: crates/common_types/src/payments.rs
// Module: common_types
// Implementations: 1
// Traits: EuclidDirFilter
// Documentation: ConditionalConfigs
pub struct ConditionalConfigs | crates/common_types/src/payments.rs | common_types | struct_definition | ConditionalConfigs | 1 | [
"EuclidDirFilter"
] | 48 | null | null | null | null | null | null | null |
// Struct: PaymentMethodCollectLinkData
// File: crates/diesel_models/src/generic_link.rs
// Module: diesel_models
// Implementations: 0
pub struct PaymentMethodCollectLinkData | crates/diesel_models/src/generic_link.rs | diesel_models | struct_definition | PaymentMethodCollectLinkData | 0 | [] | 42 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/retry.rs
// Module: router
// Public functions: 13
use std::vec::IntoIter;
use common_utils::{ext_traits::Encode, types::MinorUnit};
use diesel_models::enums as storage_enums;
use error_stack::ResultExt;
use hyperswitch_domain_models::ext_traits::OptionExt;
use router_env::{
... | crates/router/src/core/payments/retry.rs | router | full_file | null | null | null | 6,417 | 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.