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/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs // Module: analytics use std::collections::HashSet; use api_models::analytics::{ disputes::{DisputeDimensions, DisputeFilters, DisputeMetricsBucketIdentifier}, Granularity, TimeRange, }; use common_utils::errors::Repor...
crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs
analytics
full_file
null
null
null
855
null
null
null
null
null
null
null
// Function: with_additional_payment_method_data // File: crates/hyperswitch_domain_models/src/router_data.rs // Module: hyperswitch_domain_models pub fn with_additional_payment_method_data( additional_payment_method_data: AdditionalPaymentMethodConnectorResponse, ) -> Self
crates/hyperswitch_domain_models/src/router_data.rs
hyperswitch_domain_models
function_signature
null
null
null
56
with_additional_payment_method_data
null
null
null
null
null
null
// Function: log_event // File: crates/router/src/services/kafka.rs // Module: router pub fn log_event<T: KafkaMessage>(&self, event: &T) -> MQResult<()>
crates/router/src/services/kafka.rs
router
function_signature
null
null
null
42
log_event
null
null
null
null
null
null
// Struct: SubscriptionPlans // File: crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct SubscriptionPlans
crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs
hyperswitch_domain_models
struct_definition
SubscriptionPlans
0
[]
43
null
null
null
null
null
null
null
// Struct: NexinetsAuthType // File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct NexinetsAuthType
crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
hyperswitch_connectors
struct_definition
NexinetsAuthType
0
[]
53
null
null
null
null
null
null
null
// Struct: ReconToken // File: crates/router/src/services/authentication.rs // Module: router // Implementations: 1 pub struct ReconToken
crates/router/src/services/authentication.rs
router
struct_definition
ReconToken
1
[]
32
null
null
null
null
null
null
null
// Struct: ZenBrowserDetails // File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ZenBrowserDetails
crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
hyperswitch_connectors
struct_definition
ZenBrowserDetails
0
[]
47
null
null
null
null
null
null
null
// Struct: RazorpayMetaData // File: crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RazorpayMetaData
crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs
hyperswitch_connectors
struct_definition
RazorpayMetaData
0
[]
49
null
null
null
null
null
null
null
// Struct: EntityInfo // File: crates/router/src/types/domain/user.rs // Module: router // Implementations: 0 pub struct EntityInfo
crates/router/src/types/domain/user.rs
router
struct_definition
EntityInfo
0
[]
33
null
null
null
null
null
null
null
impl webhooks::IncomingWebhook for Nexixpay { fn get_webhook_object_reference_id( &self, _request: &webhooks::IncomingWebhookRequestDetails<'_>, ) -> CustomResult<api_models::webhooks::ObjectReferenceId, errors::ConnectorError> { Err(report!(errors::ConnectorError::WebhooksNotImplemented...
crates/hyperswitch_connectors/src/connectors/nexixpay.rs#chunk1
hyperswitch_connectors
chunk
null
null
null
873
null
null
null
null
null
null
null
// File: crates/hyperswitch_interfaces/src/api/payouts.rs // Module: hyperswitch_interfaces //! Payouts interface use hyperswitch_domain_models::{ router_flow_types::payouts::{ PoCancel, PoCreate, PoEligibility, PoFulfill, PoQuote, PoRecipient, PoRecipientAccount, PoSync, }, router_request...
crates/hyperswitch_interfaces/src/api/payouts.rs
hyperswitch_interfaces
full_file
null
null
null
476
null
null
null
null
null
null
null
// Implementation: impl ClickhouseClient // File: crates/analytics/src/clickhouse.rs // Module: analytics // Methods: 1 total (0 public) impl ClickhouseClient
crates/analytics/src/clickhouse.rs
analytics
impl_block
null
null
null
39
null
ClickhouseClient
null
1
0
null
null
// Struct: BankAccountCredentialsOptions // File: crates/pm_auth/src/connector/plaid/transformers.rs // Module: pm_auth // Implementations: 0 pub struct BankAccountCredentialsOptions
crates/pm_auth/src/connector/plaid/transformers.rs
pm_auth
struct_definition
BankAccountCredentialsOptions
0
[]
43
null
null
null
null
null
null
null
// Function: decide_gateway_open_router // File: crates/router/src/core/routing.rs // Module: router pub fn decide_gateway_open_router( state: SessionState, req_body: OpenRouterDecideGatewayRequest, ) -> RouterResponse<DecideGatewayResponse>
crates/router/src/core/routing.rs
router
function_signature
null
null
null
58
decide_gateway_open_router
null
null
null
null
null
null
// Function: cancel_payout // File: crates/router/src/core/payouts.rs // Module: router pub fn cancel_payout( state: &SessionState, merchant_context: &domain::MerchantContext, connector_data: &api::ConnectorData, payout_data: &mut PayoutData, ) -> RouterResult<()>
crates/router/src/core/payouts.rs
router
function_signature
null
null
null
72
cancel_payout
null
null
null
null
null
null
// Struct: SkrillDetails // File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct SkrillDetails
crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
hyperswitch_connectors
struct_definition
SkrillDetails
0
[]
51
null
null
null
null
null
null
null
// Function: get_valid_connectors_for_rule // File: crates/euclid_wasm/src/lib.rs // Module: euclid_wasm pub fn get_valid_connectors_for_rule(rule: JsValue) -> JsResult
crates/euclid_wasm/src/lib.rs
euclid_wasm
function_signature
null
null
null
47
get_valid_connectors_for_rule
null
null
null
null
null
null
// Struct: SetupIntents // File: crates/router/src/compatibility/stripe/app.rs // Module: router // Implementations: 1 pub struct SetupIntents
crates/router/src/compatibility/stripe/app.rs
router
struct_definition
SetupIntents
1
[]
38
null
null
null
null
null
null
null
// Function: connector_transaction_id // File: crates/hyperswitch_connectors/src/connectors/helcim.rs // Module: hyperswitch_connectors pub fn connector_transaction_id( &self, connector_meta: Option<&serde_json::Value>, ) -> CustomResult<Option<String>, errors::ConnectorError>
crates/hyperswitch_connectors/src/connectors/helcim.rs
hyperswitch_connectors
function_signature
null
null
null
68
connector_transaction_id
null
null
null
null
null
null
// Struct: RecipientCreateAddress // File: crates/pm_auth/src/types.rs // Module: pm_auth // Implementations: 0 pub struct RecipientCreateAddress
crates/pm_auth/src/types.rs
pm_auth
struct_definition
RecipientCreateAddress
0
[]
37
null
null
null
null
null
null
null
// Struct: PlacetopayErrorResponse // File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PlacetopayErrorResponse
crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
hyperswitch_connectors
struct_definition
PlacetopayErrorResponse
0
[]
53
null
null
null
null
null
null
null
// Implementation: impl api::Refund for for Forte // File: crates/hyperswitch_connectors/src/connectors/forte.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Forte
crates/hyperswitch_connectors/src/connectors/forte.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Forte
api::Refund for
0
0
null
null
// File: crates/analytics/src/disputes/types.rs // Module: analytics use api_models::analytics::disputes::{DisputeDimensions, DisputeFilters}; use error_stack::ResultExt; use crate::{ query::{QueryBuilder, QueryFilter, QueryResult, ToSql}, types::{AnalyticsCollection, AnalyticsDataSource}, }; impl<T> QueryFi...
crates/analytics/src/disputes/types.rs
analytics
full_file
null
null
null
265
null
null
null
null
null
null
null
// Struct: ErrorResult // File: crates/api_models/src/analytics/payments.rs // Module: api_models // Implementations: 0 pub struct ErrorResult
crates/api_models/src/analytics/payments.rs
api_models
struct_definition
ErrorResult
0
[]
36
null
null
null
null
null
null
null
// Function: payouts_list_by_filter_profile // File: crates/openapi/src/routes/payouts.rs // Module: openapi pub fn payouts_list_by_filter_profile()
crates/openapi/src/routes/payouts.rs
openapi
function_signature
null
null
null
36
payouts_list_by_filter_profile
null
null
null
null
null
null
// Struct: GetAuthEventFilterRequest // File: crates/api_models/src/analytics.rs // Module: api_models // Implementations: 0 pub struct GetAuthEventFilterRequest
crates/api_models/src/analytics.rs
api_models
struct_definition
GetAuthEventFilterRequest
0
[]
40
null
null
null
null
null
null
null
// Module Structure // File: crates/router/src/routes/user.rs // Module: router // Public submodules: pub mod theme;
crates/router/src/routes/user.rs
router
module_structure
null
null
null
28
null
null
null
null
null
1
0
// Implementation: impl User // File: crates/router/src/routes/app.rs // Module: router // Methods: 1 total (1 public) impl User
crates/router/src/routes/app.rs
router
impl_block
null
null
null
33
null
User
null
1
1
null
null
// Struct: RiskifiedFailedTransactionResponse // File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct RiskifiedFailedTransactionResponse
crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
hyperswitch_connectors
struct_definition
RiskifiedFailedTransactionResponse
0
[]
53
null
null
null
null
null
null
null
// Function: deserialize_db_op // File: crates/drainer/src/utils.rs // Module: drainer pub fn deserialize_db_op<'de, D>(deserializer: D) -> Result<kv::DBOperation, D::Error> where D: serde::Deserializer<'de>,
crates/drainer/src/utils.rs
drainer
function_signature
null
null
null
61
deserialize_db_op
null
null
null
null
null
null
// Implementation: impl api::PaymentAuthorize for for Wellsfargo // File: crates/hyperswitch_connectors/src/connectors/wellsfargo.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentAuthorize for for Wellsfargo
crates/hyperswitch_connectors/src/connectors/wellsfargo.rs
hyperswitch_connectors
impl_block
null
null
null
61
null
Wellsfargo
api::PaymentAuthorize for
0
0
null
null
// Function: trigger_refund_to_gateway // File: crates/router/src/core/refunds.rs // Module: router pub fn trigger_refund_to_gateway( state: &SessionState, refund: &diesel_refund::Refund, merchant_context: &domain::MerchantContext, payment_attempt: &storage::PaymentAttempt, payment_intent: &storage...
crates/router/src/core/refunds.rs
router
function_signature
null
null
null
113
trigger_refund_to_gateway
null
null
null
null
null
null
// Struct: PaymentIntentsAnalyticsMetadata // File: crates/api_models/src/analytics.rs // Module: api_models // Implementations: 0 pub struct PaymentIntentsAnalyticsMetadata
crates/api_models/src/analytics.rs
api_models
struct_definition
PaymentIntentsAnalyticsMetadata
0
[]
40
null
null
null
null
null
null
null
// Implementation: impl FraudCheckCheckout for for Riskified // File: crates/hyperswitch_connectors/src/connectors/riskified.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl FraudCheckCheckout for for Riskified
crates/hyperswitch_connectors/src/connectors/riskified.rs
hyperswitch_connectors
impl_block
null
null
null
56
null
Riskified
FraudCheckCheckout for
0
0
null
null
// Struct: InfoCodes // File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct InfoCodes
crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
hyperswitch_connectors
struct_definition
InfoCodes
0
[]
48
null
null
null
null
null
null
null
// Implementation: impl ConnectorValidation for for Hipay // File: crates/hyperswitch_connectors/src/connectors/hipay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl ConnectorValidation for for Hipay
crates/hyperswitch_connectors/src/connectors/hipay.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Hipay
ConnectorValidation for
0
0
null
null
// Struct: DisputeMetricsBucketIdentifier // File: crates/api_models/src/analytics/disputes.rs // Module: api_models // Implementations: 3 // Traits: Hash, PartialEq pub struct DisputeMetricsBucketIdentifier
crates/api_models/src/analytics/disputes.rs
api_models
struct_definition
DisputeMetricsBucketIdentifier
3
[ "Hash", "PartialEq" ]
50
null
null
null
null
null
null
null
// Function: new_for_create // File: crates/router/src/core/payments/types.rs // Module: router pub fn new_for_create( mut previous_captures: Vec<storage::Capture>, new_capture: storage::Capture, ) -> Self
crates/router/src/core/payments/types.rs
router
function_signature
null
null
null
55
new_for_create
null
null
null
null
null
null
// Function: generate_client_secret // File: crates/common_utils/src/id_type/payment.rs // Module: common_utils // Documentation: Generate a client id for the payment id pub fn generate_client_secret(&self) -> String
crates/common_utils/src/id_type/payment.rs
common_utils
function_signature
null
null
null
47
generate_client_secret
null
null
null
null
null
null
// Implementation: impl DummyConnector // File: crates/router/src/routes/app.rs // Module: router // Methods: 1 total (1 public) impl DummyConnector
crates/router/src/routes/app.rs
router
impl_block
null
null
null
35
null
DummyConnector
null
1
1
null
null
// Struct: FraudCheck // File: crates/diesel_models/src/fraud_check.rs // Module: diesel_models // Implementations: 0 pub struct FraudCheck
crates/diesel_models/src/fraud_check.rs
diesel_models
struct_definition
FraudCheck
0
[]
36
null
null
null
null
null
null
null
// Struct: PaymentAttemptRecordData // File: crates/hyperswitch_domain_models/src/payments.rs // Module: hyperswitch_domain_models // Implementations: 1 pub struct PaymentAttemptRecordData<F>
crates/hyperswitch_domain_models/src/payments.rs
hyperswitch_domain_models
struct_definition
PaymentAttemptRecordData
1
[]
46
null
null
null
null
null
null
null
// Function: new // File: crates/diesel_models/src/subscription.rs // Module: diesel_models pub fn new(payment_method_id: Option<String>, status: Option<String>) -> Self
crates/diesel_models/src/subscription.rs
diesel_models
function_signature
null
null
null
40
new
null
null
null
null
null
null
// Function: payouts_update // File: crates/openapi/src/routes/payouts.rs // Module: openapi pub fn payouts_update()
crates/openapi/src/routes/payouts.rs
openapi
function_signature
null
null
null
30
payouts_update
null
null
null
null
null
null
// Implementation: impl api::PaymentToken for for Worldpay // File: crates/hyperswitch_connectors/src/connectors/worldpay.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentToken for for Worldpay
crates/hyperswitch_connectors/src/connectors/worldpay.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Worldpay
api::PaymentToken for
0
0
null
null
// Implementation: impl ConnectorCommon for for Flexiti // File: crates/hyperswitch_connectors/src/connectors/flexiti.rs // Module: hyperswitch_connectors // Methods: 6 total (0 public) impl ConnectorCommon for for Flexiti
crates/hyperswitch_connectors/src/connectors/flexiti.rs
hyperswitch_connectors
impl_block
null
null
null
54
null
Flexiti
ConnectorCommon for
6
0
null
null
// Function: get_santander_webhook_event // File: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs // Module: hyperswitch_connectors pub fn get_santander_webhook_event( event_type: FunctionType, ) -> api_models::webhooks::IncomingWebhookEvent
crates/hyperswitch_connectors/src/connectors/santander/transformers.rs
hyperswitch_connectors
function_signature
null
null
null
69
get_santander_webhook_event
null
null
null
null
null
null
// Implementation: impl Bankofamerica // File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs // Module: hyperswitch_connectors // Methods: 2 total (2 public) impl Bankofamerica
crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
hyperswitch_connectors
impl_block
null
null
null
52
null
Bankofamerica
null
2
2
null
null
// Function: values // File: crates/hyperswitch_constraint_graph/src/dense_map.rs // Module: hyperswitch_constraint_graph pub fn values(&self) -> slice::Iter<'_, V>
crates/hyperswitch_constraint_graph/src/dense_map.rs
hyperswitch_constraint_graph
function_signature
null
null
null
43
values
null
null
null
null
null
null
// Function: new_with_config_path // File: crates/router_env/src/logger/config.rs // Module: router_env // Documentation: Constructor expecting config path set explicitly. pub fn new_with_config_path( explicit_config_path: Option<PathBuf>, ) -> Result<Self, config::ConfigError>
crates/router_env/src/logger/config.rs
router_env
function_signature
null
null
null
62
new_with_config_path
null
null
null
null
null
null
// File: crates/euclid/src/dssa/state_machine.rs // Module: euclid // Public functions: 10 // Public structs: 3 use super::types::EuclidAnalysable; use crate::{dssa::types, frontend::dir, types::Metadata}; #[derive(Debug, Clone, serde::Serialize, thiserror::Error)] #[serde(tag = "type", content = "info", rename_all =...
crates/euclid/src/dssa/state_machine.rs
euclid
full_file
null
null
null
4,797
null
null
null
null
null
null
null
// Implementation: impl ConnectorValidation for for Netcetera // File: crates/hyperswitch_connectors/src/connectors/netcetera.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl ConnectorValidation for for Netcetera
crates/hyperswitch_connectors/src/connectors/netcetera.rs
hyperswitch_connectors
impl_block
null
null
null
59
null
Netcetera
ConnectorValidation for
0
0
null
null
// Implementation: impl api::ConnectorAccessToken for for Checkout // File: crates/hyperswitch_connectors/src/connectors/checkout.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::ConnectorAccessToken for for Checkout
crates/hyperswitch_connectors/src/connectors/checkout.rs
hyperswitch_connectors
impl_block
null
null
null
55
null
Checkout
api::ConnectorAccessToken for
0
0
null
null
// Struct: TrustpaymentsPaymentsRequest // File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct TrustpaymentsPaymentsRequest
crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
hyperswitch_connectors
struct_definition
TrustpaymentsPaymentsRequest
0
[]
50
null
null
null
null
null
null
null
// File: crates/test_utils/tests/connectors/checkout_ui.rs // Module: test_utils use serial_test::serial; use thirtyfour::{prelude::*, WebDriver}; use crate::{selenium::*, tester}; struct CheckoutSeleniumTest; impl SeleniumTest for CheckoutSeleniumTest { fn get_connector_name(&self) -> String { "checkou...
crates/test_utils/tests/connectors/checkout_ui.rs
test_utils
full_file
null
null
null
816
null
null
null
null
null
null
null
// Implementation: impl api::Refund for for Stax // File: crates/hyperswitch_connectors/src/connectors/stax.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Refund for for Stax
crates/hyperswitch_connectors/src/connectors/stax.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Stax
api::Refund for
0
0
null
null
}; // Algorithm was in disabled state let Some(algo_type_algorithm_id) = algo_type .clone() .get_algorithm_id_with_timestamp() .algorithm_id else { return default_specific_dynamic_routing_setup( state, key_store, business_profile, ...
crates/router/src/core/routing/helpers.rs#chunk2
router
chunk
null
null
null
5,050
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs // Module: hyperswitch_connectors // Public functions: 1 // Public structs: 1 pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_enums::enums; use common_utils::{ crypto...
crates/hyperswitch_connectors/src/connectors/gocardless.rs
hyperswitch_connectors
full_file
null
null
null
7,371
null
null
null
null
null
null
null
// Function: add_entry_to_blocklist // File: crates/router/src/core/blocklist.rs // Module: router pub fn add_entry_to_blocklist( state: SessionState, merchant_context: domain::MerchantContext, body: api_blocklist::AddToBlocklistRequest, ) -> RouterResponse<api_blocklist::AddToBlocklistResponse>
crates/router/src/core/blocklist.rs
router
function_signature
null
null
null
76
add_entry_to_blocklist
null
null
null
null
null
null
// Function: add_order_by_clause // File: crates/analytics/src/query.rs // Module: analytics pub fn add_order_by_clause( &mut self, column: impl ToSql<T>, order: impl ToSql<T>, ) -> QueryResult<()>
crates/analytics/src/query.rs
analytics
function_signature
null
null
null
57
add_order_by_clause
null
null
null
null
null
null
// Implementation: impl api::Payment for for Novalnet // File: crates/hyperswitch_connectors/src/connectors/novalnet.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::Payment for for Novalnet
crates/hyperswitch_connectors/src/connectors/novalnet.rs
hyperswitch_connectors
impl_block
null
null
null
58
null
Novalnet
api::Payment for
0
0
null
null
// Function: get_capture_body // File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs // Module: hyperswitch_connectors pub fn get_capture_body( req: &BamboraapacRouterData<&types::PaymentsCaptureRouterData>, ) -> Result<Vec<u8>, Error>
crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
hyperswitch_connectors
function_signature
null
null
null
72
get_capture_body
null
null
null
null
null
null
// Struct: ToggleDynamicRoutingPath // File: crates/api_models/src/routing.rs // Module: api_models // Implementations: 0 pub struct ToggleDynamicRoutingPath
crates/api_models/src/routing.rs
api_models
struct_definition
ToggleDynamicRoutingPath
0
[]
38
null
null
null
null
null
null
null
// Implementation: impl ConnectorCommon for for Zsl // File: crates/hyperswitch_connectors/src/connectors/zsl.rs // Module: hyperswitch_connectors // Methods: 5 total (0 public) impl ConnectorCommon for for Zsl
crates/hyperswitch_connectors/src/connectors/zsl.rs
hyperswitch_connectors
impl_block
null
null
null
53
null
Zsl
ConnectorCommon for
5
0
null
null
// Implementation: impl api::PaymentToken for for Stax // File: crates/hyperswitch_connectors/src/connectors/stax.rs // Module: hyperswitch_connectors // Methods: 0 total (0 public) impl api::PaymentToken for for Stax
crates/hyperswitch_connectors/src/connectors/stax.rs
hyperswitch_connectors
impl_block
null
null
null
57
null
Stax
api::PaymentToken for
0
0
null
null
// Function: insert // File: crates/diesel_models/src/query/reverse_lookup.rs // Module: diesel_models pub fn insert(self, conn: &PgPooledConn) -> StorageResult<ReverseLookup>
crates/diesel_models/src/query/reverse_lookup.rs
diesel_models
function_signature
null
null
null
45
insert
null
null
null
null
null
null
// Function: get_role_with_groups // File: crates/router/src/core/user_role/role.rs // Module: router pub fn get_role_with_groups( state: SessionState, user_from_token: UserFromToken, role: role_api::GetRoleRequest, ) -> UserResponse<role_api::RoleInfoWithGroupsResponse>
crates/router/src/core/user_role/role.rs
router
function_signature
null
null
null
72
get_role_with_groups
null
null
null
null
null
null
// Struct: CardInfoResponse // File: crates/api_models/src/cards_info.rs // Module: api_models // Implementations: 0 pub struct CardInfoResponse
crates/api_models/src/cards_info.rs
api_models
struct_definition
CardInfoResponse
0
[]
36
null
null
null
null
null
null
null
// Implementation: impl SignatureCalculationData for for PaymentsRequest // File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs // Module: hyperswitch_connectors // Methods: 2 total (0 public) impl SignatureCalculationData for for PaymentsRequest
crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
hyperswitch_connectors
impl_block
null
null
null
60
null
PaymentsRequest
SignatureCalculationData for
2
0
null
null
// Struct: Invoice // File: crates/api_models/src/subscription.rs // Module: api_models // Implementations: 0 pub struct Invoice
crates/api_models/src/subscription.rs
api_models
struct_definition
Invoice
0
[]
32
null
null
null
null
null
null
null
// Struct: AuthenticatePaymentFlowResponse // File: crates/router/src/types.rs // Module: router // Implementations: 0 pub struct AuthenticatePaymentFlowResponse
crates/router/src/types.rs
router
struct_definition
AuthenticatePaymentFlowResponse
0
[]
35
null
null
null
null
null
null
null
// File: crates/router/src/utils/user_role.rs // Module: router // Public functions: 15 use std::{ cmp, collections::{HashMap, HashSet}, }; use api_models::user_role::role as role_api; use common_enums::{EntityType, ParentGroup, PermissionGroup}; use common_utils::id_type; use diesel_models::{ enums::{Use...
crates/router/src/utils/user_role.rs
router
full_file
null
null
null
3,897
null
null
null
null
null
null
null
// Function: retrieve_disputes_list // File: crates/router/src/routes/disputes.rs // Module: router pub fn retrieve_disputes_list( state: web::Data<AppState>, req: HttpRequest, query: web::Query<dispute_models::DisputeListGetConstraints>, ) -> HttpResponse
crates/router/src/routes/disputes.rs
router
function_signature
null
null
null
68
retrieve_disputes_list
null
null
null
null
null
null
// Struct: SilverflowRefundRequest // File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct SilverflowRefundRequest
crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
hyperswitch_connectors
struct_definition
SilverflowRefundRequest
0
[]
52
null
null
null
null
null
null
null
// Function: payment_method_update_api // File: crates/openapi/src/routes/payment_method.rs // Module: openapi pub fn payment_method_update_api()
crates/openapi/src/routes/payment_method.rs
openapi
function_signature
null
null
null
33
payment_method_update_api
null
null
null
null
null
null
// Module Structure // File: crates/hyperswitch_connectors/src/connectors/cashtocode.rs // Module: hyperswitch_connectors // Public submodules: pub mod transformers;
crates/hyperswitch_connectors/src/connectors/cashtocode.rs
hyperswitch_connectors
module_structure
null
null
null
40
null
null
null
null
null
1
0
// Implementation: impl webhooks::IncomingWebhook for for Amazonpay // File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs // Module: hyperswitch_connectors // Methods: 3 total (0 public) impl webhooks::IncomingWebhook for for Amazonpay
crates/hyperswitch_connectors/src/connectors/amazonpay.rs
hyperswitch_connectors
impl_block
null
null
null
62
null
Amazonpay
webhooks::IncomingWebhook for
3
0
null
null
connector_data: &api::ConnectorData, payout_data: &mut PayoutData, ) -> RouterResult<()> { let customer_details = payout_data.customer_details.to_owned(); let connector_name = connector_data.connector_name.to_string(); // Create the connector label using {profile_id}_{connector_name} let connec...
crates/router/src/core/payouts.rs#chunk1
router
chunk
null
null
null
8,188
null
null
null
null
null
null
null
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs // Module: hyperswitch_connectors // Public functions: 2 // Public structs: 1 pub mod transformers; use std::{fmt::Write, sync::LazyLock}; use base64::Engine; use common_enums::{enums, CallConnectorAction, PaymentAction}; use common_utils::{ consts, ...
crates/hyperswitch_connectors/src/connectors/paypal.rs#chunk0
hyperswitch_connectors
chunk
null
null
null
8,179
null
null
null
null
null
null
null
// Function: get_irrelevant_merchant_id // File: crates/common_utils/src/id_type/merchant.rs // Module: common_utils // Documentation: Get a merchant id with a value of `irrelevant_merchant_id` pub fn get_irrelevant_merchant_id() -> Self
crates/common_utils/src/id_type/merchant.rs
common_utils
function_signature
null
null
null
58
get_irrelevant_merchant_id
null
null
null
null
null
null
// Function: create_payment_method_intent_api // File: crates/openapi/src/routes/payment_method.rs // Module: openapi pub fn create_payment_method_intent_api()
crates/openapi/src/routes/payment_method.rs
openapi
function_signature
null
null
null
35
create_payment_method_intent_api
null
null
null
null
null
null
// Struct: PayeezyCard // File: crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct PayeezyCard
crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
hyperswitch_connectors
struct_definition
PayeezyCard
0
[]
50
null
null
null
null
null
null
null
response_url_data .data .three_ds_method_data .map(|three_ds_method_data| three_ds_method_data.expose()) .unwrap_or_default(), ), ( "token".to_string(), response_url_da...
crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs#chunk1
hyperswitch_connectors
chunk
null
null
null
4,176
null
null
null
null
null
null
null
// Function: delete_file_using_file_id // File: crates/router/src/core/files/helpers.rs // Module: router pub fn delete_file_using_file_id( state: &SessionState, file_key: String, merchant_context: &domain::MerchantContext, ) -> CustomResult<(), errors::ApiErrorResponse>
crates/router/src/core/files/helpers.rs
router
function_signature
null
null
null
66
delete_file_using_file_id
null
null
null
null
null
null
// Struct: WorldpayvantivCardData // File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct WorldpayvantivCardData
crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
hyperswitch_connectors
struct_definition
WorldpayvantivCardData
0
[]
55
null
null
null
null
null
null
null
// Struct: CompleteAuthorizeRedirectResponse // File: crates/hyperswitch_domain_models/src/router_response_types.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct CompleteAuthorizeRedirectResponse
crates/hyperswitch_domain_models/src/router_response_types.rs
hyperswitch_domain_models
struct_definition
CompleteAuthorizeRedirectResponse
0
[]
45
null
null
null
null
null
null
null
// Function: http_response_json // File: crates/drainer/src/services.rs // Module: drainer pub fn http_response_json<T: body::MessageBody + 'static>(response: T) -> HttpResponse
crates/drainer/src/services.rs
drainer
function_signature
null
null
null
44
http_response_json
null
null
null
null
null
null
// Trait: PaymentAttemptInterface // File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs // Module: hyperswitch_domain_models pub trait PaymentAttemptInterface
crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
hyperswitch_domain_models
trait_definition
null
null
null
37
null
null
PaymentAttemptInterface
null
null
null
null
// Struct: ConnectorRoutingData // File: crates/router/src/types/api/fraud_check.rs // Module: router // Implementations: 0 pub struct ConnectorRoutingData
crates/router/src/types/api/fraud_check.rs
router
struct_definition
ConnectorRoutingData
0
[]
37
null
null
null
null
null
null
null
// File: crates/router/src/types/domain.rs // Module: router pub mod behaviour { pub use hyperswitch_domain_models::behaviour::{Conversion, ReverseConversion}; } mod payment_attempt { pub use hyperswitch_domain_models::payments::payment_attempt::*; } mod merchant_account { pub use hyperswitch_domain_mode...
crates/router/src/types/domain.rs
router
full_file
null
null
null
545
null
null
null
null
null
null
null
// Struct: TokenizedCardValue1 // File: crates/hyperswitch_domain_models/src/payment_method_data.rs // Module: hyperswitch_domain_models // Implementations: 0 pub struct TokenizedCardValue1
crates/hyperswitch_domain_models/src/payment_method_data.rs
hyperswitch_domain_models
struct_definition
TokenizedCardValue1
0
[]
47
null
null
null
null
null
null
null
Some(RedirectForm::CybersourceConsumerAuth { access_token: token.expose(), step_up_url, }) } _ => None, }; let t...
crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs#chunk4
hyperswitch_connectors
chunk
null
null
null
6,210
null
null
null
null
null
null
null
// Struct: Tokenization // File: crates/hyperswitch_domain_models/src/tokenization.rs // Module: hyperswitch_domain_models // Implementations: 2 // Traits: super::behaviour::Conversion pub struct Tokenization
crates/hyperswitch_domain_models/src/tokenization.rs
hyperswitch_domain_models
struct_definition
Tokenization
2
[ "super::behaviour::Conversion" ]
50
null
null
null
null
null
null
null
// File: crates/router/src/routes/dummy_connector/errors.rs // Module: router #[derive(Clone, Debug, serde::Serialize)] #[serde(rename_all = "snake_case")] pub enum ErrorType { ServerNotAvailable, ObjectNotFound, InvalidRequestError, } #[derive(Debug, Clone, router_derive::ApiError)] #[error(error_type_en...
crates/router/src/routes/dummy_connector/errors.rs
router
full_file
null
null
null
890
null
null
null
null
null
null
null
// File: crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs // Module: analytics use std::collections::HashSet; use api_models::analytics::{ payments::{PaymentDimensions, PaymentFilters, PaymentMetricsBucketIdentifier}, Granularity, TimeRange, }; use common_utils::errors::ReportSwitchEx...
crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs
analytics
full_file
null
null
null
961
null
null
null
null
null
null
null
// Struct: ThreedsecureioErrorResponse // File: crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct ThreedsecureioErrorResponse
crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs
hyperswitch_connectors
struct_definition
ThreedsecureioErrorResponse
0
[]
53
null
null
null
null
null
null
null
// Implementation: impl Responder // File: crates/router/src/routes/routing.rs // Module: router // Methods: 0 total (0 public) impl Responder
crates/router/src/routes/routing.rs
router
impl_block
null
null
null
36
null
Responder
null
0
0
null
null
// Struct: OpayoRouterData // File: crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs // Module: hyperswitch_connectors // Implementations: 0 pub struct OpayoRouterData<T>
crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs
hyperswitch_connectors
struct_definition
OpayoRouterData
0
[]
51
null
null
null
null
null
null
null
// Function: is_recovery_transaction_event // File: crates/api_models/src/webhooks.rs // Module: api_models pub fn is_recovery_transaction_event(&self) -> bool
crates/api_models/src/webhooks.rs
api_models
function_signature
null
null
null
36
is_recovery_transaction_event
null
null
null
null
null
null
// Struct: BusinessCollectLinkConfig // File: crates/api_models/src/admin.rs // Module: api_models // Implementations: 0 pub struct BusinessCollectLinkConfig
crates/api_models/src/admin.rs
api_models
struct_definition
BusinessCollectLinkConfig
0
[]
37
null
null
null
null
null
null
null