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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl PaymentMethodNew
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl PaymentMethodNew | crates/diesel_models/src/query/payment_method.rs | diesel_models | impl_block | null | null | null | 41 | null | PaymentMethodNew | null | 1 | 0 | null | null |
// Function: get_extended_authorization_response_data
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
pub fn get_extended_authorization_response_data(
&self,
) -> Option<&ExtendedAuthorizationResponseData> | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 56 | get_extended_authorization_response_data | null | null | null | null | null | null |
// Function: payments_complete_authorize
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_complete_authorize(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsCompleteAuthorizeRequest>,
path: web::Path<common_uti... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 88 | payments_complete_authorize | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Coinbase | api::PaymentSession for | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_domain_models/src/merchant_context.rs
// Module: hyperswitch_domain_models
// Public exports:
pub use crate::{merchant_account::MerchantAccount, merchant_key_store::MerchantKeyStore};
| crates/hyperswitch_domain_models/src/merchant_context.rs | hyperswitch_domain_models | module_structure | null | null | null | 50 | null | null | null | null | null | 0 | 1 |
// Function: validate
// File: crates/analytics/src/opensearch.rs
// Module: analytics
pub fn validate(&self) -> Result<(), ApplicationError> | crates/analytics/src/opensearch.rs | analytics | function_signature | null | null | null | 34 | validate | null | null | null | null | null | null |
// Struct: MandateRevokeRequestData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct MandateRevokeRequestData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | MandateRevokeRequestData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Paybox
// File: crates/hyperswitch_connectors/src/connectors/paybox.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Paybox | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Paybox | api::RefundSync for | 0 | 0 | null | null |
// Struct: PlacetopayPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlacetopayPaymentsResponse | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs | hyperswitch_connectors | struct_definition | PlacetopayPaymentsResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Datatrans
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Datatrans | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Datatrans | api::MandateSetup for | 0 | 0 | null | null |
// File: crates/masking/src/bytes.rs
// Module: masking
// Public functions: 1
// Public structs: 1
//! Optional `Secret` wrapper type for the `bytes::BytesMut` crate.
use core::fmt;
use bytes::BytesMut;
#[cfg(all(feature = "bytes", feature = "serde"))]
use serde::de::{self, Deserialize};
use super::{PeekInterface,... | crates/masking/src/bytes.rs | masking | full_file | null | null | null | 741 | null | null | null | null | null | null | null |
// File: crates/router/src/types/api/webhooks.rs
// Module: router
pub use api_models::webhooks::{
AuthenticationIdType, IncomingWebhookDetails, IncomingWebhookEvent, MerchantWebhookConfig,
ObjectReferenceId, OutgoingWebhook, OutgoingWebhookContent, WebhookFlow,
};
pub use hyperswitch_interfaces::webhooks::{In... | crates/router/src/types/api/webhooks.rs | router | full_file | null | null | null | 85 | null | null | null | null | null | null | null |
// File: crates/common_types/src/customers.rs
// Module: common_types
// Public functions: 1
// Public structs: 1
//! Customer related types
/// HashMap containing MerchantConnectorAccountId and corresponding customer id
#[cfg(feature = "v2")]
#[derive(Clone, Debug, Default, serde::Deserialize, serde::Serialize, dies... | crates/common_types/src/customers.rs | common_types | full_file | null | null | null | 320 | null | null | null | null | null | null | null |
// Implementation: impl Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Inespay | null | 1 | 1 | null | null |
// Struct: CaptureInputData
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CaptureInputData | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | CaptureInputData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: payments_dynamic_tax_calculation
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_dynamic_tax_calculation() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 35 | payments_dynamic_tax_calculation | null | null | null | null | null | null |
// Struct: VerifyTokenResponse
// File: crates/api_models/src/recon.rs
// Module: api_models
// Implementations: 0
pub struct VerifyTokenResponse | crates/api_models/src/recon.rs | api_models | struct_definition | VerifyTokenResponse | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: ProcessorPaymentToken
// File: crates/api_models/src/mandates.rs
// Module: api_models
// Implementations: 0
pub struct ProcessorPaymentToken | crates/api_models/src/mandates.rs | api_models | struct_definition | ProcessorPaymentToken | 0 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/operations/payment_capture.rs
// Module: router
// Public structs: 1
use std::{marker::PhantomData, ops::Deref};
use api_models::enums::FrmSuggestion;
use async_trait::async_trait;
use common_utils::ext_traits::AsyncExt;
use error_stack::ResultExt;
use router_env::{instrument,... | crates/router/src/core/payments/operations/payment_capture.rs | router | full_file | null | null | null | 2,519 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/types/api/disputes.rs
// Module: router
// Public exports:
pub use hyperswitch_interfaces::{
api::disputes::{
AcceptDispute, DefendDispute, Dispute, DisputeSync, FetchDisputes, SubmitEvidence,
},
disputes::DisputePayload,
};
pub use hyperswitch_domain_... | crates/router/src/types/api/disputes.rs | router | module_structure | null | null | null | 150 | null | null | null | null | null | 0 | 3 |
// Function: generate
// File: crates/common_utils/src/id_type/global_id/payment_methods.rs
// Module: common_utils
// Documentation: Create a new GlobalPaymentMethodSessionId from cell id information
pub fn generate(
cell_id: &CellId,
) -> error_stack::Result<Self, GlobalPaymentMethodSessionIdError> | crates/common_utils/src/id_type/global_id/payment_methods.rs | common_utils | function_signature | null | null | null | 70 | generate | null | null | null | null | null | null |
// Implementation: impl DenseMap
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (1 public)
impl DenseMap | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 44 | null | DenseMap | null | 1 | 1 | null | null |
// Function: proxy_for_call_connector_service
// File: crates/router/src/core/payments.rs
// Module: router
pub fn proxy_for_call_connector_service<F, RouterDReq, ApiRequest, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: &domain::MerchantContext,
connector: api::ConnectorData,
op... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 329 | proxy_for_call_connector_service | null | null | null | null | null | null |
// Implementation: impl Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Plaid | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Plaid | null | 1 | 1 | null | null |
// Implementation: impl PaymentMethods
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl PaymentMethods | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | PaymentMethods | null | 1 | 1 | null | null |
// Implementation: impl api::Payment for for Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Shift4 | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Shift4 | api::Payment for | 0 | 0 | null | null |
// Struct: Authentication
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Authentication | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | Authentication | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl Authorization
// File: crates/router/src/core/webhooks/network_tokenization_incoming.rs
// Module: router
// Methods: 2 total (1 public)
impl Authorization | crates/router/src/core/webhooks/network_tokenization_incoming.rs | router | impl_block | null | null | null | 39 | null | Authorization | null | 2 | 1 | null | null |
// Implementation: impl PaymentAuthorize for for Riskified
// File: crates/hyperswitch_connectors/src/connectors/riskified.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentAuthorize for for Riskified | crates/hyperswitch_connectors/src/connectors/riskified.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Riskified | PaymentAuthorize for | 0 | 0 | null | null |
// Function: find_by_merchant_id
// File: crates/diesel_models/src/query/merchant_connector_account.rs
// Module: diesel_models
pub fn find_by_merchant_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
get_disabled: bool,
) -> StorageResult<Vec<Self>> | crates/diesel_models/src/query/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 75 | find_by_merchant_id | null | null | null | null | null | null |
// Function: populate_bin_details_for_payment_method
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn populate_bin_details_for_payment_method(
state: &SessionState,
payment_method_data: &domain::PaymentMethodVaultingData,
) -> domain::PaymentMethodVaultingData | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 65 | populate_bin_details_for_payment_method | null | null | null | null | null | null |
// File: crates/drainer/src/errors.rs
// Module: drainer
use redis_interface as redis;
use thiserror::Error;
#[derive(Debug, Error)]
pub enum DrainerError {
#[error("Error in parsing config : {0}")]
ConfigParsingError(String),
#[error("Error during redis operation : {0:?}")]
RedisError(error_stack::Re... | crates/drainer/src/errors.rs | drainer | full_file | null | null | null | 462 | null | null | null | null | null | null | null |
// Function: payout_create_db_entries
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn payout_create_db_entries(
state: &SessionState,
merchant_context: &domain::MerchantContext,
req: &payouts::PayoutCreateRequest,
payout_id: &id_type::PayoutId,
profile_id: &id_type::ProfileId,
... | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 135 | payout_create_db_entries | null | null | null | null | null | null |
// File: crates/diesel_models/src/cards_info.rs
// Module: diesel_models
// Public structs: 2
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use time::PrimitiveDateTime;
use crate::{enums as storage_enums, schema::cards_info};
#[derive(
Clone,
Debug,
Queryable,
Identifiab... | crates/diesel_models/src/cards_info.rs | diesel_models | full_file | null | null | null | 380 | null | null | null | null | null | null | null |
// Function: get_token_with_schedule_time_based_on_retry_algorithm_type
// File: crates/router/src/workflows/revenue_recovery.rs
// Module: router
pub fn get_token_with_schedule_time_based_on_retry_algorithm_type(
state: &SessionState,
connector_customer_id: &str,
payment_intent: &PaymentIntent,
retry_... | crates/router/src/workflows/revenue_recovery.rs | router | function_signature | null | null | null | 104 | get_token_with_schedule_time_based_on_retry_algorithm_type | null | null | null | null | null | null |
// File: crates/smithy-core/src/lib.rs
// Module: smithy-core
// // crates/smithy-core/lib.rs
pub mod generator;
pub mod types;
pub use generator::SmithyGenerator;
pub use types::*;
| crates/smithy-core/src/lib.rs | smithy-core | full_file | null | null | null | 49 | null | null | null | null | null | null | null |
// Function: handle_action
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
pub fn handle_action(
&self,
state: &SessionState,
business_profile: &domain::Profile,
merchant_context: &domain::MerchantContext,
billing_connector_account: &hyperswitch_d... | crates/router/src/core/webhooks/recovery_incoming.rs | router | function_signature | null | null | null | 129 | handle_action | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Rapyd | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: UpdateResourceParams
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
// Implementations: 0
pub struct UpdateResourceParams<'a> | crates/storage_impl/src/kv_router_store.rs | storage_impl | struct_definition | UpdateResourceParams | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Tsys
// File: crates/hyperswitch_connectors/src/connectors/tsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Tsys | crates/hyperswitch_connectors/src/connectors/tsys.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tsys | api::PaymentSync for | 0 | 0 | null | null |
// Struct: ApplePayTokenizedCard
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayTokenizedCard | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayTokenizedCard | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl MerchantAccount
// File: crates/hyperswitch_domain_models/src/merchant_account.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl MerchantAccount | crates/hyperswitch_domain_models/src/merchant_account.rs | hyperswitch_domain_models | impl_block | null | null | null | 44 | null | MerchantAccount | null | 1 | 1 | null | null |
// Function: call_create_connector_customer_if_required
// File: crates/router/src/core/payments/vault_session.rs
// Module: router
pub fn call_create_connector_customer_if_required<F, Req, D>(
state: &SessionState,
customer: &Option<domain::Customer>,
merchant_context: &domain::MerchantContext,
mercha... | crates/router/src/core/payments/vault_session.rs | router | function_signature | null | null | null | 228 | call_create_connector_customer_if_required | null | null | null | null | null | null |
// File: crates/router/src/core/revenue_recovery_data_backfill.rs
// Module: router
// Public functions: 2
use std::collections::HashMap;
use api_models::revenue_recovery_data_backfill::{
BackfillError, ComprehensiveCardData, RevenueRecoveryBackfillRequest,
RevenueRecoveryDataBackfillResponse, UnlockStatusRes... | crates/router/src/core/revenue_recovery_data_backfill.rs | router | full_file | null | null | null | 2,386 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Aci
// File: crates/hyperswitch_connectors/src/connectors/aci.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Aci | crates/hyperswitch_connectors/src/connectors/aci.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Aci | ConnectorValidation for | 1 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// Function: get_novalnet_dispute_status
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
pub fn get_novalnet_dispute_status(status: WebhookEventType) -> WebhookDisputeStatus | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 61 | get_novalnet_dispute_status | null | null | null | null | null | null |
// Function: get_error_response
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
pub fn get_error_response(result: ResultData, status_code: u16) -> ErrorResponse | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 55 | get_error_response | null | null | null | null | null | null |
// Function: connector_update
// File: crates/openapi/src/routes/merchant_connector_account.rs
// Module: openapi
pub fn connector_update() | crates/openapi/src/routes/merchant_connector_account.rs | openapi | function_signature | null | null | null | 31 | connector_update | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | Multisafepay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: validate_refund_amount
// File: crates/router/src/core/utils/refunds_validator.rs
// Module: router
pub fn validate_refund_amount(
amount_captured: i64,
all_refunds: &[diesel_refund::Refund],
refund_amount: i64,
) -> CustomResult<(), RefundValidationError> | crates/router/src/core/utils/refunds_validator.rs | router | function_signature | null | null | null | 73 | validate_refund_amount | null | null | null | null | null | null |
// Function: get_inner
// File: crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs
// Module: hyperswitch_interfaces
pub fn get_inner(&self) -> &T | crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs | hyperswitch_interfaces | function_signature | null | null | null | 41 | get_inner | null | null | null | null | null | null |
// Implementation: impl api::Payouts for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payouts for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Ebanx | api::Payouts for | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/trustpayments.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/trustpayments.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Function: update_router_data_with_payment_method_token_result
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
pub fn update_router_data_with_payment_method_token_result<F: Clone, T>(
payment_method_token_result: types::PaymentMethodTokenResult,
router_data: &mut types::RouterData<... | crates/router/src/core/payments/tokenization.rs | router | function_signature | null | null | null | 97 | update_router_data_with_payment_method_token_result | null | null | null | null | null | null |
// Struct: TokenexRetrieveRequest
// File: crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenexRetrieveRequest | crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs | hyperswitch_connectors | struct_definition | TokenexRetrieveRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl State for for TokenizeWithCard
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for TokenizeWithCard | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | impl_block | null | null | null | 50 | null | TokenizeWithCard | State for | 0 | 0 | null | null |
// Function: get_payment_method
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_payment_method(&self) -> Option<storage_enums::PaymentMethod> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 50 | get_payment_method | null | null | null | null | null | null |
// Struct: DummyConnectorRefundRequest
// File: crates/router/src/routes/dummy_connector/types.rs
// Module: router
// Implementations: 0
pub struct DummyConnectorRefundRequest | crates/router/src/routes/dummy_connector/types.rs | router | struct_definition | DummyConnectorRefundRequest | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: construct_webhook_router_data
// File: crates/router/src/core/webhooks/utils.rs
// Module: router
pub fn construct_webhook_router_data(
state: &SessionState,
connector_name: &str,
merchant_connector_account: domain::MerchantConnectorAccount,
merchant_context: &domain::MerchantContext,
... | crates/router/src/core/webhooks/utils.rs | router | function_signature | null | null | null | 122 | construct_webhook_router_data | null | null | null | null | null | null |
// Struct: PayonePayoutFulfillResponse
// File: crates/hyperswitch_connectors/src/connectors/payone/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayonePayoutFulfillResponse | crates/hyperswitch_connectors/src/connectors/payone/transformers.rs | hyperswitch_connectors | struct_definition | PayonePayoutFulfillResponse | 0 | [] | 55 | null | null | null | null | null | null | null |
.extra_parameters
.as_ref()
.and_then(|extra_p| {
extra_p.token.as_ref().map(|token| MandateReference {
connector_mandate_id: Some(token.clone().expose()),
... | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
flow: PhantomData,
merchant_id: merchant_context.get_merchant_account().get_id().clone(),
customer_id,
tenant_id: state.tenant.tenant_id.clone(),
connector: connector_id.to_owned(),
payment_id: payment_data
.payment_attempt
.payment_id
... | crates/router/src/core/payments/transformers.rs#chunk2 | router | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payu | api::PaymentToken for | 0 | 0 | null | null |
// Struct: Sdk
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Sdk | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | Sdk | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: get_connector_config
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_connector_config(key: &str) -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 41 | get_connector_config | null | null | null | null | null | null |
// Function: decrypt
// File: crates/external_services/src/no_encryption/core.rs
// Module: external_services
// Documentation: Decryption functionality
pub fn decrypt(&self, data: impl AsRef<[u8]>) -> Vec<u8> | crates/external_services/src/no_encryption/core.rs | external_services | function_signature | null | null | null | 53 | decrypt | null | null | null | null | null | null |
// Struct: MifinityData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct MifinityData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | MifinityData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: new
// File: crates/storage_impl/src/redis.rs
// Module: storage_impl
pub fn new(
conf: &redis_interface::RedisSettings,
) -> error_stack::Result<Self, redis_interface::errors::RedisError> | crates/storage_impl/src/redis.rs | storage_impl | function_signature | null | null | null | 53 | new | null | null | null | null | null | null |
},
}
}
}
impl
TryFrom<(
&WellsfargoRouterData<&PaymentsAuthorizeRouterData>,
BankDebitData,
)> for WellsfargoPaymentsRequest
{
type Error = error_stack::Report<errors::ConnectorError>;
fn try_from(
(item, bank_debit_data): (
&WellsfargoRouterD... | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,184 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/organization.rs
// Module: diesel_models
// Public functions: 3
use common_utils::id_type;
use diesel::{associations::HasTable, ExpressionMethods};
#[cfg(feature = "v1")]
use crate::schema::organization::dsl::org_id as dsl_identifier;
#[cfg(feature = "v2")]
use crate::schema_v2... | crates/diesel_models/src/query/organization.rs | diesel_models | full_file | null | null | null | 332 | null | null | null | null | null | null | null |
// Function: files_delete_core
// File: crates/router/src/core/files.rs
// Module: router
pub fn files_delete_core(
state: SessionState,
merchant_context: domain::MerchantContext,
req: api::FileId,
) -> RouterResponse<serde_json::Value> | crates/router/src/core/files.rs | router | function_signature | null | null | null | 61 | files_delete_core | null | null | null | null | null | null |
// File: crates/router/src/routes/payment_link.rs
// Module: router
// Public functions: 5
use actix_web::{web, Responder};
use router_env::{instrument, tracing, Flow};
use crate::{
core::{api_locking, payment_link::*},
services::{api, authentication as auth},
types::domain,
AppState,
};
/// Payments... | crates/router/src/routes/payment_link.rs | router | full_file | null | null | null | 1,287 | null | null | null | null | null | null | null |
// Function: profile_delete
// File: crates/router/src/routes/profiles.rs
// Module: router
pub fn profile_delete(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<(
common_utils::id_type::MerchantId,
common_utils::id_type::ProfileId,
) | crates/router/src/routes/profiles.rs | router | function_signature | null | null | null | 71 | profile_delete | 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: ResponseIdStr
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ResponseIdStr | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | ResponseIdStr | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: CallBackResponse
// File: crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CallBackResponse | crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs | hyperswitch_connectors | struct_definition | CallBackResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Iatapay
// File: crates/hyperswitch_connectors/src/connectors/iatapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Iatapay | crates/hyperswitch_connectors/src/connectors/iatapay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Iatapay | api::PaymentToken for | 0 | 0 | null | null |
// Struct: NmiRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiRefundRequest | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: AuthorizedotnetRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetRefundRequest | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetRefundRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/blocklist_fingerprint.rs
// Module: diesel_models
// Public functions: 2
use diesel::{associations::HasTable, BoolExpressionMethods, ExpressionMethods};
use super::generics;
use crate::{
blocklist_fingerprint::{BlocklistFingerprint, BlocklistFingerprintNew},
schema::blo... | crates/diesel_models/src/query/blocklist_fingerprint.rs | diesel_models | full_file | null | null | null | 254 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/paybox.rs
// Module: router
use masking::Secret;
use router::types::{self, api, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct PayboxTest;
impl ConnectorActions for PayboxTest {}
impl utils::Co... | crates/router/tests/connectors/paybox.rs | router | full_file | null | null | null | 2,929 | null | null | null | null | null | null | null |
// Struct: NexixpayCompleteAuthorizeRequest
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexixpayCompleteAuthorizeRequest | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | NexixpayCompleteAuthorizeRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Mpgs
// File: crates/hyperswitch_connectors/src/connectors/mpgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Mpgs | crates/hyperswitch_connectors/src/connectors/mpgs.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Mpgs | api::PaymentCapture for | 0 | 0 | null | null |
// File: crates/external_services/src/http_client/metrics.rs
// Module: external_services
use router_env::{counter_metric, global_meter, histogram_metric_f64};
global_meter!(GLOBAL_METER, "ROUTER_API");
counter_metric!(REQUEST_BUILD_FAILURE, GLOBAL_METER);
histogram_metric_f64!(EXTERNAL_REQUEST_TIME, GLOBAL_METER);... | crates/external_services/src/http_client/metrics.rs | external_services | full_file | null | null | null | 86 | null | null | null | null | null | null | null |
// Implementation: impl PaymentIntentUpdate
// File: crates/hyperswitch_domain_models/src/payments/payment_intent.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (1 public)
impl PaymentIntentUpdate | crates/hyperswitch_domain_models/src/payments/payment_intent.rs | hyperswitch_domain_models | impl_block | null | null | null | 47 | null | PaymentIntentUpdate | null | 1 | 1 | null | null |
// Function: execute_dsl_and_get_conditional_config
// File: crates/router/src/core/payment_methods/surcharge_decision_configs.rs
// Module: router
pub fn execute_dsl_and_get_conditional_config(
backend_input: dsl_inputs::BackendInput,
interpreter: &backend::VirInterpreterBackend<SurchargeDecisionConfigs>,
) -... | crates/router/src/core/payment_methods/surcharge_decision_configs.rs | router | function_signature | null | null | null | 81 | execute_dsl_and_get_conditional_config | null | null | null | null | null | null |
// Struct: CardDetails
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardDetails | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | CardDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: TokenizedCardDetails
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenizedCardDetails | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | TokenizedCardDetails | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: RevenueRecoveryMetadata
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
// Documentation: Revenue recovery metadata for merchant connector account
pub struct RevenueRecoveryMetadata | crates/api_models/src/admin.rs | api_models | struct_definition | RevenueRecoveryMetadata | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: log_payout_delete
// File: crates/router/src/services/kafka.rs
// Module: router
pub fn log_payout_delete(
&self,
delete_old_payout: &KafkaPayout<'_>,
tenant_id: TenantID,
) -> MQResult<()> | crates/router/src/services/kafka.rs | router | function_signature | null | null | null | 62 | log_payout_delete | null | null | null | null | null | null |
// File: crates/currency_conversion/src/conversion.rs
// Module: currency_conversion
// Public functions: 1
use common_enums::Currency;
use rust_decimal::Decimal;
use rusty_money::Money;
use crate::{
error::CurrencyConversionError,
types::{currency_match, ExchangeRates},
};
pub fn convert(
ex_rates: &Exc... | crates/currency_conversion/src/conversion.rs | currency_conversion | full_file | null | null | null | 936 | null | null | null | null | null | null | null |
// Function: build_form_from_struct
// File: crates/hyperswitch_connectors/src/connectors/hipay.rs
// Module: hyperswitch_connectors
pub fn build_form_from_struct<T: Serialize>(data: T) -> Result<Form, common_errors::ParsingError> | crates/hyperswitch_connectors/src/connectors/hipay.rs | hyperswitch_connectors | function_signature | null | null | null | 58 | build_form_from_struct | null | null | null | null | null | null |
// Trait: OperationSessionGetters
// File: crates/router/src/core/payments.rs
// Module: router
pub trait OperationSessionGetters<F> | crates/router/src/core/payments.rs | router | trait_definition | null | null | null | 32 | null | null | OperationSessionGetters | null | null | null | null |
// Function: payments_update_intent
// File: crates/openapi/src/routes/payments.rs
// Module: openapi
pub fn payments_update_intent() | crates/openapi/src/routes/payments.rs | openapi | function_signature | null | null | null | 31 | payments_update_intent | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payment_link.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payment_link.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Struct: CardNetworkTokenizeForm
// File: crates/router/src/core/payment_methods/tokenize.rs
// Module: router
// Implementations: 0
pub struct CardNetworkTokenizeForm | crates/router/src/core/payment_methods/tokenize.rs | router | struct_definition | CardNetworkTokenizeForm | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Klarna | api::PaymentCapture for | 0 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.