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: FrmFulfillmentSignifydApiResponse
// File: crates/router/src/core/fraud_check/types.rs
// Module: router
// Implementations: 0
pub struct FrmFulfillmentSignifydApiResponse | crates/router/src/core/fraud_check/types.rs | router | struct_definition | FrmFulfillmentSignifydApiResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: unify_address_details
// File: crates/hyperswitch_domain_models/src/address.rs
// Module: hyperswitch_domain_models
// Documentation: Unify the address details, giving priority to `self` when details are present in both
pub fn unify_address_details(&self, other: Option<&Self>) -> Self | crates/hyperswitch_domain_models/src/address.rs | hyperswitch_domain_models | function_signature | null | null | null | 67 | unify_address_details | null | null | null | null | null | null |
// File: crates/router_env/src/logger/defaults.rs
// Module: router_env
impl Default for super::config::LogFile {
fn default() -> Self {
Self {
enabled: true,
path: "logs".into(),
file_name: "debug.log".into(),
level: super::config::Level(tracing::Level::DEBU... | crates/router_env/src/logger/defaults.rs | router_env | full_file | null | null | null | 152 | null | null | null | null | null | null | null |
// Struct: PaymentCancelData
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentCancelData<F> | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | struct_definition | PaymentCancelData | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: BarclaycardConsumerAuthInformationEnrollmentResponse
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BarclaycardConsumerAuthInformationEnrollmentResponse | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | BarclaycardConsumerAuthInformationEnrollmentResponse | 0 | [] | 61 | null | null | null | null | null | null | null |
// Struct: TsysSearchTransactionRequest
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysSearchTransactionRequest | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysSearchTransactionRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PaypalPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalPaymentsRequest | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalPaymentsRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: TsysResponse
// File: crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TsysResponse | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs | hyperswitch_connectors | struct_definition | TsysResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: is_operation_allowed
// File: crates/router/src/core/fraud_check.rs
// Module: router
pub fn is_operation_allowed<Op: Debug>(operation: &Op) -> bool | crates/router/src/core/fraud_check.rs | router | function_signature | null | null | null | 41 | is_operation_allowed | null | null | null | null | null | null |
// Struct: OpensearchResultsTotal
// File: crates/api_models/src/analytics/search.rs
// Module: api_models
// Implementations: 0
pub struct OpensearchResultsTotal | crates/api_models/src/analytics/search.rs | api_models | struct_definition | OpensearchResultsTotal | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl InterpreterBackend
// File: crates/euclid/src/backend/interpreter.rs
// Module: euclid
// Methods: 7 total (0 public)
impl InterpreterBackend | crates/euclid/src/backend/interpreter.rs | euclid | impl_block | null | null | null | 39 | null | InterpreterBackend | null | 7 | 0 | null | null |
// Struct: Jpmorgan
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::... | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | struct_definition | Jpmorgan | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 128 | null | null | null | null | null | null | null |
// Function: get_bank_account_creds
// File: crates/router/src/core/pm_auth.rs
// Module: router
pub fn get_bank_account_creds(
connector: PaymentAuthConnectorData,
merchant_context: &domain::MerchantContext,
connector_name: &str,
access_token: &Secret<String>,
auth_type: pm_auth_types::ConnectorAu... | crates/router/src/core/pm_auth.rs | router | function_signature | null | null | null | 109 | get_bank_account_creds | null | null | null | null | null | null |
created_at: storage_model.created_at,
last_modified_at: storage_model.last_modified_at,
profile_id: storage_model.profile_id,
status: storage_model.status,
attempt_count: storage_model.attempt_count,
confirm: storage_model.confirm,
payo... | crates/storage_impl/src/payouts/payouts.rs#chunk1 | storage_impl | chunk | null | null | null | 405 | null | null | null | null | null | null | null |
// Struct: GetInfoResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GetInfoResponse | crates/api_models/src/analytics.rs | api_models | struct_definition | GetInfoResponse | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: RetrieveFileResponse
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RetrieveFileResponse | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | struct_definition | RetrieveFileResponse | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: WellsfargoRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoRefundRequest | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoRefundRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: add_entry_to_blocklist
// File: crates/openapi/src/routes/blocklist.rs
// Module: openapi
pub fn add_entry_to_blocklist() | crates/openapi/src/routes/blocklist.rs | openapi | function_signature | null | null | null | 35 | add_entry_to_blocklist | null | null | null | null | null | null |
// File: crates/router/src/services/pm_auth.rs
// Module: router
// Public functions: 1
use pm_auth::{
consts,
core::errors::ConnectorError,
types::{self as pm_auth_types, api::BoxedConnectorIntegration, PaymentAuthRouterData},
};
use crate::{
core::errors::{self},
logger,
routes::SessionState... | crates/router/src/services/pm_auth.rs | router | full_file | null | null | null | 644 | null | null | null | null | null | null | null |
// Function: get_gift_card_connector_key
// File: crates/common_utils/src/id_type/global_id/payment.rs
// Module: common_utils
// Documentation: Generate a key for gift card connector
pub fn get_gift_card_connector_key(&self) -> String | crates/common_utils/src/id_type/global_id/payment.rs | common_utils | function_signature | null | null | null | 52 | get_gift_card_connector_key | null | null | null | null | null | null |
// Struct: ThreedsInfo
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreedsInfo | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | ThreedsInfo | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: profiles_list
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn profiles_list(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::MerchantId>,
) -> HttpResponse | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 60 | profiles_list | null | null | null | null | null | null |
// Function: get_merchant_refund_metrics
// File: crates/router/src/analytics.rs
// Module: router
// Documentation: Panics if `json_payload` array does not contain one `GetRefundMetricRequest` element.
pub fn get_merchant_refund_metrics(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
... | crates/router/src/analytics.rs | router | function_signature | null | null | null | 100 | get_merchant_refund_metrics | null | null | null | null | null | null |
// Function: create_access_token_key
// File: crates/common_utils/src/access_token.rs
// Module: common_utils
// Documentation: Create a key for fetching the access token from redis
pub fn create_access_token_key(
merchant_id: &id_type::MerchantId,
merchant_connector_id_or_connector_name: impl Display,
) -> S... | crates/common_utils/src/access_token.rs | common_utils | function_signature | null | null | null | 71 | create_access_token_key | null | null | null | null | null | null |
// Struct: PaymentIntentFilterValue
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct PaymentIntentFilterValue | crates/api_models/src/analytics.rs | api_models | struct_definition | PaymentIntentFilterValue | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: get_payment_method_billing
// File: crates/hyperswitch_domain_models/src/payment_address.rs
// Module: hyperswitch_domain_models
pub fn get_payment_method_billing(&self) -> Option<&Address> | crates/hyperswitch_domain_models/src/payment_address.rs | hyperswitch_domain_models | function_signature | null | null | null | 45 | get_payment_method_billing | null | null | null | null | null | null |
// Struct: AuthenticationConnectorDetails
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Implementations: 0
pub struct AuthenticationConnectorDetails | crates/diesel_models/src/business_profile.rs | diesel_models | struct_definition | AuthenticationConnectorDetails | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: KlarnaErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaErrorResponse | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Tokenio
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Tokenio | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenio | api::PaymentSession for | 0 | 0 | null | null |
// Function: metadata_is_advanced_rule_for_payments
// File: crates/diesel_models/src/routing_algorithm.rs
// Module: diesel_models
pub fn metadata_is_advanced_rule_for_payments(&self) -> bool | crates/diesel_models/src/routing_algorithm.rs | diesel_models | function_signature | null | null | null | 42 | metadata_is_advanced_rule_for_payments | null | null | null | null | null | null |
// Struct: AirwallexWebhookDataResource
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexWebhookDataResource | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexWebhookDataResource | 0 | [] | 57 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/connector_onboarding.rs
// Module: router
pub mod paypal;
| crates/router/src/types/api/connector_onboarding.rs | router | full_file | null | null | null | 23 | null | null | null | null | null | null | null |
// Struct: BamboraErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraErrorResponse | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | BamboraErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: RefundResponseData
// File: crates/hyperswitch_connectors/src/connectors/boku/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponseData | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponseData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: PaysafePaymentHandlesSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafePaymentHandlesSyncResponse | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafePaymentHandlesSyncResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl CommonStorageInterface for for Store
// File: crates/router/src/db.rs
// Module: router
// Methods: 3 total (0 public)
impl CommonStorageInterface for for Store | crates/router/src/db.rs | router | impl_block | null | null | null | 42 | null | Store | CommonStorageInterface for | 3 | 0 | null | null |
// Function: get_retry_feature_data
// File: crates/common_types/src/domain.rs
// Module: common_types
// Documentation: Retrieves the retry feature data if it exists.
pub fn get_retry_feature_data(&self) -> Option<RetryFeatureData> | crates/common_types/src/domain.rs | common_types | function_signature | null | null | null | 52 | get_retry_feature_data | null | null | null | null | null | null |
// Struct: MerchantSurchargeConfigs
// File: crates/api_models/src/surcharge_decision_configs.rs
// Module: api_models
// Implementations: 0
pub struct MerchantSurchargeConfigs | crates/api_models/src/surcharge_decision_configs.rs | api_models | struct_definition | MerchantSurchargeConfigs | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: get_payment_processor_token_id_from_payment_attempt
// File: crates/router/src/core/revenue_recovery/types.rs
// Module: router
pub fn get_payment_processor_token_id_from_payment_attempt(
payment_attempt: &PaymentAttempt,
) -> Option<String> | crates/router/src/core/revenue_recovery/types.rs | router | function_signature | null | null | null | 54 | get_payment_processor_token_id_from_payment_attempt | null | null | null | null | null | null |
// Struct: OperationProperties
// File: crates/router_derive/src/macros/operation.rs
// Module: router_derive
// Implementations: 0
pub struct OperationProperties | crates/router_derive/src/macros/operation.rs | router_derive | struct_definition | OperationProperties | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: Xendit
// File: crates/hyperswitch_connectors/src/connectors/xendit.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: api::Payment, api::PaymentsPreProcessing, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture,... | crates/hyperswitch_connectors/src/connectors/xendit.rs | hyperswitch_connectors | struct_definition | Xendit | 19 | [
"api::Payment",
"api::PaymentsPreProcessing",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"Conne... | 138 | null | null | null | null | null | null | null |
// Function: payments_status_with_gateway_creds
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_status_with_gateway_creds(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
payload: web::Json<api_models::payments::PaymentsRetrieveRequest>,
path: web::Path<com... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 93 | payments_status_with_gateway_creds | null | null | null | null | null | null |
// Function: convert_forex_value
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn convert_forex_value(amount: i64, from_currency: JsValue, to_currency: JsValue) -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 56 | convert_forex_value | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/secrets_interface/secret_handler.rs
// Module: hyperswitch_interfaces
//! Module containing trait for raw secret retrieval
use common_utils::errors::CustomResult;
use crate::secrets_interface::{
secret_state::{RawSecret, SecretStateContainer, SecuredSecret},
SecretM... | crates/hyperswitch_interfaces/src/secrets_interface/secret_handler.rs | hyperswitch_interfaces | full_file | null | null | null | 186 | null | null | null | null | null | null | null |
// Struct: WebhookRefundEntity
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WebhookRefundEntity | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | WebhookRefundEntity | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: DataAuthResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DataAuthResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | DataAuthResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: RefundsRetrieveBody
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundsRetrieveBody | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundsRetrieveBody | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 8
use common_enums::enums;
use common_utils::types::StringMinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, RouterDa... | crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,686 | null | null | null | null | null | null | null |
// Function: add_custom_filter_clause
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn add_custom_filter_clause(
&mut self,
lhs: impl ToSql<T>,
rhs: impl ToSql<T>,
comparison: FilterTypes,
) -> QueryResult<()> | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 63 | add_custom_filter_clause | null | null | null | null | null | null |
// Implementation: impl PaymentToken for for Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentToken for for Plaid | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Plaid | PaymentToken for | 0 | 0 | null | null |
// Struct: StripebillingInvoiceBody
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct StripebillingInvoiceBody | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingInvoiceBody | 1 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Payme | ConnectorSpecifications for | 3 | 0 | null | null |
// Trait: SchedulerAppState
// File: crates/scheduler/src/scheduler.rs
// Module: scheduler
pub trait SchedulerAppState: Send + Sync + Clone | crates/scheduler/src/scheduler.rs | scheduler | trait_definition | null | null | null | 32 | null | null | SchedulerAppState | null | null | null | null |
// Struct: WorldpayXmlErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WorldpayXmlErrorResponse | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs | hyperswitch_connectors | struct_definition | WorldpayXmlErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: JpmorganCancelResponse
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct JpmorganCancelResponse | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | JpmorganCancelResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: parse_routing_algorithm
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn parse_routing_algorithm(&self) -> CustomResult<(), errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 40 | parse_routing_algorithm | null | null | null | null | null | null |
// Struct: ItaubankRouterData
// File: crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ItaubankRouterData<T> | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs | hyperswitch_connectors | struct_definition | ItaubankRouterData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: create_tokenize
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn create_tokenize(
state: &routes::SessionState,
value1: String,
value2: Option<String>,
lookup_key: String,
encryption_key: &masking::Secret<Vec<u8>>,
) -> RouterResult<String> | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 76 | create_tokenize | null | null | null | null | null | null |
// Function: list_connectors_for_a_profile
// File: crates/router/src/core/admin.rs
// Module: router
pub fn list_connectors_for_a_profile(
state: SessionState,
key_store: domain::MerchantKeyStore,
profile_id: id_type::ProfileId,
) -> RouterResponse<Vec<api_models::admin::MerchantConnectorListResponse>> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 76 | list_connectors_for_a_profile | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/nordea/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 2
use std::collections::HashMap;
use common_utils::{pii, request::Method, types::StringMajorUnit};
use error_stack::ResultExt;
use hyperswitch_domain_models::{
p... | crates/hyperswitch_connectors/src/connectors/nordea/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 4,386 | null | null | null | null | null | null | null |
// Struct: StaxPaymentsRequestMetaData
// File: crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StaxPaymentsRequestMetaData | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs | hyperswitch_connectors | struct_definition | StaxPaymentsRequestMetaData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Celero | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Celero | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Module Structure
// File: crates/api_models/src/user_role.rs
// Module: api_models
// Public submodules:
pub mod role;
| crates/api_models/src/user_role.rs | api_models | module_structure | null | null | null | 30 | null | null | null | null | null | 1 | 0 |
// Implementation: impl api::PaymentSync for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Itaubank | api::PaymentSync for | 0 | 0 | null | null |
// Function: increment_blocked_count_in_cache
// File: crates/router/src/core/card_testing_guard/utils.rs
// Module: router
pub fn increment_blocked_count_in_cache(
state: &SessionState,
card_testing_guard_data: Option<CardTestingGuardData>,
) -> RouterResult<()> | crates/router/src/core/card_testing_guard/utils.rs | router | function_signature | null | null | null | 59 | increment_blocked_count_in_cache | null | null | null | null | null | null |
// Function: payment_method_session_retrieve
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn payment_method_session_retrieve() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 35 | payment_method_session_retrieve | null | null | null | null | null | null |
// Function: set_payment_method
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
pub fn set_payment_method(
self,
payment_method: &domain::PaymentMethod,
) -> NetworkTokenizationBuilder<'a, PmFetched> | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | function_signature | null | null | null | 62 | set_payment_method | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 19
#[cfg(feature = "payouts")]
use api_models::payouts::Bank;
#[cfg(feature = "payouts")]
use api_models::payouts::PayoutMethodData;
#[cfg(feature = "payouts")]
use com... | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 5,797 | null | null | null | null | null | null | null |
// Struct: BluecodePaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluecodePaymentsResponse | crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs | hyperswitch_connectors | struct_definition | BluecodePaymentsResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorRedirectResponse for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Bluesnap | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Struct: DisputeResponsePaymentsRetrieve
// File: crates/api_models/src/disputes.rs
// Module: api_models
// Implementations: 0
pub struct DisputeResponsePaymentsRetrieve | crates/api_models/src/disputes.rs | api_models | struct_definition | DisputeResponsePaymentsRetrieve | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: payments_cancel
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_cancel(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsCancelRequest>,
path: web::Path<common_utils::id_type::GlobalPaymentId>,
) ->... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 84 | payments_cancel | null | null | null | null | null | null |
// Function: get_resource
// File: crates/storage_impl/src/mock_db.rs
// Module: storage_impl
// Documentation: Throws errors when the requested resource is not found
pub fn get_resource<D, R>(
&self,
state: &KeyManagerState,
key_store: &MerchantKeyStore,
resources: MutexGuard<'_, Vec<... | crates/storage_impl/src/mock_db.rs | storage_impl | function_signature | null | null | null | 124 | get_resource | null | null | null | null | null | null |
// File: crates/router/src/types/storage/payout_attempt.rs
// Module: router
pub use diesel_models::payout_attempt::{
PayoutAttempt, PayoutAttemptNew, PayoutAttemptUpdate, PayoutAttemptUpdateInternal,
};
| crates/router/src/types/storage/payout_attempt.rs | router | full_file | null | null | null | 49 | null | null | null | null | null | null | null |
// Struct: SchedulerSettings
// File: crates/scheduler/src/configs/settings.rs
// Module: scheduler
// Implementations: 0
pub struct SchedulerSettings | crates/scheduler/src/configs/settings.rs | scheduler | struct_definition | SchedulerSettings | 0 | [] | 34 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Digitalvirgo | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Digitalvirgo | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Checkbook | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Checkbook | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: RazorpayRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RazorpayRefundRequest | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs | hyperswitch_connectors | struct_definition | RazorpayRefundRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: mk_card_value1
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn mk_card_value1(
card_number: cards::CardNumber,
exp_year: String,
exp_month: String,
name_on_card: Option<String>,
nickname: Option<String>,
card_last_four: Option<String>,
c... | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 95 | mk_card_value1 | null | null | null | null | null | null |
// Implementation: impl CustomerNew
// File: crates/diesel_models/src/query/customers.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl CustomerNew | crates/diesel_models/src/query/customers.rs | diesel_models | impl_block | null | null | null | 39 | null | CustomerNew | null | 1 | 0 | null | null |
// Function: get_challenge_request_key
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
pub fn get_challenge_request_key(&self) -> Option<String> | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | function_signature | null | null | null | 46 | get_challenge_request_key | null | null | null | null | null | null |
// Struct: PaymentsSuccessRate
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Implementations: 0
pub struct PaymentsSuccessRate | crates/api_models/src/analytics/payment_intents.rs | api_models | struct_definition | PaymentsSuccessRate | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: CommonPaymentMethodData
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CommonPaymentMethodData | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | struct_definition | CommonPaymentMethodData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: PhoneNumber
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PhoneNumber | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | PhoneNumber | 0 | [] | 47 | null | null | null | null | null | null | null |
let response = WebhookResponseTracker::Payment { payment_id, status };
Ok(response)
}
_ => Err(errors::ApiErrorResponse::WebhookProcessingFailure)
.attach_printable("received non-json response from payments core")?,
}
}
#[cfg(feature = "payouts")]
#[instrument... | crates/router/src/core/webhooks/incoming.rs#chunk1 | router | chunk | null | null | null | 8,182 | null | null | null | null | null | null | null |
// Struct: UserRoleNew
// File: crates/diesel_models/src/user_role.rs
// Module: diesel_models
// Implementations: 0
pub struct UserRoleNew | crates/diesel_models/src/user_role.rs | diesel_models | struct_definition | UserRoleNew | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl MerchantConnectorInfo
// File: crates/api_models/src/admin.rs
// Module: api_models
// Methods: 1 total (1 public)
impl MerchantConnectorInfo | crates/api_models/src/admin.rs | api_models | impl_block | null | null | null | 38 | null | MerchantConnectorInfo | null | 1 | 1 | null | null |
// Function: validate_payment_order_age
// File: crates/router/src/core/utils/refunds_validator.rs
// Module: router
pub fn validate_payment_order_age(
created_at: &PrimitiveDateTime,
refund_max_age: i64,
) -> CustomResult<(), RefundValidationError> | crates/router/src/core/utils/refunds_validator.rs | router | function_signature | null | null | null | 59 | validate_payment_order_age | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/invoice.rs
// Module: diesel_models
// Public functions: 3
use diesel::{associations::HasTable, ExpressionMethods};
use super::generics;
use crate::{
invoice::{Invoice, InvoiceNew, InvoiceUpdate},
schema::invoice::dsl,
PgPooledConn, StorageResult,
};
impl InvoiceNe... | crates/diesel_models/src/query/invoice.rs | diesel_models | full_file | null | null | null | 280 | null | null | null | null | null | null | null |
// Implementation: impl CardDetailsForNetworkTransactionId
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl CardDetailsForNetworkTransactionId | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 52 | null | CardDetailsForNetworkTransactionId | null | 1 | 1 | null | null |
// File: crates/router/src/services/encryption.rs
// Module: router
// Public functions: 4
// Public structs: 2
use std::str;
use error_stack::{report, ResultExt};
use josekit::{jwe, jws};
use serde::{Deserialize, Serialize};
use crate::{
core::errors::{self, CustomResult},
utils,
};
#[derive(Debug, Clone, ... | crates/router/src/services/encryption.rs | router | full_file | null | null | null | 4,411 | null | null | null | null | null | null | null |
// Struct: NmiCancelRequest
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiCancelRequest | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiCancelRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: retrieve_connector
// File: crates/router/src/core/admin.rs
// Module: router
pub fn retrieve_connector(
state: SessionState,
merchant_id: id_type::MerchantId,
profile_id: Option<id_type::ProfileId>,
merchant_connector_id: id_type::MerchantConnectorAccountId,
) -> RouterResponse<api_models... | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 80 | retrieve_connector | null | null | null | null | null | null |
// Struct: OrderInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OrderInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | OrderInformation | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: PayoutIndividualDetails
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutIndividualDetails | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutIndividualDetails | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Getnet | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Getnet | api::PaymentSession for | 0 | 0 | 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::PaymentVoid for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Square | api::PaymentVoid for | 0 | 0 | null | null |
// Function: find_by_payment_id_merchant_id
// File: crates/diesel_models/src/query/payment_intent.rs
// Module: diesel_models
pub fn find_by_payment_id_merchant_id(
conn: &PgPooledConn,
payment_id: &common_utils::id_type::PaymentId,
merchant_id: &common_utils::id_type::MerchantId,
) -> Sto... | crates/diesel_models/src/query/payment_intent.rs | diesel_models | function_signature | null | null | null | 84 | find_by_payment_id_merchant_id | null | null | null | null | null | null |
// Function: get_invoice_webhook_data_from_body
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
pub fn get_invoice_webhook_data_from_body(
body: &[u8],
) -> CustomResult<Self, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 69 | get_invoice_webhook_data_from_body | 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.