text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl api::PaymentAuthorize for for Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Nmi | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/router/src/core/payments/flows/authorize_flow.rs
// Module: router
// Public functions: 2
use std::str::FromStr;
use async_trait::async_trait;
use common_enums as enums;
use common_types::payments as common_payments_types;
use common_utils::{id_type, ucs_types};
use error_stack::ResultExt;
use externa... | crates/router/src/core/payments/flows/authorize_flow.rs | router | full_file | null | null | null | 7,116 | null | null | null | null | null | null | null |
// Struct: PayoutListFilters
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutListFilters | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutListFilters | 0 | [] | 39 | null | null | null | null | null | null | null |
// Function: get_connector_customer_id
// File: crates/hyperswitch_domain_models/src/customer.rs
// Module: hyperswitch_domain_models
pub fn get_connector_customer_id(
&self,
merchant_connector_account: &MerchantConnectorAccountTypeDetails,
) -> Option<&str> | crates/hyperswitch_domain_models/src/customer.rs | hyperswitch_domain_models | function_signature | null | null | null | 60 | get_connector_customer_id | null | null | null | null | null | null |
// Implementation: impl Hash for for ActivePaymentsMetricsBucketIdentifier
// File: crates/api_models/src/analytics/active_payments.rs
// Module: api_models
// Methods: 1 total (0 public)
impl Hash for for ActivePaymentsMetricsBucketIdentifier | crates/api_models/src/analytics/active_payments.rs | api_models | impl_block | null | null | null | 52 | null | ActivePaymentsMetricsBucketIdentifier | Hash for | 1 | 0 | null | null |
// Struct: GocardlessMandateRequest
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GocardlessMandateRequest | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | GocardlessMandateRequest | 0 | [] | 56 | null | null | null | null | null | null | null |
// Struct: FacilitapayAuthType
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapayAuthType | crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs | hyperswitch_connectors | struct_definition | FacilitapayAuthType | 0 | [] | 56 | null | null | null | null | null | null | null |
// Struct: PaymentDetails
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentDetails | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | PaymentDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for UnifiedAuthenticationService | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | UnifiedAuthenticationService | api::Payment for | 0 | 0 | null | null |
// Struct: MetricsBucketResponse
// File: crates/api_models/src/analytics/active_payments.rs
// Module: api_models
// Implementations: 0
pub struct MetricsBucketResponse | crates/api_models/src/analytics/active_payments.rs | api_models | struct_definition | MetricsBucketResponse | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: BokuRsyncRequest
// File: crates/hyperswitch_connectors/src/connectors/boku/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BokuRsyncRequest | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs | hyperswitch_connectors | struct_definition | BokuRsyncRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/vault_session.rs
// Module: router
// Public functions: 3
use std::{fmt::Debug, str::FromStr};
pub use common_enums::enums::CallConnectorAction;
use common_utils::id_type;
use error_stack::{report, ResultExt};
pub use hyperswitch_domain_models::{
mandates::MandateData,
... | crates/router/src/core/payments/vault_session.rs | router | full_file | null | null | null | 2,862 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Gpayments | api::PaymentSession for | 0 | 0 | null | null |
// Function: perform_payments_sync
// File: crates/router/src/core/revenue_recovery.rs
// Module: router
pub fn perform_payments_sync(
state: &SessionState,
process: &storage::ProcessTracker,
profile: &domain::Profile,
merchant_context: domain::MerchantContext,
tracking_data: &pcr::RevenueRecoveryW... | crates/router/src/core/revenue_recovery.rs | router | function_signature | null | null | null | 112 | perform_payments_sync | null | null | null | null | null | null |
// Struct: ThreeDsInvokeExempt
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDsInvokeExempt | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDsInvokeExempt | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl Currency
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Methods: 9 total (9 public)
impl Currency | crates/common_enums/src/enums.rs | common_enums | impl_block | null | null | null | 37 | null | Currency | null | 9 | 9 | null | null |
// File: crates/router/src/db/unified_translations.rs
// Module: router
use diesel_models::unified_translations as storage;
use error_stack::report;
use super::MockDb;
use crate::{
connection,
core::errors::{self, CustomResult},
services::Store,
};
#[async_trait::async_trait]
pub trait UnifiedTranslation... | crates/router/src/db/unified_translations.rs | router | full_file | null | null | null | 955 | null | null | null | null | null | null | null |
// Struct: PaysafePaymentHandleResponse
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafePaymentHandleResponse | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafePaymentHandleResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl RedisKey
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Methods: 2 total (2 public)
impl RedisKey | crates/redis_interface/src/types.rs | redis_interface | impl_block | null | null | null | 37 | null | RedisKey | null | 2 | 2 | null | null |
// Implementation: impl api::PayoutEligibility for for Nomupay
// File: crates/hyperswitch_connectors/src/connectors/nomupay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutEligibility for for Nomupay | crates/hyperswitch_connectors/src/connectors/nomupay.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Nomupay | api::PayoutEligibility for | 0 | 0 | null | null |
// Implementation: impl Relay
// File: crates/hyperswitch_domain_models/src/relay.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl Relay | crates/hyperswitch_domain_models/src/relay.rs | hyperswitch_domain_models | impl_block | null | null | null | 41 | null | Relay | null | 1 | 1 | null | null |
// File: crates/pm_auth/src/lib.rs
// Module: pm_auth
pub mod connector;
pub mod consts;
pub mod core;
pub mod types;
| crates/pm_auth/src/lib.rs | pm_auth | full_file | null | null | null | 32 | null | null | null | null | null | null | null |
// Function: update_user_role
// File: crates/router/src/core/user_role.rs
// Module: router
pub fn update_user_role(
state: SessionState,
user_from_token: auth::UserFromToken,
req: user_role_api::UpdateUserRoleRequest,
_req_state: ReqState,
) -> UserResponse<()> | crates/router/src/core/user_role.rs | router | function_signature | null | null | null | 70 | update_user_role | null | null | null | null | null | null |
// Function: list_metadata_by_merchant_id_transaction_type
// File: crates/diesel_models/src/query/routing_algorithm.rs
// Module: diesel_models
pub fn list_metadata_by_merchant_id_transaction_type(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
transaction_type: &enums::... | crates/diesel_models/src/query/routing_algorithm.rs | diesel_models | function_signature | null | null | null | 101 | list_metadata_by_merchant_id_transaction_type | null | null | null | null | null | null |
// Function: insert_totp_in_redis
// File: crates/router/src/utils/user/two_factor_auth.rs
// Module: router
pub fn insert_totp_in_redis(state: &SessionState, user_id: &str) -> UserResult<()> | crates/router/src/utils/user/two_factor_auth.rs | router | function_signature | null | null | null | 51 | insert_totp_in_redis | null | null | null | null | null | null |
// Struct: SquareWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquareWebhookBody | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquareWebhookBody | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_webhook_object_from_body
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
pub fn get_webhook_object_from_body(
body: &[u8],
) -> CustomResult<SantanderWebhookBody, common_utils::errors::ParsingError> | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 74 | get_webhook_object_from_body | null | null | null | null | null | null |
// Function: get_network_config
// File: crates/router/src/types/storage/revenue_recovery.rs
// Module: router
pub fn get_network_config(&self, network: Option<CardNetwork>) -> &NetworkRetryConfig | crates/router/src/types/storage/revenue_recovery.rs | router | function_signature | null | null | null | 44 | get_network_config | null | null | null | null | null | null |
// Struct: PaymentCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentCaptureResponse | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | PaymentCaptureResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: api_error_derive_inner
// File: crates/router_derive/src/macros/api_error.rs
// Module: router_derive
pub fn api_error_derive_inner(ast: &DeriveInput) -> syn::Result<TokenStream> | crates/router_derive/src/macros/api_error.rs | router_derive | function_signature | null | null | null | 51 | api_error_derive_inner | null | null | null | null | null | null |
// Struct: CustombillingErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustombillingErrorResponse | crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs | hyperswitch_connectors | struct_definition | CustombillingErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: generic_find_by_id_optional
// File: crates/diesel_models/src/query/generics.rs
// Module: diesel_models
pub fn generic_find_by_id_optional<T, Pk, R>(
conn: &PgPooledConn,
id: Pk,
) -> StorageResult<Option<R>>
where
T: FindDsl<Pk> + HasTable<Table = T> + LimitDsl + Table + 'static,
<T as H... | crates/diesel_models/src/query/generics.rs | diesel_models | function_signature | null | null | null | 176 | generic_find_by_id_optional | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
pub fn server(config: routes::AppState) -> Scope | crates/router/src/compatibility/stripe/app.rs | router | function_signature | null | null | null | 35 | server | null | null | null | null | null | null |
// Struct: Charges
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 1
pub struct Charges | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | Charges | 1 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl Event for for AuditEvent
// File: crates/router/src/events/audit_events.rs
// Module: router
// Methods: 3 total (0 public)
impl Event for for AuditEvent | crates/router/src/events/audit_events.rs | router | impl_block | null | null | null | 43 | null | AuditEvent | Event for | 3 | 0 | null | null |
// Function: get_connector_list
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn get_connector_list(&self) -> Vec<RoutableConnectorChoice> | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 40 | get_connector_list | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Function: insert
// File: crates/diesel_models/src/query/hyperswitch_ai_interaction.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<HyperswitchAiInteraction> | crates/diesel_models/src/query/hyperswitch_ai_interaction.rs | diesel_models | function_signature | null | null | null | 51 | insert | null | null | null | null | null | null |
// File: crates/router/src/types/storage/file.rs
// Module: router
pub use diesel_models::file::{
FileMetadata, FileMetadataNew, FileMetadataUpdate, FileMetadataUpdateInternal,
};
| crates/router/src/types/storage/file.rs | router | full_file | null | null | null | 41 | null | null | null | null | null | null | null |
// Struct: SquarePaymentsRequestExternalDetails
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquarePaymentsRequestExternalDetails | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquarePaymentsRequestExternalDetails | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: ShippingAddress
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
// Traits: AddressConstructor
pub struct ShippingAddress | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | ShippingAddress | 1 | [
"AddressConstructor"
] | 53 | null | null | null | null | null | null | null |
// Struct: ChargebackUpdateRequest
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebackUpdateRequest | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | ChargebackUpdateRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// File: crates/router/src/workflows/revenue_recovery.rs
// Module: router
// Public functions: 8
// Public structs: 2
#[cfg(feature = "v2")]
use std::collections::HashMap;
#[cfg(feature = "v2")]
use api_models::{enums::RevenueRecoveryAlgorithmType, payments::PaymentsGetIntentRequest};
use common_utils::errors::Custo... | crates/router/src/workflows/revenue_recovery.rs | router | full_file | null | null | null | 6,037 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Ebanx | api::PaymentVoid for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 32
use api_models::webhooks::IncomingWebhookEvent;
use cards::CardNumber;
use common_enums::enums;
use common_utils::{
pii::{self, SecretSerdeValue},
request:... | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Trait: AuthInfo
// File: crates/router/src/services/authentication.rs
// Module: router
pub trait AuthInfo | crates/router/src/services/authentication.rs | router | trait_definition | null | null | null | 25 | null | null | AuthInfo | null | null | null | null |
// Struct: MerchantDetails
// File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct MerchantDetails | crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs | hyperswitch_domain_models | struct_definition | MerchantDetails | 0 | [] | 45 | null | null | null | null | null | null | null |
// Trait: VaultingDataInterface
// File: crates/hyperswitch_domain_models/src/vault.rs
// Module: hyperswitch_domain_models
pub trait VaultingDataInterface | crates/hyperswitch_domain_models/src/vault.rs | hyperswitch_domain_models | trait_definition | null | null | null | 37 | null | null | VaultingDataInterface | null | null | null | null |
// Implementation: impl Payouts
// File: crates/diesel_models/src/query/payouts.rs
// Module: diesel_models
// Methods: 5 total (0 public)
impl Payouts | crates/diesel_models/src/query/payouts.rs | diesel_models | impl_block | null | null | null | 42 | null | Payouts | null | 5 | 0 | null | null |
// Implementation: impl FromStr for for AciStatus
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl FromStr for for AciStatus | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | AciStatus | FromStr for | 1 | 0 | null | null |
}
PaymentMethodData::Voucher(ref voucher_data) => {
AdyenPaymentRequest::try_from((item, voucher_data))
}
PaymentMethodData::GiftCard(ref gift_card_data) => {
AdyenPaymentRequest::try_from((item, gift_card_data.as_re... | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: RefundRequest
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundRequest | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | RefundRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: reopen_calculate_workflow_on_payment_failure
// File: crates/router/src/core/revenue_recovery/types.rs
// Module: router
// Documentation: Reopen calculate workflow when payment fails
pub fn reopen_calculate_workflow_on_payment_failure(
state: &SessionState,
process: &storage::ProcessTracker,
... | crates/router/src/core/revenue_recovery/types.rs | router | function_signature | null | null | null | 128 | reopen_calculate_workflow_on_payment_failure | null | null | null | null | null | null |
// Function: setup
// File: crates/router_env/src/logger/setup.rs
// Module: router_env
pub fn setup(
config: &config::Log,
service_name: &str,
crates_to_filter: impl AsRef<[&'static str]>,
) -> error_stack::Result<TelemetryGuard, ConfigError> | crates/router_env/src/logger/setup.rs | router_env | function_signature | null | null | null | 70 | setup | null | null | null | null | null | null |
// Struct: ExchangeRates
// File: crates/currency_conversion/src/types.rs
// Module: currency_conversion
// Implementations: 1
pub struct ExchangeRates | crates/currency_conversion/src/types.rs | currency_conversion | struct_definition | ExchangeRates | 1 | [] | 34 | null | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn new(
profile_id: common_utils::id_type::ProfileId,
euclid_algorithm_id: common_utils::id_type::RoutingId,
decision_engine_algorithm_id: String,
is_active_rule: bool,
) -> Self | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 73 | new | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId};
#[cfg(feature = "payouts")]
use common_utils::request::RequestContent;
#[cfg(feature =... | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | full_file | null | null | null | 3,816 | null | null | null | null | null | null | null |
// Struct: DatatransAuthType
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DatatransAuthType | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | DatatransAuthType | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: get_email
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_email(&self) -> pii::Email | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 33 | get_email | null | null | null | null | null | null |
// Struct: Event
// File: crates/diesel_models/src/events.rs
// Module: diesel_models
// Implementations: 0
pub struct Event | crates/diesel_models/src/events.rs | diesel_models | struct_definition | Event | 0 | [] | 32 | null | null | null | null | null | null | null |
// Struct: SubmitEvidenceRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SubmitEvidenceRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | SubmitEvidenceRequestData | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/routing.rs
// Module: router
// Public structs: 3
pub use api_models::{
enums as api_enums,
routing::{
ConnectorVolumeSplit, RoutableChoiceKind, RoutableConnectorChoice, RoutingAlgorithmKind,
RoutingAlgorithmRef, RoutingConfigRequest, RoutingDictionary, Rout... | crates/router/src/types/api/routing.rs | router | full_file | null | null | null | 292 | null | null | null | null | null | null | null |
// Function: update_by_user_email
// File: crates/diesel_models/src/query/user.rs
// Module: diesel_models
pub fn update_by_user_email(
conn: &PgPooledConn,
user_email: &pii::Email,
user_update: UserUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/user.rs | diesel_models | function_signature | null | null | null | 65 | update_by_user_email | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Adyen | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Struct: DigitalvirgoConsentStatus
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DigitalvirgoConsentStatus | crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs | hyperswitch_connectors | struct_definition | DigitalvirgoConsentStatus | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: construct_mandate_revoke_router_data
// File: crates/router/src/core/mandate/utils.rs
// Module: router
pub fn construct_mandate_revoke_router_data(
state: &SessionState,
merchant_connector_account: helpers::MerchantConnectorAccountType,
merchant_context: &domain::MerchantContext,
mandate:... | crates/router/src/core/mandate/utils.rs | router | function_signature | null | null | null | 96 | construct_mandate_revoke_router_data | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Fiuu | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: payments_redirect_response_with_creds_identifier
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_redirect_response_with_creds_identifier(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
path: web::Path<(
common_utils::id_type::PaymentId,
... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 93 | payments_redirect_response_with_creds_identifier | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Gigadat
// File: crates/hyperswitch_connectors/src/connectors/gigadat.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Gigadat | crates/hyperswitch_connectors/src/connectors/gigadat.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Gigadat | api::PaymentToken for | 0 | 0 | null | null |
// Function: update_profile_active_algorithm_ref
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn update_profile_active_algorithm_ref(
db: &dyn StorageInterface,
key_manager_state: &KeyManagerState,
merchant_key_store: &domain::MerchantKeyStore,
current_business_profile: doma... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 101 | update_profile_active_algorithm_ref | null | null | null | null | null | null |
// Struct: Error
// File: crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Error | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs | hyperswitch_connectors | struct_definition | Error | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: NmiWebhookObject
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiWebhookObject | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiWebhookObject | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: MerchantIdAndProfileIdAuth
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct MerchantIdAndProfileIdAuth | crates/router/src/services/authentication.rs | router | struct_definition | MerchantIdAndProfileIdAuth | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: send_recon_request
// File: crates/router/src/core/recon.rs
// Module: router
pub fn send_recon_request(
state: SessionState,
auth_data: authentication::AuthenticationDataWithUser,
) -> RouterResponse<recon_api::ReconStatusResponse> | crates/router/src/core/recon.rs | router | function_signature | null | null | null | 62 | send_recon_request | null | null | null | null | null | null |
// Struct: GoPayRedirection
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GoPayRedirection | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | GoPayRedirection | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: from_transaction_response
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
pub fn from_transaction_response(response: &CeleroCardResponse, msg: String) -> Self | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 55 | from_transaction_response | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Forte
// File: crates/hyperswitch_connectors/src/connectors/forte.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Forte | crates/hyperswitch_connectors/src/connectors/forte.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Forte | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: ApplePayCryptogramData
// File: crates/common_types/src/payments.rs
// Module: common_types
// Implementations: 0
// Documentation: This struct represents the cryptogram data for Apple Pay transactions
pub struct ApplePayCryptogramData | crates/common_types/src/payments.rs | common_types | struct_definition | ApplePayCryptogramData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: find_by_customer_id_merchant_id
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn find_by_customer_id_merchant_id(
conn: &PgPooledConn,
customer_id: &common_utils::id_type::CustomerId,
merchant_id: &common_utils::id_type::MerchantId,
... | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 92 | find_by_customer_id_merchant_id | null | null | null | null | null | null |
// Struct: UasConfirmationRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct UasConfirmationRequestData | crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs | hyperswitch_domain_models | struct_definition | UasConfirmationRequestData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: DDCResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DDCResponse | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | DDCResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: SyncIntegrityObject
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SyncIntegrityObject | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | SyncIntegrityObject | 0 | [] | 45 | 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: Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::PaymentToken, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api:... | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | struct_definition | Opennode | 17 | [
"api::Payment",
"api::PaymentSession",
"api::PaymentToken",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"ConnectorCommon",
"ConnectorValidat... | 124 | null | null | null | null | null | null | null |
// Function: list_payment_methods_core
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn list_payment_methods_core(
state: &SessionState,
merchant_context: &domain::MerchantContext,
customer_id: &id_type::GlobalCustomerId,
) -> RouterResult<payment_methods::CustomerPaymentMethodsL... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 73 | list_payment_methods_core | null | null | null | null | null | null |
// Implementation: impl api::ConnectorTransactionId for for ConnectorEnum
// File: crates/hyperswitch_interfaces/src/connector_integration_interface.rs
// Module: hyperswitch_interfaces
// Methods: 1 total (0 public)
impl api::ConnectorTransactionId for for ConnectorEnum | crates/hyperswitch_interfaces/src/connector_integration_interface.rs | hyperswitch_interfaces | impl_block | null | null | null | 57 | null | ConnectorEnum | api::ConnectorTransactionId for | 1 | 0 | null | null |
// Function: profile_retrieve
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn profile_retrieve(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::ProfileId>,
) -> HttpResponse | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 62 | profile_retrieve | null | null | null | null | null | null |
// Struct: WisePayoutsWebhookData
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WisePayoutsWebhookData | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | struct_definition | WisePayoutsWebhookData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: authorize_postprocessing_steps
// File: crates/router/src/core/payments/flows/authorize_flow.rs
// Module: router
pub fn authorize_postprocessing_steps<F: Clone>(
state: &SessionState,
router_data: &types::RouterData<F, types::PaymentsAuthorizeData, types::PaymentsResponseData>,
confirm: bool,... | crates/router/src/core/payments/flows/authorize_flow.rs | router | function_signature | null | null | null | 106 | authorize_postprocessing_steps | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Coingate
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Coingate | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Coingate | api::Refund for | 0 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Itaubank | ConnectorCommon for | 5 | 0 | null | null |
// Function: handle_unified_connector_service_response_for_payment_repeat
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
pub fn handle_unified_connector_service_response_for_payment_repeat(
response: payments_grpc::PaymentServiceRepeatEverythingResponse,
) -> UnifiedConnectorService... | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 62 | handle_unified_connector_service_response_for_payment_repeat | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for AuthenticationSyncPostUpdateRequest
// File: crates/api_models/src/authentication.rs
// Module: api_models
// Methods: 1 total (0 public)
impl ApiEventMetric for for AuthenticationSyncPostUpdateRequest | crates/api_models/src/authentication.rs | api_models | impl_block | null | null | null | 52 | null | AuthenticationSyncPostUpdateRequest | ApiEventMetric for | 1 | 0 | null | null |
// Function: get_merchant_tax_registration_id
// File: crates/hyperswitch_domain_models/src/merchant_account.rs
// Module: hyperswitch_domain_models
// Documentation: Extract merchant_tax_registration_id from merchant_details
pub fn get_merchant_tax_registration_id(&self) -> Option<Secret<String>> | crates/hyperswitch_domain_models/src/merchant_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 63 | get_merchant_tax_registration_id | null | null | null | null | null | null |
// File: crates/common_utils/src/id_type/api_key.rs
// Module: common_utils
// Public functions: 1
crate::id_type!(
ApiKeyId,
"A type for key_id that can be used for API key IDs"
);
crate::impl_id_type_methods!(ApiKeyId, "key_id");
// This is to display the `ApiKeyId` as ApiKeyId(abcd)
crate::impl_debug_id_ty... | crates/common_utils/src/id_type/api_key.rs | common_utils | full_file | null | null | null | 392 | null | null | null | null | null | null | null |
// Function: validate_connectors_in_routing_config
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn validate_connectors_in_routing_config(&self) -> RouterResult<()> | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 42 | validate_connectors_in_routing_config | null | null | null | null | null | null |
// Struct: MinimalRoleInfo
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct MinimalRoleInfo | crates/api_models/src/user_role/role.rs | api_models | struct_definition | MinimalRoleInfo | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/api_models/src/payments/trait_impls.rs
// Module: api_models
#[cfg(feature = "v1")]
use common_enums::enums;
#[cfg(feature = "v1")]
use common_utils::errors;
#[cfg(feature = "v1")]
use crate::payments;
#[cfg(feature = "v1")]
impl crate::ValidateFieldAndGet<payments::PaymentsRequest>
for common_ty... | crates/api_models/src/payments/trait_impls.rs | api_models | full_file | null | null | null | 254 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | 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.