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: update_with_id
// File: crates/diesel_models/src/query/refund.rs
// Module: diesel_models
pub fn update_with_id(
self,
conn: &PgPooledConn,
refund: RefundUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/refund.rs | diesel_models | function_signature | null | null | null | 58 | update_with_id | null | null | null | null | null | null |
// Struct: GpaymentsPreAuthenticationRequest
// File: crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GpaymentsPreAuthenticationRequest | crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs | hyperswitch_connectors | struct_definition | GpaymentsPreAuthenticationRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PaymentIntentFiltersResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct PaymentIntentFiltersResponse | crates/api_models/src/analytics.rs | api_models | struct_definition | PaymentIntentFiltersResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: builder
// File: crates/router_env/src/logger/config.rs
// Module: router_env
// Documentation: Construct config builder extending it by fall-back defaults and setting config file to load.
pub fn builder(
environment: &str,
) -> Result<config::ConfigBuilder<config::builder::DefaultState>, con... | crates/router_env/src/logger/config.rs | router_env | function_signature | null | null | null | 73 | builder | null | null | null | null | null | null |
// Function: trigger_refund_to_gateway
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn trigger_refund_to_gateway(
state: &SessionState,
refund: &diesel_refund::Refund,
merchant_context: &domain::MerchantContext,
payment_attempt: &storage::PaymentAttempt,
payment_intent: &stor... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 98 | trigger_refund_to_gateway | null | null | null | null | null | null |
// Implementation: impl Theme
// File: crates/diesel_models/src/user/theme.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl Theme | crates/diesel_models/src/user/theme.rs | diesel_models | impl_block | null | null | null | 36 | null | Theme | null | 1 | 1 | null | null |
// Function: get_acs_signed_content
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
pub fn get_acs_signed_content(&self) -> Option<String> | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | function_signature | null | null | null | 48 | get_acs_signed_content | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Tokenex | ConnectorCommon for | 6 | 0 | null | null |
// Function: get_profile_payment_intent_metrics
// File: crates/router/src/analytics.rs
// Module: router
// Documentation: Panics if `json_payload` array does not contain one `GetPaymentIntentMetricRequest` element.
pub fn get_profile_payment_intent_metrics(
state: web::Data<AppState>,
req: actix_web... | crates/router/src/analytics.rs | router | function_signature | null | null | null | 98 | get_profile_payment_intent_metrics | null | null | null | null | null | null |
// Struct: ZenItemObject
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZenItemObject | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ZenItemObject | 0 | [] | 47 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Struct: ApplePayDecryptedData
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayDecryptedData | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayDecryptedData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl Handler
// File: crates/drainer/src/handler.rs
// Module: drainer
// Methods: 5 total (3 public)
impl Handler | crates/drainer/src/handler.rs | drainer | impl_block | null | null | null | 35 | null | Handler | null | 5 | 3 | null | null |
// Function: from_origin
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
pub fn from_origin(
origin: Origin,
user: UserFromStorage,
state: &SessionState,
) -> UserResult<Self> | crates/router/src/types/domain/user/decision_manager.rs | router | function_signature | null | null | null | 56 | from_origin | null | null | null | null | null | null |
// Function: find_optional_resource_by_id
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
pub fn find_optional_resource_by_id<D, R, M>(
&self,
state: &KeyManagerState,
key_store: &MerchantKeyStore,
storage_scheme: MerchantStorageScheme,
find_resource_... | crates/storage_impl/src/kv_router_store.rs | storage_impl | function_signature | null | null | null | 142 | find_optional_resource_by_id | null | null | null | null | null | null |
// Struct: CancelOrCaptureTransactionRequest
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CancelOrCaptureTransactionRequest | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | CancelOrCaptureTransactionRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: RoleNew
// File: crates/diesel_models/src/role.rs
// Module: diesel_models
// Implementations: 0
pub struct RoleNew | crates/diesel_models/src/role.rs | diesel_models | struct_definition | RoleNew | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: get_payment_method
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn get_payment_method(&self) -> Option<common_enums::PaymentMethod> | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 49 | get_payment_method | null | null | null | null | null | null |
// Function: validate
// File: crates/hyperswitch_domain_models/src/connector_endpoints.rs
// Module: hyperswitch_domain_models
// Documentation: function to satisfy connector param validation macro
pub fn validate(&self, _parent_field: &str) -> Result<(), ApplicationError> | crates/hyperswitch_domain_models/src/connector_endpoints.rs | hyperswitch_domain_models | function_signature | null | null | null | 60 | validate | null | null | null | null | null | null |
// Function: payment_sync_call
// File: crates/router/src/core/revenue_recovery/types.rs
// Module: router
pub fn payment_sync_call(
state: &SessionState,
revenue_recovery_payment_data: &storage::revenue_recovery::RevenueRecoveryPaymentData,
payment_intent: &PaymentIntent,
process: &sto... | crates/router/src/core/revenue_recovery/types.rs | router | function_signature | null | null | null | 105 | payment_sync_call | null | null | null | null | null | null |
// Implementation: impl HeaderMapStruct
// File: crates/router/src/services/authentication.rs
// Module: router
// Methods: 7 total (6 public)
impl HeaderMapStruct | crates/router/src/services/authentication.rs | router | impl_block | null | null | null | 37 | null | HeaderMapStruct | null | 7 | 6 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request,... | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | full_file | null | null | null | 5,670 | null | null | null | null | null | null | null |
// Struct: CardReqBody
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Implementations: 0
pub struct CardReqBody | crates/router/src/core/payment_methods/transformers.rs | router | struct_definition | CardReqBody | 0 | [] | 38 | null | null | null | null | null | 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: ForteErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ForteErrorResponse | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | ForteErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: generate_redis_key
// File: crates/common_utils/src/id_type/client_secret.rs
// Module: common_utils
// Documentation: Generate a key for redis
pub fn generate_redis_key(&self) -> String | crates/common_utils/src/id_type/client_secret.rs | common_utils | function_signature | null | null | null | 45 | generate_redis_key | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payment_intents::{
PaymentIntentDimensions, PaymentIntentFilters, PaymentIntentMetricsBucketIdentifier,
},
Granularity, TimeRange,
};
u... | crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs | analytics | full_file | null | null | null | 1,055 | null | null | null | null | null | null | null |
// Struct: VoltRefundWebhookObjectResource
// File: crates/hyperswitch_connectors/src/connectors/volt/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoltRefundWebhookObjectResource | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs | hyperswitch_connectors | struct_definition | VoltRefundWebhookObjectResource | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: FiuuApplePayData
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuApplePayData | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuApplePayData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: CoinbasePaymentResponseData
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CoinbasePaymentResponseData | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | struct_definition | CoinbasePaymentResponseData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: CustomerPaymentMethodResponseItem
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct CustomerPaymentMethodResponseItem | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CustomerPaymentMethodResponseItem | 0 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Public functions: 5
// Public structs: 16
use std::collections::{HashMap, HashSet};
use common_enums::{AuthenticationConnectors, UIWidgetFormLayout, VaultSdk};
use common_types::primitive_wrappers;
use common_utils::{encryption::Encrypt... | crates/diesel_models/src/business_profile.rs#chunk0 | diesel_models | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
surcharge_amount: Option<MinorUnit>,
/// tax on surcharge amount
tax_on_surcharge: Option<MinorUnit>,
}
#[cfg(feature = "v2")]
pub struct AmountDetailsSetter {
pub order_amount: Amount,
pub currency: common_enums::Currency,
pub shipping_cost: Option<MinorUnit>,
pub order_tax_amount: Option<... | crates/api_models/src/payments.rs#chunk1 | api_models | chunk | null | null | null | 8,179 | null | null | null | null | null | null | null |
// Struct: EventListConstraints
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Implementations: 0
pub struct EventListConstraints | crates/api_models/src/webhook_events.rs | api_models | struct_definition | EventListConstraints | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: ThunesRouterData
// File: crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThunesRouterData<T> | crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs | hyperswitch_connectors | struct_definition | ThunesRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: Card
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Card | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | Card | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: list_payment_methods
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn list_payment_methods(
state: routes::SessionState,
merchant_context: domain::MerchantContext,
mut req: api::PaymentMethodListRequest,
) -> errors::RouterResponse<api::PaymentMethodListRespons... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 72 | list_payment_methods | null | null | null | null | null | null |
// File: crates/api_models/src/feature_matrix.rs
// Module: api_models
// Public structs: 5
use std::collections::HashSet;
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;
#[derive(Default, Debug, Deserialize, Serialize, Clone, ToSchema)]
pub struct FeatureMatrixRequest {
// List of connectors for whic... | crates/api_models/src/feature_matrix.rs | api_models | full_file | null | null | null | 889 | null | null | null | null | null | null | null |
// Struct: Redirect
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Redirect | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Redirect | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: HyperswitchVaultErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HyperswitchVaultErrorResponse | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs | hyperswitch_connectors | struct_definition | HyperswitchVaultErrorResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Re... | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | struct_definition | Phonepe | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 126 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Payeezy | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl super::api_event::events::ApiLogsFilterAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::api_event::events::ApiLogsFilterAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 65 | null | ClickhouseClient | super::api_event::events::ApiLogsFilterAnalytics for | 0 | 0 | null | null |
// File: crates/openapi/src/openapi_v2.rs
// Module: openapi
use crate::routes;
#[derive(utoipa::OpenApi)]
#[openapi(
info(
title = "Hyperswitch - API Documentation",
contact(
name = "Hyperswitch Support",
url = "https://hyperswitch.io",
email = "hyperswitch@jus... | crates/openapi/src/openapi_v2.rs#chunk0 | openapi | chunk | null | null | null | 8,183 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Payeezy | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Affirm
// File: crates/hyperswitch_connectors/src/connectors/affirm.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Affirm | crates/hyperswitch_connectors/src/connectors/affirm.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Affirm | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl CrmInterface for for NoCrm
// File: crates/external_services/src/crm.rs
// Module: external_services
// Methods: 3 total (0 public)
impl CrmInterface for for NoCrm | crates/external_services/src/crm.rs | external_services | impl_block | null | null | null | 50 | null | NoCrm | CrmInterface for | 3 | 0 | null | null |
// Struct: PaymeMetadata
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymeMetadata | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | PaymeMetadata | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_google_pay_session
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
pub fn get_google_pay_session<F, T>(
instance_id: String,
secrets: &SdkSecretInfo,
google_pay_init_result: TrustpayGooglePayResponse,
item: ResponseRouter... | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 117 | get_google_pay_session | null | null | null | null | null | null |
// Struct: TokenizedWalletSensitiveValues
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
// Implementations: 0
pub struct TokenizedWalletSensitiveValues | crates/router/src/core/payment_methods/vault.rs | router | struct_definition | TokenizedWalletSensitiveValues | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: FraudHighRiskResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FraudHighRiskResponse | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | FraudHighRiskResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: create_role
// File: crates/router/src/core/user_role/role.rs
// Module: router
pub fn create_role(
state: SessionState,
user_from_token: UserFromToken,
req: role_api::CreateRoleRequest,
_req_state: ReqState,
) -> UserResponse<role_api::RoleInfoWithGroupsResponse> | crates/router/src/core/user_role/role.rs | router | function_signature | null | null | null | 76 | create_role | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Placetopay
// File: crates/hyperswitch_connectors/src/connectors/placetopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Placetopay | crates/hyperswitch_connectors/src/connectors/placetopay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Placetopay | api::RefundExecute for | 0 | 0 | null | null |
// Struct: PaystackRefundWebhookData
// File: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaystackRefundWebhookData | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs | hyperswitch_connectors | struct_definition | PaystackRefundWebhookData | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 3
use common_utils::{
crypto::{self, GenerateDigest},
errors::ParsingError,
pii,
request::Method,
types::{AmountConvertor, MinorUnit, StringMinorUnit, StringMinorUnit... | crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 5,034 | null | null | null | null | null | null | null |
// File: crates/kgraph_utils/src/mca.rs
// Module: kgraph_utils
// Public functions: 1
#[cfg(feature = "v1")]
use std::str::FromStr;
#[cfg(feature = "v1")]
use api_models::payment_methods::RequestPaymentMethodTypes;
use api_models::{admin as admin_api, enums as api_enums, refunds::MinorUnit};
use euclid::{
dirval... | crates/kgraph_utils/src/mca.rs#chunk0 | kgraph_utils | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Silverflow
// File: crates/hyperswitch_connectors/src/connectors/silverflow.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Silverflow | crates/hyperswitch_connectors/src/connectors/silverflow.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Silverflow | api::RefundExecute for | 0 | 0 | null | null |
// Struct: CybersourceTransactionResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceTransactionResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceTransactionResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/scheduler/src/configs/defaults.rs
// Module: scheduler
impl Default for super::settings::SchedulerSettings {
fn default() -> Self {
Self {
stream: "SCHEDULER_STREAM".into(),
producer: super::settings::ProducerSettings::default(),
consumer: super::settings... | crates/scheduler/src/configs/defaults.rs | scheduler | full_file | null | null | null | 280 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
pub fn new(
app_ip: Option<std::net::IpAddr>,
psd2_sca_exemption_type: Option<common_enums::ScaExemptionType>,
force_3ds_challenge: bool,
message_version... | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | function_signature | null | null | null | 95 | new | null | null | null | null | null | null |
// Function: update_dispute_evidence
// File: crates/router/src/core/disputes/transformers.rs
// Module: router
pub fn update_dispute_evidence(
dispute_evidence: DisputeEvidence,
evidence_type: api::EvidenceType,
file_id: String,
) -> DisputeEvidence | crates/router/src/core/disputes/transformers.rs | router | function_signature | null | null | null | 66 | update_dispute_evidence | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Facilitapay | api::RefundSync for | 0 | 0 | null | null |
// Struct: FlowResponse
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FlowResponse | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | FlowResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Stax | api::PaymentSync for | 0 | 0 | null | null |
// Struct: DeletePaymentMethodFromVault
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeletePaymentMethodFromVault | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | DeletePaymentMethodFromVault | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type/global_id.rs
// Module: common_utils
// Public functions: 2
// Public structs: 1
pub(super) mod customer;
pub(super) mod payment;
pub(super) mod payment_methods;
pub(super) mod refunds;
pub(super) mod token;
use diesel::{backend::Backend, deserialize::FromSql, serialize::ToSql... | crates/common_utils/src/id_type/global_id.rs | common_utils | full_file | null | null | null | 2,083 | null | null | null | null | null | null | null |
// Struct: NordeaPaymentsResponseWrapper
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaPaymentsResponseWrapper | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | NordeaPaymentsResponseWrapper | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/types/authentication.rs
// Module: common_utils
// Public functions: 1
use crate::id_type;
/// Enum for different levels of authentication
#[derive(
Clone,
Debug,
Hash,
Eq,
PartialEq,
serde::Deserialize,
serde::Serialize,
strum::Display,
strum::Enum... | crates/common_utils/src/types/authentication.rs | common_utils | full_file | null | null | null | 445 | null | null | null | null | null | null | null |
// Struct: RoleInfoWithParents
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct RoleInfoWithParents | crates/api_models/src/user_role/role.rs | api_models | struct_definition | RoleInfoWithParents | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: insert_merchant_configs
// File: crates/router/src/core/admin.rs
// Module: router
pub fn insert_merchant_configs(
db: &dyn StorageInterface,
merchant_id: &id_type::MerchantId,
) -> RouterResult<()> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 54 | insert_merchant_configs | null | null | null | null | null | null |
// Implementation: impl DummyConnectorNextAction
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl DummyConnectorNextAction | crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | DummyConnectorNextAction | null | 1 | 0 | null | null |
// Struct: WisePayoutCreateRequest
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WisePayoutCreateRequest | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WisePayoutCreateRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Tokenio | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Forte | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: MandateUpdateMems
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
// Implementations: 0
pub struct MandateUpdateMems | crates/diesel_models/src/kv.rs | diesel_models | struct_definition | MandateUpdateMems | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorCustomer for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorCustomer for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Authorizedotnet | api::ConnectorCustomer for | 0 | 0 | null | null |
// Function: perform_cgraph_filtering
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_cgraph_filtering(
state: &SessionState,
key_store: &domain::MerchantKeyStore,
chosen: Vec<routing_types::RoutableConnectorChoice>,
backend_input: dsl_inputs::BackendInput,
elig... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 138 | perform_cgraph_filtering | null | null | null | null | null | null |
// Function: payment_link_retrieve
// File: crates/router/src/routes/payment_link.rs
// Module: router
pub fn payment_link_retrieve(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
path: web::Path<String>,
json_payload: web::Query<api_models::payments::RetrievePaymentLinkRequest>,
) -> impl Re... | crates/router/src/routes/payment_link.rs | router | function_signature | null | null | null | 80 | payment_link_retrieve | null | null | null | null | null | null |
// Struct: Edge
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Implementations: 0
pub struct Edge | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | struct_definition | Edge | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: IssuerInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct IssuerInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | IssuerInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payments/filters.rs
// Module: analytics
// Public functions: 1
// Public structs: 1
use api_models::analytics::{payments::PaymentDimensions, Granularity, TimeRange};
use common_utils::errors::ReportSwitchExt;
use diesel_models::enums::{AttemptStatus, AuthenticationType, Currency, Routing... | crates/analytics/src/payments/filters.rs | analytics | full_file | null | null | null | 602 | null | null | null | null | null | null | null |
// Function: get_merchant_details_as_secret
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_merchant_details_as_secret(
&self,
) -> CustomResult<Option<pii::SecretSerdeValue>, errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 58 | get_merchant_details_as_secret | null | null | null | null | null | null |
// Function: set_ip_address_if_required
// File: crates/router/src/utils/user/dashboard_metadata.rs
// Module: router
pub fn set_ip_address_if_required(
request: &mut SetMetaDataRequest,
headers: &HeaderMap,
) -> UserResult<()> | crates/router/src/utils/user/dashboard_metadata.rs | router | function_signature | null | null | null | 55 | set_ip_address_if_required | null | null | null | null | null | null |
// Struct: AccessTokenAuthentication
// File: crates/hyperswitch_domain_models/src/router_flow_types/access_token_auth.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AccessTokenAuthentication | crates/hyperswitch_domain_models/src/router_flow_types/access_token_auth.rs | hyperswitch_domain_models | struct_definition | AccessTokenAuthentication | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: NetceteraErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NetceteraErrorDetails | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | NetceteraErrorDetails | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Globepay
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Globepay | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Globepay | api::RefundExecute for | 0 | 0 | null | null |
// Struct: AuthEventMetricsBucketIdentifier
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
// Implementations: 3
// Traits: Hash, PartialEq
pub struct AuthEventMetricsBucketIdentifier | crates/api_models/src/analytics/auth_events.rs | api_models | struct_definition | AuthEventMetricsBucketIdentifier | 3 | [
"Hash",
"PartialEq"
] | 49 | null | null | null | null | null | null | null |
// Struct: EmvThreedsData
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct EmvThreedsData | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | EmvThreedsData | 1 | [] | 53 | null | null | null | null | null | null | null |
// Function: list_all_key_stores
// File: crates/diesel_models/src/query/merchant_key_store.rs
// Module: diesel_models
pub fn list_all_key_stores(
conn: &PgPooledConn,
from: u32,
limit: u32,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/merchant_key_store.rs | diesel_models | function_signature | null | null | null | 69 | list_all_key_stores | null | null | null | null | null | null |
// Implementation: impl ReverseLookup
// File: crates/diesel_models/src/query/reverse_lookup.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl ReverseLookup | crates/diesel_models/src/query/reverse_lookup.rs | diesel_models | impl_block | null | null | null | 40 | null | ReverseLookup | null | 1 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Gigadat | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Gigadat | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/router/src/core/routing/transformers.rs
// Module: router
use api_models::routing::{
DynamicRoutingAlgorithm, MerchantRoutingAlgorithm, RoutingAlgorithmKind,
RoutingAlgorithmWrapper, RoutingDictionaryRecord,
};
#[cfg(feature = "v1")]
use api_models::{
open_router::{OpenRouterDecideGatewayRe... | crates/router/src/core/routing/transformers.rs | router | full_file | null | null | null | 1,541 | null | null | null | null | null | null | null |
// Struct: NmiPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiPaymentsRequest | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Elavon
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Elavon | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Elavon | api::Refund for | 0 | 0 | null | null |
// Struct: SmartRetriedAmount
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Implementations: 0
pub struct SmartRetriedAmount | crates/api_models/src/analytics/payment_intents.rs | api_models | struct_definition | SmartRetriedAmount | 0 | [] | 41 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: GocardlessErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessErrorResponse | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: is_transaction_event
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
pub fn is_transaction_event(event: &Shift4WebhookEvent) -> bool | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 52 | is_transaction_event | null | null | null | null | null | null |
// Struct: ConnectorApiIntegrationPayload
// File: crates/connector_configs/src/common_config.rs
// Module: connector_configs
// Implementations: 0
pub struct ConnectorApiIntegrationPayload | crates/connector_configs/src/common_config.rs | connector_configs | struct_definition | ConnectorApiIntegrationPayload | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/openapi/src/routes/merchant_account.rs
// Module: openapi
// Public functions: 10
#[cfg(feature = "v1")]
/// Merchant Account - Create
///
/// Create a new account for a *merchant* and the *merchant* could be a seller or retailer or client who likes to receive and send payments.
#[utoipa::path(
pos... | crates/openapi/src/routes/merchant_account.rs | openapi | full_file | null | null | null | 2,374 | 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.