text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: fulfill_payout
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn fulfill_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 | fulfill_payout | null | null | null | null | null | null |
// Struct: CardNetworkTokenizeResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct CardNetworkTokenizeResponse | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CardNetworkTokenizeResponse | 1 | [
"common_utils::events::ApiEventMetric"
] | 52 | null | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payone | IncomingWebhook for | 3 | 0 | null | null |
// Struct: GlobalpayErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayErrorResponse | crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs | hyperswitch_connectors | struct_definition | GlobalpayErrorResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: PaymentMethodCreate
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 2
pub struct PaymentMethodCreate | crates/api_models/src/payment_methods.rs | api_models | struct_definition | PaymentMethodCreate | 2 | [] | 36 | null | null | null | null | null | null | null |
// Struct: KeyManagerState
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 1
pub struct KeyManagerState | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | KeyManagerState | 1 | [] | 37 | null | null | null | null | null | null | null |
// Struct: AuthenticationData
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 2
// Traits: AuthInfo, AuthInfo
pub struct AuthenticationData | crates/router/src/services/authentication.rs | router | struct_definition | AuthenticationData | 2 | [
"AuthInfo",
"AuthInfo"
] | 41 | null | null | null | null | null | null | null |
// Implementation: impl NetworkTokenizationBuilder
// File: crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs
// Module: router
// Methods: 1 total (1 public)
impl NetworkTokenizationBuilder | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs | router | impl_block | null | null | null | 45 | null | NetworkTokenizationBuilder | null | 1 | 1 | null | null |
// Function: diesel_make_pg_pool
// File: crates/storage_impl/src/database/store.rs
// Module: storage_impl
pub fn diesel_make_pg_pool(
database: &Database,
schema: &str,
test_transaction: bool,
) -> StorageResult<PgPool> | crates/storage_impl/src/database/store.rs | storage_impl | function_signature | null | null | null | 58 | diesel_make_pg_pool | null | null | null | null | null | null |
// Function: persist_individual_surcharge_details_in_redis
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn persist_individual_surcharge_details_in_redis(
&self,
state: &SessionState,
business_profile: &Profile,
) -> RouterResult<()> | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 62 | persist_individual_surcharge_details_in_redis | null | null | null | null | null | null |
// Struct: RedirectUrl
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedirectUrl | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | struct_definition | RedirectUrl | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Implementations: 20
// Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentToken, api::MandateSetup, api::PaymentVoid, api::ConnectorAccessToken, api::PaymentSync, api::PaymentC... | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | struct_definition | Trustpay | 20 | [
"ConnectorCommon",
"ConnectorValidation",
"api::Payment",
"api::PaymentToken",
"api::MandateSetup",
"api::PaymentVoid",
"api::ConnectorAccessToken",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentsPreProcessing",
"api::PaymentSession",
"api::PaymentAuthorize",
"api::Refund",
"api:... | 143 | null | null | null | null | null | null | null |
// Struct: CybersourcePayoutFulfillRequest
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourcePayoutFulfillRequest | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourcePayoutFulfillRequest | 0 | [] | 59 | null | null | null | null | null | null | null |
// Struct: CashappQr
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CashappQr | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | CashappQr | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: set_n
// File: crates/router_derive/src/lib.rs
// Module: router_derive
pub fn set_n(&mut self,n: u32) | crates/router_derive/src/lib.rs | router_derive | function_signature | null | null | null | 37 | set_n | null | null | null | null | null | null |
// Struct: NmiCompleteResponse
// File: crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NmiCompleteResponse | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs | hyperswitch_connectors | struct_definition | NmiCompleteResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/external_services/src/hubspot_proxy.rs
// Module: external_services
// Public functions: 1
// Public structs: 1
use masking::Secret;
/// Lead source constant for Hubspot
pub const HUBSPOT_LEAD_SOURCE: &str = "Hyperswitch Dashboard";
/// Struct representing a request to Hubspot
#[derive(Clone, Debug, ... | crates/external_services/src/hubspot_proxy.rs | external_services | full_file | null | null | null | 497 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Wise | api::PaymentToken for | 0 | 0 | null | null |
// Implementation: impl api::Payment for for Authipay
// File: crates/hyperswitch_connectors/src/connectors/authipay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Authipay | crates/hyperswitch_connectors/src/connectors/authipay.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Authipay | api::Payment for | 0 | 0 | null | null |
// Function: find_by_merchant_id_connector_refund_id_connector
// File: crates/diesel_models/src/query/refund.rs
// Module: diesel_models
pub fn find_by_merchant_id_connector_refund_id_connector(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
connector_refund_id: &str,
... | crates/diesel_models/src/query/refund.rs | diesel_models | function_signature | null | null | null | 91 | find_by_merchant_id_connector_refund_id_connector | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for Card
// File: crates/api_models/src/blocklist.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for Card | crates/api_models/src/blocklist.rs | api_models | impl_block | null | null | null | 45 | null | Card | ApiEventMetric for | 0 | 0 | null | null |
// Struct: GpaymentsPreAuthVersionCallRequest
// File: crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GpaymentsPreAuthVersionCallRequest | crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs | hyperswitch_connectors | struct_definition | GpaymentsPreAuthVersionCallRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: XenditSplitRequestData
// File: crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct XenditSplitRequestData | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs | hyperswitch_connectors | struct_definition | XenditSplitRequestData | 0 | [] | 54 | null | null | null | null | null | null | null |
pub async fn switch_merchant_for_user_in_org(
state: SessionState,
request: user_api::SwitchMerchantRequest,
user_from_token: auth::UserFromToken,
) -> UserResponse<user_api::TokenResponse> {
if user_from_token.merchant_id == request.merchant_id {
return Err(UserErrors::InvalidRoleOperationWithM... | crates/router/src/core/user.rs#chunk3 | router | chunk | null | null | null | 3,174 | null | null | null | null | null | null | null |
// Struct: ErrorInformation
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorInformation | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | ErrorInformation | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: SepaBankTransferAdditionalData
// File: crates/common_utils/src/payout_method_utils.rs
// Module: common_utils
// Implementations: 0
pub struct SepaBankTransferAdditionalData | crates/common_utils/src/payout_method_utils.rs | common_utils | struct_definition | SepaBankTransferAdditionalData | 0 | [] | 44 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 2
// Public structs: 48
use std::collections::HashMap;
use api_models::payments::SessionToken;
use common_enums::enums;
use common_utils::{
errors::CustomResult,
pii::{self, Em... | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,186 | null | null | null | null | null | null | null |
// Struct: PaymentDetails
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentDetails | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | PaymentDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl MerchantAccount
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl MerchantAccount | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | MerchantAccount | null | 1 | 1 | null | null |
// Struct: PaymentAttempt
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Implementations: 7
// Traits: ForeignIDRef, ForeignIDRef, behaviour::Conversion, behaviour::Conversion
pub struct PaymentAttempt | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | struct_definition | PaymentAttempt | 7 | [
"ForeignIDRef",
"ForeignIDRef",
"behaviour::Conversion",
"behaviour::Conversion"
] | 61 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Klarna | api::PaymentSync for | 0 | 0 | null | null |
// Struct: ProfileWrapper
// File: crates/router/src/core/admin.rs
// Module: router
// Implementations: 1
pub struct ProfileWrapper | crates/router/src/core/admin.rs | router | struct_definition | ProfileWrapper | 1 | [] | 32 | null | null | null | null | null | null | null |
// Struct: UnifiedError
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 0
pub struct UnifiedError | crates/api_models/src/open_router.rs | api_models | struct_definition | UnifiedError | 0 | [] | 34 | null | null | null | null | null | null | null |
// Struct: PowertranzPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PowertranzPaymentsRequest | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs | hyperswitch_connectors | struct_definition | PowertranzPaymentsRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: list_user_roles_details
// File: crates/router/src/routes/user.rs
// Module: router
pub fn list_user_roles_details(
state: web::Data<AppState>,
req: HttpRequest,
payload: web::Json<user_api::GetUserRoleDetailsRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 62 | list_user_roles_details | null | null | null | null | null | null |
// Function: payments_create_request_validation
// File: crates/router/src/core/payments/operations/payment_create.rs
// Module: router
pub fn payments_create_request_validation(
req: &api::PaymentsRequest,
) -> RouterResult<(api::Amount, enums::Currency)> | crates/router/src/core/payments/operations/payment_create.rs | router | function_signature | null | null | null | 57 | payments_create_request_validation | null | null | null | null | null | null |
// Struct: SubscriptionCustomerData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SubscriptionCustomerData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | SubscriptionCustomerData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: from_storage
// File: crates/router/src/services/kafka/payment_intent_event.rs
// Module: router
pub fn from_storage(intent: &'a PaymentIntent, infra_values: Option<Value>) -> Self | crates/router/src/services/kafka/payment_intent_event.rs | router | function_signature | null | null | null | 44 | from_storage | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
mod requests;
mod response;
pub mod transformers;
use std::sync::LazyLock;
use api_models::webhooks::IncomingWebhookEvent;
use common_enums::{enums, CallConnectorAction, Pay... | crates/hyperswitch_connectors/src/connectors/globalpay.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: PaysafeSettlementResponse
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeSettlementResponse | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeSettlementResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: is_pending
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_pending(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 33 | is_pending | null | null | null | null | null | null |
// Implementation: impl utils::ConnectorErrorTypeMapping for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl utils::ConnectorErrorTypeMapping for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Checkout | utils::ConnectorErrorTypeMapping for | 1 | 0 | null | null |
// Implementation: impl ApiEventMetric for for CurrencyConversionParams
// File: crates/api_models/src/currency.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for CurrencyConversionParams | crates/api_models/src/currency.rs | api_models | impl_block | null | null | null | 49 | null | CurrencyConversionParams | ApiEventMetric for | 0 | 0 | null | null |
// Function: num_i64
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn num_i64(input: &str) -> ParseResult<&str, i64> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 49 | num_i64 | null | null | null | null | null | null |
// Struct: BodyKey
// File: crates/test_utils/src/connector_auth.rs
// Module: test_utils
// Implementations: 0
pub struct BodyKey | crates/test_utils/src/connector_auth.rs | test_utils | struct_definition | BodyKey | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Stax | api::RefundExecute for | 0 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Checkout | ConnectorCommon for | 6 | 0 | null | null |
// Function: get_description
// File: crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs
// Module: hyperswitch_connectors
pub fn get_description(&self) -> &'static str | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 46 | get_description | null | null | null | null | null | null |
// Function: delete_payment_attempts
// File: crates/diesel_models/src/query/user/sample_data.rs
// Module: diesel_models
pub fn delete_payment_attempts(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
) -> StorageResult<Vec<PaymentAttempt>> | crates/diesel_models/src/query/user/sample_data.rs | diesel_models | function_signature | null | null | null | 65 | delete_payment_attempts | null | null | null | null | null | null |
// Struct: AttemptAmountDetailsSetter
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AttemptAmountDetailsSetter | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | struct_definition | AttemptAmountDetailsSetter | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Barclaycard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Barclaycard | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Barclaycard | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Shift4
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Shift4 | crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Shift4 | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: perform_contract_based_routing
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_contract_based_routing<F, D>(
state: &SessionState,
routable_connectors: Vec<api_routing::RoutableConnectorChoice>,
profile_id: &common_utils::id_type::ProfileId,
merchant_id... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 189 | perform_contract_based_routing | null | null | null | null | null | null |
// Implementation: impl State for for CardInfoAdd
// File: crates/router/src/core/cards_info.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for CardInfoAdd | crates/router/src/core/cards_info.rs | router | impl_block | null | null | null | 44 | null | CardInfoAdd | State for | 0 | 0 | null | null |
// File: crates/api_models/src/profile_acquirer.rs
// Module: api_models
// Public structs: 3
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;
#[derive(Debug, Serialize, Deserialize, ToSchema)]
pub struct ProfileAcquirerCreate {
/// The merchant id assigned by the acquirer
#[schema(value_type= Strin... | crates/api_models/src/profile_acquirer.rs | api_models | full_file | null | null | null | 1,157 | null | null | null | null | null | null | null |
// Struct: ReverseLookup
// File: crates/diesel_models/src/reverse_lookup.rs
// Module: diesel_models
// Implementations: 0
pub struct ReverseLookup | crates/diesel_models/src/reverse_lookup.rs | diesel_models | struct_definition | ReverseLookup | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl NovalnetPaymentsResponseTransactionData
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl NovalnetPaymentsResponseTransactionData | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | NovalnetPaymentsResponseTransactionData | null | 1 | 1 | 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 |
// Implementation: impl AttemptStatus
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Methods: 2 total (2 public)
impl AttemptStatus | crates/common_enums/src/enums.rs | common_enums | impl_block | null | null | null | 39 | null | AttemptStatus | null | 2 | 2 | null | null |
// Implementation: impl Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 2 total (2 public)
impl Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Fiservemea | null | 2 | 2 | null | null |
// File: crates/router/src/types/storage/payment_method.rs
// Module: router
// Public functions: 6
// Public structs: 7
use api_models::payment_methods;
use diesel_models::enums;
pub use diesel_models::payment_method::{
PaymentMethod, PaymentMethodNew, PaymentMethodUpdate, PaymentMethodUpdateInternal,
Tokeniz... | crates/router/src/types/storage/payment_method.rs | router | full_file | null | null | null | 1,234 | null | null | null | null | null | null | null |
// Function: link_token_create
// File: crates/router/src/routes/pm_auth.rs
// Module: router
pub fn link_token_create(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<api_types::pm_auth::LinkTokenCreateRequest>,
) -> impl Responder | crates/router/src/routes/pm_auth.rs | router | function_signature | null | null | null | 67 | link_token_create | null | null | null | null | null | null |
// Implementation: impl SmtpServerConfig
// File: crates/external_services/src/email/smtp.rs
// Module: external_services
// Methods: 1 total (1 public)
impl SmtpServerConfig | crates/external_services/src/email/smtp.rs | external_services | impl_block | null | null | null | 43 | null | SmtpServerConfig | null | 1 | 1 | null | null |
// Function: create_routing_algorithm_under_profile
// File: crates/router/src/core/routing.rs
// Module: router
pub fn create_routing_algorithm_under_profile(
state: SessionState,
merchant_context: domain::MerchantContext,
authentication_profile_id: Option<common_utils::id_type::ProfileId>,
request: r... | crates/router/src/core/routing.rs | router | function_signature | null | null | null | 95 | create_routing_algorithm_under_profile | null | null | null | null | null | null |
// Struct: ErrorResponse
// File: crates/api_models/src/open_router.rs
// Module: api_models
// Implementations: 0
pub struct ErrorResponse | crates/api_models/src/open_router.rs | api_models | struct_definition | ErrorResponse | 0 | [] | 32 | null | null | null | null | null | null | null |
// Struct: KafkaPaymentAttempt
// File: crates/router/src/services/kafka/payment_attempt.rs
// Module: router
// Implementations: 3
// Traits: super::KafkaMessage
pub struct KafkaPaymentAttempt<'a> | crates/router/src/services/kafka/payment_attempt.rs | router | struct_definition | KafkaPaymentAttempt | 3 | [
"super::KafkaMessage"
] | 49 | null | null | null | null | null | null | null |
// Struct: AwsFileStorageConfig
// File: crates/external_services/src/file_storage/aws_s3.rs
// Module: external_services
// Implementations: 1
pub struct AwsFileStorageConfig | crates/external_services/src/file_storage/aws_s3.rs | external_services | struct_definition | AwsFileStorageConfig | 1 | [] | 42 | null | null | null | null | null | null | null |
// Struct: KlarnaConnectorMetadataObject
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaConnectorMetadataObject | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaConnectorMetadataObject | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl super::behaviour::Conversion for for MerchantAccount
// File: crates/hyperswitch_domain_models/src/merchant_account.rs
// Module: hyperswitch_domain_models
// Methods: 3 total (0 public)
impl super::behaviour::Conversion for for MerchantAccount | crates/hyperswitch_domain_models/src/merchant_account.rs | hyperswitch_domain_models | impl_block | null | null | null | 60 | null | MerchantAccount | super::behaviour::Conversion for | 3 | 0 | null | null |
// Struct: AuthorizedotnetTransactionResponseError
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetTransactionResponseError | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetTransactionResponseError | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: RoutingPayloadWrapper
// File: crates/api_models/src/routing.rs
// Module: api_models
// Implementations: 0
pub struct RoutingPayloadWrapper | crates/api_models/src/routing.rs | api_models | struct_definition | RoutingPayloadWrapper | 0 | [] | 36 | null | null | null | null | null | null | null |
// Function: delete_from_stream
// File: crates/drainer/src/stream.rs
// Module: drainer
pub fn delete_from_stream(
&self,
stream_name: &str,
entry_id: &str,
) -> errors::DrainerResult<()> | crates/drainer/src/stream.rs | drainer | function_signature | null | null | null | 56 | delete_from_stream | null | null | null | null | null | null |
// Implementation: impl Keys
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl Keys | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 42 | null | Keys | null | 1 | 0 | null | null |
// Implementation: impl Default for for NetworkTokenizationBuilder
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Methods: 1 total (0 public)
impl Default for for NetworkTokenizationBuilder | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | impl_block | null | null | null | 50 | null | NetworkTokenizationBuilder | Default for | 1 | 0 | null | null |
// Function: push_metrics_with_update_window_for_success_based_routing
// File: crates/router/src/core/routing/helpers.rs
// Module: router
pub fn push_metrics_with_update_window_for_success_based_routing(
state: &SessionState,
payment_attempt: &storage::PaymentAttempt,
routable_connectors: Vec<routing_typ... | crates/router/src/core/routing/helpers.rs | router | function_signature | null | null | null | 120 | push_metrics_with_update_window_for_success_based_routing | 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 |
// Implementation: impl EuclidDirFilter for for ThreeDSDecisionRule
// File: crates/common_types/src/three_ds_decision_rule_engine.rs
// Module: common_types
// Methods: 0 total (0 public)
impl EuclidDirFilter for for ThreeDSDecisionRule | crates/common_types/src/three_ds_decision_rule_engine.rs | common_types | impl_block | null | null | null | 57 | null | ThreeDSDecisionRule | EuclidDirFilter for | 0 | 0 | null | null |
// Function: build_unified_connector_service_payment_method_for_external_proxy
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
pub fn build_unified_connector_service_payment_method_for_external_proxy(
payment_method_data: hyperswitch_domain_models::payment_method_data::ExternalVaultP... | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 92 | build_unified_connector_service_payment_method_for_external_proxy | null | null | null | null | null | null |
// Function: new_from_sync_response
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
pub fn new_from_sync_response(
amount: Option<i64>,
is_post_capture_void: bool,
payment_method: enums::PaymentMethod,
response: &NuveiTransac... | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 85 | new_from_sync_response | null | null | null | null | null | null |
// Function: add_refund_execute_task
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn add_refund_execute_task(
db: &dyn db::StorageInterface,
refund: &diesel_refund::Refund,
runner: storage::ProcessTrackerRunner,
) -> errors::RouterResult<storage::ProcessTracker> | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 78 | add_refund_execute_task | null | null | null | null | null | null |
// Struct: ApplePayHeader
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayHeader | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayHeader | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 20
use common_enums::enums;
use common_utils::types::StringMajorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAuthType, R... | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 4,149 | null | null | null | null | null | null | null |
// Function: should_call_connector_create_customer
// File: crates/router/src/core/payments/customers.rs
// Module: router
pub fn should_call_connector_create_customer<'a>(
connector: &api::ConnectorData,
customer: &'a Option<domain::Customer>,
payment_attempt: &hyperswitch_domain_models::payments::payment... | crates/router/src/core/payments/customers.rs | router | function_signature | null | null | null | 101 | should_call_connector_create_customer | null | null | null | null | null | null |
// Function: list_customer_payment_method_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn list_customer_payment_method_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 35 | list_customer_payment_method_api | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Bluesnap | api::RefundExecute for | 0 | 0 | null | null |
// Function: find_by_payment_id_merchant_id
// File: crates/diesel_models/src/query/refund.rs
// Module: diesel_models
pub fn find_by_payment_id_merchant_id(
conn: &PgPooledConn,
payment_id: &common_utils::id_type::PaymentId,
merchant_id: &common_utils::id_type::MerchantId,
) -> StorageResu... | crates/diesel_models/src/query/refund.rs | diesel_models | function_signature | null | null | null | 85 | find_by_payment_id_merchant_id | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Ebanx
// File: crates/hyperswitch_connectors/src/connectors/ebanx.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Ebanx | crates/hyperswitch_connectors/src/connectors/ebanx.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Ebanx | api::PaymentSession for | 0 | 0 | null | null |
// Implementation: impl api::RefundExecute for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Payu | api::RefundExecute for | 0 | 0 | null | null |
// Struct: NetworkTransactionIdAndCardDetails
// File: crates/api_models/src/mandates.rs
// Module: api_models
// Implementations: 0
pub struct NetworkTransactionIdAndCardDetails | crates/api_models/src/mandates.rs | api_models | struct_definition | NetworkTransactionIdAndCardDetails | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl Default for for StrongSecret
// File: crates/masking/src/strong_secret.rs
// Module: masking
// Methods: 1 total (0 public)
impl Default for for StrongSecret | crates/masking/src/strong_secret.rs | masking | impl_block | null | null | null | 43 | null | StrongSecret | Default for | 1 | 0 | null | null |
// File: crates/router/src/core/payments/operations/payment_update_intent.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
use api_models::{
enums::{FrmSuggestion, UpdateActiveAttempt},
payments::PaymentsUpdateIntentRequest,
};
use async_trait::async_trait;
use common_utils::{
error... | crates/router/src/core/payments/operations/payment_update_intent.rs | router | full_file | null | null | null | 3,902 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorTransactionId for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorTransactionId for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Nexinets | ConnectorTransactionId for | 2 | 0 | null | null |
// Function: check_existence_and_add_domain_to_db
// File: crates/router/src/core/verification/utils.rs
// Module: router
pub fn check_existence_and_add_domain_to_db(
state: &SessionState,
merchant_id: common_utils::id_type::MerchantId,
profile_id_from_auth_layer: Option<common_utils::id_type::ProfileId>,
... | crates/router/src/core/verification/utils.rs | router | function_signature | null | null | null | 113 | check_existence_and_add_domain_to_db | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Bluesnap | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl Iterator for for Iter
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Methods: 1 total (0 public)
impl Iterator for for Iter | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | impl_block | null | null | null | 48 | null | Iter | Iterator for | 1 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Getnet
// File: crates/hyperswitch_connectors/src/connectors/getnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Getnet | crates/hyperswitch_connectors/src/connectors/getnet.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Getnet | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl PaymentMethodSession
// File: crates/diesel_models/src/payment_methods_session.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl PaymentMethodSession | crates/diesel_models/src/payment_methods_session.rs | diesel_models | impl_block | null | null | null | 41 | null | PaymentMethodSession | null | 1 | 1 | null | null |
// Struct: TrustpayAccessTokenErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpayAccessTokenErrorResponse | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | TrustpayAccessTokenErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Braintree
// File: crates/hyperswitch_connectors/src/connectors/braintree.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Braintree | crates/hyperswitch_connectors/src/connectors/braintree.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Braintree | ConnectorValidation for | 1 | 0 | null | null |
// Struct: BacsBankTransfer
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct BacsBankTransfer | crates/api_models/src/payouts.rs | api_models | struct_definition | BacsBankTransfer | 0 | [] | 39 | 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.