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
⌀
// Struct: SkipTwoFactorAuthQueryParam // File: crates/api_models/src/user.rs // Module: api_models // Implementations: 0 pub struct SkipTwoFactorAuthQueryParam
crates/api_models/src/user.rs
api_models
struct_definition
SkipTwoFactorAuthQueryParam
0
[]
39
null
null
null
null
null
null
null
// Function: get_four_digit_expiry_year // File: crates/common_types/src/payments.rs // Module: common_types // Documentation: Get the four-digit expiration year from the Google Pay pre-decrypt data pub fn get_four_digit_expiry_year(&self) -> Result<Secret<String>, errors::ValidationError>
crates/common_types/src/payments.rs
common_types
function_signature
null
null
null
64
get_four_digit_expiry_year
null
null
null
null
null
null
// Function: get_dir_country_dir_value // File: crates/kgraph_utils/src/transformers.rs // Module: kgraph_utils pub fn get_dir_country_dir_value(c: api_enums::Country) -> dir::enums::Country
crates/kgraph_utils/src/transformers.rs
kgraph_utils
function_signature
null
null
null
50
get_dir_country_dir_value
null
null
null
null
null
null
// Struct: NovalnetTransaction // File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct NovalnetTransaction
crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
hyperswitch_connectors
struct_definition
NovalnetTransaction
0
[]
50
null
null
null
null
null
null
null
// Struct: PlaidSchedule // File: crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PlaidSchedule
crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs
hyperswitch_connectors
struct_definition
PlaidSchedule
0
[]
47
null
null
null
null
null
null
null
// Struct: AuthenticationResponse // File: crates/router/src/types/api/authentication.rs // Module: router // Implementations: 0 pub struct AuthenticationResponse
crates/router/src/types/api/authentication.rs
router
struct_definition
AuthenticationResponse
0
[]
33
null
null
null
null
null
null
null
// Function: is_empty_result // File: crates/router/src/core/payments/types.rs // Module: router pub fn is_empty_result(&self) -> bool
crates/router/src/core/payments/types.rs
router
function_signature
null
null
null
34
is_empty_result
null
null
null
null
null
null
// Implementation: impl RefundSync for for Threedsecureio // File: crates/hyperswitch_connectors/src/connectors/threedsecureio.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl RefundSync for for Threedsecureio
crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Threedsecureio
RefundSync for
0
0
null
null
// Struct: ChargebeePlanPriceItem // File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ChargebeePlanPriceItem
crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
hyperswitch_connectors
struct_definition
ChargebeePlanPriceItem
0
[]
52
null
null
null
null
null
null
null
// Function: call_proxy_api // File: crates/router/src/core/revenue_recovery/api.rs // Module: router pub fn call_proxy_api( state: &SessionState, payment_intent: &payments_domain::PaymentIntent, revenue_recovery_payment_data: &storage::revenue_recovery::RevenueRecoveryPaymentData, revenue_recovery: &p...
crates/router/src/core/revenue_recovery/api.rs
router
function_signature
null
null
null
108
call_proxy_api
null
null
null
null
null
null
// File: crates/hyperswitch_interfaces/src/api/files_v2.rs // Module: hyperswitch_interfaces //! Files V2 interface use hyperswitch_domain_models::{ router_data_v2::FilesFlowData, router_flow_types::{Retrieve, Upload}, router_request_types::{RetrieveFileRequestData, UploadFileRequestData}, router_resp...
crates/hyperswitch_interfaces/src/api/files_v2.rs
hyperswitch_interfaces
full_file
null
null
null
297
null
null
null
null
null
null
null
// Implementation: impl RequiredFromNullableWithDefault // File: crates/diesel_models/src/lib.rs // Module: diesel_models // Methods: 1 total (1 public) impl RequiredFromNullableWithDefault
crates/diesel_models/src/lib.rs
diesel_models
impl_block
null
null
null
43
null
RequiredFromNullableWithDefault
null
1
1
null
null
// Function: spawn_error_handlers // File: crates/drainer/src/handler.rs // Module: drainer pub fn spawn_error_handlers(&self, tx: mpsc::Sender<()
crates/drainer/src/handler.rs
drainer
function_signature
null
null
null
40
spawn_error_handlers
null
null
null
null
null
null
// File: crates/diesel_models/src/authentication.rs // Module: diesel_models // Public functions: 3 // Public structs: 3 use std::str::FromStr; use common_utils::{ encryption::Encryption, errors::{CustomResult, ValidationError}, pii, }; use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Select...
crates/diesel_models/src/authentication.rs
diesel_models
full_file
null
null
null
4,789
null
null
null
null
null
null
null
// Struct: ProcessingInformation // File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ProcessingInformation
crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
hyperswitch_connectors
struct_definition
ProcessingInformation
0
[]
47
null
null
null
null
null
null
null
// Implementation: impl api::ConnectorAccessToken for for Jpmorgan // File: crates/hyperswitch_connectors/src/connectors/jpmorgan.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::ConnectorAccessToken for for Jpmorgan
crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
hyperswitch_connectors
impl_block
null
null
null
60
null
Jpmorgan
api::ConnectorAccessToken for
0
0
null
null
// File: crates/api_models/src/events/connector_onboarding.rs // Module: api_models use common_utils::events::{ApiEventMetric, ApiEventsType}; use crate::connector_onboarding::{ ActionUrlRequest, ActionUrlResponse, OnboardingStatus, OnboardingSyncRequest, ResetTrackingIdRequest, }; common_utils::impl_api_eve...
crates/api_models/src/events/connector_onboarding.rs
api_models
full_file
null
null
null
109
null
null
null
null
null
null
null
// Struct: InteracBankRedirect // File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct InteracBankRedirect
crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
hyperswitch_connectors
struct_definition
InteracBankRedirect
0
[]
50
null
null
null
null
null
null
null
// Implementation: impl api::RefundSync for for Dwolla // File: crates/hyperswitch_connectors/src/connectors/dwolla.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::RefundSync for for Dwolla
crates/hyperswitch_connectors/src/connectors/dwolla.rs
hyperswitch_connectors
impl_block
null
null
null
60
null
Dwolla
api::RefundSync for
0
0
null
null
// File: crates/common_utils/src/id_type/tenant.rs // Module: common_utils // Public functions: 2 use crate::{ consts::DEFAULT_GLOBAL_TENANT_ID, errors::{CustomResult, ValidationError}, }; crate::id_type!( TenantId, "A type for tenant_id that can be used for unique identifier for a tenant" ); crate::i...
crates/common_utils/src/id_type/tenant.rs
common_utils
full_file
null
null
null
277
null
null
null
null
null
null
null
// Struct: Zen // File: crates/hyperswitch_connectors/src/connectors/zen.rs // Module: hyperswitch_connectors // Implementations: 18 // Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::PaymentTok...
crates/hyperswitch_connectors/src/connectors/zen.rs
hyperswitch_connectors
struct_definition
Zen
18
[ "api::Payment", "api::PaymentSession", "api::ConnectorAccessToken", "api::MandateSetup", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentCapture", "api::PaymentVoid", "api::PaymentToken", "api::Refund", "api::RefundExecute", "api::RefundSync", "ConnectorCommon", "ConnectorValidat...
124
null
null
null
null
null
null
null
// Function: unlink_routing_config_under_profile // File: crates/router/src/core/routing.rs // Module: router pub fn unlink_routing_config_under_profile( state: SessionState, merchant_context: domain::MerchantContext, profile_id: common_utils::id_type::ProfileId, transaction_type: &enums::TransactionTy...
crates/router/src/core/routing.rs
router
function_signature
null
null
null
83
unlink_routing_config_under_profile
null
null
null
null
null
null
// Function: insert // File: crates/diesel_models/src/query/file.rs // Module: diesel_models pub fn insert(self, conn: &PgPooledConn) -> StorageResult<FileMetadata>
crates/diesel_models/src/query/file.rs
diesel_models
function_signature
null
null
null
42
insert
null
null
null
null
null
null
// Function: validate_dummy_connector_create // File: crates/common_enums/src/connector_enums.rs // Module: common_enums pub fn validate_dummy_connector_create(self, is_dummy_connector_enabled: bool) -> bool
crates/common_enums/src/connector_enums.rs
common_enums
function_signature
null
null
null
46
validate_dummy_connector_create
null
null
null
null
null
null
// Implementation: impl Santander // File: crates/hyperswitch_connectors/src/connectors/santander.rs // Module: hyperswitch_connectors // Methods: 1 total (1 public) impl Santander
crates/hyperswitch_connectors/src/connectors/santander.rs
hyperswitch_connectors
impl_block
null
null
null
46
null
Santander
null
1
1
null
null
// Function: construct_cancel_router_data_v2 // File: crates/router/src/core/payments/transformers.rs // Module: router pub fn construct_cancel_router_data_v2<'a>( state: &'a SessionState, merchant_account: &domain::MerchantAccount, merchant_connector_account: &domain::MerchantConnectorAccountTypeDetails, ...
crates/router/src/core/payments/transformers.rs
router
function_signature
null
null
null
184
construct_cancel_router_data_v2
null
null
null
null
null
null
// Struct: RefundResponse // File: crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RefundResponse
crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs
hyperswitch_connectors
struct_definition
RefundResponse
0
[]
48
null
null
null
null
null
null
null
// File: crates/router/src/core/payments/operations/payment_cancel_v2.rs // Module: router // Public structs: 1 use std::marker::PhantomData; use api_models::enums::FrmSuggestion; use async_trait::async_trait; use common_enums; use common_utils::{ext_traits::AsyncExt, id_type::GlobalPaymentId}; use error_stack::Resul...
crates/router/src/core/payments/operations/payment_cancel_v2.rs
router
full_file
null
null
null
2,681
null
null
null
null
null
null
null
// Struct: Config // File: crates/router/src/types/api/configs.rs // Module: router // Implementations: 0 pub struct Config
crates/router/src/types/api/configs.rs
router
struct_definition
Config
0
[]
32
null
null
null
null
null
null
null
// File: crates/router/src/core/payments/payment_methods.rs // Module: router // Public functions: 2 //! Contains functions of payment methods that are used in payments //! one of such functions is `list_payment_methods` use std::{ collections::{BTreeMap, HashSet}, str::FromStr, }; use common_utils::{ ex...
crates/router/src/core/payments/payment_methods.rs
router
full_file
null
null
null
6,353
null
null
null
null
null
null
null
// Struct: NonThreeDSResponseData // File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct NonThreeDSResponseData
crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
hyperswitch_connectors
struct_definition
NonThreeDSResponseData
0
[]
52
null
null
null
null
null
null
null
// Function: perform_decide_gateway_call_with_open_router // File: crates/router/src/core/payments/routing.rs // Module: router pub fn perform_decide_gateway_call_with_open_router<F, D>( state: &SessionState, mut routable_connectors: Vec<api_routing::RoutableConnectorChoice>, profile_id: &common_utils::id_...
crates/router/src/core/payments/routing.rs
router
function_signature
null
null
null
158
perform_decide_gateway_call_with_open_router
null
null
null
null
null
null
// File: crates/pm_auth/src/connector/plaid/transformers.rs // Module: pm_auth // Public structs: 21 use std::collections::HashMap; use common_enums::{PaymentMethod, PaymentMethodType}; use common_utils::{id_type, types as util_types}; use masking::{PeekInterface, Secret}; use serde::{Deserialize, Serialize}; use cr...
crates/pm_auth/src/connector/plaid/transformers.rs
pm_auth
full_file
null
null
null
3,536
null
null
null
null
null
null
null
// Function: is_true // File: crates/common_types/src/primitive_wrappers.rs // Module: common_types // Documentation: returns the inner bool value pub fn is_true(&self) -> bool
crates/common_types/src/primitive_wrappers.rs
common_types
function_signature
null
null
null
43
is_true
null
null
null
null
null
null
pub struct PayseraData {} #[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)] pub struct GooglePayRedirectData {} #[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)] pub struct GooglePayThirdPartySdkData {} #[derive(Eq, PartialEq, Clone, Debug, se...
crates/api_models/src/payments.rs#chunk5
api_models
chunk
null
null
null
8,191
null
null
null
null
null
null
null
); Err(report!(errors::ApiErrorResponse::InternalServerError) .attach_printable("Failed to retrieve payment method from external vault")) } } } // ********************************************** PROCESS TRACKER ********************************************** pub async...
crates/router/src/core/payment_methods/vault.rs#chunk2
router
chunk
null
null
null
1,015
null
null
null
null
null
null
null
// Implementation: impl ConnectorAccessToken for for Plaid // File: crates/hyperswitch_connectors/src/connectors/plaid.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl ConnectorAccessToken for for Plaid
crates/hyperswitch_connectors/src/connectors/plaid.rs
hyperswitch_connectors
impl_block
null
null
null
53
null
Plaid
ConnectorAccessToken for
0
0
null
null
// File: crates/drainer/src/main.rs // Module: drainer use std::collections::HashMap; use drainer::{errors::DrainerResult, logger, services, settings, start_drainer, start_web_server}; use router_env::tracing::Instrument; #[tokio::main] async fn main() -> DrainerResult<()> { // Get configuration let cmd_line...
crates/drainer/src/main.rs
drainer
full_file
null
null
null
456
null
null
null
null
null
null
null
// Struct: BillingAddress // File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BillingAddress
crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
hyperswitch_connectors
struct_definition
BillingAddress
0
[]
44
null
null
null
null
null
null
null
// Struct: RiskifiedAuthType // File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/auth.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RiskifiedAuthType
crates/hyperswitch_connectors/src/connectors/riskified/transformers/auth.rs
hyperswitch_connectors
struct_definition
RiskifiedAuthType
0
[]
51
null
null
null
null
null
null
null
// Implementation: impl api::RefundSync for for Coinbase // File: crates/hyperswitch_connectors/src/connectors/coinbase.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::RefundSync for for Coinbase
crates/hyperswitch_connectors/src/connectors/coinbase.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Coinbase
api::RefundSync for
0
0
null
null
// Function: get_connector_by_name // File: crates/router/src/types/api/connector_mapping.rs // Module: router pub fn get_connector_by_name( _connectors: &Connectors, name: &str, connector_type: GetToken, connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>, ) -> ...
crates/router/src/types/api/connector_mapping.rs
router
function_signature
null
null
null
83
get_connector_by_name
null
null
null
null
null
null
// Struct: PhonepeErrorResponse // File: crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PhonepeErrorResponse
crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs
hyperswitch_connectors
struct_definition
PhonepeErrorResponse
0
[]
48
null
null
null
null
null
null
null
// Struct: AmountDetails // File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct AmountDetails
crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
hyperswitch_connectors
struct_definition
AmountDetails
0
[]
47
null
null
null
null
null
null
null
// Implementation: impl PaymentVoid for for Signifyd // File: crates/hyperswitch_connectors/src/connectors/signifyd.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl PaymentVoid for for Signifyd
crates/hyperswitch_connectors/src/connectors/signifyd.rs
hyperswitch_connectors
impl_block
null
null
null
56
null
Signifyd
PaymentVoid for
0
0
null
null
// Struct: Dwolla // File: crates/hyperswitch_connectors/src/connectors/dwolla.rs // Module: hyperswitch_connectors // Implementations: 18 // Traits: api::ConnectorCustomer, api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api...
crates/hyperswitch_connectors/src/connectors/dwolla.rs
hyperswitch_connectors
struct_definition
Dwolla
18
[ "api::ConnectorCustomer", "api::Payment", "api::PaymentSession", "api::ConnectorAccessToken", "api::MandateSetup", "api::PaymentAuthorize", "api::PaymentSync", "api::PaymentCapture", "api::PaymentVoid", "api::Refund", "api::RefundExecute", "api::RefundSync", "api::PaymentToken", "Connector...
131
null
null
null
null
null
null
null
// Function: is_payout_initiated // File: crates/router/src/core/payouts/helpers.rs // Module: router pub fn is_payout_initiated(status: api_enums::PayoutStatus) -> bool
crates/router/src/core/payouts/helpers.rs
router
function_signature
null
null
null
46
is_payout_initiated
null
null
null
null
null
null
// Implementation: impl Default for for ErrorResponse // File: crates/hyperswitch_domain_models/src/router_data.rs // Module: hyperswitch_domain_models // Methods: 1 total (0 public) impl Default for for ErrorResponse
crates/hyperswitch_domain_models/src/router_data.rs
hyperswitch_domain_models
impl_block
null
null
null
47
null
ErrorResponse
Default for
1
0
null
null
// File: crates/masking/src/strong_secret.rs // Module: masking // Public functions: 1 // Public structs: 1 //! Structure describing secret. use std::{fmt, marker::PhantomData}; use subtle::ConstantTimeEq; use zeroize::{self, Zeroize as ZeroizableSecret}; use crate::{strategy::Strategy, PeekInterface}; /// Secret ...
crates/masking/src/strong_secret.rs
masking
full_file
null
null
null
1,069
null
null
null
null
null
null
null
// Implementation: impl ConnectorSpecifications for for Ebanx // File: crates/hyperswitch_connectors/src/connectors/ebanx.rs // Module: hyperswitch_connectors // Methods: 3 total (0 public) impl ConnectorSpecifications for for Ebanx
crates/hyperswitch_connectors/src/connectors/ebanx.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Ebanx
ConnectorSpecifications for
3
0
null
null
// Implementation: impl Default for for RecordMigrationStatusBuilder // File: crates/payment_methods/src/core/migration.rs // Module: payment_methods // Methods: 1 total (0 public) impl Default for for RecordMigrationStatusBuilder
crates/payment_methods/src/core/migration.rs
payment_methods
impl_block
null
null
null
48
null
RecordMigrationStatusBuilder
Default for
1
0
null
null
// Struct: BillTo // File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BillTo
crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
hyperswitch_connectors
struct_definition
BillTo
0
[]
47
null
null
null
null
null
null
null
// Struct: PlacetopayAuthType // File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PlacetopayAuthType
crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
hyperswitch_connectors
struct_definition
PlacetopayAuthType
0
[]
55
null
null
null
null
null
null
null
// Implementation: impl api::PaymentToken for for Trustpay // File: crates/hyperswitch_connectors/src/connectors/trustpay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentToken for for Trustpay
crates/hyperswitch_connectors/src/connectors/trustpay.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Trustpay
api::PaymentToken for
0
0
null
null
// Struct: UserAuthenticationMethodResponse // File: crates/api_models/src/user.rs // Module: api_models // Implementations: 0 pub struct UserAuthenticationMethodResponse
crates/api_models/src/user.rs
api_models
struct_definition
UserAuthenticationMethodResponse
0
[]
37
null
null
null
null
null
null
null
// Function: initiate_secure_payment_link // File: crates/router/src/routes/payment_link.rs // Module: router pub fn initiate_secure_payment_link( state: web::Data<AppState>, req: actix_web::HttpRequest, path: web::Path<( common_utils::id_type::MerchantId, common_utils::id_type::PaymentId, ...
crates/router/src/routes/payment_link.rs
router
function_signature
null
null
null
79
initiate_secure_payment_link
null
null
null
null
null
null
// Function: list_profile_by_merchant_id // File: crates/diesel_models/src/query/business_profile.rs // Module: diesel_models pub fn list_profile_by_merchant_id( conn: &PgPooledConn, merchant_id: &common_utils::id_type::MerchantId, ) -> StorageResult<Vec<Self>>
crates/diesel_models/src/query/business_profile.rs
diesel_models
function_signature
null
null
null
69
list_profile_by_merchant_id
null
null
null
null
null
null
// File: crates/diesel_models/src/user/dashboard_metadata.rs // Module: diesel_models // Public structs: 3 use common_utils::id_type; use diesel::{query_builder::AsChangeset, Identifiable, Insertable, Queryable, Selectable}; use masking::Secret; use time::PrimitiveDateTime; use crate::{enums, schema::dashboard_metada...
crates/diesel_models/src/user/dashboard_metadata.rs
diesel_models
full_file
null
null
null
564
null
null
null
null
null
null
null
// File: crates/openapi/src/routes/payouts.rs // Module: openapi // Public functions: 11 /// Payouts - Create #[utoipa::path( post, path = "/payouts/create", request_body=PayoutsCreateRequest, responses( (status = 200, description = "Payout created", body = PayoutCreateResponse), (statu...
crates/openapi/src/routes/payouts.rs
openapi
full_file
null
null
null
1,792
null
null
null
null
null
null
null
// Struct: RedirectAccountId // File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RedirectAccountId
crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
hyperswitch_connectors
struct_definition
RedirectAccountId
0
[]
46
null
null
null
null
null
null
null
// Function: create_subscription_on_connector // File: crates/router/src/core/subscription.rs // Module: router pub fn create_subscription_on_connector( &self, state: &SessionState, ) -> errors::RouterResult<subscription_response_types::SubscriptionCreateResponse>
crates/router/src/core/subscription.rs
router
function_signature
null
null
null
58
create_subscription_on_connector
null
null
null
null
null
null
// Implementation: impl IntoContext for for BackendInput // File: crates/kgraph_utils/src/transformers.rs // Module: kgraph_utils // Methods: 1 total (0 public) impl IntoContext for for BackendInput
crates/kgraph_utils/src/transformers.rs
kgraph_utils
impl_block
null
null
null
48
null
BackendInput
IntoContext for
1
0
null
null
// Implementation: impl ValueType // File: crates/euclid/src/frontend/ast.rs // Module: euclid // Methods: 1 total (1 public) impl ValueType
crates/euclid/src/frontend/ast.rs
euclid
impl_block
null
null
null
37
null
ValueType
null
1
1
null
null
// Struct: AuthorizationResponse // File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct AuthorizationResponse
crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
hyperswitch_connectors
struct_definition
AuthorizationResponse
0
[]
46
null
null
null
null
null
null
null
// Struct: WebhookDeliveryAttemptListRequestInternal // File: crates/api_models/src/webhook_events.rs // Module: api_models // Implementations: 1 // Traits: common_utils::events::ApiEventMetric pub struct WebhookDeliveryAttemptListRequestInternal
crates/api_models/src/webhook_events.rs
api_models
struct_definition
WebhookDeliveryAttemptListRequestInternal
1
[ "common_utils::events::ApiEventMetric" ]
57
null
null
null
null
null
null
null
}) } else if item.router_data.is_three_ds() && matches!(item.router_data.payment_method, PaymentMethod::Card) { Ok(Self { changed_amount: item.amount, kind: DeutschebankTransactionKind::Creditcard3ds20, }) } else { ...
crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs#chunk1
hyperswitch_connectors
chunk
null
null
null
781
null
null
null
null
null
null
null
// Implementation: impl ConnectorRedirectResponse for for Worldpay // File: crates/hyperswitch_connectors/src/connectors/worldpay.rs // Module: hyperswitch_connectors // Methods: 1 total (0 public) impl ConnectorRedirectResponse for for Worldpay
crates/hyperswitch_connectors/src/connectors/worldpay.rs
hyperswitch_connectors
impl_block
null
null
null
55
null
Worldpay
ConnectorRedirectResponse for
1
0
null
null
// Implementation: impl super::auth_events::metrics::AuthEventMetricAnalytics for for ClickhouseClient // File: crates/analytics/src/clickhouse.rs // Module: analytics // Methods: 0 total (0 public) impl super::auth_events::metrics::AuthEventMetricAnalytics for for ClickhouseClient
crates/analytics/src/clickhouse.rs
analytics
impl_block
null
null
null
65
null
ClickhouseClient
super::auth_events::metrics::AuthEventMetricAnalytics for
0
0
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: WiseTransferDetails // File: crates/hyperswitch_connectors/src/connectors/wise/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct WiseTransferDetails
crates/hyperswitch_connectors/src/connectors/wise/transformers.rs
hyperswitch_connectors
struct_definition
WiseTransferDetails
0
[]
47
null
null
null
null
null
null
null
// Implementation: impl api::PaymentToken for for Coingate // File: crates/hyperswitch_connectors/src/connectors/coingate.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentToken for for Coingate
crates/hyperswitch_connectors/src/connectors/coingate.rs
hyperswitch_connectors
impl_block
null
null
null
60
null
Coingate
api::PaymentToken for
0
0
null
null
// Function: get_totp_status // File: crates/router/src/types/domain/user.rs // Module: router pub fn get_totp_status(&self) -> TotpStatus
crates/router/src/types/domain/user.rs
router
function_signature
null
null
null
37
get_totp_status
null
null
null
null
null
null
// File: crates/router/src/core/payments/flows/psync_flow.rs // Module: router use std::{collections::HashMap, str::FromStr}; use async_trait::async_trait; use common_utils::{id_type, ucs_types}; use error_stack::ResultExt; use external_services::grpc_client; use hyperswitch_domain_models::payments as domain_payments...
crates/router/src/core/payments/flows/psync_flow.rs
router
full_file
null
null
null
3,044
null
null
null
null
null
null
null
// Implementation: impl TrustpaymentsErrorCode // File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs // Module: hyperswitch_connectors // Methods: 4 total (4 public) impl TrustpaymentsErrorCode
crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
hyperswitch_connectors
impl_block
null
null
null
51
null
TrustpaymentsErrorCode
null
4
4
null
null
/// Payments - List /// /// To list the *payments* #[cfg(feature = "v1")] #[utoipa::path( get, path = "/payments/list", params( ("customer_id" = Option<String>, Query, description = "The identifier for the customer"), ("starting_after" = Option<String>, Query, description = "A cursor for us...
crates/openapi/src/routes/payments.rs#chunk1
openapi
chunk
null
null
null
3,837
null
null
null
null
null
null
null
// Struct: CardDetailsPaymentMethod // File: crates/hyperswitch_domain_models/src/payment_method_data.rs // Module: hyperswitch_domain_models // Implementations: 1 pub struct CardDetailsPaymentMethod
crates/hyperswitch_domain_models/src/payment_method_data.rs
hyperswitch_domain_models
struct_definition
CardDetailsPaymentMethod
1
[]
45
null
null
null
null
null
null
null
// Implementation: impl api::PaymentSync for for Globalpay // File: crates/hyperswitch_connectors/src/connectors/globalpay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentSync for for Globalpay
crates/hyperswitch_connectors/src/connectors/globalpay.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Globalpay
api::PaymentSync for
0
0
null
null
// Implementation: impl ConnectorSpecifications for for Stripebilling // File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs // Module: hyperswitch_connectors // Methods: 2 total (0 public) impl ConnectorSpecifications for for Stripebilling
crates/hyperswitch_connectors/src/connectors/stripebilling.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Stripebilling
ConnectorSpecifications for
2
0
null
null
// Struct: SantanderAuthUpdateResponse // File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct SantanderAuthUpdateResponse
crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
hyperswitch_connectors
struct_definition
SantanderAuthUpdateResponse
0
[]
52
null
null
null
null
null
null
null
// Struct: GetUserDetailsResponse // File: crates/api_models/src/user.rs // Module: api_models // Implementations: 0 pub struct GetUserDetailsResponse
crates/api_models/src/user.rs
api_models
struct_definition
GetUserDetailsResponse
0
[]
35
null
null
null
null
null
null
null
// Function: new // File: crates/hyperswitch_connectors/src/connectors/riskified.rs // Module: hyperswitch_connectors pub fn new() -> &'static Self
crates/hyperswitch_connectors/src/connectors/riskified.rs
hyperswitch_connectors
function_signature
null
null
null
39
new
null
null
null
null
null
null
// Implementation: impl api::PaymentToken for for Thunes // File: crates/hyperswitch_connectors/src/connectors/thunes.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentToken for for Thunes
crates/hyperswitch_connectors/src/connectors/thunes.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Thunes
api::PaymentToken for
0
0
null
null
// Struct: GenericBraintreeRequest // File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct GenericBraintreeRequest<T>
crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
hyperswitch_connectors
struct_definition
GenericBraintreeRequest
0
[]
54
null
null
null
null
null
null
null
// Struct: GcashRedirection // File: crates/hyperswitch_domain_models/src/payment_method_data.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct GcashRedirection
crates/hyperswitch_domain_models/src/payment_method_data.rs
hyperswitch_domain_models
struct_definition
GcashRedirection
0
[]
45
null
null
null
null
null
null
null
// Implementation: impl DecryptedData // File: crates/common_utils/src/types/keymanager.rs // Module: common_utils // Methods: 2 total (2 public) impl DecryptedData
crates/common_utils/src/types/keymanager.rs
common_utils
impl_block
null
null
null
40
null
DecryptedData
null
2
2
null
null
// Implementation: impl api::PaymentSync for for Thunes // File: crates/hyperswitch_connectors/src/connectors/thunes.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentSync for for Thunes
crates/hyperswitch_connectors/src/connectors/thunes.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Thunes
api::PaymentSync for
0
0
null
null
// Function: api_key_revoke // File: crates/router/src/routes/api_keys.rs // Module: router pub fn api_key_revoke( state: web::Data<AppState>, req: HttpRequest, path: web::Path<common_utils::id_type::ApiKeyId>, ) -> impl Responder
crates/router/src/routes/api_keys.rs
router
function_signature
null
null
null
66
api_key_revoke
null
null
null
null
null
null
// Implementation: impl api::Payment for for Powertranz // File: crates/hyperswitch_connectors/src/connectors/powertranz.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Payment for for Powertranz
crates/hyperswitch_connectors/src/connectors/powertranz.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Powertranz
api::Payment for
0
0
null
null
// File: crates/router/src/analytics_validator.rs // Module: router // Public functions: 1 use analytics::errors::AnalyticsError; use api_models::analytics::AnalyticsRequest; use common_utils::errors::CustomResult; use currency_conversion::types::ExchangeRates; use router_env::logger; use crate::core::currency::get_f...
crates/router/src/analytics_validator.rs
router
full_file
null
null
null
198
null
null
null
null
null
null
null
// Function: load_recovery_attempt_from_api // File: crates/router/src/core/webhooks/recovery_incoming.rs // Module: router pub fn load_recovery_attempt_from_api( data: api_models::payments::RecoveryPaymentsCreate, state: &SessionState, req_state: &ReqState, merchant_context: &domain::M...
crates/router/src/core/webhooks/recovery_incoming.rs
router
function_signature
null
null
null
146
load_recovery_attempt_from_api
null
null
null
null
null
null
// Struct: BankOfAmericaAuthenticationErrorResponse // File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct BankOfAmericaAuthenticationErrorResponse
crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
hyperswitch_connectors
struct_definition
BankOfAmericaAuthenticationErrorResponse
0
[]
54
null
null
null
null
null
null
null
// Struct: VantivAddressData // File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct VantivAddressData
crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
hyperswitch_connectors
struct_definition
VantivAddressData
0
[]
53
null
null
null
null
null
null
null
// Function: refunds_retrieve_with_gateway_creds // File: crates/router/src/routes/refunds.rs // Module: router pub fn refunds_retrieve_with_gateway_creds( state: web::Data<AppState>, req: HttpRequest, path: web::Path<common_utils::id_type::GlobalRefundId>, payload: web::Json<api_models::refunds::Refun...
crates/router/src/routes/refunds.rs
router
function_signature
null
null
null
90
refunds_retrieve_with_gateway_creds
null
null
null
null
null
null
// Struct: DlocalPaymentsCaptureRequest // File: crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct DlocalPaymentsCaptureRequest
crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs
hyperswitch_connectors
struct_definition
DlocalPaymentsCaptureRequest
0
[]
51
null
null
null
null
null
null
null
// Struct: RecordReturn // File: crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct RecordReturn
crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs
hyperswitch_domain_models
struct_definition
RecordReturn
0
[]
44
null
null
null
null
null
null
null
// Struct: NextAction // File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct NextAction
crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
hyperswitch_connectors
struct_definition
NextAction
0
[]
47
null
null
null
null
null
null
null
// Function: payments_list // File: crates/openapi/src/routes/payments.rs // Module: openapi pub fn payments_list()
crates/openapi/src/routes/payments.rs
openapi
function_signature
null
null
null
29
payments_list
null
null
null
null
null
null
// Implementation: impl Parse for for SchemaMeta // File: crates/router_derive/src/macros/generate_schema.rs // Module: router_derive // Methods: 1 total (0 public) impl Parse for for SchemaMeta
crates/router_derive/src/macros/generate_schema.rs
router_derive
impl_block
null
null
null
48
null
SchemaMeta
Parse for
1
0
null
null
// Function: update_payment_method_connector_mandate_details // File: crates/router/src/core/payment_methods/cards.rs // Module: router pub fn update_payment_method_connector_mandate_details( state: &routes::SessionState, key_store: &domain::MerchantKeyStore, db: &dyn db::StorageInterface, pm: domain::...
crates/router/src/core/payment_methods/cards.rs
router
function_signature
null
null
null
113
update_payment_method_connector_mandate_details
null
null
null
null
null
null
// Struct: Organization // File: crates/router/src/routes/app.rs // Module: router // Implementations: 2 pub struct Organization
crates/router/src/routes/app.rs
router
struct_definition
Organization
2
[]
30
null
null
null
null
null
null
null