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: validate_payment_method_update
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn validate_payment_method_update(
card_updation_obj: CardDetailUpdate,
existing_card_data: api::CardDetailFromLocker,
) -> bool | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 57 | validate_payment_method_update | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Adyenplatform | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl TrustpaymentsSettleStatus
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl TrustpaymentsSettleStatus | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | TrustpaymentsSettleStatus | null | 1 | 1 | null | null |
// Implementation: impl ConnectorSpecifications for for Mifinity
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Mifinity | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Mifinity | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: AuthenticationDataWithUser
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct AuthenticationDataWithUser | crates/router/src/services/authentication.rs | router | struct_definition | AuthenticationDataWithUser | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: BillingConnectorPaymentsSyncResponseData
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
// Implementations: 1
pub struct BillingConnectorPaymentsSyncResponseData | crates/router/src/core/webhooks/recovery_incoming.rs | router | struct_definition | BillingConnectorPaymentsSyncResponseData | 1 | [] | 45 | null | null | null | null | null | null | null |
// Struct: PaymentAddress
// File: crates/router/src/types/domain/address.rs
// Module: router
// Implementations: 1
// Traits: behaviour::Conversion
pub struct PaymentAddress | crates/router/src/types/domain/address.rs | router | struct_definition | PaymentAddress | 1 | [
"behaviour::Conversion"
] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Nmi | api::RefundExecute for | 0 | 0 | null | null |
// Function: get_payment_method_id
// File: crates/api_models/src/webhooks.rs
// Module: api_models
pub fn get_payment_method_id(&self) -> Option<String> | crates/api_models/src/webhooks.rs | api_models | function_signature | null | null | null | 38 | get_payment_method_id | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/hyperwallet/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, R... | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,667 | null | null | null | null | null | null | null |
// Struct: PlaidBankAccountCredentialsBacs
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidBankAccountCredentialsBacs | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidBankAccountCredentialsBacs | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Loonio
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Loonio | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Loonio | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: BankOfAmericaCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaCaptureRequest | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaCaptureRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Iatapay | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Iatapay | api::MandateSetup for | 0 | 0 | null | null |
// Function: check_role_in_blacklist
// File: crates/router/src/services/authentication/blacklist.rs
// Module: router
pub fn check_role_in_blacklist<A: SessionStateInfo>(
state: &A,
role_id: &str,
token_expiry: u64,
) -> RouterResult<bool> | crates/router/src/services/authentication/blacklist.rs | router | function_signature | null | null | null | 66 | check_role_in_blacklist | null | null | null | null | null | null |
// Struct: UpdateRoleRequest
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct UpdateRoleRequest | crates/api_models/src/user_role/role.rs | api_models | struct_definition | UpdateRoleRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: get_user_agent
// File: crates/common_types/src/payments.rs
// Module: common_types
// Documentation: Get the User Agent
pub fn get_user_agent(&self) -> Option<String> | crates/common_types/src/payments.rs | common_types | function_signature | null | null | null | 44 | get_user_agent | null | null | null | null | null | null |
// Implementation: impl ReverseLookupNew
// File: crates/diesel_models/src/query/reverse_lookup.rs
// Module: diesel_models
// Methods: 2 total (0 public)
impl ReverseLookupNew | crates/diesel_models/src/query/reverse_lookup.rs | diesel_models | impl_block | null | null | null | 42 | null | ReverseLookupNew | null | 2 | 0 | null | null |
// Function: payments_list
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_list() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 29 | payments_list | null | null | null | null | null | null |
// Struct: RoutingAlgorithmId
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingAlgorithmId | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingAlgorithmId | 0 | [] | 36 | null | null | null | null | null | null | null |
// updated_by,
// net_amount: None,
// authentication_type: None,
// error_message: None,
// payment_method_id: None,
// browser_info: None,
// payment_token: None,
// error_code: None,
... | crates/diesel_models/src/payment_attempt.rs#chunk2 | diesel_models | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
enums::PaymentMethodType::Credit,
PaymentMethodDetails {
mandates: enums::FeatureStatus::Supported,
refunds: enums::FeatureStatus::Supported,
supported_capture_methods: supported_capture_methods.clone(),
specific_features: Some(
api_models:... | crates/hyperswitch_connectors/src/connectors/nmi.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 638 | null | null | null | null | null | null | null |
// Struct: Przelewy24MethodData
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Przelewy24MethodData | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | Przelewy24MethodData | 0 | [] | 58 | null | null | null | null | null | null | null |
// Function: files_delete
// File: crates/router/src/routes/files.rs
// Module: router
pub fn files_delete(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
) -> HttpResponse | crates/router/src/routes/files.rs | router | function_signature | null | null | null | 51 | files_delete | null | null | null | null | null | null |
// Struct: NordeaOAuthRequest
// File: crates/hyperswitch_connectors/src/connectors/nordea/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NordeaOAuthRequest | crates/hyperswitch_connectors/src/connectors/nordea/requests.rs | hyperswitch_connectors | struct_definition | NordeaOAuthRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: skip_locker_call_and_migrate_payment_method
// File: crates/payment_methods/src/core/migration/payment_methods.rs
// Module: payment_methods
pub fn skip_locker_call_and_migrate_payment_method(
_state: state::PaymentMethodsState,
_req: &pm_api::PaymentMethodMigrate,
_merchant_id: id_type::Merch... | crates/payment_methods/src/core/migration/payment_methods.rs | payment_methods | function_signature | null | null | null | 122 | skip_locker_call_and_migrate_payment_method | null | null | null | null | null | null |
// Implementation: impl Dispute
// File: crates/diesel_models/src/query/dispute.rs
// Module: diesel_models
// Methods: 4 total (0 public)
impl Dispute | crates/diesel_models/src/query/dispute.rs | diesel_models | impl_block | null | null | null | 39 | null | Dispute | null | 4 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Public structs: 1
pub mod transformers;
use std::fmt::Debug;
#[cfg(feature = "frm")]
use api_models::webhooks::IncomingWebhookEvent;
#[cfg(feature = "frm")]
use base64::Engine;
#[cfg(feature = "frm")]
use common_uti... | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | full_file | null | null | null | 5,769 | null | null | null | null | null | null | null |
// Function: get_total_count_of_attempts
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn get_total_count_of_attempts(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
active_attempt_ids: &[String],
connector: Option<Vec<Str... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 152 | get_total_count_of_attempts | null | null | null | null | null | null |
// Implementation: impl super::payment_intents::filters::PaymentIntentFilterAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::payment_intents::filters::PaymentIntentFilterAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 67 | null | ClickhouseClient | super::payment_intents::filters::PaymentIntentFilterAnalytics for | 0 | 0 | null | null |
// Function: make_payout_data
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn make_payout_data(
_state: &SessionState,
_merchant_context: &domain::MerchantContext,
_auth_profile_id: Option<id_type::ProfileId>,
_req: &payouts::PayoutRequest,
locale: &str,
) -> RouterResult<Payout... | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 92 | make_payout_data | null | null | null | null | null | null |
// Function: add_delete_tokenized_data_task
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn add_delete_tokenized_data_task(
db: &dyn db::StorageInterface,
lookup_key: &str,
pm: enums::PaymentMethod,
) -> RouterResult<()> | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 67 | add_delete_tokenized_data_task | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 13
// Public structs: 21
use cards;
use common_enums::enums;
use common_utils::types::StringMinorUnit;
use error_stack::ResultExt;
use hyperswitch_domain_models::{
payment_meth... | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Function: get_dispute_metrics_info
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_dispute_metrics_info() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 38 | get_dispute_metrics_info | null | null | null | null | null | null |
// Struct: OpenSearchHealth
// File: crates/analytics/src/opensearch.rs
// Module: analytics
// Implementations: 0
pub struct OpenSearchHealth | crates/analytics/src/opensearch.rs | analytics | struct_definition | OpenSearchHealth | 0 | [] | 36 | null | null | null | null | null | null | null |
// Function: generate_card_from_details
// File: crates/router/src/utils/verify_connector.rs
// Module: router
pub fn generate_card_from_details(
card_number: String,
card_exp_year: String,
card_exp_month: String,
card_cvv: String,
) -> errors::RouterResult<domain::Card> | crates/router/src/utils/verify_connector.rs | router | function_signature | null | null | null | 70 | generate_card_from_details | null | null | null | null | null | null |
// File: crates/diesel_models/src/user_authentication_method.rs
// Module: diesel_models
// Public structs: 3
use common_utils::encryption::Encryption;
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use time::PrimitiveDateTime;
use crate::{enums, schema::user_authentication_methods};
#[d... | crates/diesel_models/src/user_authentication_method.rs | diesel_models | full_file | null | null | null | 592 | null | null | null | null | null | null | null |
"spa"
} else {
"internet"
}
}
"05" => match card_network_lower_case.as_deref() {
Some("amex") => "aesk",
Some("discover") => "dipb",
Some("mastercard") => "spa",
Some("visa") => "vbv",
Som... | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,177 | null | null | null | null | null | null | null |
// Trait: CallConnector
// File: crates/router/src/core/payments/operations.rs
// Module: router
pub trait CallConnector<F, D, RouterDReq: Send>: Send | crates/router/src/core/payments/operations.rs | router | trait_definition | null | null | null | 39 | null | null | CallConnector | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Struct: SignifydPaymentsTransactionRequest
// File: crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SignifydPaymentsTransactionRequest | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs | hyperswitch_connectors | struct_definition | SignifydPaymentsTransactionRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: ValuedProgram
// File: crates/euclid/src/frontend/vir.rs
// Module: euclid
// Implementations: 0
pub struct ValuedProgram<O> | crates/euclid/src/frontend/vir.rs | euclid | struct_definition | ValuedProgram | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_order_fulfillment_time
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_order_fulfillment_time(&self) -> Option<i64> | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 50 | get_order_fulfillment_time | null | null | null | null | null | null |
// Struct: NetworkTokenRequestorData
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 1
pub struct NetworkTokenRequestorData | crates/router/src/types/payment_methods.rs | router | struct_definition | NetworkTokenRequestorData | 1 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl PayoutLink
// File: crates/diesel_models/src/query/generic_link.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl PayoutLink | crates/diesel_models/src/query/generic_link.rs | diesel_models | impl_block | null | null | null | 42 | null | PayoutLink | null | 1 | 0 | null | null |
// Struct: PaymentMethodToken
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentMethodToken | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | PaymentMethodToken | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/volt/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: is_us_local_network
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_us_local_network(&self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 38 | is_us_local_network | null | null | null | null | null | null |
// File: crates/payment_methods/src/core/migration/payment_methods.rs
// Module: payment_methods
// Public functions: 8
use std::str::FromStr;
#[cfg(feature = "v2")]
use api_models::enums as api_enums;
#[cfg(feature = "v1")]
use api_models::enums;
use api_models::payment_methods as pm_api;
#[cfg(feature = "v1")]
use ... | crates/payment_methods/src/core/migration/payment_methods.rs | payment_methods | full_file | null | null | null | 5,540 | null | null | null | null | null | null | null |
// Struct: CustombillingPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CustombillingPaymentsResponse | crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs | hyperswitch_connectors | struct_definition | CustombillingPaymentsResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: AccessTokenAuth
// File: crates/hyperswitch_domain_models/src/router_flow_types/access_token_auth.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AccessTokenAuth | crates/hyperswitch_domain_models/src/router_flow_types/access_token_auth.rs | hyperswitch_domain_models | struct_definition | AccessTokenAuth | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: FiuuRefundSyncRequest
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuRefundSyncRequest | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuRefundSyncRequest | 0 | [] | 56 | null | null | null | null | null | null | null |
// Implementation: impl RevenueRecoveryPaymentsAttemptStatus
// File: crates/router/src/core/revenue_recovery/types.rs
// Module: router
// Methods: 2 total (0 public)
impl RevenueRecoveryPaymentsAttemptStatus | crates/router/src/core/revenue_recovery/types.rs | router | impl_block | null | null | null | 46 | null | RevenueRecoveryPaymentsAttemptStatus | null | 2 | 0 | null | null |
// Struct: PaymentCardDetails
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentCardDetails | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | PaymentCardDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Trait: GetAuthType
// File: crates/router/src/services/authentication/detached.rs
// Module: router
pub trait GetAuthType | crates/router/src/services/authentication/detached.rs | router | trait_definition | null | null | null | 30 | null | null | GetAuthType | null | null | null | null |
// Function: parse_token
// File: crates/router/src/core/proxy/utils.rs
// Module: router
pub fn parse_token(input: &str) -> IResult<&str, TokenReference> | crates/router/src/core/proxy/utils.rs | router | function_signature | null | null | null | 41 | parse_token | null | null | null | null | null | null |
// Implementation: impl Refund
// File: crates/diesel_models/src/query/refund.rs
// Module: diesel_models
// Methods: 6 total (0 public)
impl Refund | crates/diesel_models/src/query/refund.rs | diesel_models | impl_block | null | null | null | 39 | null | Refund | null | 6 | 0 | null | null |
// Struct: FiservSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservSyncResponse | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | FiservSyncResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: new
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn new(name: String) -> UserResult<Self> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 33 | new | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 3
// Public structs: 16
use std::str::FromStr;
use cards::CardNumber;
use common_utils::{pii, types::MinorUnit};
use error_stack::ResultExt;
use hyperswitch_domain_models::{
p... | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 5,283 | null | null | null | null | null | null | null |
// Struct: AuthIdAndThemeIdQueryParam
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct AuthIdAndThemeIdQueryParam | crates/api_models/src/user.rs | api_models | struct_definition | AuthIdAndThemeIdQueryParam | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl GetPaymentMethodType for for VoucherData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl GetPaymentMethodType for for VoucherData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 58 | null | VoucherData | GetPaymentMethodType for | 1 | 0 | null | null |
// Struct: DomainId
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Implementations: 0
pub struct DomainId | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | struct_definition | DomainId | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: AciCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciCaptureResponse | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciCaptureResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for UnifiedAuthenticationService
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for UnifiedAuthenticationService | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | UnifiedAuthenticationService | api::RefundExecute for | 0 | 0 | null | null |
// Struct: Paystack
// File: crates/hyperswitch_connectors/src/connectors/paystack.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/paystack.rs | hyperswitch_connectors | struct_definition | Paystack | 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... | 125 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cashtocode | api::PaymentToken for | 0 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Iatapay | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Iatapay | api::PaymentVoid for | 0 | 0 | null | null |
// Implementation: impl PaymentMethodUpdateInternal
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl PaymentMethodUpdateInternal | crates/diesel_models/src/payment_method.rs | diesel_models | impl_block | null | null | null | 42 | null | PaymentMethodUpdateInternal | null | 1 | 1 | null | null |
// Implementation: impl RecurlyWebhookBody
// File: crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl RecurlyWebhookBody | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | RecurlyWebhookBody | null | 1 | 1 | null | null |
// Function: get_mca_from_payout_attempt
// File: crates/router/src/utils.rs
// Module: router
pub fn get_mca_from_payout_attempt(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payout_id_type: webhooks::PayoutIdType,
connector_name: &str,
) -> CustomResult<domain::MerchantConnectorA... | crates/router/src/utils.rs | router | function_signature | null | null | null | 88 | get_mca_from_payout_attempt | null | null | null | null | null | null |
// Implementation: impl State for for PmFetched
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for PmFetched | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | impl_block | null | null | null | 51 | null | PmFetched | State for | 0 | 0 | null | null |
// Function: from_storage
// File: crates/router/src/services/kafka/authentication_event.rs
// Module: router
pub fn from_storage(authentication: &'a Authentication) -> Self | crates/router/src/services/kafka/authentication_event.rs | router | function_signature | null | null | null | 37 | from_storage | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: setup_intents_confirm
// File: crates/router/src/compatibility/stripe/setup_intents.rs
// Module: router
pub fn setup_intents_confirm(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::Config>,
req: HttpRequest,
form_payload: web::Bytes,
path: web::Path<common_utils::i... | crates/router/src/compatibility/stripe/setup_intents.rs | router | function_signature | null | null | null | 92 | setup_intents_confirm | null | null | null | null | null | null |
// Function: get_primary_details_as_value
// File: crates/api_models/src/admin.rs
// Module: api_models
pub fn get_primary_details_as_value(
&self,
) -> CustomResult<serde_json::Value, errors::ParsingError> | crates/api_models/src/admin.rs | api_models | function_signature | null | null | null | 53 | get_primary_details_as_value | null | null | null | null | null | null |
// Struct: ClickToPayMetaData
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ClickToPayMetaData | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | struct_definition | ClickToPayMetaData | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: Payment
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Payment | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | Payment | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
disputes::{DisputeDimensions, DisputeFilters, DisputeMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::Repor... | crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs | analytics | full_file | null | null | null | 859 | null | null | null | null | null | null | null |
// Struct: MifinityPsyncResponse
// File: crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MifinityPsyncResponse | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs | hyperswitch_connectors | struct_definition | MifinityPsyncResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: get_assertion
// File: crates/euclid/src/dssa/types.rs
// Module: euclid
pub fn get_assertion(&self) -> Option<&dir::DirValue> | crates/euclid/src/dssa/types.rs | euclid | function_signature | null | null | null | 42 | get_assertion | null | null | null | null | null | null |
// Function: call_connector_service_for_external_vault_proxy
// File: crates/router/src/core/payments.rs
// Module: router
pub fn call_connector_service_for_external_vault_proxy<F, RouterDReq, ApiRequest, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: &domain::MerchantContext,
connect... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 293 | call_connector_service_for_external_vault_proxy | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Billwerk | api::PaymentCapture for | 0 | 0 | null | null |
// Function: signup_token_only_flow
// File: crates/router/src/core/user.rs
// Module: router
pub fn signup_token_only_flow(
state: SessionState,
request: user_api::SignUpRequest,
) -> UserResponse<user_api::TokenResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 56 | signup_token_only_flow | null | null | null | null | null | null |
// Implementation: impl DynamicRoutingConfigParamsInterpolator
// File: crates/router/src/core/routing/helpers.rs
// Module: router
// Methods: 2 total (2 public)
impl DynamicRoutingConfigParamsInterpolator | crates/router/src/core/routing/helpers.rs | router | impl_block | null | null | null | 43 | null | DynamicRoutingConfigParamsInterpolator | null | 2 | 2 | null | null |
// Struct: MerchantConnectorAccountUpdateInternal
// File: crates/diesel_models/src/merchant_connector_account.rs
// Module: diesel_models
// Implementations: 2
pub struct MerchantConnectorAccountUpdateInternal | crates/diesel_models/src/merchant_connector_account.rs | diesel_models | struct_definition | MerchantConnectorAccountUpdateInternal | 2 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Tsys
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Tsys | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tsys | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: get_frm_metrics
// File: crates/analytics/src/lib.rs
// Module: analytics
pub fn get_frm_metrics(
&self,
metric: &FrmMetrics,
dimensions: &[FrmDimensions],
merchant_id: &common_utils::id_type::MerchantId,
filters: &FrmFilters,
granularity: Option<Granularity... | crates/analytics/src/lib.rs | analytics | function_signature | null | null | null | 105 | get_frm_metrics | null | null | null | null | null | null |
// Implementation: impl Recurly
// File: crates/hyperswitch_connectors/src/connectors/recurly.rs
// Module: hyperswitch_connectors
// Methods: 2 total (1 public)
impl Recurly | crates/hyperswitch_connectors/src/connectors/recurly.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Recurly | null | 2 | 1 | null | null |
// Struct: AciCaptureResultDetails
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciCaptureResultDetails | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciCaptureResultDetails | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl Configs
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Configs | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | Configs | null | 1 | 1 | null | null |
// Struct: GlobepayRouterData
// File: crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobepayRouterData<T> | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs | hyperswitch_connectors | struct_definition | GlobepayRouterData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Redsys
// File: crates/hyperswitch_connectors/src/connectors/redsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Redsys | crates/hyperswitch_connectors/src/connectors/redsys.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Redsys | api::PaymentVoid for | 0 | 0 | null | null |
// File: crates/kgraph_utils/src/types.rs
// Module: kgraph_utils
// Public structs: 4
use std::collections::{HashMap, HashSet};
use api_models::enums as api_enums;
use serde::Deserialize;
#[derive(Debug, Deserialize, Clone, Default)]
pub struct CountryCurrencyFilter {
pub connector_configs: HashMap<api_enums::R... | crates/kgraph_utils/src/types.rs | kgraph_utils | full_file | null | null | null | 286 | null | null | null | null | null | null | null |
// Function: perform_locking_action
// File: crates/router/src/core/api_locking.rs
// Module: router
pub fn perform_locking_action<A>(
self,
state: &A,
merchant_id: common_utils::id_type::MerchantId,
) -> RouterResult<()>
where
A: SessionStateInfo, | crates/router/src/core/api_locking.rs | router | function_signature | null | null | null | 72 | perform_locking_action | null | null | null | null | null | null |
// Struct: ValuedRule
// File: crates/euclid/src/frontend/vir.rs
// Module: euclid
// Implementations: 0
pub struct ValuedRule<O> | crates/euclid/src/frontend/vir.rs | euclid | struct_definition | ValuedRule | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: from_header_map
// File: crates/api_models/src/proxy.rs
// Module: api_models
pub fn from_header_map(headers: Option<&HeaderMap>) -> Self | crates/api_models/src/proxy.rs | api_models | function_signature | null | null | null | 38 | from_header_map | null | null | null | null | null | null |
// Implementation: impl OpenSearchIndexes
// File: crates/analytics/src/opensearch.rs
// Module: analytics
// Methods: 1 total (1 public)
impl OpenSearchIndexes | crates/analytics/src/opensearch.rs | analytics | impl_block | null | null | null | 39 | null | OpenSearchIndexes | null | 1 | 1 | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl webhooks::IncomingWebhook for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Stax | webhooks::IncomingWebhook for | 4 | 0 | null | null |
// Function: get_payment_metrics
// File: crates/analytics/src/lib.rs
// Module: analytics
pub fn get_payment_metrics(
&self,
metric: &PaymentMetrics,
dimensions: &[PaymentDimensions],
auth: &AuthInfo,
filters: &PaymentFilters,
granularity: Option<Granularity>,
t... | crates/analytics/src/lib.rs | analytics | function_signature | null | null | null | 95 | get_payment_metrics | 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.