text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Implementations: 18
// Traits: api::ConnectorCustomer, api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCa... | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | struct_definition | Facilitapay | 18 | [
"api::ConnectorCustomer",
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"Connector... | 137 | null | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn new(
tenant_id: id_type::TenantId,
request_id: Option<RequestId>,
payment_id: String,
profile_id: id_type::ProfileId,
merchant_id: id_type::MerchantId,
flow: String,
... | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 100 | new | null | null | null | null | null | null |
// Function: to_merchant_connector_info
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn to_merchant_connector_info(&self, connector_label: &String) -> MerchantConnectorInfo | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 45 | to_merchant_connector_info | null | null | null | null | null | null |
// Struct: PmTokenStored
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct PmTokenStored | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | struct_definition | PmTokenStored | 1 | [
"State"
] | 47 | null | null | null | null | null | null | null |
// Function: delete_recovery_code_attempts_from_redis
// File: crates/router/src/utils/user/two_factor_auth.rs
// Module: router
pub fn delete_recovery_code_attempts_from_redis(
state: &SessionState,
user_id: &str,
) -> UserResult<()> | crates/router/src/utils/user/two_factor_auth.rs | router | function_signature | null | null | null | 57 | delete_recovery_code_attempts_from_redis | null | null | null | null | null | null |
// Struct: CustombillingPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustombillingPaymentsRequest | crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs | hyperswitch_connectors | struct_definition | CustombillingPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_list_of_accept_languages
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
pub fn get_list_of_accept_languages(accept_language: String) -> Vec<String> | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | function_signature | null | null | null | 58 | get_list_of_accept_languages | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Fiservemea | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: GetDisputeFilterRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GetDisputeFilterRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetDisputeFilterRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: TransactionQuery
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionQuery | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | TransactionQuery | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: payments_create_and_confirm_intent
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_create_and_confirm_intent(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsRequest>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 72 | payments_create_and_confirm_intent | null | null | null | null | null | null |
// Function: make_dsl_input
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn make_dsl_input(
payments_dsl_input: &routing::PaymentsDslInput<'_>,
) -> RoutingResult<dsl_inputs::BackendInput> | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 60 | make_dsl_input | null | null | null | null | null | null |
// Struct: BankOfAmericaErrorInformationResponse
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaErrorInformationResponse | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaErrorInformationResponse | 0 | [] | 56 | null | null | null | null | null | null | null |
// Struct: GpaymentsPreAuthVersionCallResponse
// File: crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GpaymentsPreAuthVersionCallResponse | crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs | hyperswitch_connectors | struct_definition | GpaymentsPreAuthVersionCallResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: config_should_call_gsm_payout
// File: crates/router/src/core/payouts/retry.rs
// Module: router
pub fn config_should_call_gsm_payout(
db: &dyn StorageInterface,
merchant_id: &common_utils::id_type::MerchantId,
retry_type: PayoutRetryType,
) -> bool | crates/router/src/core/payouts/retry.rs | router | function_signature | null | null | null | 74 | config_should_call_gsm_payout | null | null | null | null | null | null |
// Implementation: impl ConnectorApiIntegrationPayload
// File: crates/connector_configs/src/response_modifier.rs
// Module: connector_configs
// Methods: 1 total (1 public)
impl ConnectorApiIntegrationPayload | crates/connector_configs/src/response_modifier.rs | connector_configs | impl_block | null | null | null | 42 | null | ConnectorApiIntegrationPayload | null | 1 | 1 | null | null |
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
// Public functions: 1
// Public structs: 14
use std::{
collections::hash_map::DefaultHasher,
hash::{Hash, Hasher},
};
use common_enums::{
AuthenticationConnectors, AuthenticationStatus, Currency, DecoupledAuthenticationType,
... | crates/api_models/src/analytics/auth_events.rs | api_models | full_file | null | null | null | 2,288 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Paypal | api::PaymentSession for | 0 | 0 | null | null |
// Struct: LineItemData
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct LineItemData | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | LineItemData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Archipel | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Archipel | api::RefundExecute for | 0 | 0 | null | null |
// Struct: ThreeDsResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDsResponse | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | ThreeDsResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl RefundSync for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundSync for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payone | RefundSync for | 0 | 0 | null | null |
// Struct: ErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | ErrorResponse | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: PaymentCount
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
// Implementations: 0
pub struct PaymentCount | crates/api_models/src/analytics/payments.rs | api_models | struct_definition | PaymentCount | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: AuthipayPaymentReceipt
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthipayPaymentReceipt | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | AuthipayPaymentReceipt | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorSpecifications for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Vgs | ConnectorSpecifications for | 0 | 0 | null | null |
// Struct: CustomerAgreement
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustomerAgreement | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | CustomerAgreement | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: identifier
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn identifier(input: &str) -> ParseResult<&str, String> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 41 | identifier | null | null | null | null | null | null |
// Function: into_inner
// File: crates/masking/src/maskable.rs
// Module: masking
// Documentation: Get the inner data while consuming self
pub fn into_inner(self) -> T | crates/masking/src/maskable.rs | masking | function_signature | null | null | null | 42 | into_inner | null | null | null | null | null | null |
// Struct: AdyenRawCardIdentification
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenRawCardIdentification | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenRawCardIdentification | 0 | [] | 56 | null | null | null | null | null | null | null |
// Struct: SchemaMeta
// File: crates/router_derive/src/macros/generate_schema.rs
// Module: router_derive
// Implementations: 2
// Traits: Parse, quote::ToTokens
pub struct SchemaMeta | crates/router_derive/src/macros/generate_schema.rs | router_derive | struct_definition | SchemaMeta | 2 | [
"Parse",
"quote::ToTokens"
] | 49 | null | null | null | null | null | null | null |
// Function: call_connector_service_prerequisites
// File: crates/router/src/core/payments.rs
// Module: router
pub fn call_connector_service_prerequisites<F, RouterDReq, ApiRequest, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: &domain::MerchantContext,
connector: api::ConnectorData... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 363 | call_connector_service_prerequisites | null | null | null | null | null | null |
// Function: permanent_card
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
pub fn permanent_card(
payment_method_id: common_utils::id_type::GlobalPaymentMethodId,
locker_id: Option<String>,
token: String,
) -> Self | crates/router/src/types/storage/payment_method.rs | router | function_signature | null | null | null | 60 | permanent_card | null | null | null | null | null | null |
// Struct: SubMerchant
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SubMerchant | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | SubMerchant | 0 | [] | 44 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payouts/helpers.rs
// Module: router
// Public functions: 20
use ::payment_methods::controller::PaymentMethodsController;
use api_models::{enums, payment_methods::Card, payouts};
use common_utils::{
crypto::Encryptable,
encryption::Encryption,
errors::CustomResult,
ext_t... | crates/router/src/core/payouts/helpers.rs#chunk0 | router | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Implementation: impl AuthenticationStatus
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Methods: 2 total (2 public)
impl AuthenticationStatus | crates/common_enums/src/enums.rs | common_enums | impl_block | null | null | null | 39 | null | AuthenticationStatus | null | 2 | 2 | null | null |
// Struct: FinixPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/finix/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FinixPaymentsRequest | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs | hyperswitch_connectors | struct_definition | FinixPaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/analytics/disputes.rs
// Module: api_models
pub fn new(
dispute_stage: Option<DisputeStage>,
connector: Option<String>,
currency: Option<Currency>,
normalized_time_range: TimeRange,
) -> Self | crates/api_models/src/analytics/disputes.rs | api_models | function_signature | null | null | null | 64 | new | null | null | null | null | null | null |
// Function: get_filters
// File: crates/analytics/src/auth_events/core.rs
// Module: analytics
pub fn get_filters(
pool: &AnalyticsProvider,
req: GetAuthEventFilterRequest,
auth: &AuthInfo,
) -> AnalyticsResult<AuthEventFiltersResponse> | crates/analytics/src/auth_events/core.rs | analytics | function_signature | null | null | null | 61 | get_filters | null | null | null | null | null | null |
// Function: find_by_merchant_id_payment_id
// File: crates/diesel_models/src/query/authorization.rs
// Module: diesel_models
pub fn find_by_merchant_id_payment_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
payment_id: &common_utils::id_type::PaymentId,
) -> Stor... | crates/diesel_models/src/query/authorization.rs | diesel_models | function_signature | null | null | null | 85 | find_by_merchant_id_payment_id | null | null | null | null | null | null |
// Struct: TrustpaymentsCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpaymentsCaptureRequest | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | struct_definition | TrustpaymentsCaptureRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: CreditCardError
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CreditCardError | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | CreditCardError | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: dummy_connector_payment
// File: crates/router/src/routes/dummy_connector.rs
// Module: router
pub fn dummy_connector_payment(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<types::DummyConnectorPaymentRequest>,
) -> impl actix_web::Responder | crates/router/src/routes/dummy_connector.rs | router | function_signature | null | null | null | 73 | dummy_connector_payment | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Taxjar
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Taxjar | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Taxjar | api::MandateSetup for | 0 | 0 | null | null |
// Struct: PaysafeErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeErrorResponse | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: get_total_amount
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_total_amount(&self) -> MinorUnit | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 43 | get_total_amount | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Jpmorgan
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Jpmorgan | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Jpmorgan | api::Payment for | 0 | 0 | null | null |
// Struct: BillwerkTokenRequest
// File: crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillwerkTokenRequest | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs | hyperswitch_connectors | struct_definition | BillwerkTokenRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/connector_onboarding/paypal.rs
// Module: router
// Public exports:
pub use external_services::http_client;
| crates/router/src/core/connector_onboarding/paypal.rs | router | module_structure | null | null | null | 36 | null | null | null | null | null | 0 | 1 |
// Implementation: impl PaymentMetricAccumulator for for AverageAccumulator
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl PaymentMetricAccumulator for for AverageAccumulator | crates/analytics/src/payments/accumulator.rs | analytics | impl_block | null | null | null | 56 | null | AverageAccumulator | PaymentMetricAccumulator for | 2 | 0 | null | null |
// File: crates/router/src/routes/payments.rs
// Module: router
// Public functions: 57
// Public structs: 1
use crate::{
core::api_locking::{self, GetLockingInput},
services::authorization::permissions::Permission,
};
pub mod helpers;
use actix_web::{web, Responder};
use error_stack::report;
use hyperswitch_d... | crates/router/src/routes/payments.rs#chunk0 | router | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: CybersourceAuthenticationErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceAuthenticationErrorResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceAuthenticationErrorResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: BraintreeRefundInput
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BraintreeRefundInput | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | BraintreeRefundInput | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: get_pm_authentication_processor_config
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_pm_authentication_processor_config(key: &str) -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 45 | get_pm_authentication_processor_config | null | null | null | null | null | null |
// Struct: RecoveryDeciderClientConfig
// File: crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs
// Module: external_services
// Implementations: 1
pub struct RecoveryDeciderClientConfig | crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs | external_services | struct_definition | RecoveryDeciderClientConfig | 1 | [] | 49 | null | null | null | null | null | null | null |
// Struct: DashboardPaymentMethodPayload
// File: crates/connector_configs/src/common_config.rs
// Module: connector_configs
// Implementations: 0
pub struct DashboardPaymentMethodPayload | crates/connector_configs/src/common_config.rs | connector_configs | struct_definition | DashboardPaymentMethodPayload | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl ExtractedPayload
// File: crates/router/src/services/authentication/detached.rs
// Module: router
// Methods: 3 total (2 public)
impl ExtractedPayload | crates/router/src/services/authentication/detached.rs | router | impl_block | null | null | null | 40 | null | ExtractedPayload | null | 3 | 2 | null | null |
// Function: set_protocol_version
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
pub fn set_protocol_version(mut self, protocol_version: String) -> Self | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 50 | set_protocol_version | null | null | null | null | null | null |
// Struct: SetupMandate
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SetupMandate | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | SetupMandate | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: MultisafepayPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MultisafepayPaymentsResponse | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | MultisafepayPaymentsResponse | 0 | [] | 59 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 18
use api_models::payments::QrCodeInformation;
use common_enums::enums;
use common_utils::{errors::CustomResult, ext_traits::Encode, types::StringMajorUnit};
use error_stack::ResultExt;
... | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,724 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Adyen | api::PaymentSync for | 0 | 0 | null | null |
// Function: get_connector_wallets_details
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_connector_wallets_details(&self) -> Option<Secret<Value>> | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 50 | get_connector_wallets_details | null | null | null | null | null | null |
// Function: merchant_account_delete
// File: crates/router/src/core/admin.rs
// Module: router
pub fn merchant_account_delete(
state: SessionState,
merchant_id: id_type::MerchantId,
) -> RouterResponse<api::MerchantAccountDeleteResponse> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 56 | merchant_account_delete | null | null | null | null | null | null |
// Struct: MerchantId
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 1
pub struct MerchantId | crates/router/src/types/domain/user.rs | router | struct_definition | MerchantId | 1 | [] | 33 | null | null | null | null | null | null | null |
// Function: find_metadata_by_algorithm_id_profile_id
// File: crates/diesel_models/src/query/routing_algorithm.rs
// Module: diesel_models
pub fn find_metadata_by_algorithm_id_profile_id(
conn: &PgPooledConn,
algorithm_id: &common_utils::id_type::RoutingId,
profile_id: &common_utils::id_type::... | crates/diesel_models/src/query/routing_algorithm.rs | diesel_models | function_signature | null | null | null | 88 | find_metadata_by_algorithm_id_profile_id | null | null | null | null | null | null |
// Implementation: impl RedisTokenManager
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
// Methods: 21 total (4 public)
impl RedisTokenManager | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | impl_block | null | null | null | 43 | null | RedisTokenManager | null | 21 | 4 | null | null |
// Struct: ZenCustomerDetails
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ZenCustomerDetails | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | ZenCustomerDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: BillingDetails
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillingDetails | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BillingDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: CardNetworkTokenResponse
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 0
pub struct CardNetworkTokenResponse | crates/router/src/types/payment_methods.rs | router | struct_definition | CardNetworkTokenResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: construct_payload
// File: crates/analytics/src/opensearch.rs
// Module: analytics
// Documentation: Ensure that the input data and the structure of the query are valid and correctly handled.
pub fn construct_payload(&self, indexes: &[SearchIndex]) -> QueryResult<Vec<Value>> | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 62 | construct_payload | null | null | null | null | null | null |
// Function: set_error
// File: crates/hyperswitch_interfaces/src/events/connector_api_logs.rs
// Module: hyperswitch_interfaces
// Documentation: fn set_error
pub fn set_error(&mut self, error: serde_json::Value) | crates/hyperswitch_interfaces/src/events/connector_api_logs.rs | hyperswitch_interfaces | function_signature | null | null | null | 52 | set_error | null | null | null | null | null | null |
// File: crates/router/src/core/unified_connector_service/transformers.rs
// Module: router
// Public functions: 3
// Public structs: 1
use std::collections::HashMap;
use api_models::payments::QrCodeInformation;
use common_enums::{AttemptStatus, AuthenticationType};
use common_utils::{ext_traits::Encode, request::Met... | crates/router/src/core/unified_connector_service/transformers.rs#chunk0 | router | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Payouts cancel request transform
#[cfg(feature = "payouts")]
impl<F> TryFrom<&AdyenRouterData<&PayoutsRouterData<F>>> for AdyenPayoutCreateRequest {
type Error = Error;
fn try_from(item: &AdyenRouterData<&PayoutsRouterData<F>>) -> Result<Self, Self::Error> {
let auth_type = AdyenAuthType::try_from(&... | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs#chunk6 | hyperswitch_connectors | chunk | null | null | null | 5,544 | null | null | null | null | null | null | null |
// Function: set_customer
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
pub fn set_customer(
self,
customer: &'a api::CustomerDetails,
) -> NetworkTokenizationBuilder<'a, CustomerAssigned> | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | function_signature | null | null | null | 57 | set_customer | null | null | null | null | null | null |
// Function: set_payment_connector
// File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
// Module: hyperswitch_interfaces
// Documentation: set payment connector
pub fn set_payment_connector(&mut self, connector: RoutableConnectorChoice) | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs | hyperswitch_interfaces | function_signature | null | null | null | 54 | set_payment_connector | null | null | null | null | null | null |
// Implementation: impl BlocklistFingerprintNew
// File: crates/diesel_models/src/query/blocklist_fingerprint.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl BlocklistFingerprintNew | crates/diesel_models/src/query/blocklist_fingerprint.rs | diesel_models | impl_block | null | null | null | 47 | null | BlocklistFingerprintNew | null | 1 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | module_structure | null | null | null | 41 | null | null | null | null | null | 1 | 0 |
// Function: update_by_user_id
// File: crates/diesel_models/src/query/user.rs
// Module: diesel_models
pub fn update_by_user_id(
conn: &PgPooledConn,
user_id: &str,
user_update: UserUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/user.rs | diesel_models | function_signature | null | null | null | 63 | update_by_user_id | null | null | null | null | null | null |
// File: crates/analytics/src/refunds/metrics/refund_success_rate.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
refunds::{RefundDimensions, RefundFilters, RefundMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use error_stack... | crates/analytics/src/refunds/metrics/refund_success_rate.rs | analytics | full_file | null | null | null | 866 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for ConnectorEnum
// File: crates/hyperswitch_interfaces/src/connector_integration_interface.rs
// Module: hyperswitch_interfaces
// Methods: 4 total (0 public)
impl ConnectorValidation for for ConnectorEnum | crates/hyperswitch_interfaces/src/connector_integration_interface.rs | hyperswitch_interfaces | impl_block | null | null | null | 51 | null | ConnectorEnum | ConnectorValidation for | 4 | 0 | null | null |
// Function: set_role_info_in_cache_if_required
// File: crates/router/src/utils/user_role.rs
// Module: router
pub fn set_role_info_in_cache_if_required(
state: &SessionState,
role_id: &str,
org_id: &id_type::OrganizationId,
tenant_id: &id_type::TenantId,
) -> UserResult<()> | crates/router/src/utils/user_role.rs | router | function_signature | null | null | null | 78 | set_role_info_in_cache_if_required | null | null | null | null | null | null |
// File: crates/external_services/src/file_storage/aws_s3.rs
// Module: external_services
// Public structs: 1
use aws_config::meta::region::RegionProviderChain;
use aws_sdk_s3::{
operation::{
delete_object::DeleteObjectError, get_object::GetObjectError, put_object::PutObjectError,
},
Client,
};
us... | crates/external_services/src/file_storage/aws_s3.rs | external_services | full_file | null | null | null | 1,200 | null | null | null | null | null | null | null |
// Trait: DbType
// File: crates/analytics/src/sqlx.rs
// Module: analytics
pub trait DbType | crates/analytics/src/sqlx.rs | analytics | trait_definition | null | null | null | 24 | null | null | DbType | null | null | null | null |
// Struct: RuleResults
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RuleResults | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | RuleResults | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: receive_network_token_requestor_incoming_webhook
// File: crates/router/src/routes/webhooks.rs
// Module: router
pub fn receive_network_token_requestor_incoming_webhook<W: types::OutgoingWebhookType>(
state: web::Data<AppState>,
req: HttpRequest,
body: web::Bytes,
_path: web::Path<String>,... | crates/router/src/routes/webhooks.rs | router | function_signature | null | null | null | 85 | receive_network_token_requestor_incoming_webhook | null | null | null | null | null | null |
// Function: get_card_bin_and_last4_digits_for_masked_card
// File: crates/payment_methods/src/core/migration/payment_methods.rs
// Module: payment_methods
pub fn get_card_bin_and_last4_digits_for_masked_card(
masked_card_number: &str,
) -> Result<(String, String), cards::CardNumberValidationErr> | crates/payment_methods/src/core/migration/payment_methods.rs | payment_methods | function_signature | null | null | null | 72 | get_card_bin_and_last4_digits_for_masked_card | null | null | null | null | null | null |
// Implementation: impl CardExpiration
// File: crates/cards/src/lib.rs
// Module: cards
// Methods: 3 total (3 public)
impl CardExpiration | crates/cards/src/lib.rs | cards | impl_block | null | null | null | 34 | null | CardExpiration | null | 3 | 3 | null | null |
// Trait: Capturable
// File: crates/router/src/types.rs
// Module: router
pub trait Capturable | crates/router/src/types.rs | router | trait_definition | null | null | null | 24 | null | null | Capturable | null | null | null | null |
// Struct: RecurlyErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RecurlyErrorResponse | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | struct_definition | RecurlyErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Multisafepay | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: get_all_conversations
// File: crates/router/src/routes/chat.rs
// Module: router
pub fn get_all_conversations(
state: web::Data<AppState>,
http_req: HttpRequest,
payload: web::Query<chat_api::ChatListRequest>,
) -> HttpResponse | crates/router/src/routes/chat.rs | router | function_signature | null | null | null | 62 | get_all_conversations | null | null | null | null | null | null |
// Function: verify_hypersense_token
// File: crates/router/src/routes/hypersense.rs
// Module: router
pub fn verify_hypersense_token(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<external_service_auth_api::ExternalVerifyTokenRequest>,
) -> HttpResponse | crates/router/src/routes/hypersense.rs | router | function_signature | null | null | null | 73 | verify_hypersense_token | null | null | null | null | null | null |
// Struct: LinkToken
// File: crates/pm_auth/src/types/api/auth_service.rs
// Module: pm_auth
// Implementations: 0
pub struct LinkToken | crates/pm_auth/src/types/api/auth_service.rs | pm_auth | struct_definition | LinkToken | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 47 | null | Mpgs | null | 1 | 1 | null | null |
// Implementation: impl api::PaymentVoid for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Datatrans | api::PaymentVoid for | 0 | 0 | null | null |
// File: crates/router/src/types/storage/dashboard_metadata.rs
// Module: router
pub use diesel_models::user::dashboard_metadata::*;
| crates/router/src/types/storage/dashboard_metadata.rs | router | full_file | null | null | null | 27 | null | null | null | null | null | null | null |
// Struct: PostSessionTokens
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PostSessionTokens | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | PostSessionTokens | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: ConnectorAuthenticationRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ConnectorAuthenticationRequestData | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | struct_definition | ConnectorAuthenticationRequestData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: Shift4CardToken
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Shift4CardToken | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Shift4CardToken | 0 | [] | 50 | 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.