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: authorize_preprocessing_steps
// File: crates/router/src/core/payments/flows/authorize_flow.rs
// Module: router
pub fn authorize_preprocessing_steps<F: Clone>(
state: &SessionState,
router_data: &types::RouterData<F, types::PaymentsAuthorizeData, types::PaymentsResponseData>,
confirm: bool,
... | crates/router/src/core/payments/flows/authorize_flow.rs | router | function_signature | null | null | null | 106 | authorize_preprocessing_steps | null | null | null | null | null | null |
// Function: get_payment_status
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn get_payment_status(&self) -> common_enums::AttemptStatus | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 51 | get_payment_status | null | null | null | null | null | null |
// Implementation: impl Multitenancy
// File: crates/drainer/src/settings.rs
// Module: drainer
// Methods: 3 total (3 public)
impl Multitenancy | crates/drainer/src/settings.rs | drainer | impl_block | null | null | null | 38 | null | Multitenancy | null | 3 | 3 | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Cybersource | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Implementation: impl PaymentIntent
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Methods: 13 total (9 public)
impl PaymentIntent | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | impl_block | null | null | null | 44 | null | PaymentIntent | null | 13 | 9 | null | null |
// Function: complete_payout_eligibility
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn complete_payout_eligibility(
state: &SessionState,
merchant_context: &domain::MerchantContext,
connector_data: &api::ConnectorData,
payout_data: &mut PayoutData,
) -> RouterResult<()> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 78 | complete_payout_eligibility | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn new(name: Secret<String>) -> UserResult<Self> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 34 | new | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Zen
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Zen | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Zen | api::PaymentSync for | 0 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/webhooks.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/webhooks.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
Ok(Secret::new(encrypted_data.token.clone()))
}
}
pub trait CryptoData {
fn get_pay_currency(&self) -> Result<String, Error>;
}
impl CryptoData for domain::CryptoData {
fn get_pay_currency(&self) -> Result<String, Error> {
self.pay_currency
.clone()
.ok_or_else(miss... | crates/router/src/connector/utils.rs#chunk2 | router | chunk | null | null | null | 8,173 | null | null | null | null | null | null | null |
// Struct: ApplepayMerchantVerificationConfigs
// File: crates/api_models/src/verifications.rs
// Module: api_models
// Implementations: 0
pub struct ApplepayMerchantVerificationConfigs | crates/api_models/src/verifications.rs | api_models | struct_definition | ApplepayMerchantVerificationConfigs | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: switch_profile_for_user_in_org_and_merchant
// File: crates/router/src/routes/user.rs
// Module: router
pub fn switch_profile_for_user_in_org_and_merchant(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<user_api::SwitchProfileRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 73 | switch_profile_for_user_in_org_and_merchant | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Datatrans | api::PaymentCapture for | 0 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Nordea
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Nordea | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Nordea | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl ClientSecretInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 3 total (0 public)
impl ClientSecretInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | ClientSecretInterface for | 3 | 0 | null | null |
// Module Structure
// File: crates/euclid/src/backend/interpreter.rs
// Module: euclid
// Public submodules:
pub mod types;
| crates/euclid/src/backend/interpreter.rs | euclid | module_structure | null | null | null | 32 | null | null | null | null | null | 1 | 0 |
// Struct: PixTransactionRequest
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PixTransactionRequest | crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs | hyperswitch_connectors | struct_definition | PixTransactionRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl MandateAmountData
// File: crates/hyperswitch_domain_models/src/mandates.rs
// Module: hyperswitch_domain_models
// Methods: 2 total (2 public)
impl MandateAmountData | crates/hyperswitch_domain_models/src/mandates.rs | hyperswitch_domain_models | impl_block | null | null | null | 48 | null | MandateAmountData | null | 2 | 2 | null | null |
// Implementation: impl api::PaymentSession for for Finix
// File: crates/hyperswitch_connectors/src/connectors/finix.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Finix | crates/hyperswitch_connectors/src/connectors/finix.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Finix | api::PaymentSession for | 0 | 0 | null | null |
// Struct: OutgoingWebhookRequestContent
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Implementations: 0
pub struct OutgoingWebhookRequestContent | crates/api_models/src/webhook_events.rs | api_models | struct_definition | OutgoingWebhookRequestContent | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: GetApiEventFiltersRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GetApiEventFiltersRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GetApiEventFiltersRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl HashiCorpVault
// File: crates/external_services/src/hashicorp_vault/core.rs
// Module: external_services
// Methods: 2 total (1 public)
impl HashiCorpVault | crates/external_services/src/hashicorp_vault/core.rs | external_services | impl_block | null | null | null | 46 | null | HashiCorpVault | null | 2 | 1 | null | null |
// Function: delete_all_user_scoped_dashboard_metadata_by_merchant_id
// File: crates/diesel_models/src/query/dashboard_metadata.rs
// Module: diesel_models
pub fn delete_all_user_scoped_dashboard_metadata_by_merchant_id(
conn: &PgPooledConn,
user_id: String,
merchant_id: id_type::MerchantId,
... | crates/diesel_models/src/query/dashboard_metadata.rs | diesel_models | function_signature | null | null | null | 80 | delete_all_user_scoped_dashboard_metadata_by_merchant_id | null | null | null | null | null | null |
// Struct: MerchantAccountIdentifier
// File: crates/router/src/types/domain/user.rs
// Module: router
// Implementations: 0
pub struct MerchantAccountIdentifier | crates/router/src/types/domain/user.rs | router | struct_definition | MerchantAccountIdentifier | 0 | [] | 35 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/macros.rs
// Module: common_utils
// Public functions: 4
//! Utility macros
#[allow(missing_docs)]
#[macro_export]
macro_rules! newtype_impl {
($is_pub:vis, $name:ident, $ty_path:path) => {
impl core::ops::Deref for $name {
type Target = $ty_path;
... | crates/common_utils/src/macros.rs | common_utils | full_file | null | null | null | 6,935 | null | null | null | null | null | null | null |
// Function: find_by_global_customer_id
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn find_by_global_customer_id(
conn: &PgPooledConn,
customer_id: &common_utils::id_type::GlobalCustomerId,
limit: Option<i64>,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 75 | find_by_global_customer_id | null | null | null | null | null | null |
// Struct: BankAccountDetails
// File: crates/pm_auth/src/types.rs
// Module: pm_auth
// Implementations: 0
pub struct BankAccountDetails | crates/pm_auth/src/types.rs | pm_auth | struct_definition | BankAccountDetails | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Cashtocode | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: PayboxCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayboxCaptureRequest | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs | hyperswitch_connectors | struct_definition | PayboxCaptureRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl PaymentLinkInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 3 total (0 public)
impl PaymentLinkInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 47 | null | KafkaStore | PaymentLinkInterface for | 3 | 0 | null | null |
// Struct: CoBadgedCardRequest
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 0
pub struct CoBadgedCardRequest | crates/api_models/src/open_router.rs | api_models | struct_definition | CoBadgedCardRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_checkout_event_status_and_reason
// File: crates/router/src/core/unified_authentication_service/utils.rs
// Module: router
pub fn get_checkout_event_status_and_reason(
attempt_status: common_enums::AttemptStatus,
) -> (Option<String>, Option<String>) | crates/router/src/core/unified_authentication_service/utils.rs | router | function_signature | null | null | null | 58 | get_checkout_event_status_and_reason | null | null | null | null | null | null |
// Struct: RecurlyRouterData
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RecurlyRouterData<T> | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | struct_definition | RecurlyRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: delete_by_merchant_id
// File: crates/diesel_models/src/query/merchant_key_store.rs
// Module: diesel_models
pub fn delete_by_merchant_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
) -> StorageResult<bool> | crates/diesel_models/src/query/merchant_key_store.rs | diesel_models | function_signature | null | null | null | 68 | delete_by_merchant_id | null | null | null | null | null | null |
// Function: elimination_routing_update_configs
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn elimination_routing_update_configs(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<routing_types::DynamicRoutingUpdateConfigQuery>,
json_payload: web::Json<routing_types:... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 82 | elimination_routing_update_configs | null | null | null | null | null | null |
// Function: populate_error_reason
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
pub fn populate_error_reason(
code: Option<String>,
message: Option<String>,
reason: Option<String>,
http_code: u16,
attempt_status: Option<Attempt... | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 91 | populate_error_reason | null | null | null | null | null | null |
// Function: perform_eligibility_analysis
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_eligibility_analysis(
state: &SessionState,
key_store: &domain::MerchantKeyStore,
chosen: Vec<routing_types::RoutableConnectorChoice>,
transaction_data: &routing::TransactionDa... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 127 | perform_eligibility_analysis | null | null | null | null | null | null |
// File: crates/router/src/utils/user/dashboard_metadata.rs
// Module: router
// Public functions: 13
use std::{net::IpAddr, ops::Not, str::FromStr};
use actix_web::http::header::HeaderMap;
use api_models::user::dashboard_metadata::{
GetMetaDataRequest, GetMultipleMetaDataPayload, ProdIntent, SetMetaDataRequest,
... | crates/router/src/utils/user/dashboard_metadata.rs | router | full_file | null | null | null | 2,336 | null | null | null | null | null | null | null |
// Struct: CybersourceFulfillResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceFulfillResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceFulfillResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
// Public functions: 19
#[cfg(feature = "v1")]
use std::collections::HashSet;
use async_bb8_diesel::AsyncRunQueryDsl;
#[cfg(feature = "v1")]
use diesel::Table;
use diesel::{
associations::HasTable, debug_query, pg::Pg, BoolExpress... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | full_file | null | null | null | 4,496 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Breadpay
// File: crates/hyperswitch_connectors/src/connectors/breadpay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Breadpay | crates/hyperswitch_connectors/src/connectors/breadpay.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Breadpay | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl PayoutsInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 0 total (0 public)
impl PayoutsInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 49 | null | KafkaStore | PayoutsInterface for | 0 | 0 | null | null |
// Implementation: impl api::RefundSync for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 74 | null | Juspaythreedsserver | api::RefundSync for | 0 | 0 | null | null |
// Function: insert
// File: crates/diesel_models/src/query/generic_link.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<GenericLinkState> | crates/diesel_models/src/query/generic_link.rs | diesel_models | function_signature | null | null | null | 46 | insert | null | null | null | null | null | null |
// Function: sort_and_minify_json
// File: crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs
// Module: hyperswitch_connectors
pub fn sort_and_minify_json(value: &Value) -> Result<String, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 58 | sort_and_minify_json | null | null | null | null | null | null |
// Function: get_revenue_recovery_metadata
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn get_revenue_recovery_metadata(
&self,
) -> Option<diesel_models::types::PaymentRevenueRecoveryMetadata> | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 60 | get_revenue_recovery_metadata | null | null | null | null | null | null |
// Struct: HyperwalletRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HyperwalletRefundRequest | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs | hyperswitch_connectors | struct_definition | HyperwalletRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl Nordea
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Methods: 6 total (3 public)
impl Nordea | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Nordea | null | 6 | 3 | null | null |
// Struct: ShippingAddress
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ShippingAddress | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | ShippingAddress | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: ConnectorInfo
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 1
pub struct ConnectorInfo | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | ConnectorInfo | 1 | [] | 36 | null | null | null | null | null | null | null |
sub_flow: String,
code: String,
message: String,
data: hyperswitch_domain_models::gsm::GatewayStatusMappingUpdate,
) -> CustomResult<hyperswitch_domain_models::gsm::GatewayStatusMap, errors::StorageError> {
self.diesel_store
.update_gsm_rule(connector, flow, sub_f... | crates/router/src/db/kafka_store.rs#chunk3 | router | chunk | null | null | null | 8,101 | null | null | null | null | null | null | null |
// Struct: ThemeUpdateInternal
// File: crates/diesel_models/src/user/theme.rs
// Module: diesel_models
// Implementations: 0
pub struct ThemeUpdateInternal | crates/diesel_models/src/user/theme.rs | diesel_models | struct_definition | ThemeUpdateInternal | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: get_evidence_request_data
// File: crates/router/src/core/disputes/transformers.rs
// Module: router
pub fn get_evidence_request_data(
state: &SessionState,
merchant_context: &domain::MerchantContext,
evidence_request: api_models::disputes::SubmitEvidenceRequest,
dispute: &diesel_models::d... | crates/router/src/core/disputes/transformers.rs | router | function_signature | null | null | null | 98 | get_evidence_request_data | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Itaubank
// File: crates/hyperswitch_connectors/src/connectors/itaubank.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Itaubank | crates/hyperswitch_connectors/src/connectors/itaubank.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Itaubank | api::Refund for | 0 | 0 | null | null |
// File: crates/router/src/types/storage.rs
// Module: router
pub mod address;
pub mod api_keys;
pub mod authentication;
pub mod authorization;
pub mod blocklist;
pub mod blocklist_fingerprint;
pub mod blocklist_lookup;
pub mod business_profile;
pub mod callback_mapper;
pub mod capture;
pub mod cards_info;
pub mod con... | crates/router/src/types/storage.rs | router | full_file | null | null | null | 627 | null | null | null | null | null | null | null |
// Struct: CardsInfoUpdateForm
// File: crates/router/src/core/cards_info.rs
// Module: router
// Implementations: 0
pub struct CardsInfoUpdateForm | crates/router/src/core/cards_info.rs | router | struct_definition | CardsInfoUpdateForm | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Nmi | null | 1 | 0 | null | null |
// Implementation: impl api::RefundSync for for Zsl
// File: crates/hyperswitch_connectors/src/connectors/zsl.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Zsl | crates/hyperswitch_connectors/src/connectors/zsl.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Zsl | api::RefundSync for | 0 | 0 | null | null |
// Function: from_storage
// File: crates/router/src/services/kafka/payment_intent_event.rs
// Module: router
pub fn from_storage(intent: &'a PaymentIntent, infra_values: Option<Value>) -> Self | crates/router/src/services/kafka/payment_intent_event.rs | router | function_signature | null | null | null | 44 | from_storage | null | null | null | null | null | null |
// Struct: BillwerkPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillwerkPaymentsResponse | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs | hyperswitch_connectors | struct_definition | BillwerkPaymentsResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: NovalnetPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetPaymentsRequest | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetPaymentsRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
self.router_store
.find_payment_attempt_by_connector_transaction_id_payment_id_merchant_id(
connector_transaction_id,
payment_id,
merchant_id,
storage_scheme,
)
... | crates/storage_impl/src/payments/payment_attempt.rs#chunk1 | storage_impl | chunk | null | null | null | 8,183 | null | null | null | null | null | null | null |
// File: crates/router/src/services/kafka/dispute_event.rs
// Module: router
// Public functions: 1
// Public structs: 1
use common_utils::{
ext_traits::StringExt,
types::{AmountConvertor, MinorUnit, StringMinorUnitForConnector},
};
use diesel_models::enums as storage_enums;
use masking::Secret;
use time::Offs... | crates/router/src/services/kafka/dispute_event.rs | router | full_file | null | null | null | 946 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Rapyd | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl RuleMigrationQuery
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl RuleMigrationQuery | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 39 | null | RuleMigrationQuery | null | 1 | 1 | null | null |
// File: crates/router/src/core/payments/session_operation.rs
// Module: router
// Public functions: 2
use std::{fmt::Debug, str::FromStr};
pub use common_enums::enums::CallConnectorAction;
use common_utils::id_type;
use error_stack::ResultExt;
pub use hyperswitch_domain_models::{
mandates::MandateData,
payme... | crates/router/src/core/payments/session_operation.rs | router | full_file | null | null | null | 1,598 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/payouts.rs
// Module: router
// Public submodules:
pub mod access_token;
pub mod helpers;
pub mod retry;
pub mod transformers;
pub mod validator;
| crates/router/src/core/payouts.rs | router | module_structure | null | null | null | 47 | null | null | null | null | null | 5 | 0 |
// Function: get_payment_method_create_request
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn get_payment_method_create_request(
payment_method_data: &api_models::payments::PaymentMethodData,
payment_method_type: storage_enums::PaymentMethod,
payment_method_subtype: storage_enu... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 124 | get_payment_method_create_request | null | null | null | null | null | null |
// Function: is_eligible_for_refund
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
pub fn is_eligible_for_refund(&self, refund_amount: i64) -> DummyConnectorResult<()> | crates/router/src/routes/dummy_connector/types.rs | router | function_signature | null | null | null | 53 | is_eligible_for_refund | null | null | null | null | null | null |
// File: crates/router/src/types/api/feature_matrix.rs
// Module: router
// Public functions: 1
// Public structs: 1
use std::str::FromStr;
use error_stack::{report, ResultExt};
use crate::{
connector,
core::errors::{self, CustomResult},
services::connector_integration_interface::ConnectorEnum,
types... | crates/router/src/types/api/feature_matrix.rs | router | full_file | null | null | null | 4,472 | null | null | null | null | null | null | null |
// Function: get_refund_metrics_info
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_refund_metrics_info() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 38 | get_refund_metrics_info | null | null | null | null | null | null |
// Struct: InvalidFileStorageConfig
// File: crates/external_services/src/file_storage.rs
// Module: external_services
// Implementations: 2
// Traits: std::error::Error, Display
pub struct InvalidFileStorageConfig | crates/external_services/src/file_storage.rs | external_services | struct_definition | InvalidFileStorageConfig | 2 | [
"std::error::Error",
"Display"
] | 50 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/dynamic_routing_stats.rs
// Module: diesel_models
// Public functions: 3
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods};
use error_stack::report;
use super::generics;
use crate::{
dynamic_routing_stats::{
DynamicRoutingStats, DynamicR... | crates/diesel_models/src/query/dynamic_routing_stats.rs | diesel_models | full_file | null | null | null | 440 | null | null | null | null | null | null | null |
// File: crates/scheduler/src/errors.rs
// Module: scheduler
pub use common_utils::errors::{ParsingError, ValidationError};
#[cfg(feature = "email")]
use external_services::email::EmailError;
use hyperswitch_domain_models::errors::api_error_response::ApiErrorResponse;
pub use redis_interface::errors::RedisError;
pub u... | crates/scheduler/src/errors.rs | scheduler | full_file | null | null | null | 1,150 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: ThunesPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThunesPaymentsRequest | crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs | hyperswitch_connectors | struct_definition | ThunesPaymentsRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Blackhawknetwork
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Blackhawknetwork | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Blackhawknetwork | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Implementation: impl EventsHandler
// File: crates/router/src/events.rs
// Module: router
// Methods: 2 total (2 public)
impl EventsHandler | crates/router/src/events.rs | router | impl_block | null | null | null | 34 | null | EventsHandler | null | 2 | 2 | null | null |
// Implementation: impl RevenueRecoveryPaymentData
// File: crates/router/src/types/storage/revenue_recovery.rs
// Module: router
// Methods: 1 total (0 public)
impl RevenueRecoveryPaymentData | crates/router/src/types/storage/revenue_recovery.rs | router | impl_block | null | null | null | 44 | null | RevenueRecoveryPaymentData | null | 1 | 0 | null | null |
// Function: get_count_by_customer_id_merchant_id_status
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn get_count_by_customer_id_merchant_id_status(
conn: &PgPooledConn,
customer_id: &common_utils::id_type::CustomerId,
merchant_id: &common_utils::id_ty... | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 100 | get_count_by_customer_id_merchant_id_status | null | null | null | null | null | null |
// Function: list_invitations_for_user
// File: crates/router/src/core/user_role.rs
// Module: router
pub fn list_invitations_for_user(
state: SessionState,
user_from_token: auth::UserIdFromAuth,
) -> UserResponse<Vec<user_role_api::ListInvitationForUserResponse>> | crates/router/src/core/user_role.rs | router | function_signature | null | null | null | 67 | list_invitations_for_user | null | null | null | null | null | null |
// Implementation: impl std::ops::DerefMut for for ConnectorCustomerMap
// File: crates/common_types/src/customers.rs
// Module: common_types
// Methods: 1 total (0 public)
impl std::ops::DerefMut for for ConnectorCustomerMap | crates/common_types/src/customers.rs | common_types | impl_block | null | null | null | 57 | null | ConnectorCustomerMap | std::ops::DerefMut for | 1 | 0 | null | null |
// Struct: XenditPaymentsCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct XenditPaymentsCaptureRequest | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | XenditPaymentsCaptureRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: get_invoice_webhook_data_from_body
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
pub fn get_invoice_webhook_data_from_body(
body: &[u8],
) -> CustomResult<Self, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 69 | get_invoice_webhook_data_from_body | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Opayo | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Opayo | api::Payment for | 0 | 0 | null | null |
// Function: generate_jwt
// File: crates/router/src/services/jwt.rs
// Module: router
pub fn generate_jwt<T>(
claims_data: &T,
settings: &Settings,
) -> CustomResult<String, UserErrors>
where
T: serde::ser::Serialize, | crates/router/src/services/jwt.rs | router | function_signature | null | null | null | 61 | generate_jwt | null | null | null | null | null | null |
// Implementation: impl ClientSecretType
// File: crates/diesel_models/src/ephemeral_key.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl ClientSecretType | crates/diesel_models/src/ephemeral_key.rs | diesel_models | impl_block | null | null | null | 43 | null | ClientSecretType | null | 1 | 1 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Implementation: impl api::PaymentCapture for for Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Wellsfargopayout | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Wellsfargopayout | api::PaymentCapture for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
mod requests;
mod responses;
pub mod transformers;
use std::sync::LazyLock;
use base64::Engine;
use common_enums::enums;
use common_utils::{
consts::BASE64_ENGINE,
er... | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | full_file | null | null | null | 7,070 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorAccount
// File: crates/diesel_models/src/merchant_connector_account.rs
// Module: diesel_models
// Implementations: 2
pub struct MerchantConnectorAccount | crates/diesel_models/src/merchant_connector_account.rs | diesel_models | struct_definition | MerchantConnectorAccount | 2 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Wellsfargopayout | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Wellsfargopayout | api::Refund for | 0 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 74 | null | Juspaythreedsserver | api::RefundExecute for | 0 | 0 | null | null |
// Struct: RequestPaymentMethodTypes
// File: crates/common_types/src/payment_methods.rs
// Module: common_types
// Implementations: 1
pub struct RequestPaymentMethodTypes | crates/common_types/src/payment_methods.rs | common_types | struct_definition | RequestPaymentMethodTypes | 1 | [] | 38 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/storage_impl/src/database.rs
// Module: storage_impl
pub mod store;
| crates/storage_impl/src/database.rs | storage_impl | full_file | null | null | null | 20 | null | null | null | null | null | null | null |
// Struct: BitpayRouterData
// File: crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BitpayRouterData<T> | crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs | hyperswitch_connectors | struct_definition | BitpayRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: PazePhoneNumber
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PazePhoneNumber | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | struct_definition | PazePhoneNumber | 0 | [] | 42 | 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.