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: retry_webhook_delivery_attempt
// File: crates/openapi/src/routes/webhook_events.rs
// Module: openapi
pub fn retry_webhook_delivery_attempt() | crates/openapi/src/routes/webhook_events.rs | openapi | function_signature | null | null | null | 36 | retry_webhook_delivery_attempt | null | null | null | null | null | null |
// Implementation: impl StoreLockerReq
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Methods: 1 total (1 public)
impl StoreLockerReq | crates/router/src/core/payment_methods/transformers.rs | router | impl_block | null | null | null | 41 | null | StoreLockerReq | null | 1 | 1 | null | null |
// Struct: GrpcClientSettings
// File: crates/external_services/src/grpc_client.rs
// Module: external_services
// Implementations: 1
pub struct GrpcClientSettings | crates/external_services/src/grpc_client.rs | external_services | struct_definition | GrpcClientSettings | 1 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl Deutschebank
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Deutschebank | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Deutschebank | null | 1 | 1 | null | null |
// Struct: ListRountingAlgorithmsRequest
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct ListRountingAlgorithmsRequest | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | ListRountingAlgorithmsRequest | 0 | [] | 46 | null | null | null | null | null | null | null |
authorize_id: None,
capture_id: None,
incremental_authorization_id: None,
psync_flow: item.response.intent,
next_action,
order_id: None,
});
let purchase_units = item.response.purchase_units.first();
Ok(Self {
st... | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: UpdatePaymentMethodRecord
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct UpdatePaymentMethodRecord | crates/api_models/src/payment_methods.rs | api_models | struct_definition | UpdatePaymentMethodRecord | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMethod
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
// Methods: 6 total (0 public)
impl PaymentMethod | crates/diesel_models/src/query/payment_method.rs | diesel_models | impl_block | null | null | null | 39 | null | PaymentMethod | null | 6 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Custombilling | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Chargebee
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Chargebee | crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Chargebee | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: ForteCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ForteCaptureRequest | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | ForteCaptureRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Globepay
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Globepay | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Globepay | api::PaymentSession for | 0 | 0 | null | null |
// Struct: ResponseStatus
// File: crates/hyperswitch_connectors/src/connectors/forte/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ResponseStatus | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | ResponseStatus | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl OutgoingWebhookType for for StripeOutgoingWebhook
// File: crates/router/src/compatibility/stripe/webhooks.rs
// Module: router
// Methods: 2 total (0 public)
impl OutgoingWebhookType for for StripeOutgoingWebhook | crates/router/src/compatibility/stripe/webhooks.rs | router | impl_block | null | null | null | 60 | null | StripeOutgoingWebhook | OutgoingWebhookType for | 2 | 0 | null | null |
// Struct: DeliveryOptions
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeliveryOptions | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | DeliveryOptions | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/routing.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/routing.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Struct: RsyncApplicationInformation
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RsyncApplicationInformation | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | RsyncApplicationInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Authorizedotnet | api::PaymentToken for | 0 | 0 | null | null |
// File: crates/diesel_models/src/lib.rs
// Module: diesel_models
// Public functions: 2
// Public structs: 4
pub mod address;
pub mod api_keys;
pub mod blocklist_lookup;
pub mod business_profile;
pub mod capture;
pub mod cards_info;
pub mod configs;
pub mod authentication;
pub mod authorization;
pub mod blocklist;
p... | crates/diesel_models/src/lib.rs | diesel_models | full_file | null | null | null | 2,061 | null | null | null | null | null | null | null |
// Function: get_single_use_token_from_payment_method_token
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn get_single_use_token_from_payment_method_token(
token: Secret<String>,
mca_id: id_type::MerchantConnectorAccountId,
) -> Self | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 69 | get_single_use_token_from_payment_method_token | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Mpgs | ConnectorCommon for | 6 | 0 | null | null |
// Struct: FinixErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/finix/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FinixErrorResponse | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs | hyperswitch_connectors | struct_definition | FinixErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: BluesnapThreeDsResult
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapThreeDsResult | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapThreeDsResult | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: MaskedBankDetails
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct MaskedBankDetails | crates/api_models/src/payment_methods.rs | api_models | struct_definition | MaskedBankDetails | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: TokeniseCreditCardResult
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokeniseCreditCardResult | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | TokeniseCreditCardResult | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: Card
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Card | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | struct_definition | Card | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: ChallengeParams
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ChallengeParams | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | struct_definition | ChallengeParams | 0 | [] | 42 | null | null | null | null | null | null | null |
// Function: get_aggregates_for_payments
// File: crates/router/src/core/payments.rs
// Module: router
pub fn get_aggregates_for_payments(
state: SessionState,
merchant_context: domain::MerchantContext,
profile_id_list: Option<Vec<id_type::ProfileId>>,
time_range: common_utils::types::TimeRange,
) -> R... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 87 | get_aggregates_for_payments | null | null | null | null | null | null |
// Struct: Relay
// File: crates/diesel_models/src/relay.rs
// Module: diesel_models
// Implementations: 0
pub struct Relay | crates/diesel_models/src/relay.rs | diesel_models | struct_definition | Relay | 0 | [] | 33 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/router/src/events.rs
// Module: router
pub fn validate(&self) -> Result<(), ApplicationError> | crates/router/src/events.rs | router | function_signature | null | null | null | 31 | validate | null | null | null | null | null | null |
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
// Public functions: 1
// Public structs: 10
use std::{
collections::hash_map::DefaultHasher,
hash::{Hash, Hasher},
};
use common_utils::id_type;
use super::{ForexMetric, NameDescription, TimeRange};
use crate::enums::{
AttemptSta... | crates/api_models/src/analytics/payments.rs | api_models | full_file | null | null | null | 2,373 | null | null | null | null | null | null | null |
// Struct: RefundMetricsAccumulator
// File: crates/analytics/src/refunds/accumulator.rs
// Module: analytics
// Implementations: 1
pub struct RefundMetricsAccumulator | crates/analytics/src/refunds/accumulator.rs | analytics | struct_definition | RefundMetricsAccumulator | 1 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Cashtocode
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Cashtocode | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Cashtocode | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: find_payment_intent_from_payment_id_type
// File: crates/router/src/utils.rs
// Module: router
pub fn find_payment_intent_from_payment_id_type(
state: &SessionState,
payment_id_type: payments::PaymentIdType,
merchant_context: &domain::MerchantContext,
) -> CustomResult<PaymentIntent, errors::A... | crates/router/src/utils.rs | router | function_signature | null | null | null | 76 | find_payment_intent_from_payment_id_type | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for HyperswitchVault
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for HyperswitchVault | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | HyperswitchVault | api::PaymentCapture for | 0 | 0 | null | null |
// Function: get_id
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_id(&self) -> id_type::MerchantConnectorAccountId | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 45 | get_id | null | null | null | null | null | null |
// Struct: PaymentMethodAuthConfig
// File: crates/api_models/src/pm_auth.rs
// Module: api_models
// Implementations: 0
pub struct PaymentMethodAuthConfig | crates/api_models/src/pm_auth.rs | api_models | struct_definition | PaymentMethodAuthConfig | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: PmFetched
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Implementations: 1
// Traits: State
pub struct PmFetched | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | struct_definition | PmFetched | 1 | [
"State"
] | 47 | null | null | null | null | null | null | null |
// Function: get_merchant_auth_event_sankey
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_merchant_auth_event_sankey(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<TimeRange>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 71 | get_merchant_auth_event_sankey | null | null | null | null | null | null |
// Struct: CryptopayPaymentResponseData
// File: crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CryptopayPaymentResponseData | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs | hyperswitch_connectors | struct_definition | CryptopayPaymentResponseData | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: ExchangeToken
// File: crates/pm_auth/src/types/api/auth_service.rs
// Module: pm_auth
// Implementations: 0
pub struct ExchangeToken | crates/pm_auth/src/types/api/auth_service.rs | pm_auth | struct_definition | ExchangeToken | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Wise | api::PaymentCapture for | 0 | 0 | null | null |
// Function: revoke_mandate
// File: crates/router/src/routes/mandates.rs
// Module: router
pub fn revoke_mandate(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
) -> HttpResponse | crates/router/src/routes/mandates.rs | router | function_signature | null | null | null | 57 | revoke_mandate | null | null | null | null | null | null |
// Struct: DisputeResponse
// File: crates/api_models/src/disputes.rs
// Module: api_models
// Implementations: 0
pub struct DisputeResponse | crates/api_models/src/disputes.rs | api_models | struct_definition | DisputeResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Trustpayments
// File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Trustpayments | crates/hyperswitch_connectors/src/connectors/trustpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Trustpayments | api::RefundSync for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs
// Module: hyperswitch_connectors
// Public structs: 16
use common_utils::types::StringMinorUnit;
use masking::Secret;
use serde::{Deserialize, Serialize};
#[derive(Debug, Serialize)]
pub struct GlobalPayRouterData<T> {
pub amount: String... | crates/hyperswitch_connectors/src/connectors/globalpay/requests.rs | hyperswitch_connectors | full_file | null | null | null | 2,435 | null | null | null | null | null | null | null |
// Implementation: impl RedisValue
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Methods: 4 total (4 public)
impl RedisValue | crates/redis_interface/src/types.rs | redis_interface | impl_block | null | null | null | 37 | null | RedisValue | null | 4 | 4 | null | null |
// Implementation: impl utils::MultipleCaptureSyncResponse for for Box
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl utils::MultipleCaptureSyncResponse for for Box | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Box | utils::MultipleCaptureSyncResponse for | 5 | 0 | null | null |
// Struct: DeutschebankBankAccount
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankBankAccount | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankBankAccount | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: Shift4RefundRequest
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Shift4RefundRequest | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Shift4RefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Getnet | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Getnet | api::MandateSetup for | 0 | 0 | null | null |
// Struct: FinalizeStatusDetails
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FinalizeStatusDetails | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | struct_definition | FinalizeStatusDetails | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl LockAction
// File: crates/router/src/core/api_locking.rs
// Module: router
// Methods: 2 total (0 public)
impl LockAction | crates/router/src/core/api_locking.rs | router | impl_block | null | null | null | 37 | null | LockAction | null | 2 | 0 | null | null |
// Struct: MultisafepayErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MultisafepayErrorResponse | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | MultisafepayErrorResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: apply_changeset
// File: crates/diesel_models/src/payouts.rs
// Module: diesel_models
pub fn apply_changeset(self, source: Payouts) -> Payouts | crates/diesel_models/src/payouts.rs | diesel_models | function_signature | null | null | null | 43 | apply_changeset | null | null | null | null | null | null |
// Function: update
// File: crates/diesel_models/src/query/payment_intent.rs
// Module: diesel_models
pub fn update(
self,
conn: &PgPooledConn,
payment_intent: payment_intent::PaymentIntentUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/payment_intent.rs | diesel_models | function_signature | null | null | null | 58 | update | null | null | null | null | null | null |
// File: crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
disputes::{DisputeDimensions, DisputeFilters, DisputeMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchExt;
use ... | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs | analytics | full_file | null | null | null | 857 | null | null | null | null | null | null | null |
// Struct: GenerateFingerprintResponsePayload
// File: crates/api_models/src/blocklist.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct GenerateFingerprintResponsePayload | crates/api_models/src/blocklist.rs | api_models | struct_definition | GenerateFingerprintResponsePayload | 1 | [
"ApiEventMetric"
] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nuvei | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Jpmorgan
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Jpmorgan | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Jpmorgan | ConnectorValidation for | 1 | 0 | null | null |
// Struct: BluecodeAuthType
// File: crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluecodeAuthType | crates/hyperswitch_connectors/src/connectors/bluecode/transformers.rs | hyperswitch_connectors | struct_definition | BluecodeAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Trustpay | api::PaymentSync for | 0 | 0 | null | null |
// Struct: MerchantKeyStore
// File: crates/hyperswitch_domain_models/src/merchant_key_store.rs
// Module: hyperswitch_domain_models
// Implementations: 1
// Traits: super::behaviour::Conversion
pub struct MerchantKeyStore | crates/hyperswitch_domain_models/src/merchant_key_store.rs | hyperswitch_domain_models | struct_definition | MerchantKeyStore | 1 | [
"super::behaviour::Conversion"
] | 54 | null | null | null | null | null | null | null |
// Struct: VoltErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/volt/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoltErrorResponse | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs | hyperswitch_connectors | struct_definition | VoltErrorResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Payeezy | ConnectorCommon for | 5 | 0 | null | null |
// Implementation: impl ConnectorSpecifications for for Payeezy
// File: crates/hyperswitch_connectors/src/connectors/payeezy.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Payeezy | crates/hyperswitch_connectors/src/connectors/payeezy.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Payeezy | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: DecryptedData
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 2
// Traits: Serialize
pub struct DecryptedData | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | DecryptedData | 2 | [
"Serialize"
] | 42 | null | null | null | null | null | null | null |
// Function: decide_unified_connector_service_call
// File: crates/router/src/core/payments.rs
// Module: router
pub fn decide_unified_connector_service_call<F, RouterDReq, ApiRequest, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: &domain::MerchantContext,
connector: api::ConnectorDa... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 396 | decide_unified_connector_service_call | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Dlocal
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Dlocal | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Dlocal | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl PayoutsInterface for for KVRouterStore
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
// Methods: 0 total (0 public)
impl PayoutsInterface for for KVRouterStore | crates/storage_impl/src/kv_router_store.rs | storage_impl | impl_block | null | null | null | 53 | null | KVRouterStore | PayoutsInterface for | 0 | 0 | null | null |
// Struct: NetworkTokenPaymentMethodDetails
// File: crates/router/src/core/payment_methods.rs
// Module: router
// Implementations: 0
pub struct NetworkTokenPaymentMethodDetails | crates/router/src/core/payment_methods.rs | router | struct_definition | NetworkTokenPaymentMethodDetails | 0 | [] | 39 | null | null | null | null | null | null | null |
| WorldpayvantivResponseCode::InvalidRecurringRequestSeeRecurringResponseForDetails
| WorldpayvantivResponseCode::ParentTransactionDeclinedRecurringSubscriptionNotCreated
| WorldpayvantivResponseCode::InvalidPlanCode
| WorldpayvantivResponseCode::InvalidSubscriptionId
... | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs#chunk4 | hyperswitch_connectors | chunk | null | null | null | 8,176 | null | null | null | null | null | null | null |
// File: crates/analytics/src/sdk_events/metrics/payment_methods_call_count.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
sdk_events::{
SdkEventDimensions, SdkEventFilters, SdkEventMetricsBucketIdentifier, SdkEventNames,
},
Granularity, TimeRange,
};
use commo... | crates/analytics/src/sdk_events/metrics/payment_methods_call_count.rs | analytics | full_file | null | null | null | 845 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 34
use std::collections::HashMap;
use cards::CardNumber;
use common_enums::{enums, PaymentMethod};
use common_utils::{ext_traits::ValueExt, pii::Email, types::MinorUnit};
use error_s... | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Function: link_de_euclid_routing_algorithm
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
pub fn link_de_euclid_routing_algorithm(
state: &SessionState,
routing_request: ActivateRoutingConfigRequest,
) -> RoutingResult<()> | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 61 | link_de_euclid_routing_algorithm | null | null | null | null | null | null |
// Struct: GetnetWebhookNotificationResponseBody
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GetnetWebhookNotificationResponseBody | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | GetnetWebhookNotificationResponseBody | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl KafkaPaymentAttemptEvent
// File: crates/router/src/services/kafka/payment_attempt_event.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaPaymentAttemptEvent | crates/router/src/services/kafka/payment_attempt_event.rs | router | impl_block | null | null | null | 43 | null | KafkaPaymentAttemptEvent | null | 1 | 1 | null | null |
// Struct: FrmFulfillmentSignifydApiRequest
// File: crates/router/src/core/fraud_check/types.rs
// Module: router
// Implementations: 0
pub struct FrmFulfillmentSignifydApiRequest | crates/router/src/core/fraud_check/types.rs | router | struct_definition | FrmFulfillmentSignifydApiRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: profile_update
// File: crates/openapi/src/routes/profile.rs
// Module: openapi
pub fn profile_update() | crates/openapi/src/routes/profile.rs | openapi | function_signature | null | null | null | 28 | profile_update | null | null | null | null | null | null |
// Struct: PlacetopayRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlacetopayRefundRequest | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs | hyperswitch_connectors | struct_definition | PlacetopayRefundRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Function: revoke_by_merchant_id_key_id
// File: crates/diesel_models/src/query/api_keys.rs
// Module: diesel_models
pub fn revoke_by_merchant_id_key_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
key_id: &common_utils::id_type::ApiKeyId,
) -> StorageResult<bool... | crates/diesel_models/src/query/api_keys.rs | diesel_models | function_signature | null | null | null | 84 | revoke_by_merchant_id_key_id | null | null | null | null | null | null |
// File: crates/events/src/actix.rs
// Module: events
use router_env::tracing_actix_web::RequestId;
use crate::EventInfo;
impl EventInfo for RequestId {
type Data = String;
fn data(&self) -> error_stack::Result<String, crate::EventsError> {
Ok(self.as_hyphenated().to_string())
}
fn key(&sel... | crates/events/src/actix.rs | events | full_file | null | null | null | 100 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nuvei | api::PaymentSession for | 0 | 0 | null | null |
// Struct: AttachEvidenceRequest
// File: crates/router/src/types/api/disputes.rs
// Module: router
// Implementations: 0
pub struct AttachEvidenceRequest | crates/router/src/types/api/disputes.rs | router | struct_definition | AttachEvidenceRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/api_models/src/connector_onboarding.rs
// Module: api_models
// Public structs: 6
use common_utils::id_type;
use super::{admin, enums};
#[derive(serde::Deserialize, serde::Serialize, Debug, Clone)]
pub struct ActionUrlRequest {
pub connector: enums::Connector,
pub connector_id: id_type::Merch... | crates/api_models/src/connector_onboarding.rs | api_models | full_file | null | null | null | 416 | null | null | null | null | null | null | null |
// Function: update_user_theme
// File: crates/router/src/routes/user/theme.rs
// Module: router
pub fn update_user_theme(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
payload: web::Json<theme_api::UpdateThemeRequest>,
) -> HttpResponse | crates/router/src/routes/user/theme.rs | router | function_signature | null | null | null | 68 | update_user_theme | null | null | null | null | null | null |
// Function: collect
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
pub fn collect(self) -> PaymentIntentMetricsBucketValue | crates/analytics/src/payment_intents/accumulator.rs | analytics | function_signature | null | null | null | 35 | collect | null | null | null | null | null | null |
// Struct: RapydPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RapydPaymentsRequest | crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs | hyperswitch_connectors | struct_definition | RapydPaymentsRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/analytics/src/sdk_events/metrics/average_payment_time.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
sdk_events::{
SdkEventDimensions, SdkEventFilters, SdkEventMetricsBucketIdentifier, SdkEventNames,
},
Granularity, TimeRange,
};
use common_util... | crates/analytics/src/sdk_events/metrics/average_payment_time.rs | analytics | full_file | null | null | null | 843 | null | null | null | null | null | null | null |
// Function: get_payment_method_create_from_payment_method_migrate
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
pub fn get_payment_method_create_from_payment_method_migrate(
card_number: CardNumber,
payment_method_migrate: &PaymentMethodMigrate,
) -> Self | crates/api_models/src/payment_methods.rs | api_models | function_signature | null | null | null | 65 | get_payment_method_create_from_payment_method_migrate | null | null | null | null | null | null |
};
let payments_request = PaymentsRequest {
customer_id: Some(another_customer_id),
customer: Some(customer_object),
..Default::default()
};
assert_eq!(
payments_request.validate_customer_details_in_request(),
Some(vec!["custo... | crates/api_models/src/payments.rs#chunk2 | api_models | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Struct: EliminationRoutingEventRequest
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct EliminationRoutingEventRequest | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | EliminationRoutingEventRequest | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: WorldlineRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WorldlineRefundRequest | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | WorldlineRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl FromStr for for MerchantConnectorAccountId
// File: crates/common_utils/src/id_type/merchant_connector_account.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl FromStr for for MerchantConnectorAccountId | crates/common_utils/src/id_type/merchant_connector_account.rs | common_utils | impl_block | null | null | null | 51 | null | MerchantConnectorAccountId | FromStr for | 1 | 0 | null | null |
// Struct: RefundUpdateMems
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
// Implementations: 0
pub struct RefundUpdateMems | crates/diesel_models/src/kv.rs | diesel_models | struct_definition | RefundUpdateMems | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Implementations: 22
// Traits: ConnectorCommon, Payment, PaymentAuthorize, PaymentSync, PaymentVoid, PaymentCapture, MandateSetup, ConnectorAccessToken, PaymentToken, Refund, RefundExecute, RefundS... | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | struct_definition | Signifyd | 22 | [
"ConnectorCommon",
"Payment",
"PaymentAuthorize",
"PaymentSync",
"PaymentVoid",
"PaymentCapture",
"MandateSetup",
"ConnectorAccessToken",
"PaymentToken",
"Refund",
"RefundExecute",
"RefundSync",
"ConnectorValidation",
"PaymentSession",
"FraudCheck",
"FraudCheckSale",
"FraudCheckCheck... | 126 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/external_services/src/grpc_client/health_check_client.rs
// Module: external_services
// Public exports:
pub use health_check::{
health_check_response::ServingStatus, health_client::HealthClient, HealthCheckRequest,
HealthCheckResponse,
};
| crates/external_services/src/grpc_client/health_check_client.rs | external_services | module_structure | null | null | null | 60 | null | null | null | null | null | 0 | 1 |
// Struct: PaymentsCancelPostCaptureData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsCancelPostCaptureData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsCancelPostCaptureData | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/api/revenue_recovery_v2.rs
// Module: hyperswitch_interfaces
//! Revenue Recovery Interface V2
use hyperswitch_domain_models::{
router_data_v2::flow_common_types::{
BillingConnectorInvoiceSyncFlowData, BillingConnectorPaymentsSyncFlowData,
InvoiceRecordBa... | crates/hyperswitch_interfaces/src/api/revenue_recovery_v2.rs | hyperswitch_interfaces | full_file | null | null | null | 431 | 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.