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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// File: crates/common_types/src/payment_methods.rs
// Module: common_types
// Public functions: 3
// Public structs: 4
//! Common types to be used in payment methods
use diesel::{
backend::Backend,
deserialize,
deserialize::FromSql,
serialize::ToSql,
sql_types::{Json, Jsonb},
AsExpression, Qu... | crates/common_types/src/payment_methods.rs | common_types | full_file | null | null | null | 2,351 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Worldline
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Worldline | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Worldline | ConnectorValidation for | 0 | 0 | null | null |
// Function: organization_update
// File: crates/openapi/src/routes/organization.rs
// Module: openapi
pub fn organization_update() | crates/openapi/src/routes/organization.rs | openapi | function_signature | null | null | null | 29 | organization_update | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Santander
// File: crates/hyperswitch_connectors/src/connectors/santander.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Santander | crates/hyperswitch_connectors/src/connectors/santander.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Santander | api::PaymentSync for | 0 | 0 | null | null |
// File: crates/openapi/src/routes/disputes.rs
// Module: openapi
// Public functions: 3
/// Disputes - Retrieve Dispute
/// Retrieves a dispute
#[utoipa::path(
get,
path = "/disputes/{dispute_id}",
params(
("dispute_id" = String, Path, description = "The identifier for dispute"),
("force_s... | crates/openapi/src/routes/disputes.rs | openapi | full_file | null | null | null | 955 | null | null | null | null | null | null | null |
// Struct: TokenizePayloadEncrypted
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct TokenizePayloadEncrypted | crates/api_models/src/payment_methods.rs | api_models | struct_definition | TokenizePayloadEncrypted | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl FraudCheckFulfillment for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl FraudCheckFulfillment for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Riskified | FraudCheckFulfillment for | 0 | 0 | null | null |
// Struct: NetceteraAuthType
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NetceteraAuthType | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | NetceteraAuthType | 0 | [] | 55 | null | null | null | null | null | null | null |
// Function: sync_onboarding_status
// File: crates/router/src/core/connector_onboarding.rs
// Module: router
pub fn sync_onboarding_status(
state: SessionState,
user_from_token: auth::UserFromToken,
request: api::OnboardingSyncRequest,
_req_state: ReqState,
) -> RouterResponse<api::OnboardingStatus> | crates/router/src/core/connector_onboarding.rs | router | function_signature | null | null | null | 79 | sync_onboarding_status | null | null | null | null | null | null |
// Struct: MolliePaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MolliePaymentsRequest | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | MolliePaymentsRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: create_revenue_recovery_attempt_data
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn create_revenue_recovery_attempt_data(
&self,
revenue_recovery_metadata: api_models::payments::PaymentRevenueRecoveryMetadata,
billing_connector... | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 125 | create_revenue_recovery_attempt_data | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Tokenex | api::Payment for | 0 | 0 | null | null |
// Struct: CompleteAuthorize
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CompleteAuthorize | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | CompleteAuthorize | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: DeutschebankDirectDebitRequest
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankDirectDebitRequest | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankDirectDebitRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: DecryptDataRequest
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 0
pub struct DecryptDataRequest | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | DecryptDataRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: external_vault_proxy_for_payments_core
// File: crates/router/src/core/payments.rs
// Module: router
pub fn external_vault_proxy_for_payments_core<F, Res, Req, Op, FData, D>(
state: SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 346 | external_vault_proxy_for_payments_core | null | null | null | null | null | null |
// Implementation: impl std::ops::Deref for for PaymentsTokenReference
// File: crates/hyperswitch_domain_models/src/mandates.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl std::ops::Deref for for PaymentsTokenReference | crates/hyperswitch_domain_models/src/mandates.rs | hyperswitch_domain_models | impl_block | null | null | null | 62 | null | PaymentsTokenReference | std::ops::Deref for | 1 | 0 | null | null |
// Struct: MockApiClient
// File: crates/router/src/services/api/client.rs
// Module: router
// Implementations: 1
// Traits: ApiClient
pub struct MockApiClient | crates/router/src/services/api/client.rs | router | struct_definition | MockApiClient | 1 | [
"ApiClient"
] | 39 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Iatapay | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Iatapay | ConnectorCommon for | 6 | 0 | null | null |
// Struct: NoonOrder
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonOrder | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonOrder | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: refunds_metadata_update
// File: crates/router/src/routes/refunds.rs
// Module: router
pub fn refunds_metadata_update(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<refunds::RefundMetadataUpdateRequest>,
path: web::Path<common_utils::id_type::GlobalRefundId>,
) -> H... | crates/router/src/routes/refunds.rs | router | function_signature | null | null | null | 81 | refunds_metadata_update | null | null | null | null | null | null |
// Function: update_by_role_id
// File: crates/diesel_models/src/query/role.rs
// Module: diesel_models
pub fn update_by_role_id(
conn: &PgPooledConn,
role_id: &str,
role_update: RoleUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/role.rs | diesel_models | function_signature | null | null | null | 64 | update_by_role_id | null | null | null | null | null | null |
// File: crates/api_models/src/consts.rs
// Module: api_models
/// Max payment intent fulfillment expiry
pub const MAX_ORDER_FULFILLMENT_EXPIRY: i64 = 1800;
/// Min payment intent fulfillment expiry
pub const MIN_ORDER_FULFILLMENT_EXPIRY: i64 = 60;
| crates/api_models/src/consts.rs | api_models | full_file | null | null | null | 73 | null | null | null | null | null | null | null |
// Implementation: impl StaticRoutingAlgorithm
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl StaticRoutingAlgorithm | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 39 | null | StaticRoutingAlgorithm | null | 1 | 1 | null | null |
// Function: get_challenge_request
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
pub fn get_challenge_request(&self) -> Option<String> | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | function_signature | null | null | null | 44 | get_challenge_request | null | null | null | null | null | null |
// File: crates/router_env/tests/env.rs
// Module: router_env
#![allow(clippy::print_stdout)]
#[cfg(feature = "vergen")]
use router_env as env;
#[cfg(feature = "vergen")]
#[tokio::test]
async fn basic() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
println!("CARGO_PKG_VERSION : {:?}", env!("CARGO_PKG... | crates/router_env/tests/env.rs | router_env | full_file | null | null | null | 317 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/thunes/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, Router... | crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,698 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: retrieve_dispute
// File: crates/openapi/src/routes/disputes.rs
// Module: openapi
pub fn retrieve_dispute() | crates/openapi/src/routes/disputes.rs | openapi | function_signature | null | null | null | 32 | retrieve_dispute | null | null | null | null | null | null |
// Function: find_optional_by_merchant_id_key_id
// File: crates/diesel_models/src/query/api_keys.rs
// Module: diesel_models
pub fn find_optional_by_merchant_id_key_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
key_id: &common_utils::id_type::ApiKeyId,
) -> Stor... | crates/diesel_models/src/query/api_keys.rs | diesel_models | function_signature | null | null | null | 87 | find_optional_by_merchant_id_key_id | null | null | null | null | null | null |
// File: crates/router/src/types/storage/reverse_lookup.rs
// Module: router
pub use diesel_models::reverse_lookup::{ReverseLookup, ReverseLookupNew};
| crates/router/src/types/storage/reverse_lookup.rs | router | full_file | null | null | null | 33 | null | null | null | null | null | null | null |
// Trait: ApiEventMetric
// File: crates/analytics/src/api_event/metrics.rs
// Module: analytics
pub trait ApiEventMetric<T> | crates/analytics/src/api_event/metrics.rs | analytics | trait_definition | null | null | null | 32 | null | null | ApiEventMetric | null | null | null | null |
// Struct: ChargebeeItemList
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeItemList | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeItemList | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: LockerMockUpNew
// File: crates/diesel_models/src/locker_mock_up.rs
// Module: diesel_models
// Implementations: 0
pub struct LockerMockUpNew | crates/diesel_models/src/locker_mock_up.rs | diesel_models | struct_definition | LockerMockUpNew | 0 | [] | 41 | null | null | null | null | null | null | null |
fn get_error_response(
&self,
res: Response,
event_builder: Option<&mut ConnectorEvent>,
) -> CustomResult<ErrorResponse, errors::ConnectorError> {
handle_vantiv_dispute_error_response(res, event_builder)
}
}
impl ConnectorIntegration<Evidence, SubmitEvidenceRequestData, Su... | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 5,398 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Payme | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl super::routing_events::events::RoutingEventLogAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::routing_events::events::RoutingEventLogAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 65 | null | ClickhouseClient | super::routing_events::events::RoutingEventLogAnalytics for | 0 | 0 | null | null |
// Function: create_connector_customer
// File: crates/router/src/core/payments/customers.rs
// Module: router
pub fn create_connector_customer<F: Clone, T: Clone>(
state: &SessionState,
connector: &api::ConnectorData,
router_data: &types::RouterData<F, T, types::PaymentsResponseData>,
customer_request... | crates/router/src/core/payments/customers.rs | router | function_signature | null | null | null | 91 | create_connector_customer | null | null | null | null | null | null |
// Implementation: impl ExtractedCardInfo
// File: crates/router/src/core/debit_routing.rs
// Module: router
// Methods: 2 total (0 public)
impl ExtractedCardInfo | crates/router/src/core/debit_routing.rs | router | impl_block | null | null | null | 41 | null | ExtractedCardInfo | null | 2 | 0 | null | null |
// Struct: GiropayBankRedirectAdditionalData
// File: crates/api_models/src/payments/additional_info.rs
// Module: api_models
// Implementations: 0
pub struct GiropayBankRedirectAdditionalData | crates/api_models/src/payments/additional_info.rs | api_models | struct_definition | GiropayBankRedirectAdditionalData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Ebanx | IncomingWebhook for | 3 | 0 | null | null |
// Trait: UpdateTracker
// File: crates/router/src/core/payments/operations.rs
// Module: router
pub trait UpdateTracker<F, D, Req>: Send | crates/router/src/core/payments/operations.rs | router | trait_definition | null | null | null | 35 | null | null | UpdateTracker | null | null | null | null |
// Struct: PaymentRevenueRecoveryMetadata
// File: crates/diesel_models/src/types.rs
// Module: diesel_models
// Implementations: 0
pub struct PaymentRevenueRecoveryMetadata | crates/diesel_models/src/types.rs | diesel_models | struct_definition | PaymentRevenueRecoveryMetadata | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: RawGooglePayToken
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RawGooglePayToken | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | RawGooglePayToken | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: Transactions
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Transactions | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | Transactions | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: AchBankTransfer
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct AchBankTransfer | crates/api_models/src/payouts.rs | api_models | struct_definition | AchBankTransfer | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl Health
// File: crates/drainer/src/health_check.rs
// Module: drainer
// Methods: 1 total (1 public)
impl Health | crates/drainer/src/health_check.rs | drainer | impl_block | null | null | null | 36 | null | Health | null | 1 | 1 | null | null |
// File: crates/router/src/routes/apple_pay_certificates_migration.rs
// Module: router
// Public functions: 1
use actix_web::{web, HttpRequest, HttpResponse};
use router_env::Flow;
use super::AppState;
use crate::{
core::{api_locking, apple_pay_certificates_migration},
services::{api, authentication as auth}... | crates/router/src/routes/apple_pay_certificates_migration.rs | router | full_file | null | null | null | 219 | null | null | null | null | null | null | null |
// Struct: PaymentToken
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentToken | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | PaymentToken | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: next_action_invoke_hidden_frame
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn next_action_invoke_hidden_frame(
payment_attempt: &storage::PaymentAttempt,
) -> RouterResult<Option<api_models::payments::PaymentsConnectorThreeDsInvokeData>> | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 64 | next_action_invoke_hidden_frame | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Mollie | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Mollie | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: RequiredFromNullableWithDefault
// File: crates/diesel_models/src/lib.rs
// Module: diesel_models
// Implementations: 1
// Documentation: value is NULL. The default value is provided by the `Default` trait implementation of `T`.
pub struct RequiredFromNullableWithDefault<T> | crates/diesel_models/src/lib.rs | diesel_models | struct_definition | RequiredFromNullableWithDefault | 1 | [] | 65 | null | null | null | null | null | null | null |
// Implementation: impl super::KafkaMessage for for KafkaPaymentAttemptEvent
// File: crates/router/src/services/kafka/payment_attempt_event.rs
// Module: router
// Methods: 3 total (0 public)
impl super::KafkaMessage for for KafkaPaymentAttemptEvent | crates/router/src/services/kafka/payment_attempt_event.rs | router | impl_block | null | null | null | 57 | null | KafkaPaymentAttemptEvent | super::KafkaMessage for | 3 | 0 | null | null |
// Struct: NoonWebhookSignature
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonWebhookSignature | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonWebhookSignature | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: ApiEventMetricsBucketValue
// File: crates/api_models/src/analytics/api_event.rs
// Module: api_models
// Implementations: 0
pub struct ApiEventMetricsBucketValue | crates/api_models/src/analytics/api_event.rs | api_models | struct_definition | ApiEventMetricsBucketValue | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: build_paypal_post_request
// File: crates/router/src/utils/connector_onboarding/paypal.rs
// Module: router
pub fn build_paypal_post_request<T>(
url: String,
body: T,
access_token: String,
) -> RouterResult<Request>
where
T: serde::Serialize + Send + 'static, | crates/router/src/utils/connector_onboarding/paypal.rs | router | function_signature | null | null | null | 75 | build_paypal_post_request | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Function: create_user_authentication_method
// File: crates/router/src/core/user.rs
// Module: router
pub fn create_user_authentication_method(
state: SessionState,
req: user_api::CreateUserAuthenticationMethodRequest,
) -> UserResponse<()> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 53 | create_user_authentication_method | null | null | null | null | null | null |
// Implementation: impl DynamicRoutingAlgorithmRef
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 6 total (6 public)
impl DynamicRoutingAlgorithmRef | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 41 | null | DynamicRoutingAlgorithmRef | null | 6 | 6 | null | null |
// Function: validate
// File: crates/router/src/configs/validations.rs
// Module: router
pub fn validate(&self) -> Result<(), ApplicationError> | crates/router/src/configs/validations.rs | router | function_signature | null | null | null | 35 | validate | null | null | null | null | null | null |
// Function: set_role_info_in_cache_by_user_role
// File: crates/router/src/utils/user_role.rs
// Module: router
pub fn set_role_info_in_cache_by_user_role(
state: &SessionState,
user_role: &UserRole,
) -> bool | crates/router/src/utils/user_role.rs | router | function_signature | null | null | null | 56 | set_role_info_in_cache_by_user_role | null | null | null | null | null | null |
// Struct: MerchantDetails
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantDetails | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | MerchantDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: SavePaymentMethodData
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
// Implementations: 0
pub struct SavePaymentMethodData<Req> | crates/router/src/core/payments/tokenization.rs | router | struct_definition | SavePaymentMethodData | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: SantanderPixQRCodePaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SantanderPixQRCodePaymentsResponse | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs | hyperswitch_connectors | struct_definition | SantanderPixQRCodePaymentsResponse | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id_file_id
// File: crates/diesel_models/src/query/file.rs
// Module: diesel_models
pub fn find_by_merchant_id_file_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
file_id: &str,
) -> StorageResult<Self> | crates/diesel_models/src/query/file.rs | diesel_models | function_signature | null | null | null | 76 | find_by_merchant_id_file_id | null | null | null | null | null | null |
// File: crates/kgraph_utils/src/error.rs
// Module: kgraph_utils
#[cfg(feature = "v2")]
use common_enums::connector_enums;
use euclid::{dssa::types::AnalysisErrorType, frontend::dir};
#[derive(Debug, thiserror::Error, serde::Serialize)]
#[serde(tag = "type", content = "info", rename_all = "snake_case")]
pub enum Kgra... | crates/kgraph_utils/src/error.rs | kgraph_utils | full_file | null | null | null | 225 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Hyperwallet
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Hyperwallet | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Hyperwallet | api::PaymentToken for | 0 | 0 | null | null |
// Function: find_processes_by_time_status
// File: crates/diesel_models/src/query/process_tracker.rs
// Module: diesel_models
pub fn find_processes_by_time_status(
conn: &PgPooledConn,
time_lower_limit: PrimitiveDateTime,
time_upper_limit: PrimitiveDateTime,
status: enums::ProcessTrack... | crates/diesel_models/src/query/process_tracker.rs | diesel_models | function_signature | null | null | null | 94 | find_processes_by_time_status | null | null | null | null | null | null |
// Implementation: impl KafkaProducer
// File: crates/router/src/services/kafka.rs
// Module: router
// Methods: 16 total (3 public)
impl KafkaProducer | crates/router/src/services/kafka.rs | router | impl_block | null | null | null | 37 | null | KafkaProducer | null | 16 | 3 | null | null |
// Struct: AirwallexPaymentsSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexPaymentsSyncResponse | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexPaymentsSyncResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: GpayTokenizationSpecification
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GpayTokenizationSpecification | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | GpayTokenizationSpecification | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for WebhookDeliveryAttemptListRequestInternal
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Methods: 1 total (0 public)
impl common_utils::events::ApiEventMetric for for WebhookDeliveryAttemptListRequestInternal | crates/api_models/src/webhook_events.rs | api_models | impl_block | null | null | null | 68 | null | WebhookDeliveryAttemptListRequestInternal | common_utils::events::ApiEventMetric for | 1 | 0 | null | null |
// Struct: LogFile
// File: crates/router_env/src/logger/config.rs
// Module: router_env
// Implementations: 0
pub struct LogFile | crates/router_env/src/logger/config.rs | router_env | struct_definition | LogFile | 0 | [] | 34 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id_connector_payout_id
// File: crates/diesel_models/src/query/payout_attempt.rs
// Module: diesel_models
pub fn find_by_merchant_id_connector_payout_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
connector_payout_id: &str,
) -> Stora... | crates/diesel_models/src/query/payout_attempt.rs | diesel_models | function_signature | null | null | null | 84 | find_by_merchant_id_connector_payout_id | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_org_id
// File: crates/hyperswitch_domain_models/src/merchant_account.rs
// Module: hyperswitch_domain_models
// Documentation: Get the organization_id from MerchantAccount
pub fn get_org_id(&self) -> &common_utils::id_type::OrganizationId | crates/hyperswitch_domain_models/src/merchant_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 60 | get_org_id | null | null | null | null | null | null |
// File: crates/diesel_models/src/tokenization.rs
// Module: diesel_models
// Public structs: 3
#[cfg(feature = "v2")]
use common_enums;
#[cfg(feature = "v2")]
use common_utils::id_type;
#[cfg(feature = "v2")]
use diesel::{AsChangeset, Identifiable, Insertable, Queryable};
#[cfg(feature = "v2")]
use serde::{Deserializ... | crates/diesel_models/src/tokenization.rs | diesel_models | full_file | null | null | null | 450 | null | null | null | null | null | null | null |
// Struct: FiservInteractions
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservInteractions | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservInteractions | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: get_entity_type
// File: crates/router/src/services/authorization/roles.rs
// Module: router
pub fn get_entity_type(&self) -> EntityType | crates/router/src/services/authorization/roles.rs | router | function_signature | null | null | null | 35 | get_entity_type | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Novalnet
// File: crates/hyperswitch_connectors/src/connectors/novalnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Novalnet | crates/hyperswitch_connectors/src/connectors/novalnet.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Novalnet | api::PaymentToken for | 0 | 0 | null | null |
// Struct: SquareAuthType
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquareAuthType | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquareAuthType | 0 | [] | 47 | null | null | null | null | null | null | null |
let payment_method = element.payment_method;
let payment_method_type = element.payment_method_type;
let connector = element.connector.clone();
let connector_variant = api_enums::Connector::from_str(connector.as_str())
.change_context(errors::ConnectorError::InvalidConnectorN... | crates/router/src/core/payment_methods/cards.rs#chunk3 | router | chunk | null | null | null | 8,192 | null | null | null | null | null | null | null |
// Struct: BizEmailProd
// File: crates/router/src/services/email/types.rs
// Module: router
// Implementations: 2
// Traits: EmailData
pub struct BizEmailProd | crates/router/src/services/email/types.rs | router | struct_definition | BizEmailProd | 2 | [
"EmailData"
] | 41 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/flows/cancel_post_capture_flow.rs
// Module: router
use async_trait::async_trait;
use super::{ConstructFlowSpecificData, Feature};
use crate::{
core::{
errors::{ConnectorErrorExt, RouterResult},
payments::{self, access_token, helpers, transformers, PaymentD... | crates/router/src/core/payments/flows/cancel_post_capture_flow.rs | router | full_file | null | null | null | 999 | null | null | null | null | null | null | null |
// Implementation: impl api::PayoutQuote for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutQuote for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Wise | api::PayoutQuote for | 0 | 0 | null | null |
// Implementation: impl api::PaymentSession for for Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Archipel | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Archipel | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl Default for for PaymentMethodsPTMapping
// File: crates/scheduler/src/consumer/types/process_data.rs
// Module: scheduler
// Methods: 1 total (0 public)
impl Default for for PaymentMethodsPTMapping | crates/scheduler/src/consumer/types/process_data.rs | scheduler | impl_block | null | null | null | 49 | null | PaymentMethodsPTMapping | Default for | 1 | 0 | null | null |
// Struct: DecisionEngineConfigSetupRequest
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 0
pub struct DecisionEngineConfigSetupRequest | crates/api_models/src/open_router.rs | api_models | struct_definition | DecisionEngineConfigSetupRequest | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Dlocal
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Dlocal | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Dlocal | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Nordea
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Nordea | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Nordea | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Struct: VerifyWebhookSourceResponseData
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct VerifyWebhookSourceResponseData | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | struct_definition | VerifyWebhookSourceResponseData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: deserialize_to_response
// File: crates/router/src/utils/user/dashboard_metadata.rs
// Module: router
pub fn deserialize_to_response<T>(data: Option<&DashboardMetadata>) -> UserResult<Option<T>>
where
T: serde::de::DeserializeOwned, | crates/router/src/utils/user/dashboard_metadata.rs | router | function_signature | null | null | null | 56 | deserialize_to_response | null | null | null | null | null | null |
// Function: get_decrypted_apple_pay_payment_data_mandatory
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Get the decrypted Apple Pay payment data, returning an error if it does not exist
pub fn get_decrypted_apple_pay_payment_data_mandatory(
&self,
) -> Result<&Ap... | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 83 | get_decrypted_apple_pay_payment_data_mandatory | null | null | null | null | null | null |
// Implementation: impl FraudCheckSale for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl FraudCheckSale for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Riskified | FraudCheckSale for | 0 | 0 | null | null |
// Struct: CardTokenStored
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct CardTokenStored | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | struct_definition | CardTokenStored | 1 | [
"State"
] | 44 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/operations/payment_status.rs
// Module: router
// Public functions: 1
// Public structs: 1
use std::marker::PhantomData;
use api_models::enums::FrmSuggestion;
use async_trait::async_trait;
use common_utils::{ext_traits::AsyncExt, types::keymanager::KeyManagerState};
use error_... | crates/router/src/core/payments/operations/payment_status.rs | router | full_file | null | null | null | 5,019 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 18
use common_enums::{enums, Currency};
use common_utils::{consts::BASE64_ENGINE, date_time, types::MinorUnit};
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_... | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,943 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Worldpay | api::Payment for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/default_implementations.rs
// Module: hyperswitch_connectors
#[cfg(feature = "dummy_connector")]
use common_enums::{CallConnectorAction, PaymentAction};
// impl api::PaymentIncrementalAuthorization for Helcim {}
// impl api::ConnectorCustomer for Helcim {}
// impl api::Paymen... | crates/hyperswitch_connectors/src/default_implementations.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,187 | 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.