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: new
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Function: bank_transfer_next_steps_check
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn bank_transfer_next_steps_check(
payment_attempt: storage::PaymentAttempt,
) -> RouterResult<Option<api_models::payments::BankTransferNextStepsData>> | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 62 | bank_transfer_next_steps_check | null | null | null | null | null | null |
// Function: new_with_customer_id
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
pub fn new_with_customer_id(connector_customer_id: String) -> Self | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | function_signature | null | null | null | 47 | new_with_customer_id | null | null | null | null | null | null |
// Struct: CreditorAccountReference
// File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CreditorAccountReference | crates/hyperswitch_connectors/src/connectors/nordea/requests.rs | hyperswitch_connectors | struct_definition | CreditorAccountReference | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Trustpayments
// File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Trustpayments | crates/hyperswitch_connectors/src/connectors/trustpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Trustpayments | api::Refund for | 0 | 0 | null | null |
// Function: list_profiles_for_user_in_org_and_merchant
// File: crates/router/src/routes/user.rs
// Module: router
pub fn list_profiles_for_user_in_org_and_merchant(
state: web::Data<AppState>,
req: HttpRequest,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 57 | list_profiles_for_user_in_org_and_merchant | null | null | null | null | null | null |
// File: crates/router/src/services/kafka/dispute.rs
// Module: router
// Public functions: 1
// Public structs: 1
use common_utils::{
ext_traits::StringExt,
id_type,
types::{AmountConvertor, MinorUnit, StringMinorUnitForConnector},
};
use diesel_models::enums as storage_enums;
use masking::Secret;
use tim... | crates/router/src/services/kafka/dispute.rs | router | full_file | null | null | null | 911 | null | null | null | null | null | null | null |
// Function: payment_method_retrieve_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn payment_method_retrieve_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 35 | payment_method_retrieve_api | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/api_keys.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/api_keys.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: SampleDataRequest
// File: crates/api_models/src/user/sample_data.rs
// Module: api_models
// Implementations: 0
pub struct SampleDataRequest | crates/api_models/src/user/sample_data.rs | api_models | struct_definition | SampleDataRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/redis_interface/src/errors.rs
// Module: redis_interface
//! Errors specific to this custom redis interface
#[derive(Debug, thiserror::Error, PartialEq)]
pub enum RedisError {
#[error("Invalid Redis configuration: {0}")]
InvalidConfiguration(String),
#[error("Failed to set key value in Red... | crates/redis_interface/src/errors.rs | redis_interface | full_file | null | null | null | 680 | null | null | null | null | null | null | null |
// Function: get_same_and_higher_lineages
// File: crates/common_utils/src/types/user/theme.rs
// Module: common_utils
// Documentation: Get higher lineages from the current lineage
pub fn get_same_and_higher_lineages(self) -> Vec<Self> | crates/common_utils/src/types/user/theme.rs | common_utils | function_signature | null | null | null | 56 | get_same_and_higher_lineages | null | null | null | null | null | null |
// Struct: RefundErrorDetails
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundErrorDetails | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundErrorDetails | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: retrieve_decision_manager_config
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn retrieve_decision_manager_config(
state: web::Data<AppState>,
req: HttpRequest,
) -> impl Responder | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 50 | retrieve_decision_manager_config | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, RequestBuilder, RequestContent},
t... | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | full_file | null | null | null | 5,097 | null | null | null | null | null | null | null |
// Struct: SendVerifyEmailRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct SendVerifyEmailRequest | crates/api_models/src/user.rs | api_models | struct_definition | SendVerifyEmailRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: generate_surcharge_details_and_populate_surcharge_metadata
// File: crates/router/src/core/payment_methods/surcharge_decision_configs.rs
// Module: router
pub fn generate_surcharge_details_and_populate_surcharge_metadata(
&self,
backend_input: &backend::BackendInput,
payment_attemp... | crates/router/src/core/payment_methods/surcharge_decision_configs.rs | router | function_signature | null | null | null | 93 | generate_surcharge_details_and_populate_surcharge_metadata | null | null | null | null | null | null |
// Function: update_gsm_rule
// File: crates/openapi/src/routes/gsm.rs
// Module: openapi
pub fn update_gsm_rule() | crates/openapi/src/routes/gsm.rs | openapi | function_signature | null | null | null | 33 | update_gsm_rule | 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 |
// Implementation: impl api::PaymentCapture for for Bitpay
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Bitpay | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Bitpay | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: DecryptedDataGroup
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 0
pub struct DecryptedDataGroup | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | DecryptedDataGroup | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/test_utils/tests/connectors/authorizedotnet_ui.rs
// Module: test_utils
use rand::Rng;
use serial_test::serial;
use thirtyfour::{prelude::*, WebDriver};
use crate::{selenium::*, tester};
struct AuthorizedotnetSeleniumTest;
impl SeleniumTest for AuthorizedotnetSeleniumTest {
fn get_connector_name... | crates/test_utils/tests/connectors/authorizedotnet_ui.rs | test_utils | full_file | null | null | null | 518 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cybersource | api::PaymentToken for | 0 | 0 | null | null |
// Function: switch_merchant_for_user_in_org
// File: crates/router/src/routes/user.rs
// Module: router
pub fn switch_merchant_for_user_in_org(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<user_api::SwitchMerchantRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 69 | switch_merchant_for_user_in_org | null | null | null | null | null | null |
// Struct: GetTokenDataRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct GetTokenDataRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | GetTokenDataRequest | 1 | [
"common_utils::events::ApiEventMetric"
] | 50 | null | null | null | null | null | null | null |
// Struct: MerchantAcceptorRef
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantAcceptorRef | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | MerchantAcceptorRef | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ProductionAgreementRequest
// File: crates/api_models/src/user/dashboard_metadata.rs
// Module: api_models
// Implementations: 0
pub struct ProductionAgreementRequest | crates/api_models/src/user/dashboard_metadata.rs | api_models | struct_definition | ProductionAgreementRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: Error
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Error | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | Error | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl PaymentSession for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSession for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Signifyd | PaymentSession for | 0 | 0 | null | null |
// Implementation: impl ConvertRaw for for T
// File: crates/common_utils/src/keymanager.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl ConvertRaw for for T | crates/common_utils/src/keymanager.rs | common_utils | impl_block | null | null | null | 43 | null | T | ConvertRaw for | 1 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// File: crates/router/src/types/domain/user.rs
// Module: router
// Public functions: 52
// Public structs: 20
use std::{
collections::HashSet,
ops::{Deref, Not},
str::FromStr,
sync::LazyLock,
};
use api_models::{
admin as admin_api, organization as api_org, user as user_api, user_role as user_ro... | crates/router/src/types/domain/user.rs#chunk0 | router | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: ChargebeeSubscriptionCreateResponse
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeSubscriptionCreateResponse | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeSubscriptionCreateResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: AciRedirectionData
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciRedirectionData | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciRedirectionData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Adyenplatform | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::PaymentToken for for Dwolla
// File: crates/hyperswitch_connectors/src/connectors/dwolla.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Dwolla | crates/hyperswitch_connectors/src/connectors/dwolla.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Dwolla | api::PaymentToken for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSession for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 72 | null | Juspaythreedsserver | api::PaymentSession for | 0 | 0 | null | null |
// Struct: NovalnetRouterData
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetRouterData<T> | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl OrganizationInterface for for KafkaStore
// File: crates/router/src/db.rs
// Module: router
// Methods: 3 total (0 public)
impl OrganizationInterface for for KafkaStore | crates/router/src/db.rs | router | impl_block | null | null | null | 42 | null | KafkaStore | OrganizationInterface for | 3 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Airwallex
// File: crates/hyperswitch_connectors/src/connectors/airwallex.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Airwallex | crates/hyperswitch_connectors/src/connectors/airwallex.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Airwallex | ConnectorCommon for | 5 | 0 | null | null |
// Struct: IncomingWebhookRequestDetails
// File: crates/hyperswitch_interfaces/src/webhooks.rs
// Module: hyperswitch_interfaces
// Implementations: 0
pub struct IncomingWebhookRequestDetails<'a> | crates/hyperswitch_interfaces/src/webhooks.rs | hyperswitch_interfaces | struct_definition | IncomingWebhookRequestDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: Profile
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Implementations: 1
pub struct Profile | crates/diesel_models/src/business_profile.rs | diesel_models | struct_definition | Profile | 1 | [] | 33 | null | null | null | null | null | null | null |
// Function: mk_crud_locker_request
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn mk_crud_locker_request(
locker: &settings::Locker,
path: &str,
req: api::TokenizePayloadEncrypted,
tenant_id: id_type::TenantId,
request_id: Option<RequestId>,
) -> CustomRes... | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 95 | mk_crud_locker_request | null | null | null | null | null | null |
// Struct: AverageAccumulator
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: PaymentMetricAccumulator
pub struct AverageAccumulator | crates/analytics/src/payments/accumulator.rs | analytics | struct_definition | AverageAccumulator | 1 | [
"PaymentMetricAccumulator"
] | 48 | null | null | null | null | null | null | null |
// Trait: ProcessPaymentAttempt
// File: crates/router/src/routes/dummy_connector/utils.rs
// Module: router
pub trait ProcessPaymentAttempt | crates/router/src/routes/dummy_connector/utils.rs | router | trait_definition | null | null | null | 30 | null | null | ProcessPaymentAttempt | null | null | null | null |
// Implementation: impl State for for CardStored
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for CardStored | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | impl_block | null | null | null | 46 | null | CardStored | State for | 0 | 0 | null | null |
// Function: get_jwt_from_cookies
// File: crates/router/src/services/authentication/cookies.rs
// Module: router
pub fn get_jwt_from_cookies(cookies: &str) -> RouterResult<String> | crates/router/src/services/authentication/cookies.rs | router | function_signature | null | null | null | 42 | get_jwt_from_cookies | null | null | null | null | null | null |
// Function: list_blocked_payment_methods
// File: crates/openapi/src/routes/blocklist.rs
// Module: openapi
pub fn list_blocked_payment_methods() | crates/openapi/src/routes/blocklist.rs | openapi | function_signature | null | null | null | 33 | list_blocked_payment_methods | null | null | null | null | null | null |
// File: crates/router/src/types/storage/business_profile.rs
// Module: router
pub use diesel_models::business_profile::{Profile, ProfileNew, ProfileUpdateInternal};
| crates/router/src/types/storage/business_profile.rs | router | full_file | null | null | null | 34 | null | null | null | null | null | null | null |
// Struct: VgsRetrieveResponse
// File: crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VgsRetrieveResponse | crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs | hyperswitch_connectors | struct_definition | VgsRetrieveResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_retry_threshold
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_retry_threshold(&self) -> Option<u16> | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 46 | get_retry_threshold | null | null | null | null | null | null |
// Implementation: impl ChatErrors
// File: crates/router/src/core/errors/chat.rs
// Module: router
// Methods: 1 total (1 public)
impl ChatErrors | crates/router/src/core/errors/chat.rs | router | impl_block | null | null | null | 36 | null | ChatErrors | null | 1 | 1 | null | null |
// Function: retrieve_mandates_list
// File: crates/openapi/src/routes/mandates.rs
// Module: openapi
pub fn retrieve_mandates_list() | crates/openapi/src/routes/mandates.rs | openapi | function_signature | null | null | null | 36 | retrieve_mandates_list | null | null | null | null | null | null |
// Struct: TokenizeWithCard
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct TokenizeWithCard | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | struct_definition | TokenizeWithCard | 1 | [
"State"
] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Digitalvirgo | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Digitalvirgo | api::RefundExecute for | 0 | 0 | null | null |
// Struct: NuveiPayoutUrlDetails
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiPayoutUrlDetails | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiPayoutUrlDetails | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl Server
// File: crates/drainer/src/settings.rs
// Module: drainer
// Methods: 1 total (1 public)
impl Server | crates/drainer/src/settings.rs | drainer | impl_block | null | null | null | 34 | null | Server | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentCapture for for Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Helcim | api::PaymentCapture for | 0 | 0 | null | null |
// File: crates/injector/src/consts.rs
// Module: injector
/// Header name for external vault metadata
pub const EXTERNAL_VAULT_METADATA_HEADER: &str = "x-external-vault-metadata";
| crates/injector/src/consts.rs | injector | full_file | null | null | null | 46 | null | null | null | null | null | null | null |
// Function: list_payments
// File: crates/router/src/core/payments.rs
// Module: router
pub fn list_payments(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<id_type::ProfileId>>,
constraints: api::PaymentListConstraints,
) -> RouterResponse<api::PaymentList... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 76 | list_payments | null | null | null | null | null | null |
// Trait: ApiLogsFilterAnalytics
// File: crates/analytics/src/api_event/events.rs
// Module: analytics
pub trait ApiLogsFilterAnalytics: LoadRow<ApiLogsResult> | crates/analytics/src/api_event/events.rs | analytics | trait_definition | null | null | null | 39 | null | null | ApiLogsFilterAnalytics | null | null | null | null |
// Struct: PaymentCancel
// File: crates/router/src/core/payments/operations/payment_cancel.rs
// Module: router
// Implementations: 0
pub struct PaymentCancel | crates/router/src/core/payments/operations/payment_cancel.rs | router | struct_definition | PaymentCancel | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Function: list_by_merchant_id_data_kind
// File: crates/diesel_models/src/query/blocklist.rs
// Module: diesel_models
pub fn list_by_merchant_id_data_kind(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
data_kind: common_enums::BlocklistDataKind,
limit: i64,
... | crates/diesel_models/src/query/blocklist.rs | diesel_models | function_signature | null | null | null | 98 | list_by_merchant_id_data_kind | null | null | null | null | null | null |
},
)?,
card_holder_name: card_details.card_holder_name,
bin_number: card_details.card_isin,
last_four: card_details.last4_digits,
nick_name: card_details.nick_name,
card_issuin... | crates/router/src/core/payment_methods.rs#chunk2 | router | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Struct: BankOfAmericaTokenInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaTokenInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaTokenInformation | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: NexixpayConnectorMetaData
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexixpayConnectorMetaData | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | NexixpayConnectorMetaData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: NoonCancelSubscriptionObject
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonCancelSubscriptionObject | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonCancelSubscriptionObject | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: StripebillingWebhookData
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingWebhookData | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingWebhookData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: refunds_create
// File: crates/openapi/src/routes/refunds.rs
// Module: openapi
pub fn refunds_create() | crates/openapi/src/routes/refunds.rs | openapi | function_signature | null | null | null | 29 | refunds_create | 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: BreadpayRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BreadpayRefundRequest | crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs | hyperswitch_connectors | struct_definition | BreadpayRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
api_models::enums::WebhookDeliveryAttempt,
api_models::enums::PaymentChargeType,
api_models::enums::StripeChargeType,
api_models::payments::CustomerDetailsResponse,
api_models::payments::OpenBankingData,
api_models::payments::OpenBankingSessionToken,
api_models::p... | crates/openapi/src/openapi_v2.rs#chunk1 | openapi | chunk | null | null | null | 1,225 | null | null | null | null | null | null | null |
// Struct: Avs
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Avs | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | Avs | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl ValidateStatusForOperation for for PaymentGet
// File: crates/router/src/core/payments/operations/payment_get.rs
// Module: router
// Methods: 1 total (0 public)
impl ValidateStatusForOperation for for PaymentGet | crates/router/src/core/payments/operations/payment_get.rs | router | impl_block | null | null | null | 52 | null | PaymentGet | ValidateStatusForOperation for | 1 | 0 | null | null |
// Struct: PayuPaymentsCancelResponse
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuPaymentsCancelResponse | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuPaymentsCancelResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: from_decision_engine_approach
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn from_decision_engine_approach(approach: &str) -> Self | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 43 | from_decision_engine_approach | null | null | null | null | null | null |
// Struct: EncryptDataRequest
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 0
pub struct EncryptDataRequest | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | EncryptDataRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 6
// Public structs: 30
use common_enums::enums;
use common_utils::types::MinorUnit;
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_method_data::PaymentMeth... | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 7,142 | null | null | null | null | null | null | null |
// Struct: JpmorganPaymentMethodType
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganPaymentMethodType | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganPaymentMethodType | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: TsysRouterData
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysRouterData<T> | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: psync_attempt_status_from_transaction_state
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
pub fn psync_attempt_status_from_transaction_state(
getnet_status: GetnetPaymentStatus,
is_auto_capture: bool,
transaction_type: GetnetTran... | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 79 | psync_attempt_status_from_transaction_state | null | null | null | null | null | null |
// Function: list_customers
// File: crates/router/src/core/customers.rs
// Module: router
pub fn list_customers(
state: SessionState,
merchant_id: id_type::MerchantId,
_profile_id_list: Option<Vec<id_type::ProfileId>>,
key_store: domain::MerchantKeyStore,
request: customers::CustomerListRequest,
)... | crates/router/src/core/customers.rs | router | function_signature | null | null | null | 92 | list_customers | null | null | null | null | null | null |
// Struct: PayoutsUpdateInternal
// File: crates/hyperswitch_domain_models/src/payouts/payouts.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PayoutsUpdateInternal | crates/hyperswitch_domain_models/src/payouts/payouts.rs | hyperswitch_domain_models | struct_definition | PayoutsUpdateInternal | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: HeaderMapStruct
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 1
// Documentation: A helper struct to extract headers from the request
pub struct HeaderMapStruct<'a> | crates/router/src/services/authentication.rs | router | struct_definition | HeaderMapStruct | 1 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Wise | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: WebhookEvent
// File: crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WebhookEvent | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs | hyperswitch_connectors | struct_definition | WebhookEvent | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Klarna | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl RevenueRecoveryAlgorithmData
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl RevenueRecoveryAlgorithmData | crates/diesel_models/src/business_profile.rs | diesel_models | impl_block | null | null | null | 44 | null | RevenueRecoveryAlgorithmData | null | 1 | 1 | null | null |
// Function: update_user_theme
// File: crates/router/src/core/user/theme.rs
// Module: router
pub fn update_user_theme(
state: SessionState,
theme_id: String,
user_from_token: UserFromToken,
request: theme_api::UpdateThemeRequest,
) -> UserResponse<theme_api::GetThemeResponse> | crates/router/src/core/user/theme.rs | router | function_signature | null | null | null | 72 | update_user_theme | null | null | null | null | null | null |
// File: crates/api_models/src/errors/types.rs
// Module: api_models
// Public functions: 2
// Public structs: 3
use reqwest::StatusCode;
use router_derive::PolymorphicSchema;
use serde::Serialize;
use utoipa::ToSchema;
#[derive(Debug, serde::Serialize)]
pub enum ErrorType {
InvalidRequestError,
RouterError,
... | crates/api_models/src/errors/types.rs | api_models | full_file | null | null | null | 1,299 | null | null | null | null | null | null | null |
// File: crates/router/src/routes/ephemeral_key.rs
// Module: router
// Public functions: 4
use actix_web::{web, HttpRequest, HttpResponse};
use router_env::{instrument, tracing, Flow};
use super::AppState;
#[cfg(feature = "v2")]
use crate::types::domain;
use crate::{
core::{api_locking, payments::helpers},
s... | crates/router/src/routes/ephemeral_key.rs | router | full_file | null | null | null | 865 | null | null | null | null | null | null | null |
// Struct: CalGlobalSuccessRateConfigEventRequest
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct CalGlobalSuccessRateConfigEventRequest | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | CalGlobalSuccessRateConfigEventRequest | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/stripebilling.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Co... | crates/router/tests/connectors/stripebilling.rs | router | full_file | null | null | null | 2,932 | null | null | null | null | null | null | null |
// Function: get_accepted_at
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Get when the customer acceptance was provided
pub fn get_accepted_at(&self) -> PrimitiveDateTime | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 46 | get_accepted_at | null | null | null | null | null | null |
// Struct: RoutingVolumeSplitWrapper
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingVolumeSplitWrapper | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingVolumeSplitWrapper | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: CardPayout
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct CardPayout | crates/api_models/src/payouts.rs | api_models | struct_definition | CardPayout | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl Proxy
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Proxy | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Proxy | null | 1 | 1 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.