text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// File: crates/router/src/services/openidconnect.rs
// Module: router
// Public functions: 2
use common_utils::errors::ErrorSwitch;
use error_stack::ResultExt;
use external_services::http_client::client;
use masking::{ExposeInterface, Secret};
use oidc::TokenResponse;
use openidconnect::{self as oidc, core as oidc_co... | crates/router/src/services/openidconnect.rs | router | full_file | null | null | null | 1,690 | null | null | null | null | null | null | null |
// Function: mk_basilisk_req
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
pub fn mk_basilisk_req(
jwekey: &settings::Jwekey,
jws: &str,
locker_choice: api_enums::LockerChoice,
) -> CustomResult<encryption::JweBody, errors::VaultError> | crates/router/src/core/payment_methods/transformers.rs | router | function_signature | null | null | null | 82 | mk_basilisk_req | null | null | null | null | null | null |
// Struct: AveragePaymentTime
// File: crates/api_models/src/analytics/sdk_events.rs
// Module: api_models
// Implementations: 0
pub struct AveragePaymentTime | crates/api_models/src/analytics/sdk_events.rs | api_models | struct_definition | AveragePaymentTime | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Payload | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Payload | api::Payment for | 0 | 0 | null | null |
// Function: store_card_in_locker
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
pub fn store_card_in_locker(
&self,
card: &domain::CardDetail,
customer_id: &id_type::CustomerId,
) -> RouterResult<pm_transformers::StoreCardRespPayload> | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | function_signature | null | null | null | 75 | store_card_in_locker | null | null | null | null | null | null |
payment_data,
req,
customer,
connector_http_status_code,
external_latency,
))
}
#[cfg(feature = "v1")]
// This function is intended for use when the feature being implemented is not aligned with the
// core payment operations.
#[allow(clippy::too_many_arguments, clippy::type... | crates/router/src/core/payments.rs#chunk1 | router | chunk | null | null | null | 8,179 | null | null | null | null | null | null | null |
// Struct: ConnectorAuthentication
// File: crates/test_utils/src/connector_auth.rs
// Module: test_utils
// Implementations: 2
// Traits: Default
pub struct ConnectorAuthentication | crates/test_utils/src/connector_auth.rs | test_utils | struct_definition | ConnectorAuthentication | 2 | [
"Default"
] | 40 | null | 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 |
// Implementation: impl FlattenedPaymentMethodsEnabled
// File: crates/router/src/core/payments/payment_methods.rs
// Module: router
// Methods: 1 total (0 public)
impl FlattenedPaymentMethodsEnabled | crates/router/src/core/payments/payment_methods.rs | router | impl_block | null | null | null | 46 | null | FlattenedPaymentMethodsEnabled | null | 1 | 0 | null | null |
// Struct: SdkEventMetricsAccumulator
// File: crates/analytics/src/sdk_events/accumulator.rs
// Module: analytics
// Implementations: 1
pub struct SdkEventMetricsAccumulator | crates/analytics/src/sdk_events/accumulator.rs | analytics | struct_definition | SdkEventMetricsAccumulator | 1 | [] | 45 | null | null | null | null | null | null | null |
// Struct: MerchantAdvice
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantAdvice | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | MerchantAdvice | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_action_url
// File: crates/router/src/routes/connector_onboarding.rs
// Module: router
pub fn get_action_url(
state: web::Data<AppState>,
http_req: HttpRequest,
json_payload: web::Json<api_types::ActionUrlRequest>,
) -> HttpResponse | crates/router/src/routes/connector_onboarding.rs | router | function_signature | null | null | null | 64 | get_action_url | null | null | null | null | null | null |
// Function: find_generic_link_by_link_id
// File: crates/diesel_models/src/query/generic_link.rs
// Module: diesel_models
pub fn find_generic_link_by_link_id(
conn: &PgPooledConn,
link_id: &str,
) -> StorageResult<GenericLinkState> | crates/diesel_models/src/query/generic_link.rs | diesel_models | function_signature | null | null | null | 65 | find_generic_link_by_link_id | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: create_payment_method_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn create_payment_method_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 33 | create_payment_method_api | null | null | null | null | null | null |
// Implementation: impl ConnectorRedirectResponse for for ConnectorEnum
// File: crates/hyperswitch_interfaces/src/connector_integration_interface.rs
// Module: hyperswitch_interfaces
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for ConnectorEnum | crates/hyperswitch_interfaces/src/connector_integration_interface.rs | hyperswitch_interfaces | impl_block | null | null | null | 53 | null | ConnectorEnum | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Function: totp_update
// File: crates/router/src/routes/user.rs
// Module: router
pub fn totp_update(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<user_api::VerifyTotpRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 61 | totp_update | null | null | null | null | null | null |
// Function: handle
// File: crates/common_utils/src/signals.rs
// Module: common_utils
// Documentation: Dummy handler for signals in windows (empty)
pub fn handle(&self) -> Self | crates/common_utils/src/signals.rs | common_utils | function_signature | null | null | null | 42 | handle | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/elavon.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/types/api/files.rs
// Module: router
// Public exports:
pub use hyperswitch_domain_models::router_flow_types::files::{Retrieve, Upload};
pub use hyperswitch_interfaces::api::files::{FilePurpose, FileUpload, RetrieveFile, UploadFile};
pub use super::files_v2::{FileUploadV2... | crates/router/src/types/api/files.rs | router | module_structure | null | null | null | 86 | null | null | null | null | null | 0 | 3 |
// File: crates/common_utils/src/id_type/profile.rs
// Module: common_utils
use std::str::FromStr;
crate::id_type!(
ProfileId,
"A type for profile_id that can be used for business profile ids"
);
crate::impl_id_type_methods!(ProfileId, "profile_id");
// This is to display the `ProfileId` as ProfileId(abcd)
c... | crates/common_utils/src/id_type/profile.rs | common_utils | full_file | null | null | null | 352 | null | null | null | null | null | null | null |
// Struct: ApplePayTokenizedCard
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayTokenizedCard | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayTokenizedCard | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Moneris | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: get_tax_on_surcharge
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
pub fn get_tax_on_surcharge(&self) -> Option<MinorUnit> | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | function_signature | null | null | null | 50 | get_tax_on_surcharge | null | null | null | null | null | null |
// Struct: LockerMockUp
// File: crates/diesel_models/src/locker_mock_up.rs
// Module: diesel_models
// Implementations: 0
pub struct LockerMockUp | crates/diesel_models/src/locker_mock_up.rs | diesel_models | struct_definition | LockerMockUp | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: ChargebeeInvoiceData
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeInvoiceData | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeInvoiceData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: PaymentLinkFormData
// File: crates/hyperswitch_domain_models/src/api.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentLinkFormData | crates/hyperswitch_domain_models/src/api.rs | hyperswitch_domain_models | struct_definition | PaymentLinkFormData | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Bitpay
// File: crates/hyperswitch_connectors/src/connectors/bitpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Bitpay | crates/hyperswitch_connectors/src/connectors/bitpay.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Bitpay | api::RefundExecute for | 0 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | function_signature | null | null | null | 40 | new | null | null | null | null | null | null |
// 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: CardPaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardPaymentInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | CardPaymentInformation | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Payload | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payload | api::Refund for | 0 | 0 | null | null |
// Implementation: impl api::ConnectorValidation for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorValidation for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Wise | api::ConnectorValidation for | 0 | 0 | null | null |
// Function: delete_surcharge_decision_config
// File: crates/router/src/core/surcharge_decision_config.rs
// Module: router
pub fn delete_surcharge_decision_config(
_state: SessionState,
_merchant_context: domain::MerchantContext,
) -> RouterResponse<()> | crates/router/src/core/surcharge_decision_config.rs | router | function_signature | null | null | null | 58 | delete_surcharge_decision_config | null | null | null | null | null | null |
// Function: evaluate_routing_rule
// File: crates/openapi/src/routes/routing.rs
// Module: openapi
pub fn evaluate_routing_rule() | crates/openapi/src/routes/routing.rs | openapi | function_signature | null | null | null | 31 | evaluate_routing_rule | null | null | null | null | null | null |
// Struct: UserField
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct UserField | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | UserField | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Nexinets | api::RefundSync for | 0 | 0 | null | null |
ApiError::new("IR", 4, format!("Missing required param: {field_name}"), None),
),
Self::InvalidDataFormat {
field_name,
expected_format,
} => AER::Unprocessable(ApiError::new(
"IR",
5,
for... | crates/hyperswitch_domain_models/src/errors/api_error_response.rs#chunk1 | hyperswitch_domain_models | chunk | null | null | null | 2,491 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/consts.rs
// Module: hyperswitch_interfaces
//! connector integration related const declarations
/// No error message string const
pub const NO_ERROR_MESSAGE: &str = "No error message";
/// No error code string const
pub const NO_ERROR_CODE: &str = "No error code";
/// Acc... | crates/hyperswitch_interfaces/src/consts.rs | hyperswitch_interfaces | full_file | null | null | null | 118 | null | null | null | null | null | null | null |
// Function: is_overcapture_enabled
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
pub fn is_overcapture_enabled(&self) -> Option<primitive_wrappers::OvercaptureEnabledBool> | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 52 | is_overcapture_enabled | null | null | null | null | null | null |
// Implementation: impl PaymentAttempt
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
// Methods: 18 total (0 public)
impl PaymentAttempt | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | impl_block | null | null | null | 40 | null | PaymentAttempt | null | 18 | 0 | null | null |
// Struct: EventListRequestInternal
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct EventListRequestInternal | crates/api_models/src/webhook_events.rs | api_models | struct_definition | EventListRequestInternal | 1 | [
"common_utils::events::ApiEventMetric"
] | 51 | null | null | null | null | null | null | null |
// Implementation: impl RefundSync for for DummyConnector
// File: crates/hyperswitch_connectors/src/connectors/dummyconnector.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundSync for for DummyConnector | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | DummyConnector | RefundSync for | 0 | 0 | null | null |
// Function: extract_merchant_details_url
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
pub fn extract_merchant_details_url(self, paypal_base_url: &str) -> RouterResult<String> | crates/router/src/types/api/connector_onboarding/paypal.rs | router | function_signature | null | null | null | 51 | extract_merchant_details_url | null | null | null | null | null | null |
// Function: validate
// File: crates/router_derive/src/macros/schema.rs
// Module: router_derive
pub fn validate(&self) -> Result<(), String> | crates/router_derive/src/macros/schema.rs | router_derive | function_signature | null | null | null | 36 | validate | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Implementation: impl ConnectorCommon for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Cybersource | ConnectorCommon for | 5 | 0 | null | null |
// Implementation: impl api::PaymentVoid for for Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Inespay | api::PaymentVoid for | 0 | 0 | null | null |
// Function: find_by_merchant_id_subscription_id
// File: crates/diesel_models/src/query/subscription.rs
// Module: diesel_models
pub fn find_by_merchant_id_subscription_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
id: String,
) -> StorageResult<Self> | crates/diesel_models/src/query/subscription.rs | diesel_models | function_signature | null | null | null | 75 | find_by_merchant_id_subscription_id | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Paysafe
// File: crates/hyperswitch_connectors/src/connectors/paysafe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Paysafe | crates/hyperswitch_connectors/src/connectors/paysafe.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Paysafe | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::PayoutCreate for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PayoutCreate for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Stripe | api::PayoutCreate for | 0 | 0 | null | null |
// Struct: CoinbaseRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CoinbaseRefundRequest | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | struct_definition | CoinbaseRefundRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ConnectorParamsWithMoreUrls
// File: crates/hyperswitch_domain_models/src/connector_endpoints.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ConnectorParamsWithMoreUrls | crates/hyperswitch_domain_models/src/connector_endpoints.rs | hyperswitch_domain_models | struct_definition | ConnectorParamsWithMoreUrls | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: get_payment_method_create_request
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn get_payment_method_create_request(
payment_method_data: Option<&domain::PaymentMethodData>,
payment_method: Option<storage_enums::PaymentMethod>,
payment_method_type: Option<storage_en... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 125 | get_payment_method_create_request | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Trustpay | ConnectorValidation for | 0 | 0 | null | null |
// Struct: BamboraCard
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraCard | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | BamboraCard | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: SyncTransactionResponse
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SyncTransactionResponse | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | SyncTransactionResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: Headers
// File: crates/api_models/src/proxy.rs
// Module: api_models
// Implementations: 1
pub struct Headers | crates/api_models/src/proxy.rs | api_models | struct_definition | Headers | 1 | [] | 32 | null | null | null | null | null | null | null |
// File: crates/router/src/db/callback_mapper.rs
// Module: router
use error_stack::report;
use hyperswitch_domain_models::callback_mapper as domain;
use router_env::{instrument, tracing};
use storage_impl::{DataModelExt, MockDb};
use super::Store;
use crate::{
connection,
core::errors::{self, CustomResult},
... | crates/router/src/db/callback_mapper.rs | router | full_file | null | null | null | 529 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Coinbase | api::Refund for | 0 | 0 | null | null |
// Struct: CardholderAccount
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardholderAccount | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs | hyperswitch_connectors | struct_definition | CardholderAccount | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: execute_card_tokenization
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn execute_card_tokenization(
executor: tokenize::CardNetworkTokenizeExecutor<'_, domain::TokenizeCardRequest>,
builder: tokenize::NetworkTokenizationBuilder<'_, tokenize::TokenizeWithCard>,
... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 95 | execute_card_tokenization | null | null | null | null | null | null |
// Struct: ApiEventFilters
// File: crates/api_models/src/analytics/api_event.rs
// Module: api_models
// Implementations: 0
pub struct ApiEventFilters | crates/api_models/src/analytics/api_event.rs | api_models | struct_definition | ApiEventFilters | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: delete_user_role
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn delete_user_role(
state: web::Data<AppState>,
req: HttpRequest,
payload: web::Json<user_role_api::DeleteUserRoleRequest>,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 61 | delete_user_role | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Struct: CheckoutLineItem
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutLineItem | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutLineItem | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Worldline
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Worldline | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Worldline | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: Powertranz
// File: crates/hyperswitch_connectors/src/connectors/powertranz.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentsCompleteAuthorize, api::PaymentSync, api::Pay... | crates/hyperswitch_connectors/src/connectors/powertranz.rs | hyperswitch_connectors | struct_definition | Powertranz | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentsCompleteAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"C... | 134 | null | null | null | null | null | null | null |
// Struct: FacilitapayCredentials
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapayCredentials | crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs | hyperswitch_connectors | struct_definition | FacilitapayCredentials | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: files_create_core
// File: crates/router/src/core/files.rs
// Module: router
pub fn files_create_core(
state: SessionState,
merchant_context: domain::MerchantContext,
create_file_request: api::CreateFileRequest,
) -> RouterResponse<files::CreateFileResponse> | crates/router/src/core/files.rs | router | function_signature | null | null | null | 65 | files_create_core | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/analytics/auth_events.rs
// Module: api_models
pub fn new(
authentication_status: Option<AuthenticationStatus>,
trans_status: Option<TransactionStatus>,
authentication_type: Option<DecoupledAuthenticationType>,
error_message: Option<String... | crates/api_models/src/analytics/auth_events.rs | api_models | function_signature | null | null | null | 244 | new | null | null | null | null | null | null |
// Function: delete_dispute_evidence
// File: crates/router/src/routes/disputes.rs
// Module: router
pub fn delete_dispute_evidence(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<dispute_models::DeleteEvidenceRequest>,
) -> HttpResponse | crates/router/src/routes/disputes.rs | router | function_signature | null | null | null | 67 | delete_dispute_evidence | null | null | null | null | null | null |
// Struct: HashedApiKey
// File: crates/diesel_models/src/api_keys.rs
// Module: diesel_models
// Implementations: 1
pub struct HashedApiKey | crates/diesel_models/src/api_keys.rs | diesel_models | struct_definition | HashedApiKey | 1 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/router_env/src/lib.rs
// Module: router_env
#![warn(missing_debug_implementations)]
//! Environment of payment router: logger, basic config, its environment awareness.
#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR" ), "/", "README.md"))]
/// Utilities to identify members of the current carg... | crates/router_env/src/lib.rs | router_env | full_file | null | null | null | 179 | null | null | null | null | null | null | null |
// Function: generic_list_roles_by_entity_type
// File: crates/diesel_models/src/query/role.rs
// Module: diesel_models
pub fn generic_list_roles_by_entity_type(
conn: &PgPooledConn,
payload: ListRolesByEntityPayload,
is_lineage_data_required: bool,
tenant_id: id_type::TenantId,
... | crates/diesel_models/src/query/role.rs | diesel_models | function_signature | null | null | null | 93 | generic_list_roles_by_entity_type | null | null | null | null | null | null |
// Struct: ActivePayments
// File: crates/api_models/src/analytics/active_payments.rs
// Module: api_models
// Implementations: 0
pub struct ActivePayments | crates/api_models/src/analytics/active_payments.rs | api_models | struct_definition | ActivePayments | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: NexiCardDetails
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexiCardDetails | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | NexiCardDetails | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl FetchDisputes for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl FetchDisputes for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Worldpayvantiv | FetchDisputes for | 0 | 0 | null | null |
// Implementation: impl api::PaymentCapture for for Blackhawknetwork
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Blackhawknetwork | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Blackhawknetwork | api::PaymentCapture for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs
// Module: hyperswitch_connectors
// Public functions: 4
// Public structs: 17
use std::collections::HashMap;
use common_utils::{pii::Email, types::SemanticVersion};
use hyperswitch_domain_models::router_request_types::{
authentica... | crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,173 | null | null | null | null | null | null | null |
// Struct: SmtpServerConfig
// File: crates/external_services/src/email/smtp.rs
// Module: external_services
// Implementations: 1
pub struct SmtpServerConfig | crates/external_services/src/email/smtp.rs | external_services | struct_definition | SmtpServerConfig | 1 | [] | 40 | null | null | null | null | null | null | null |
// Struct: RedirectData
// File: crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedirectData | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs | hyperswitch_connectors | struct_definition | RedirectData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl Hash for for PaymentMetricsBucketIdentifier
// File: crates/api_models/src/analytics/payments.rs
// Module: api_models
// Methods: 1 total (0 public)
impl Hash for for PaymentMetricsBucketIdentifier | crates/api_models/src/analytics/payments.rs | api_models | impl_block | null | null | null | 49 | null | PaymentMetricsBucketIdentifier | Hash for | 1 | 0 | null | null |
// Struct: InespayErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct InespayErrorResponse | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | struct_definition | InespayErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: FrmFulfillmentRequest
// File: crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct FrmFulfillmentRequest | crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs | hyperswitch_domain_models | struct_definition | FrmFulfillmentRequest | 1 | [
"ApiEventMetric"
] | 57 | null | null | null | null | null | null | null |
// File: crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSwitchE... | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs | analytics | full_file | null | null | null | 1,064 | null | null | null | null | null | null | null |
// Struct: OpennodeWebhookDetails
// File: crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OpennodeWebhookDetails | crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs | hyperswitch_connectors | struct_definition | OpennodeWebhookDetails | 0 | [] | 53 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Function: get_payment_config_routing_id
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: get_payment_config_routing_id
pub fn get_payment_config_routing_id(&self) -> String | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 49 | get_payment_config_routing_id | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 76 | null | Juspaythreedsserver | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl ConnectorValidation for for Coinbase
// File: crates/hyperswitch_connectors/src/connectors/coinbase.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Coinbase | crates/hyperswitch_connectors/src/connectors/coinbase.rs | hyperswitch_connectors | impl_block | null | null | null | 52 | null | Coinbase | ConnectorValidation for | 0 | 0 | null | null |
// TODO: This has to be generated as the reference id based on the connector configuration
// Some connectros might not accept accept the global id. This has to be done when generating the reference id
connector_request_reference_id,
preprocessing_id: attempt.preprocessing_step_id.clone(... | crates/router/src/core/payments/transformers.rs#chunk1 | router | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for ConnectorEnum
// File: crates/hyperswitch_interfaces/src/connector_integration_interface.rs
// Module: hyperswitch_interfaces
// Methods: 7 total (0 public)
impl ConnectorSpecifications for for ConnectorEnum | crates/hyperswitch_interfaces/src/connector_integration_interface.rs | hyperswitch_interfaces | impl_block | null | null | null | 51 | null | ConnectorEnum | ConnectorSpecifications for | 7 | 0 | null | null |
// Struct: ResponseData
// File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ResponseData | crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs | hyperswitch_connectors | struct_definition | ResponseData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Opayo | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Opayo | api::MandateSetup for | 0 | 0 | null | null |
// Function: call_create_connector_customer_if_required
// File: crates/router/src/core/payments.rs
// Module: router
pub fn call_create_connector_customer_if_required<F, Req, D>(
state: &SessionState,
customer: &Option<domain::Customer>,
merchant_context: &domain::MerchantContext,
merchant_connector_a... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 224 | call_create_connector_customer_if_required | null | null | null | null | null | null |
// Struct: PayPalActionUrlResponse
// File: crates/api_models/src/connector_onboarding.rs
// Module: api_models
// Implementations: 0
pub struct PayPalActionUrlResponse | crates/api_models/src/connector_onboarding.rs | api_models | struct_definition | PayPalActionUrlResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: Amount
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Amount | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | Amount | 0 | [] | 44 | null | null | null | null | null | null | null |
// Struct: NmiWebhookEventBody
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiWebhookEventBody | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiWebhookEventBody | 0 | [] | 53 | 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.