text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Implementation: impl IncomingWebhook for for Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl IncomingWebhook for for Plaid | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Plaid | IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl Paystack
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Paystack | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Paystack | null | 1 | 1 | null | null |
// Function: is_operation_complete_authorize
// File: crates/router/src/core/payments.rs
// Module: router
pub fn is_operation_complete_authorize<Op: Debug>(operation: &Op) -> bool | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 44 | is_operation_complete_authorize | null | null | null | null | null | null |
// Struct: Item
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Item | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | Item | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: FrmData
// File: crates/router/src/core/fraud_check/types.rs
// Module: router
// Implementations: 0
pub struct FrmData | crates/router/src/core/fraud_check/types.rs | router | struct_definition | FrmData | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: MultisafepayPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MultisafepayPaymentsRequest | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | MultisafepayPaymentsRequest | 0 | [] | 59 | null | null | null | null | null | null | null |
// Struct: SilverflowCaptureResponse
// File: crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SilverflowCaptureResponse | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs | hyperswitch_connectors | struct_definition | SilverflowCaptureResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl KafkaRefundEvent
// File: crates/router/src/services/kafka/refund_event.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaRefundEvent | crates/router/src/services/kafka/refund_event.rs | router | impl_block | null | null | null | 43 | null | KafkaRefundEvent | null | 1 | 1 | null | null |
// Implementation: impl ApiEventMetric for for BlocklistRequest
// File: crates/api_models/src/blocklist.rs
// Module: api_models
// Methods: 0 total (0 public)
impl ApiEventMetric for for BlocklistRequest | crates/api_models/src/blocklist.rs | api_models | impl_block | null | null | null | 49 | null | BlocklistRequest | ApiEventMetric for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 10
use std::collections::HashMap;
use common_enums::{enums, Currency};
use common_utils::{id_type, pii::Email, request::Method, types::FloatMajorUnit};
use hyperswitch_domain_models::{
... | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 2,253 | null | null | null | null | null | null | null |
// Struct: ErrorResponseBankRedirect
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorResponseBankRedirect | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | ErrorResponseBankRedirect | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: PayloadEventDetails
// File: crates/hyperswitch_connectors/src/connectors/payload/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayloadEventDetails | crates/hyperswitch_connectors/src/connectors/payload/responses.rs | hyperswitch_connectors | struct_definition | PayloadEventDetails | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: set_response_body
// File: crates/hyperswitch_interfaces/src/events/connector_api_logs.rs
// Module: hyperswitch_interfaces
// Documentation: fn set_response_body
pub fn set_response_body<T: Serialize>(&mut self, response: &T) | crates/hyperswitch_interfaces/src/events/connector_api_logs.rs | hyperswitch_interfaces | function_signature | null | null | null | 56 | set_response_body | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nuvei | api::Refund for | 0 | 0 | null | null |
// Struct: ApiKey
// File: crates/diesel_models/src/api_keys.rs
// Module: diesel_models
// Implementations: 0
pub struct ApiKey | crates/diesel_models/src/api_keys.rs | diesel_models | struct_definition | ApiKey | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentsCompleteAuthorize for for Authorizedotnet
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsCompleteAuthorize for for Authorizedotnet | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Authorizedotnet | api::PaymentsCompleteAuthorize for | 0 | 0 | null | null |
// Struct: ChargebeeListPlansResponse
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeListPlansResponse | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeListPlansResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: perform_open_routing_for_debit_routing
// File: crates/router/src/core/payments/routing.rs
// Module: router
pub fn perform_open_routing_for_debit_routing<F, D>(
state: &SessionState,
co_badged_card_request: or_types::CoBadgedCardRequest,
card_isin: Option<Secret<String>>,
old_payment_data... | crates/router/src/core/payments/routing.rs | router | function_signature | null | null | null | 129 | perform_open_routing_for_debit_routing | null | null | null | null | null | null |
// Implementation: impl PaymentMethodCreate
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Methods: 1 total (1 public)
impl PaymentMethodCreate | crates/api_models/src/payment_methods.rs | api_models | impl_block | null | null | null | 39 | null | PaymentMethodCreate | null | 1 | 1 | null | null |
// Function: get_string_repr
// File: crates/common_utils/src/id_type/global_id/payment.rs
// Module: common_utils
// Documentation: Get string representation of the id
pub fn get_string_repr(&self) -> &str | crates/common_utils/src/id_type/global_id/payment.rs | common_utils | function_signature | null | null | null | 48 | get_string_repr | null | null | null | null | null | null |
// Implementation: impl IncomingWebhook for for Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 8 total (0 public)
impl IncomingWebhook for for Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Rapyd | IncomingWebhook for | 8 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 16
use std::collections::HashMap;
use api_models::webhooks::IncomingWebhookEvent;
use common_enums::enums;
use common_utils::{
errors::CustomResult, ext_traits::Encode, request::Metho... | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 5,444 | null | null | null | null | null | null | null |
// Struct: AddressDetails
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct AddressDetails | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | AddressDetails | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Adyenplatform | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl RoutableConnectorChoiceWithBucketName
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl RoutableConnectorChoiceWithBucketName | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 47 | null | RoutableConnectorChoiceWithBucketName | null | 1 | 1 | null | null |
// Struct: EbanxPayoutCreateRequest
// File: crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EbanxPayoutCreateRequest | crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs | hyperswitch_connectors | struct_definition | EbanxPayoutCreateRequest | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Worldpay | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Struct: PaymentsSessionData
// File: crates/hyperswitch_domain_models/src/router_request_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentsSessionData | crates/hyperswitch_domain_models/src/router_request_types.rs | hyperswitch_domain_models | struct_definition | PaymentsSessionData | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/amazonpay.rs
// Module: router
use hyperswitch_domain_models::payment_method_data::{Card, PaymentMethodData};
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]... | crates/router/tests/connectors/amazonpay.rs | router | full_file | null | null | null | 2,933 | null | null | null | null | null | null | null |
// Struct: TransactionFee
// File: crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TransactionFee | crates/hyperswitch_connectors/src/connectors/nordea/responses.rs | hyperswitch_connectors | struct_definition | TransactionFee | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Fiuu
// File: crates/hyperswitch_connectors/src/connectors/fiuu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Fiuu | crates/hyperswitch_connectors/src/connectors/fiuu.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Fiuu | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: ClientAuthCheckInfoResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ClientAuthCheckInfoResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | ClientAuthCheckInfoResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
| PaymentAction::CompleteAuthorize
| PaymentAction::PaymentAuthenticateCompleteAuthorize => {
Ok(CallConnectorAction::Trigger)
}
}
}
}
static GLOBALPAY_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> =
LazyLock::new(|| {
let suppo... | crates/hyperswitch_connectors/src/connectors/globalpay.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 1,165 | null | null | null | null | null | null | null |
// Struct: PlaidBacs
// File: crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlaidBacs | crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs | hyperswitch_connectors | struct_definition | PlaidBacs | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: payments_session_operation_core
// File: crates/router/src/core/payments/session_operation.rs
// Module: router
pub fn payments_session_operation_core<F, Req, Op, FData, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
... | crates/router/src/core/payments/session_operation.rs | router | function_signature | null | null | null | 291 | payments_session_operation_core | null | null | null | null | null | null |
// Function: is_update_required
// File: crates/router/src/utils/user/dashboard_metadata.rs
// Module: router
pub fn is_update_required(metadata: &UserResult<DashboardMetadata>) -> bool | crates/router/src/utils/user/dashboard_metadata.rs | router | function_signature | null | null | null | 40 | is_update_required | null | null | null | null | null | null |
// File: crates/analytics/src/refunds/distribution.rs
// Module: analytics
// Public structs: 1
use api_models::analytics::{
refunds::{
RefundDimensions, RefundDistributions, RefundFilters, RefundMetricsBucketIdentifier,
RefundType,
},
Granularity, RefundDistributionBody, TimeRange,
};
use ... | crates/analytics/src/refunds/distribution.rs | analytics | full_file | null | null | null | 744 | null | null | null | null | null | null | null |
// Implementation: impl EphemeralKeyInterface for for KafkaStore
// File: crates/router/src/db/kafka_store.rs
// Module: router
// Methods: 3 total (0 public)
impl EphemeralKeyInterface for for KafkaStore | crates/router/src/db/kafka_store.rs | router | impl_block | null | null | null | 51 | null | KafkaStore | EphemeralKeyInterface for | 3 | 0 | null | null |
// Function: get_enable_overcapture_bool_if_connector_supports
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn get_enable_overcapture_bool_if_connector_supports(
&self,
connector: common_enums::connector_enums::Connector,
always_enable_overc... | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 107 | get_enable_overcapture_bool_if_connector_supports | null | null | null | null | null | null |
// Implementation: impl AnalyticsConfig
// File: crates/analytics/src/lib.rs
// Module: analytics
// Methods: 1 total (1 public)
impl AnalyticsConfig | crates/analytics/src/lib.rs | analytics | impl_block | null | null | null | 35 | null | AnalyticsConfig | null | 1 | 1 | null | null |
// File: crates/router/tests/connectors/wellsfargopayout.rs
// Module: router
use masking::Secret;
use router::types::{self, api, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct WellsfargopayoutTest;
impl ConnectorActions for Wellsfargopayout... | crates/router/tests/connectors/wellsfargopayout.rs | router | full_file | null | null | null | 2,979 | null | null | null | null | null | null | null |
// Function: update
// File: crates/diesel_models/src/query/refund.rs
// Module: diesel_models
pub fn update(self, conn: &PgPooledConn, refund: RefundUpdate) -> StorageResult<Self> | crates/diesel_models/src/query/refund.rs | diesel_models | function_signature | null | null | null | 48 | update | null | null | null | null | null | null |
// Implementation: impl DecisionEngineErrorsInterface for for DeErrorResponse
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Methods: 3 total (0 public)
impl DecisionEngineErrorsInterface for for DeErrorResponse | crates/router/src/core/payments/routing/utils.rs | router | impl_block | null | null | null | 51 | null | DeErrorResponse | DecisionEngineErrorsInterface for | 3 | 0 | null | null |
// Function: is_masked
// File: crates/masking/src/maskable.rs
// Module: masking
// Documentation: returns `false` otherwise.
pub fn is_masked(&self) -> bool | crates/masking/src/maskable.rs | masking | function_signature | null | null | null | 43 | is_masked | null | null | null | null | null | null |
// File: crates/api_models/src/events/user_role.rs
// Module: api_models
use common_utils::events::{ApiEventMetric, ApiEventsType};
use crate::user_role::{
role::{
CreateRoleRequest, CreateRoleV2Request, GetParentGroupsInfoQueryParams, GetRoleRequest,
GroupsAndResources, ListRolesAtEntityLevelRequ... | crates/api_models/src/events/user_role.rs | api_models | full_file | null | null | null | 266 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/deutschebank.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/deutschebank.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Function: get_user_from_db
// File: crates/router/src/utils/user.rs
// Module: router
pub fn get_user_from_db(&self, state: &SessionState) -> UserResult<UserFromStorage> | crates/router/src/utils/user.rs | router | function_signature | null | null | null | 45 | get_user_from_db | null | null | null | null | null | null |
// Implementation: impl ConnectorRedirectResponse for for Nuvei
// File: crates/hyperswitch_connectors/src/connectors/nuvei.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorRedirectResponse for for Nuvei | crates/hyperswitch_connectors/src/connectors/nuvei.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Nuvei | ConnectorRedirectResponse for | 1 | 0 | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(config: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Implementation: impl MerchantConnectorListResponse
// File: crates/api_models/src/admin.rs
// Module: api_models
// Methods: 2 total (2 public)
impl MerchantConnectorListResponse | crates/api_models/src/admin.rs | api_models | impl_block | null | null | null | 40 | null | MerchantConnectorListResponse | null | 2 | 2 | null | null |
// Struct: InvoiceRecordBackResponse
// File: crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct InvoiceRecordBackResponse | crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs | hyperswitch_domain_models | struct_definition | InvoiceRecordBackResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: AlwaysRequestExtendedAuthorization
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Implementations: 1
// Traits: Deref
pub struct AlwaysRequestExtendedAuthorization | crates/common_types/src/primitive_wrappers.rs | common_types | struct_definition | AlwaysRequestExtendedAuthorization | 1 | [
"Deref"
] | 46 | null | null | null | null | null | null | null |
// Struct: DeutschebankThreeDSInitializeRequestCreditCard
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankThreeDSInitializeRequestCreditCard | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankThreeDSInitializeRequestCreditCard | 0 | [] | 58 | null | null | null | null | null | null | null |
// Implementation: impl std::fmt::Debug for for RequestContent
// File: crates/common_utils/src/request.rs
// Module: common_utils
// Methods: 1 total (0 public)
impl std::fmt::Debug for for RequestContent | crates/common_utils/src/request.rs | common_utils | impl_block | null | null | null | 50 | null | RequestContent | std::fmt::Debug for | 1 | 0 | null | null |
// Struct: PayuAuthType
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuAuthType | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuAuthType | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl RefundSync for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundSync for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Netcetera | RefundSync for | 0 | 0 | null | null |
// Function: check_refund_integrity
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn check_refund_integrity<T, Request>(
request: &Request,
refund_response_data: &Result<types::RefundsResponseData, ErrorResponse>,
) -> Result<(), common_utils::errors::IntegrityCheckError>
where
T: FlowIn... | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 100 | check_refund_integrity | null | null | null | null | null | null |
// Struct: GroupsAndResources
// File: crates/api_models/src/user_role/role.rs
// Module: api_models
// Implementations: 0
pub struct GroupsAndResources | crates/api_models/src/user_role/role.rs | api_models | struct_definition | GroupsAndResources | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: into_stripe_next_action
// File: crates/router/src/compatibility/stripe/setup_intents/types.rs
// Module: router
pub fn into_stripe_next_action(
next_action: Option<payments::NextActionData>,
return_url: Option<String>,
) -> Option<StripeNextAction> | crates/router/src/compatibility/stripe/setup_intents/types.rs | router | function_signature | null | null | null | 67 | into_stripe_next_action | null | null | null | null | null | null |
// Function: get_api_event_metrics
// File: crates/analytics/src/lib.rs
// Module: analytics
pub fn get_api_event_metrics(
&self,
metric: &ApiEventMetrics,
dimensions: &[ApiEventDimensions],
merchant_id: &common_utils::id_type::MerchantId,
filters: &ApiEventFilters,
gran... | crates/analytics/src/lib.rs | analytics | function_signature | null | null | null | 109 | get_api_event_metrics | null | null | null | null | null | null |
// Implementation: impl webhooks::IncomingWebhook for for Barclaycard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl webhooks::IncomingWebhook for for Barclaycard | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Barclaycard | webhooks::IncomingWebhook for | 3 | 0 | null | null |
// Implementation: impl KafkaPayout
// File: crates/router/src/services/kafka/payout.rs
// Module: router
// Methods: 1 total (1 public)
impl KafkaPayout | crates/router/src/services/kafka/payout.rs | router | impl_block | null | null | null | 40 | null | KafkaPayout | null | 1 | 1 | null | null |
// Function: get_billing_processor_id
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_billing_processor_id(
&self,
) -> CustomResult<
common_utils::id_type::MerchantConnectorAccountId,
api_error_response::ApiErrorResponse,
... | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 69 | get_billing_processor_id | null | null | null | null | null | null |
// Implementation: impl AuthipayPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs
// Module: hyperswitch_connectors
// Methods: 3 total (2 public)
impl AuthipayPaymentsResponse | crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 52 | null | AuthipayPaymentsResponse | null | 3 | 2 | null | null |
// File: crates/diesel_models/src/payment_methods_session.rs
// Module: diesel_models
// Public functions: 1
// Public structs: 2
use common_utils::pii;
#[cfg(feature = "v2")]
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
pub struct PaymentMethodSession {
pub id: common_utils::id_type::GlobalPayme... | crates/diesel_models/src/payment_methods_session.rs | diesel_models | full_file | null | null | null | 526 | null | null | null | null | null | null | null |
// Struct: DwollaErrorDetails
// File: crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DwollaErrorDetails | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs | hyperswitch_connectors | struct_definition | DwollaErrorDetails | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ChargebeeMandateDetails
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeMandateDetails | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeMandateDetails | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: PaymentMethodsEnabled
// File: crates/connector_configs/src/common_config.rs
// Module: connector_configs
// Implementations: 0
pub struct PaymentMethodsEnabled | crates/connector_configs/src/common_config.rs | connector_configs | struct_definition | PaymentMethodsEnabled | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: update_revenue_recovery_algorithm_under_profile
// File: crates/router/src/core/admin.rs
// Module: router
pub fn update_revenue_recovery_algorithm_under_profile(
self,
db: &dyn StorageInterface,
key_manager_state: &KeyManagerState,
merchant_key_store: &domain::MerchantKeyS... | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 92 | update_revenue_recovery_algorithm_under_profile | null | null | null | null | null | null |
// Function: start_workflow
// File: crates/scheduler/src/consumer.rs
// Module: scheduler
pub fn start_workflow<T>(
state: T,
process: storage::ProcessTracker,
_pickup_time: PrimitiveDateTime,
workflow_selector: impl workflows::ProcessTrackerWorkflows<T> + 'static + std::fmt::Debug,
) -> CustomResult<... | crates/scheduler/src/consumer.rs | scheduler | function_signature | null | null | null | 92 | start_workflow | null | null | null | null | null | null |
// File: crates/api_models/src/organization.rs
// Module: api_models
// Public functions: 1
// Public structs: 6
use common_enums::OrganizationType;
use common_utils::{id_type, pii};
use utoipa::ToSchema;
pub struct OrganizationNew {
pub org_id: id_type::OrganizationId,
pub org_type: OrganizationType,
pub ... | crates/api_models/src/organization.rs | api_models | full_file | null | null | null | 900 | null | null | null | null | null | null | null |
// Function: fetch_payment_method_for_network_token_webhooks
// File: crates/router/src/core/webhooks/network_tokenization_incoming.rs
// Module: router
pub fn fetch_payment_method_for_network_token_webhooks(
state: &SessionState,
merchant_account: &domain::MerchantAccount,
key_store: &domain::MerchantKeyS... | crates/router/src/core/webhooks/network_tokenization_incoming.rs | router | function_signature | null | null | null | 90 | fetch_payment_method_for_network_token_webhooks | null | null | null | null | null | null |
// Struct: Webhooks
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
// Implementations: 1
pub struct Webhooks | crates/router/src/compatibility/stripe/app.rs | router | struct_definition | Webhooks | 1 | [] | 36 | null | null | null | null | null | null | null |
// Struct: PaytmCard
// File: crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaytmCard | crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs | hyperswitch_connectors | struct_definition | PaytmCard | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_payout_webhook_statuses
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_payout_webhook_statuses(&self) -> Cow<'_, [common_enums::PayoutStatus]> | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 57 | get_payout_webhook_statuses | null | null | null | null | null | null |
// Struct: NetworkResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NetworkResponse | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | NetworkResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/taxjar.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Method, Request, RequestBuilder, RequestContent},
types::{Amount... | crates/hyperswitch_connectors/src/connectors/taxjar.rs | hyperswitch_connectors | full_file | null | null | null | 2,459 | null | null | null | null | null | null | null |
// Function: from_storage
// File: crates/router/src/services/kafka/payout.rs
// Module: router
pub fn from_storage(payouts: &'a Payouts, payout_attempt: &'a PayoutAttempt) -> Self | crates/router/src/services/kafka/payout.rs | router | function_signature | null | null | null | 49 | from_storage | null | null | null | null | null | null |
// Struct: PaypalNonLiabilityResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalNonLiabilityResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalNonLiabilityResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: api_key_list
// File: crates/router/src/routes/api_keys.rs
// Module: router
pub fn api_key_list(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<common_utils::id_type::MerchantId>,
query: web::Query<api_types::ListApiKeyConstraints>,
) -> impl Responder | crates/router/src/routes/api_keys.rs | router | function_signature | null | null | null | 78 | api_key_list | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Katapult
// File: crates/hyperswitch_connectors/src/connectors/katapult.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Katapult | crates/hyperswitch_connectors/src/connectors/katapult.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Katapult | api::PaymentSession for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 27
use std::collections::HashMap;
use common_enums::{enums, CaptureMethod};
use common_utils::{errors::CustomResult, pii, types::StringMajorUnit};
use hyperswitch_domain_models::{
r... | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 4,462 | null | null | null | null | null | null | null |
// Function: occurrence_error
// File: crates/router_derive/src/macros/helpers.rs
// Module: router_derive
pub fn occurrence_error<T: ToTokens>(
first_keyword: T,
second_keyword: T,
attr: &str,
) -> syn::Error | crates/router_derive/src/macros/helpers.rs | router_derive | function_signature | null | null | null | 58 | occurrence_error | null | null | null | null | null | null |
// Implementation: impl NetAmount
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Methods: 14 total (14 public)
impl NetAmount | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | impl_block | null | null | null | 47 | null | NetAmount | null | 14 | 14 | null | null |
// Module Structure
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Public exports:
pub use ::payment_methods::controller::{DataDuplicationCheck, DeleteCardResp};
| crates/router/src/core/payment_methods/transformers.rs | router | module_structure | null | null | null | 44 | null | null | null | null | null | 0 | 1 |
// Struct: CardError
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardError | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | CardError | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/api/refunds.rs
// Module: hyperswitch_interfaces
//! Refunds interface
use hyperswitch_domain_models::{
router_flow_types::{Execute, RSync},
router_request_types::RefundsData,
router_response_types::RefundsResponseData,
};
use crate::api::{self, ConnectorCommon}... | crates/hyperswitch_interfaces/src/api/refunds.rs | hyperswitch_interfaces | full_file | null | null | null | 155 | null | null | null | null | null | null | null |
// Function: update_with_attempt_id
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn update_with_attempt_id(
self,
conn: &PgPooledConn,
payment_attempt: PaymentAttemptUpdate,
) -> StorageResult<Self> | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 61 | update_with_attempt_id | null | null | null | null | null | null |
// Struct: DefendDisputeResponse
// File: crates/hyperswitch_domain_models/src/router_response_types/disputes.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct DefendDisputeResponse | crates/hyperswitch_domain_models/src/router_response_types/disputes.rs | hyperswitch_domain_models | struct_definition | DefendDisputeResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | module_structure | null | null | null | 40 | null | null | null | null | null | 1 | 0 |
// Struct: PaypalBatchResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalBatchResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalBatchResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::sync::LazyLock;
use common_enums::{self, enums};
use common_utils::{
errors::CustomResult,
ext_traits::BytesExt,
request::{Me... | crates/hyperswitch_connectors/src/connectors/peachpayments.rs | hyperswitch_connectors | full_file | null | null | null | 4,766 | null | null | null | null | null | null | null |
// Struct: BillingConnectorPaymentsSyncRequest
// File: crates/hyperswitch_domain_models/src/router_request_types/revenue_recovery.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct BillingConnectorPaymentsSyncRequest | crates/hyperswitch_domain_models/src/router_request_types/revenue_recovery.rs | hyperswitch_domain_models | struct_definition | BillingConnectorPaymentsSyncRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/router/src/core/blocklist/transformers.rs
// Module: router
// Public functions: 1
use api_models::{blocklist, enums as api_enums};
use common_utils::{
ext_traits::{Encode, StringExt},
request::RequestContent,
};
use error_stack::ResultExt;
use josekit::jwe;
use masking::{PeekInterface, StrongS... | crates/router/src/core/blocklist/transformers.rs | router | full_file | null | null | null | 1,795 | null | null | null | null | null | null | null |
// Struct: SelfLinkInner
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SelfLinkInner | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | SelfLinkInner | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/payment_methods/src/core.rs
// Module: payment_methods
pub mod errors;
pub mod migration;
| crates/payment_methods/src/core.rs | payment_methods | full_file | null | null | null | 24 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query.rs
// Module: diesel_models
pub mod address;
pub mod api_keys;
pub mod blocklist_lookup;
pub mod business_profile;
mod capture;
pub mod cards_info;
pub mod configs;
pub mod authentication;
pub mod authorization;
pub mod blocklist;
pub mod blocklist_fingerprint;
pub mod callback... | crates/diesel_models/src/query.rs | diesel_models | full_file | null | null | null | 267 | null | null | null | null | null | null | null |
// Struct: ThreeDsChallengedResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDsChallengedResponse | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | ThreeDsChallengedResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: operation_derive_inner
// File: crates/router_derive/src/macros/operation.rs
// Module: router_derive
pub fn operation_derive_inner(input: DeriveInput) -> syn::Result<proc_macro::TokenStream> | crates/router_derive/src/macros/operation.rs | router_derive | function_signature | null | null | null | 52 | operation_derive_inner | null | null | null | null | null | null |
// Struct: NexixpayPreProcessingResponse
// File: crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NexixpayPreProcessingResponse | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs | hyperswitch_connectors | struct_definition | NexixpayPreProcessingResponse | 0 | [] | 55 | 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.