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: SquarePaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquarePaymentsResponse | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquarePaymentsResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/nuvei.rs
// Module: router
use std::str::FromStr;
use masking::Secret;
use router::types::{self, storage::enums};
use serde_json::json;
use crate::{
connector_auth,
utils::{self, ConnectorActions},
};
#[derive(Clone, Copy)]
struct NuveiTest;
impl ConnectorActions for ... | crates/router/tests/connectors/nuvei.rs | router | full_file | null | null | null | 2,760 | null | null | null | null | null | null | null |
// Struct: SurchargeMetadata
// File: crates/router/src/core/payments/types.rs
// Module: router
// Implementations: 1
pub struct SurchargeMetadata | crates/router/src/core/payments/types.rs | router | struct_definition | SurchargeMetadata | 1 | [] | 36 | null | null | null | null | null | null | null |
// Function: generate_key_id
// File: crates/common_utils/src/id_type/api_key.rs
// Module: common_utils
// Documentation: Generate Api Key Id from prefix
pub fn generate_key_id(prefix: &'static str) -> Self | crates/common_utils/src/id_type/api_key.rs | common_utils | function_signature | null | null | null | 49 | generate_key_id | null | null | null | null | null | null |
// Struct: NexinetsPaymentResponse
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexinetsPaymentResponse | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | NexinetsPaymentResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Trait: GetPaymentMethodType
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub trait GetPaymentMethodType | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | trait_definition | null | null | null | 38 | null | null | GetPaymentMethodType | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/payload/responses.rs
// Module: hyperswitch_connectors
// Public structs: 6
use masking::Secret;
use serde::{Deserialize, Serialize};
// PaymentsResponse
#[derive(Default, Debug, Clone, Copy, Serialize, Deserialize, PartialEq)]
#[serde(rename_all = "lowercase")]
p... | crates/hyperswitch_connectors/src/connectors/payload/responses.rs | hyperswitch_connectors | full_file | null | null | null | 956 | null | null | null | null | null | null | null |
// Struct: MessagePagination
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MessagePagination | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | MessagePagination | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: list_payment_methods
// File: crates/router/src/core/payments/payment_methods.rs
// Module: router
pub fn list_payment_methods(
state: routes::SessionState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
payment_id: id_type::GlobalPaymentId,
req: api_models::payme... | crates/router/src/core/payments/payment_methods.rs | router | function_signature | null | null | null | 115 | list_payment_methods | null | null | null | null | null | null |
// File: crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitc... | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs | analytics | full_file | null | null | null | 1,034 | null | null | null | null | null | null | null |
// Struct: RefundProcessedAmountAccumulator
// File: crates/analytics/src/refunds/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: RefundMetricAccumulator
pub struct RefundProcessedAmountAccumulator | crates/analytics/src/refunds/accumulator.rs | analytics | struct_definition | RefundProcessedAmountAccumulator | 1 | [
"RefundMetricAccumulator"
] | 55 | null | null | null | null | null | null | null |
// Implementation: impl StorageError
// File: crates/storage_impl/src/errors.rs
// Module: storage_impl
// Methods: 2 total (2 public)
impl StorageError | crates/storage_impl/src/errors.rs | storage_impl | impl_block | null | null | null | 36 | null | StorageError | null | 2 | 2 | null | null |
// Implementation: impl RoutingEventsWrapper
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Methods: 6 total (5 public)
impl RoutingEventsWrapper | crates/router/src/core/payments/routing/utils.rs | router | impl_block | null | null | null | 41 | null | RoutingEventsWrapper | null | 6 | 5 | null | null |
// File: crates/router/src/types/api/payments.rs
// Module: router
#[cfg(feature = "v2")]
pub use api_models::payments::{
PaymentAttemptListRequest, PaymentAttemptListResponse, PaymentsConfirmIntentRequest,
PaymentsCreateIntentRequest, PaymentsIntentResponse, PaymentsUpdateIntentRequest,
RecoveryPaymentsCr... | crates/router/src/types/api/payments.rs | router | full_file | null | null | null | 1,920 | null | null | null | null | null | null | null |
// Struct: AffirmRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AffirmRefundResponse | crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs | hyperswitch_connectors | struct_definition | AffirmRefundResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: CoinbaseProcessingFee
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CoinbaseProcessingFee | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | struct_definition | CoinbaseProcessingFee | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: CalSuccessRateConfigEventRequest
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct CalSuccessRateConfigEventRequest | crates/api_models/src/routing.rs | api_models | struct_definition | CalSuccessRateConfigEventRequest | 0 | [] | 42 | null | null | null | null | null | null | null |
// Trait: PaymentMethodChecker
// File: crates/router/src/core/payments.rs
// Module: router
pub trait PaymentMethodChecker<F> | crates/router/src/core/payments.rs | router | trait_definition | null | null | null | 30 | null | null | PaymentMethodChecker | null | null | null | null |
// Function: config_key_create
// File: crates/router/src/routes/configs.rs
// Module: router
pub fn config_key_create(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<api_types::Config>,
) -> impl Responder | crates/router/src/routes/configs.rs | router | function_signature | null | null | null | 61 | config_key_create | null | null | null | null | null | null |
// Function: routing_update_default_config_for_profile
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn routing_update_default_config_for_profile(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::ProfileId>,
json_payload: web::Json<Vec<routing_ty... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 98 | routing_update_default_config_for_profile | null | null | null | null | null | null |
// Function: get_metrics
// File: crates/analytics/src/payment_intents/core.rs
// Module: analytics
pub fn get_metrics(
pool: &AnalyticsProvider,
ex_rates: &Option<ExchangeRates>,
auth: &AuthInfo,
req: GetPaymentIntentMetricRequest,
) -> AnalyticsResult<PaymentIntentsMetricsResponse<MetricsBucketRespon... | crates/analytics/src/payment_intents/core.rs | analytics | function_signature | null | null | null | 77 | get_metrics | null | null | null | null | null | null |
// Struct: DummyConnectorCard
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DummyConnectorCard | crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs | hyperswitch_connectors | struct_definition | DummyConnectorCard | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: list_users_in_lineage
// File: crates/router/src/core/user_role.rs
// Module: router
pub fn list_users_in_lineage(
state: SessionState,
user_from_token: auth::UserFromToken,
request: user_role_api::ListUsersInEntityRequest,
) -> UserResponse<Vec<user_role_api::ListUsersInEntityResponse>> | crates/router/src/core/user_role.rs | router | function_signature | null | null | null | 79 | list_users_in_lineage | null | null | null | null | null | null |
// File: crates/router/src/types/storage/blocklist.rs
// Module: router
pub use diesel_models::blocklist::{Blocklist, BlocklistNew};
| crates/router/src/types/storage/blocklist.rs | router | full_file | null | null | null | 32 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/globepay.rs
// Module: router
use masking::Secret;
use router::types::{self, domain, storage::enums};
use crate::{
connector_auth,
utils::{self, ConnectorActions},
};
#[derive(Clone, Copy)]
struct GlobepayTest;
impl ConnectorActions for GlobepayTest {}
impl utils::Conn... | crates/router/tests/connectors/globepay.rs | router | full_file | null | null | null | 2,944 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/mock_db/payouts.rs
// Module: storage_impl
use common_utils::errors::CustomResult;
use diesel_models::enums as storage_enums;
use hyperswitch_domain_models::payouts::{
payout_attempt::PayoutAttempt,
payouts::{Payouts, PayoutsInterface, PayoutsNew, PayoutsUpdate},
};
use crate:... | crates/storage_impl/src/mock_db/payouts.rs | storage_impl | full_file | null | null | null | 1,087 | null | null | null | null | null | null | null |
// Function: is_permanent_card
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
pub fn is_permanent_card(&self) -> bool | crates/router/src/types/storage/payment_method.rs | router | function_signature | null | null | null | 38 | is_permanent_card | null | null | null | null | null | null |
// Struct: SiftErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/sift/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SiftErrorResponse | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs | hyperswitch_connectors | struct_definition | SiftErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_token_with_user_role
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
pub fn get_token_with_user_role(
&self,
state: &SessionState,
user_role: &UserRole,
) -> UserResult<Secret<String>> | crates/router/src/types/domain/user/decision_manager.rs | router | function_signature | null | null | null | 63 | get_token_with_user_role | null | null | null | null | null | null |
// Struct: PaypalUpdateOrderRequest
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct PaypalUpdateOrderRequest | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalUpdateOrderRequest | 1 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/masking/src/maskable.rs
// Module: masking
// Public functions: 5
//! This module contains Masking objects and traits
use crate::{ExposeInterface, Secret};
/// An Enum that allows us to optionally mask data, based on which enum variant that data is stored
/// in.
#[derive(Clone, Eq, PartialEq)]
pub e... | crates/masking/src/maskable.rs | masking | full_file | null | null | null | 803 | null | null | null | null | null | null | null |
// Struct: AuthResult
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthResult | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | AuthResult | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl SecretsHandler for for Database
// File: crates/drainer/src/secrets_transformers.rs
// Module: drainer
// Methods: 1 total (0 public)
impl SecretsHandler for for Database | crates/drainer/src/secrets_transformers.rs | drainer | impl_block | null | null | null | 45 | null | Database | SecretsHandler for | 1 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Authorizedotnet | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: RoleInfoWithGroupsResponse
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct RoleInfoWithGroupsResponse | crates/api_models/src/user_role/role.rs | api_models | struct_definition | RoleInfoWithGroupsResponse | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: OrganizationUpdateInternal
// File: crates/diesel_models/src/organization.rs
// Module: diesel_models
// Implementations: 0
pub struct OrganizationUpdateInternal | crates/diesel_models/src/organization.rs | diesel_models | struct_definition | OrganizationUpdateInternal | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Cashtocode | ConnectorValidation for | 0 | 0 | null | null |
// Module Structure
// File: crates/cards/src/lib.rs
// Module: cards
// Public submodules:
pub mod validate;
// Public exports:
pub use crate::validate::{CardNumber, CardNumberStrategy, CardNumberValidationErr, NetworkToken};
| crates/cards/src/lib.rs | cards | module_structure | null | null | null | 52 | null | null | null | null | null | 1 | 1 |
// Function: is_terminal_status
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_terminal_status(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 35 | is_terminal_status | null | null | null | null | null | null |
// Function: create_decision_engine_merchant
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn create_decision_engine_merchant(
state: &SessionState,
profile_id: &id_type::ProfileId,
) -> RouterResult<()> | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 57 | create_decision_engine_merchant | null | null | null | null | null | null |
// File: crates/router/src/routes/disputes/utils.rs
// Module: router
// Public functions: 2
use actix_multipart::{Field, Multipart};
use actix_web::web::Bytes;
use common_utils::{errors::CustomResult, ext_traits::StringExt, fp_utils};
use error_stack::ResultExt;
use futures::{StreamExt, TryStreamExt};
use crate::{
... | crates/router/src/routes/disputes/utils.rs | router | full_file | null | null | null | 829 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Bitpay
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Bitpay | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Bitpay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: RoleInfoResponseNew
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct RoleInfoResponseNew | crates/api_models/src/user_role/role.rs | api_models | struct_definition | RoleInfoResponseNew | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: AirwallexPaymentsCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexPaymentsCaptureRequest | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexPaymentsCaptureRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: RefundWorkflowRouter
// File: crates/router/src/workflows/refund_router.rs
// Module: router
// Implementations: 0
pub struct RefundWorkflowRouter | crates/router/src/workflows/refund_router.rs | router | struct_definition | RefundWorkflowRouter | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Razorpay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: CardInfoFetch
// File: crates/router/src/core/cards_info.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct CardInfoFetch | crates/router/src/core/cards_info.rs | router | struct_definition | CardInfoFetch | 1 | [
"State"
] | 40 | null | null | null | null | null | null | null |
// Struct: StripePaymentMethodData
// File: crates/router/src/compatibility/stripe/setup_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripePaymentMethodData | crates/router/src/compatibility/stripe/setup_intents/types.rs | router | struct_definition | StripePaymentMethodData | 0 | [] | 43 | null | null | null | null | null | null | null |
// Function: find_by_user_id
// File: crates/diesel_models/src/query/user.rs
// Module: diesel_models
pub fn find_by_user_id(conn: &PgPooledConn, user_id: &str) -> StorageResult<Self> | crates/diesel_models/src/query/user.rs | diesel_models | function_signature | null | null | null | 51 | find_by_user_id | null | null | null | null | null | null |
// File: crates/euclid/src/types/transformers.rs
// Module: euclid
| crates/euclid/src/types/transformers.rs | euclid | full_file | null | null | null | 20 | null | null | null | null | null | null | null |
// Struct: MerchantAccountCreate
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 2
pub struct MerchantAccountCreate | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantAccountCreate | 2 | [] | 35 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 1
pub mod transformers;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
use base64::Engine;
#[cfg(feature = "payouts")]
use common_utils::request::RequestCon... | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | full_file | null | null | null | 3,876 | null | null | null | null | null | null | null |
// Struct: RouterData
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RouterData<Flow, Request, Response> | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | struct_definition | RouterData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: api_key_create
// File: crates/openapi/src/routes/api_keys.rs
// Module: openapi
pub fn api_key_create() | crates/openapi/src/routes/api_keys.rs | openapi | function_signature | null | null | null | 31 | api_key_create | null | null | null | null | null | null |
// Struct: GsmResponse
// File: crates/api_models/src/gsm.rs
// Module: api_models
// Implementations: 0
pub struct GsmResponse | crates/api_models/src/gsm.rs | api_models | struct_definition | GsmResponse | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Silverflow | api::PaymentVoid for | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Public submodules:
pub mod payment_attempt;
pub mod payment_intent;
| crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | module_structure | null | null | null | 42 | null | null | null | null | null | 2 | 0 |
// Function: new
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn new(password: Secret<String>) -> UserResult<Self> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 34 | new | null | null | null | null | null | null |
// Implementation: impl Tokenizable for for CompleteAuthorizeData
// File: crates/router/src/types.rs
// Module: router
// Methods: 1 total (0 public)
impl Tokenizable for for CompleteAuthorizeData | crates/router/src/types.rs | router | impl_block | null | null | null | 44 | null | CompleteAuthorizeData | Tokenizable for | 1 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/authentication.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/authentication.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
let business_profile_new =
admin::create_profile_from_merchant_account(state, merchant_account, request, key_store)
.await?;
let profile_name = business_profile_new.profile_name.clone();
state
.store
.insert_business_profile(&state.into(), key_store, business_profile_ne... | crates/router/src/core/admin.rs#chunk3 | router | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Trait: BlackList
// File: crates/router/src/services/authentication/blacklist.rs
// Module: router
pub trait BlackList | crates/router/src/services/authentication/blacklist.rs | router | trait_definition | null | null | null | 27 | null | null | BlackList | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Aci | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Aci | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: receive_incoming_webhook
// File: crates/router/src/routes/webhooks.rs
// Module: router
pub fn receive_incoming_webhook<W: types::OutgoingWebhookType>(
state: web::Data<AppState>,
req: HttpRequest,
body: web::Bytes,
path: web::Path<(
common_utils::id_type::MerchantId,
comm... | crates/router/src/routes/webhooks.rs | router | function_signature | null | null | null | 104 | receive_incoming_webhook | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/paypal_ui.rs
// Module: test_utils
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct PaypalSeleniumTest;
impl SeleniumTest for PaypalSeleniumTest {
fn get_connector_name(&self) -> String {
"paypal".to_st... | crates/test_utils/tests/connectors/paypal_ui.rs | test_utils | full_file | null | null | null | 865 | null | null | null | null | null | null | null |
// Struct: BluesnapRedirectionResponse
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapRedirectionResponse | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapRedirectionResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Implementation: impl ConnectorCommon for for Cryptopay
// File: crates/hyperswitch_connectors/src/connectors/cryptopay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Cryptopay | crates/hyperswitch_connectors/src/connectors/cryptopay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Cryptopay | ConnectorCommon for | 6 | 0 | null | null |
// Function: get_optional_card_and_cvc
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
pub fn get_optional_card_and_cvc(
&self,
) -> (Option<domain::CardDetail>, Option<Secret<String>>) | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | function_signature | null | null | null | 60 | get_optional_card_and_cvc | null | null | null | null | null | null |
// Implementation: impl GetLockingInput for for FPaymentsRejectRequest
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 1 total (0 public)
impl GetLockingInput for for FPaymentsRejectRequest | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 52 | null | FPaymentsRejectRequest | GetLockingInput for | 1 | 0 | null | null |
// File: crates/router/src/workflows.rs
// Module: router
#[cfg(feature = "email")]
pub mod api_key_expiry;
#[cfg(feature = "payouts")]
pub mod attach_payout_account_workflow;
pub mod outgoing_webhook_retry;
pub mod payment_method_status_update;
pub mod payment_sync;
pub mod refund_router;
pub mod tokenized_data;
p... | crates/router/src/workflows.rs | router | full_file | null | null | null | 91 | null | null | null | null | null | null | null |
// Function: is_network_transaction_id_and_card_details_flow
// File: crates/api_models/src/mandates.rs
// Module: api_models
pub fn is_network_transaction_id_and_card_details_flow(self) -> bool | crates/api_models/src/mandates.rs | api_models | function_signature | null | null | null | 44 | is_network_transaction_id_and_card_details_flow | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorValidation for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Phonepe | ConnectorValidation for | 2 | 0 | null | null |
// Struct: GocardlessMandateResponse
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessMandateResponse | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessMandateResponse | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: is_step_up_enabled_for_merchant_connector
// File: crates/router/src/core/payments/retry.rs
// Module: router
pub fn is_step_up_enabled_for_merchant_connector(
state: &app::SessionState,
merchant_id: &common_utils::id_type::MerchantId,
connector_name: types::Connector,
) -> bool | crates/router/src/core/payments/retry.rs | router | function_signature | null | null | null | 75 | is_step_up_enabled_for_merchant_connector | null | null | null | null | null | null |
// Function: get_auth_type_and_flow
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn get_auth_type_and_flow<A: SessionStateInfo + Sync + Send>(
headers: &HeaderMap,
api_auth: ApiKeyAuth,
) -> RouterResult<(
Box<dyn AuthenticateAndFetch<AuthenticationData, A>>,
api::AuthFlo... | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 81 | get_auth_type_and_flow | null | null | null | null | null | null |
// Module Structure
// File: crates/scheduler/src/configs/settings.rs
// Module: scheduler
// Public exports:
pub use router_env::config::{Log, LogConsole, LogFile, LogTelemetry};
| crates/scheduler/src/configs/settings.rs | scheduler | module_structure | null | null | null | 44 | null | null | null | null | null | 0 | 1 |
// Function: set_notification_u_r_l
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
pub fn set_notification_u_r_l(mut self, notification_u_r_l: String) -> Self | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 56 | set_notification_u_r_l | null | null | null | null | null | null |
// Struct: LegalConsent
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
// Implementations: 0
pub struct LegalConsent | crates/router/src/types/api/connector_onboarding/paypal.rs | router | struct_definition | LegalConsent | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Paysafe | api::Refund for | 0 | 0 | null | null |
// Function: get_store_key
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn get_store_key(&self) -> &str | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 42 | get_store_key | null | null | null | null | null | null |
// File: crates/euclid/src/frontend/ast/lowering.rs
// Module: euclid
// Public functions: 2
//! Analysis for the Lowering logic in ast
//!
//!Certain functions that can be used to perform the complete lowering of ast to dir.
//!This includes lowering of enums, numbers, strings as well as Comparison logics.
use std::... | crates/euclid/src/frontend/ast/lowering.rs | euclid | full_file | null | null | null | 3,121 | null | null | null | null | null | null | null |
// Function: get_filters
// File: crates/analytics/src/refunds/core.rs
// Module: analytics
pub fn get_filters(
pool: &AnalyticsProvider,
req: GetRefundFilterRequest,
auth: &AuthInfo,
) -> AnalyticsResult<RefundFiltersResponse> | crates/analytics/src/refunds/core.rs | analytics | function_signature | null | null | null | 61 | get_filters | null | null | null | null | null | null |
// File: crates/router/src/utils/connector_onboarding/paypal.rs
// Module: router
// Public functions: 3
use common_utils::request::{Method, Request, RequestBuilder, RequestContent};
use error_stack::ResultExt;
use http::header;
use crate::{
connector,
core::errors::{ApiErrorResponse, RouterResult},
route... | crates/router/src/utils/connector_onboarding/paypal.rs | router | full_file | null | null | null | 531 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Fiuu | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ConnectionConfig
// File: crates/injector/src/types.rs
// Module: injector
// Methods: 1 total (1 public)
impl ConnectionConfig | crates/injector/src/types.rs | injector | impl_block | null | null | null | 36 | null | ConnectionConfig | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentVoid for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Elavon | api::PaymentVoid for | 0 | 0 | null | null |
// Function: build_unified_connector_service_auth_metadata
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
pub fn build_unified_connector_service_auth_metadata(
#[cfg(feature = "v1") | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 48 | build_unified_connector_service_auth_metadata | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Iatapay | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Iatapay | api::PaymentSession for | 0 | 0 | null | null |
// Function: generate_emv_string
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
pub fn generate_emv_string(
payload_url: &str,
merchant_name: &str,
merchant_city: &str,
amount: Option<&str>,
txid: Option<&str>,
) -> String | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 83 | generate_emv_string | null | null | null | null | null | null |
// Struct: GsmDeleteRequest
// File: crates/api_models/src/gsm.rs
// Module: api_models
// Implementations: 0
pub struct GsmDeleteRequest | crates/api_models/src/gsm.rs | api_models | struct_definition | GsmDeleteRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: save_network_token_in_locker
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
pub fn save_network_token_in_locker(
state: &SessionState,
merchant_context: &domain::MerchantContext,
card_data: &payment_method_data::Card,
network_token_data: Option<api::CardDetail>,... | crates/router/src/core/payments/tokenization.rs | router | function_signature | null | null | null | 126 | save_network_token_in_locker | null | null | null | null | null | null |
// Implementation: impl ApplePayCertificatesMigration
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl ApplePayCertificatesMigration | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 39 | null | ApplePayCertificatesMigration | null | 1 | 1 | null | null |
// Struct: TrustpaymentsRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpaymentsRefundRequest | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Phonepe | api::RefundExecute for | 0 | 0 | null | null |
// Implementation: impl IncomingWebhookEvent
// File: crates/api_models/src/webhooks.rs
// Module: api_models
// Methods: 1 total (1 public)
impl IncomingWebhookEvent | crates/api_models/src/webhooks.rs | api_models | impl_block | null | null | null | 41 | null | IncomingWebhookEvent | null | 1 | 1 | null | null |
// Struct: PowertranzBaseResponse
// File: crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PowertranzBaseResponse | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs | hyperswitch_connectors | struct_definition | PowertranzBaseResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: PaymentData
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentData | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | PaymentData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::UnifiedAuthenticationService for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::UnifiedAuthenticationService for for UnifiedAuthenticationSer... | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | UnifiedAuthenticationService | api::UnifiedAuthenticationService for | 0 | 0 | null | null |
// Struct: DigitalvirgoRedirectResponseData
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DigitalvirgoRedirectResponseData | crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs | hyperswitch_connectors | struct_definition | DigitalvirgoRedirectResponseData | 0 | [] | 55 | 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.