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 ConnectorCommon for for Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Opennode | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Opennode | ConnectorCommon for | 6 | 0 | null | null |
// Struct: PowertranzAddressDetails
// File: crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PowertranzAddressDetails | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs | hyperswitch_connectors | struct_definition | PowertranzAddressDetails | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl ForexMetric for for PaymentIntentMetrics
// File: crates/api_models/src/analytics/payment_intents.rs
// Module: api_models
// Methods: 1 total (0 public)
impl ForexMetric for for PaymentIntentMetrics | crates/api_models/src/analytics/payment_intents.rs | api_models | impl_block | null | null | null | 50 | null | PaymentIntentMetrics | ForexMetric for | 1 | 0 | null | null |
// Implementation: impl CommonMandateReference
// File: crates/diesel_models/src/payment_method.rs
// Module: diesel_models
// Methods: 2 total (2 public)
impl CommonMandateReference | crates/diesel_models/src/payment_method.rs | diesel_models | impl_block | null | null | null | 44 | null | CommonMandateReference | null | 2 | 2 | null | null |
// Struct: DynamicRoutingStatsNew
// File: crates/diesel_models/src/dynamic_routing_stats.rs
// Module: diesel_models
// Implementations: 0
pub struct DynamicRoutingStatsNew | crates/diesel_models/src/dynamic_routing_stats.rs | diesel_models | struct_definition | DynamicRoutingStatsNew | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl DynamicRoutingAlgoAccessor for for SuccessBasedAlgorithm
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 2 total (0 public)
impl DynamicRoutingAlgoAccessor for for SuccessBasedAlgorithm | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 53 | null | SuccessBasedAlgorithm | DynamicRoutingAlgoAccessor for | 2 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Payload | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Payload | ConnectorCommon for | 6 | 0 | null | null |
// Implementation: impl Default for for Database
// File: crates/storage_impl/src/config.rs
// Module: storage_impl
// Methods: 1 total (0 public)
impl Default for for Database | crates/storage_impl/src/config.rs | storage_impl | impl_block | null | null | null | 40 | null | Database | Default for | 1 | 0 | null | null |
// Implementation: impl Responder
// File: crates/router/src/analytics.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/analytics.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// Function: get_connector_transaction_id_as_string
// File: crates/api_models/src/webhooks.rs
// Module: api_models
pub fn get_connector_transaction_id_as_string(
self,
) -> Result<String, common_utils::errors::ValidationError> | crates/api_models/src/webhooks.rs | api_models | function_signature | null | null | null | 52 | get_connector_transaction_id_as_string | null | null | null | null | null | null |
// Function: payment_intents_retrieve_with_gateway_creds
// File: crates/router/src/compatibility/stripe/payment_intents.rs
// Module: router
pub fn payment_intents_retrieve_with_gateway_creds(
state: web::Data<routes::AppState>,
qs_config: web::Data<serde_qs::Config>,
req: HttpRequest,
form_payload: w... | crates/router/src/compatibility/stripe/payment_intents.rs | router | function_signature | null | null | null | 86 | payment_intents_retrieve_with_gateway_creds | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Square | api::PaymentCapture for | 0 | 0 | null | null |
// Function: create_organization
// File: crates/router/src/core/admin.rs
// Module: router
pub fn create_organization(
state: SessionState,
req: api::OrganizationCreateRequest,
) -> RouterResponse<api::OrganizationResponse> | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 51 | create_organization | null | null | null | null | null | null |
// Function: update_by_merchant_id_payout_attempt_id
// File: crates/diesel_models/src/query/payout_attempt.rs
// Module: diesel_models
pub fn update_by_merchant_id_payout_attempt_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
payout_attempt_id: &str,
payout: ... | crates/diesel_models/src/query/payout_attempt.rs | diesel_models | function_signature | null | null | null | 91 | update_by_merchant_id_payout_attempt_id | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Implementation: impl FileUpload for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl FileUpload for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Worldpayvantiv | FileUpload for | 1 | 0 | null | null |
// File: crates/router/src/workflows/outgoing_webhook_retry.rs
// Module: router
// Public structs: 1
#[cfg(feature = "payouts")]
use api_models::payouts as payout_models;
use api_models::{
enums::EventType,
webhook_events::OutgoingWebhookRequestContent,
webhooks::{OutgoingWebhook, OutgoingWebhookContent},... | crates/router/src/workflows/outgoing_webhook_retry.rs | router | full_file | null | null | null | 4,049 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/blocklist_lookup.rs
// Module: diesel_models
// Public structs: 2
use diesel::{Identifiable, Insertable, Queryable, Selectable};
use serde::{Deserialize, Serialize};
use crate::schema::blocklist_lookup;
#[derive(Default, Clone, Debug, Eq, Insertable, PartialEq, Serialize, Deserializ... | crates/diesel_models/src/blocklist_lookup.rs | diesel_models | full_file | null | null | null | 206 | null | null | null | null | null | null | null |
// Struct: BamboraRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraRefundRequest | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs | hyperswitch_connectors | struct_definition | BamboraRefundRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: generate_jwt
// File: crates/router/src/types/domain/user/decision_manager.rs
// Module: router
pub fn generate_jwt(
self,
state: &SessionState,
next_flow: &NextFlow,
user_role: &UserRole,
) -> UserResult<Secret<String>> | crates/router/src/types/domain/user/decision_manager.rs | router | function_signature | null | null | null | 64 | generate_jwt | null | null | null | null | null | null |
// Function: get_payment_filter_for_dimension
// File: crates/analytics/src/payments/filters.rs
// Module: analytics
pub fn get_payment_filter_for_dimension<T>(
dimension: PaymentDimensions,
auth: &AuthInfo,
time_range: &TimeRange,
pool: &T,
) -> FiltersResult<Vec<PaymentFilterRow>>
where
T: Analyt... | crates/analytics/src/payments/filters.rs | analytics | function_signature | null | null | null | 132 | get_payment_filter_for_dimension | null | null | null | null | null | null |
// Function: verify_recon_token
// File: crates/router/src/core/recon.rs
// Module: router
pub fn verify_recon_token(
state: SessionState,
user_with_role: authentication::UserFromTokenWithRoleInfo,
) -> UserResponse<recon_api::VerifyTokenResponse> | crates/router/src/core/recon.rs | router | function_signature | null | null | null | 64 | verify_recon_token | null | null | null | null | null | null |
// Struct: ListInvitationForUserResponse
// File: crates/api_models/src/user_role.rs
// Module: api_models
// Implementations: 0
pub struct ListInvitationForUserResponse | crates/api_models/src/user_role.rs | api_models | struct_definition | ListInvitationForUserResponse | 0 | [] | 42 | null | null | null | null | null | null | null |
// Struct: ReferencesResponse
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ReferencesResponse | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | ReferencesResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: proxy_for_payments_operation_core
// File: crates/router/src/core/payments.rs
// Module: router
pub fn proxy_for_payments_operation_core<F, Req, Op, FData, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
operation: Op,... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 359 | proxy_for_payments_operation_core | null | null | null | null | null | null |
// Function: refund_filter_list
// File: crates/router/src/core/refunds.rs
// Module: router
pub fn refund_filter_list(
state: SessionState,
merchant_context: domain::MerchantContext,
req: common_utils::types::TimeRange,
) -> RouterResponse<api_models::refunds::RefundListMetaData> | crates/router/src/core/refunds.rs | router | function_signature | null | null | null | 71 | refund_filter_list | null | null | null | null | null | null |
// Struct: HyperswitchVaultCustomerCreateResponse
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HyperswitchVaultCustomerCreateResponse | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs | hyperswitch_connectors | struct_definition | HyperswitchVaultCustomerCreateResponse | 0 | [] | 59 | null | null | null | null | null | null | null |
// Struct: CycleCheck
// File: crates/hyperswitch_constraint_graph/src/types.rs
// Module: hyperswitch_constraint_graph
// Implementations: 4
// Traits: Default, Deref, DerefMut
pub struct CycleCheck | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | struct_definition | CycleCheck | 4 | [
"Default",
"Deref",
"DerefMut"
] | 51 | null | null | null | null | null | null | null |
specific_features: None,
},
);
adyen_supported_payment_methods.add(
enums::PaymentMethod::GiftCard,
PaymentMethodType::Givex,
PaymentMethodDetails {
mandates: enums::FeatureStatus::NotSupported,
refunds: enums::FeatureStatus::Supported,
... | crates/hyperswitch_connectors/src/connectors/adyen.rs#chunk3 | hyperswitch_connectors | chunk | null | null | null | 380 | null | null | null | null | null | null | null |
// Function: get_filters_for_payments
// File: crates/diesel_models/src/query/payment_attempt.rs
// Module: diesel_models
pub fn get_filters_for_payments(
conn: &PgPooledConn,
pi: &[PaymentIntent],
merchant_id: &common_utils::id_type::MerchantId,
) -> StorageResult<(
Vec<String>,
... | crates/diesel_models/src/query/payment_attempt.rs | diesel_models | function_signature | null | null | null | 116 | get_filters_for_payments | null | null | null | null | null | null |
// Function: payouts_fulfill_core
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn payouts_fulfill_core(
state: SessionState,
merchant_context: domain::MerchantContext,
req: payouts::PayoutActionRequest,
) -> RouterResponse<payouts::PayoutCreateResponse> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 70 | payouts_fulfill_core | null | null | null | null | null | null |
// Struct: RevenueRecoveryData
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RevenueRecoveryData | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | struct_definition | RevenueRecoveryData | 0 | [] | 44 | null | null | null | null | null | null | null |
// Implementation: impl PaymentSync for for Worldline
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSync for for Worldline | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Worldline | PaymentSync for | 0 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Opayo
// File: crates/hyperswitch_connectors/src/connectors/opayo.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Opayo | crates/hyperswitch_connectors/src/connectors/opayo.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Opayo | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: ThreeDsDecisionRuleExecuteResponse
// File: crates/api_models/src/three_ds_decision_rule.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct ThreeDsDecisionRuleExecuteResponse | crates/api_models/src/three_ds_decision_rule.rs | api_models | struct_definition | ThreeDsDecisionRuleExecuteResponse | 1 | [
"common_utils::events::ApiEventMetric"
] | 57 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Fiservemea | ConnectorValidation for | 0 | 0 | null | null |
// Struct: HelcimVerifyRequest
// File: crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HelcimVerifyRequest | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs | hyperswitch_connectors | struct_definition | HelcimVerifyRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: merchant_account_list
// File: crates/router/src/routes/admin.rs
// Module: router
pub fn merchant_account_list(
state: web::Data<AppState>,
req: HttpRequest,
query_params: web::Query<api_models::admin::MerchantAccountListRequest>,
) -> HttpResponse | crates/router/src/routes/admin.rs | router | function_signature | null | null | null | 63 | merchant_account_list | null | null | null | null | null | null |
// Implementation: impl Capture
// File: crates/diesel_models/src/query/capture.rs
// Module: diesel_models
// Methods: 3 total (0 public)
impl Capture | crates/diesel_models/src/query/capture.rs | diesel_models | impl_block | null | null | null | 37 | null | Capture | null | 3 | 0 | null | null |
// Function: get_payment_update_enabled_for_client_auth_key
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: allow payment update via client auth default should be false
pub fn get_payment_update_enabled_for_client_auth_key(&self) -> String | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 60 | get_payment_update_enabled_for_client_auth_key | null | null | null | null | null | null |
// Function: get_filter_type_clause
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn get_filter_type_clause(&self) -> Option<String> | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 36 | get_filter_type_clause | null | null | null | null | null | null |
// Function: get_authorization_info_with_groups
// File: crates/router/src/core/user_role.rs
// Module: router
pub fn get_authorization_info_with_groups(
_state: SessionState,
) -> UserResponse<user_role_api::AuthorizationInfoResponse> | crates/router/src/core/user_role.rs | router | function_signature | null | null | null | 55 | get_authorization_info_with_groups | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for CardNetworkTokenizeResponse
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for CardNetworkTokenizeResponse | crates/api_models/src/payment_methods.rs | api_models | impl_block | null | null | null | 63 | null | CardNetworkTokenizeResponse | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/mifinity.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/mifinity.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Struct: SdkEventMetricsBucketIdentifier
// File: crates/api_models/src/analytics/sdk_events.rs
// Module: api_models
// Implementations: 3
// Traits: Hash, PartialEq
pub struct SdkEventMetricsBucketIdentifier | crates/api_models/src/analytics/sdk_events.rs | api_models | struct_definition | SdkEventMetricsBucketIdentifier | 3 | [
"Hash",
"PartialEq"
] | 51 | null | null | null | null | null | null | null |
// Implementation: impl SurchargeMetadata
// File: crates/router/src/core/payments/types.rs
// Module: router
// Methods: 10 total (8 public)
impl SurchargeMetadata | crates/router/src/core/payments/types.rs | router | impl_block | null | null | null | 40 | null | SurchargeMetadata | null | 10 | 8 | null | null |
// Implementation: impl MerchantId
// File: crates/router/src/types/domain/user.rs
// Module: router
// Methods: 2 total (2 public)
impl MerchantId | crates/router/src/types/domain/user.rs | router | impl_block | null | null | null | 36 | null | MerchantId | null | 2 | 2 | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 52 | null | null | null | null | null | null | null |
))
}
fn handle_response(
&self,
data: &PaymentsIncrementalAuthorizationRouterData,
event_builder: Option<&mut ConnectorEvent>,
res: Response,
) -> CustomResult<
RouterData<
IncrementalAuthorization,
PaymentsIncrementalAuthorizationData,... | crates/hyperswitch_connectors/src/connectors/cybersource.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 1,479 | null | null | null | null | null | null | null |
// Function: send_request_to_key_service_for_merchant
// File: crates/router/src/core/encryption.rs
// Module: router
pub fn send_request_to_key_service_for_merchant(
state: &SessionState,
keys: Vec<MerchantKeyStore>,
) -> errors::CustomResult<usize, errors::ApiErrorResponse> | crates/router/src/core/encryption.rs | router | function_signature | null | null | null | 68 | send_request_to_key_service_for_merchant | null | null | null | null | null | null |
// Implementation: impl api::PaymentToken for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentToken for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Bluesnap | api::PaymentToken for | 0 | 0 | null | null |
// Struct: PazeWalletData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PazeWalletData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | PazeWalletData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: StripeSplitRefundRequest
// File: crates/common_types/src/refunds.rs
// Module: common_types
// Implementations: 0
// Documentation: Charge specific fields for controlling the revert of funds from either platform or connected account for Stripe. Check sub-fields for more details.
pub struct StripeSplitRefu... | crates/common_types/src/refunds.rs | common_types | struct_definition | StripeSplitRefundRequest | 0 | [] | 68 | null | null | null | null | null | null | null |
// Struct: NovalnetRefundSyncResponse
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetRefundSyncResponse | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetRefundSyncResponse | 0 | [] | 56 | null | null | null | null | null | null | null |
// Function: get_extended_card_info
// File: crates/router/src/core/payments.rs
// Module: router
pub fn get_extended_card_info(
state: SessionState,
merchant_id: id_type::MerchantId,
payment_id: id_type::PaymentId,
) -> RouterResponse<payments_api::ExtendedCardInfoResponse> | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 71 | get_extended_card_info | null | null | null | null | null | null |
// Implementation: impl super::behaviour::Conversion for for Relay
// File: crates/hyperswitch_domain_models/src/relay.rs
// Module: hyperswitch_domain_models
// Methods: 3 total (0 public)
impl super::behaviour::Conversion for for Relay | crates/hyperswitch_domain_models/src/relay.rs | hyperswitch_domain_models | impl_block | null | null | null | 57 | null | Relay | super::behaviour::Conversion for | 3 | 0 | null | null |
// Implementation: impl api::Payment for for Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Moneris | api::Payment for | 0 | 0 | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for ProfileAcquirerCreate
// File: crates/api_models/src/profile_acquirer.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for ProfileAcquirerCreate | crates/api_models/src/profile_acquirer.rs | api_models | impl_block | null | null | null | 62 | null | ProfileAcquirerCreate | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// Function: remove_entry_from_blocklist
// File: crates/router/src/routes/blocklist.rs
// Module: router
pub fn remove_entry_from_blocklist(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<api_blocklist::DeleteFromBlocklistRequest>,
) -> HttpResponse | crates/router/src/routes/blocklist.rs | router | function_signature | null | null | null | 68 | remove_entry_from_blocklist | null | null | null | null | null | null |
// Struct: ProcessingInformation
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProcessingInformation | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | ProcessingInformation | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payme | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: ConnectorAuthTypeAndMetadataValidation
// File: crates/router/src/core/connector_validation.rs
// Module: router
// Implementations: 1
pub struct ConnectorAuthTypeAndMetadataValidation<'a> | crates/router/src/core/connector_validation.rs | router | struct_definition | ConnectorAuthTypeAndMetadataValidation | 1 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Worldline
// File: crates/hyperswitch_connectors/src/connectors/worldline.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Worldline | crates/hyperswitch_connectors/src/connectors/worldline.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Worldline | api::PaymentAuthorize for | 0 | 0 | null | null |
// Struct: WorldpayErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct WorldpayErrorResponse | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | WorldpayErrorResponse | 1 | [] | 45 | null | null | null | null | null | null | null |
// Struct: DisputeFilterValue
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct DisputeFilterValue | crates/api_models/src/analytics.rs | api_models | struct_definition | DisputeFilterValue | 0 | [] | 38 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs
// Module: hyperswitch_connectors
// Public structs: 16
use common_utils::{pii, types::StringMajorUnit};
use masking::Secret;
use serde::{Deserialize, Serialize};
use super::requests::DocumentType;
// Response body for POST /sign_in
#[der... | crates/hyperswitch_connectors/src/connectors/facilitapay/responses.rs | hyperswitch_connectors | full_file | null | null | null | 2,528 | null | null | null | null | null | null | null |
// Struct: DataResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DataResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | DataResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: BamboraapacMandateResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraapacMandateResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | BamboraapacMandateResponse | 0 | [] | 62 | null | null | null | null | null | null | null |
// File: crates/external_services/src/http_client.rs
// Module: external_services
// Public functions: 1
use common_utils::{consts, errors::CustomResult, request::Request};
use hyperswitch_interfaces::{errors::HttpClientError, types::Proxy};
use request::{HeaderExt, RequestBuilderExt};
use router_env::{instrument, log... | crates/external_services/src/http_client.rs | external_services | full_file | null | null | null | 1,514 | null | null | null | null | null | null | null |
// Function: check_currency_country_filters
// File: crates/router/src/core/payout_link.rs
// Module: router
pub fn check_currency_country_filters(
payout_method_filter: Option<&PaymentMethodFilters>,
request_payout_method_type: &api_models::payment_methods::RequestPaymentMethodTypes,
currency: common_enum... | crates/router/src/core/payout_link.rs | router | function_signature | null | null | null | 93 | check_currency_country_filters | null | null | null | null | null | null |
// Struct: TwoFactorAuthAttempts
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct TwoFactorAuthAttempts | crates/api_models/src/user.rs | api_models | struct_definition | TwoFactorAuthAttempts | 0 | [] | 37 | null | null | null | null | null | null | null |
// Function: filter_resources
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
pub fn filter_resources<D, R, M>(
&self,
state: &KeyManagerState,
key_store: &MerchantKeyStore,
storage_scheme: MerchantStorageScheme,
filter_resource_db_fut: R,
fil... | crates/storage_impl/src/kv_router_store.rs | storage_impl | function_signature | null | null | null | 89 | filter_resources | null | null | null | null | null | null |
// File: crates/router/src/services/authentication.rs
// Module: router
// Public functions: 30
// Public structs: 44
use std::str::FromStr;
use actix_web::http::header::HeaderMap;
#[cfg(feature = "v2")]
use api_models::payment_methods::PaymentMethodIntentConfirm;
#[cfg(feature = "v1")]
use api_models::payment_method... | crates/router/src/services/authentication.rs#chunk0 | router | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Struct: CoinbaseWebhookDetails
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CoinbaseWebhookDetails | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | struct_definition | CoinbaseWebhookDetails | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Breadpay
// File: crates/hyperswitch_connectors/src/connectors/breadpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Breadpay | crates/hyperswitch_connectors/src/connectors/breadpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Breadpay | api::PaymentAuthorize for | 0 | 0 | null | null |
// File: crates/external_services/src/hashicorp_vault.rs
// Module: external_services
//! Interactions with the HashiCorp Vault
pub mod core;
pub mod implementers;
| crates/external_services/src/hashicorp_vault.rs | external_services | full_file | null | null | null | 40 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: DisputePayload
// File: crates/hyperswitch_interfaces/src/disputes.rs
// Module: hyperswitch_interfaces
// Implementations: 0
pub struct DisputePayload | crates/hyperswitch_interfaces/src/disputes.rs | hyperswitch_interfaces | struct_definition | DisputePayload | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl UserRole
// File: crates/diesel_models/src/query/user_role.rs
// Module: diesel_models
// Methods: 7 total (0 public)
impl UserRole | crates/diesel_models/src/query/user_role.rs | diesel_models | impl_block | null | null | null | 37 | null | UserRole | null | 7 | 0 | null | null |
// Implementation: impl AddressUpdateInternal
// File: crates/diesel_models/src/address.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl AddressUpdateInternal | crates/diesel_models/src/address.rs | diesel_models | impl_block | null | null | null | 39 | null | AddressUpdateInternal | null | 1 | 1 | null | null |
// Implementation: impl PaymentDistributionAccumulator for for ErrorDistributionAccumulator
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl PaymentDistributionAccumulator for for ErrorDistributionAccumulator | crates/analytics/src/payments/accumulator.rs | analytics | impl_block | null | null | null | 58 | null | ErrorDistributionAccumulator | PaymentDistributionAccumulator for | 2 | 0 | null | null |
// Struct: GlobepayErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobepayErrorResponse | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs | hyperswitch_connectors | struct_definition | GlobepayErrorResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/router/src/core/payments.rs
// Module: router
// Public submodules:
pub mod access_token;
pub mod conditional_configs;
pub mod customers;
pub mod flows;
pub mod helpers;
pub mod operations;
pub mod retry;
pub mod routing;
pub mod session_operation;
pub mod tokenization;
pub mod tran... | crates/router/src/core/payments.rs | router | module_structure | null | null | null | 229 | null | null | null | null | null | 14 | 4 |
// Function: log_payment_intent
// File: crates/router/src/services/kafka.rs
// Module: router
pub fn log_payment_intent(
&self,
intent: &PaymentIntent,
old_intent: Option<PaymentIntent>,
tenant_id: TenantID,
infra_values: Option<Value>,
) -> MQResult<()> | crates/router/src/services/kafka.rs | router | function_signature | null | null | null | 69 | log_payment_intent | null | null | null | null | null | null |
// Struct: Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refund, ... | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | struct_definition | Stax | 17 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 130 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Nmi
// File: crates/hyperswitch_connectors/src/connectors/nmi.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorCommon for for Nmi | crates/hyperswitch_connectors/src/connectors/nmi.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Nmi | ConnectorCommon for | 4 | 0 | null | null |
// File: crates/api_models/src/events/payment.rs
// Module: api_models
use common_utils::events::{ApiEventMetric, ApiEventsType};
#[cfg(feature = "v2")]
use super::{
PaymentAttemptListRequest, PaymentAttemptListResponse, PaymentStartRedirectionRequest,
PaymentsCreateIntentRequest, PaymentsGetIntentRequest, Pa... | crates/api_models/src/events/payment.rs | api_models | full_file | null | null | null | 3,730 | null | null | null | null | null | null | null |
// Implementation: impl Helcim
// File: crates/hyperswitch_connectors/src/connectors/helcim.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Helcim | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | null | null | null | 49 | null | Helcim | null | 1 | 1 | null | null |
// Struct: TesouroErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TesouroErrorResponse | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs | hyperswitch_connectors | struct_definition | TesouroErrorResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Barclaycard
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Barclaycard | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Barclaycard | api::PaymentSync for | 0 | 0 | null | null |
// Struct: Archipel3DS
// File: crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Archipel3DS | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs | hyperswitch_connectors | struct_definition | Archipel3DS | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: MandateCard
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandateCard | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | MandateCard | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: api_key_retrieve
// File: crates/openapi/src/routes/api_keys.rs
// Module: openapi
pub fn api_key_retrieve() | crates/openapi/src/routes/api_keys.rs | openapi | function_signature | null | null | null | 33 | api_key_retrieve | null | null | null | null | null | null |
// Struct: CardRange
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct CardRange | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | CardRange | 1 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/api_keys.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/api_keys.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Module Structure
// File: crates/hyperswitch_domain_models/src/lib.rs
// Module: hyperswitch_domain_models
// Public submodules:
pub mod address;
pub mod api;
pub mod authentication;
pub mod behaviour;
pub mod bulk_tokenization;
pub mod business_profile;
pub mod callback_mapper;
pub mod card_testing_guard_data;
pub... | crates/hyperswitch_domain_models/src/lib.rs | hyperswitch_domain_models | module_structure | null | null | null | 109 | null | null | null | null | null | 42 | 0 |
// Function: internal_sync_refund_with_gateway
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn internal_sync_refund_with_gateway(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payment_attempt: &storage::PaymentAttempt,
payment_intent: &storage::PaymentIntent,
... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 115 | internal_sync_refund_with_gateway | null | null | null | null | null | null |
// Function: create_finish_redirection_url
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Documentation: This is the url to which the customer will be redirected to, after completing the redirection flow
pub fn create_finish_redirection_url(
&self,
ba... | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 100 | create_finish_redirection_url | null | null | null | null | null | null |
// Implementation: impl Poll
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Poll | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Poll | null | 1 | 1 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.