text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 25
use base64::Engine;
use common_enums::enums;
use common_utils::{
consts::BASE64_ENGINE,
pii::{Email, IpAddress},
types::MinorUnit,
};
use error_stack::ResultExt;
use hyperswitc... | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 4,792 | null | null | null | null | null | null | null |
// Struct: ClickToPay
// File: crates/router/src/core/unified_authentication_service/types.rs
// Module: router
// Implementations: 0
pub struct ClickToPay | crates/router/src/core/unified_authentication_service/types.rs | router | struct_definition | ClickToPay | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/boku.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/boku.rs | hyperswitch_connectors | function_signature | null | null | null | 38 | new | null | null | null | null | null | null |
// Struct: RefundProcessedAmount
// File: crates/api_models/src/analytics/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundProcessedAmount | crates/api_models/src/analytics/refunds.rs | api_models | struct_definition | RefundProcessedAmount | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: OpayoRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OpayoRefundRequest | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs | hyperswitch_connectors | struct_definition | OpayoRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: payments_update_intent
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_update_intent(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsUpdateIntentRequest>,
path: web::Path<common_utils::id_type::Gl... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 87 | payments_update_intent | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Vgs
// File: crates/hyperswitch_connectors/src/connectors/vgs.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Vgs | crates/hyperswitch_connectors/src/connectors/vgs.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Vgs | api::PaymentVoid for | 0 | 0 | null | null |
// Struct: NovalnetPaymentsRequestTransaction
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NovalnetPaymentsRequestTransaction | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | NovalnetPaymentsRequestTransaction | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: payments_list
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_list(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
payload: web::Query<payment_types::PaymentListConstraints>,
) -> impl Responder | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 66 | payments_list | null | null | null | null | null | null |
// Implementation: impl Rapyd
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Rapyd | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | impl_block | null | null | null | 48 | null | Rapyd | null | 1 | 1 | null | null |
// Struct: RedirectUrls
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedirectUrls | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | RedirectUrls | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: ProfileNew
// File: crates/router/src/routes/app.rs
// Module: router
// Implementations: 1
pub struct ProfileNew | crates/router/src/routes/app.rs | router | struct_definition | ProfileNew | 1 | [] | 32 | null | null | null | null | null | null | null |
// Struct: GatewayStatusMappingUpdate
// File: crates/hyperswitch_domain_models/src/gsm.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct GatewayStatusMappingUpdate | crates/hyperswitch_domain_models/src/gsm.rs | hyperswitch_domain_models | struct_definition | GatewayStatusMappingUpdate | 0 | [] | 44 | null | null | null | null | null | null | null |
// Function: migrate_routing_rules_for_profile
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn migrate_routing_rules_for_profile(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<routing_types::RuleMigrationQuery>,
) -> HttpResponse | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 64 | migrate_routing_rules_for_profile | null | null | null | null | null | null |
// Struct: StoredPaymentCounterparty
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StoredPaymentCounterparty<'a, F> | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | StoredPaymentCounterparty | 0 | [] | 59 | null | null | null | null | null | null | null |
// Function: is_network_token_with_network_transaction_id_flow
// File: crates/router/src/core/payments.rs
// Module: router
pub fn is_network_token_with_network_transaction_id_flow(
is_connector_agnostic_mit_enabled: Option<bool>,
is_network_tokenization_enabled: bool,
payment_method_info: &domain::Paymen... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 80 | is_network_token_with_network_transaction_id_flow | null | null | null | null | null | null |
_ => Err(errors::ConnectorError::WebhookEventTypeNotFound),
}
}
}
#[derive(Default, Debug, Serialize, Deserialize, Eq, PartialEq, Clone)]
#[serde(rename_all = "PascalCase")]
pub struct WebhookReferences {
pub merchant_reference: Option<String>,
pub payment_id: Option<String>,
pub pa... | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs#chunk2 | hyperswitch_connectors | chunk | null | null | null | 294 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Bamboraapac
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Bamboraapac | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Bamboraapac | api::PaymentSession for | 0 | 0 | null | null |
// Struct: BrowserInfo
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BrowserInfo | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | BrowserInfo | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: ReportConfig
// File: crates/analytics/src/lib.rs
// Module: analytics
// Implementations: 0
pub struct ReportConfig | crates/analytics/src/lib.rs | analytics | struct_definition | ReportConfig | 0 | [] | 32 | null | null | null | null | null | null | null |
// Struct: PreAuthenticationDetails
// File: crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PreAuthenticationDetails | crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs | hyperswitch_domain_models | struct_definition | PreAuthenticationDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: FrmConfigs
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct FrmConfigs | crates/api_models/src/admin.rs | api_models | struct_definition | FrmConfigs | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: ConnectorNetworkTxnId
// File: crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct ConnectorNetworkTxnId | crates/hyperswitch_domain_models/src/router_flow_types/webhooks.rs | hyperswitch_domain_models | struct_definition | ConnectorNetworkTxnId | 1 | [] | 49 | null | null | null | null | null | null | null |
// Function: render_pm_collect_link
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn render_pm_collect_link(
_state: SessionState,
_merchant_context: domain::MerchantContext,
_req: payment_methods::PaymentMethodCollectLinkRenderRequest,
) -> RouterResponse<services::GenericLinkFo... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 73 | render_pm_collect_link | null | null | null | null | null | null |
// Function: resume_revenue_recovery_process_tracker
// File: crates/router/src/core/revenue_recovery.rs
// Module: router
pub fn resume_revenue_recovery_process_tracker(
state: SessionState,
id: id_type::GlobalPaymentId,
request_retrigger: revenue_recovery::RevenueRecoveryRetriggerRequest,
) -> RouterResp... | crates/router/src/core/revenue_recovery.rs | router | function_signature | null | null | null | 82 | resume_revenue_recovery_process_tracker | null | null | null | null | null | null |
// Struct: Role
// File: crates/diesel_models/src/role.rs
// Module: diesel_models
// Implementations: 0
pub struct Role | crates/diesel_models/src/role.rs | diesel_models | struct_definition | Role | 0 | [] | 33 | null | null | null | null | null | null | null |
// Struct: UnifiedAuthenticationServicePostAuthenticateRequest
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct UnifiedAuthenticationServicePostAuthenticateRequest | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | UnifiedAuthenticationServicePostAuthenticateRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: LoonioCustomerProfile
// File: crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct LoonioCustomerProfile | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs | hyperswitch_connectors | struct_definition | LoonioCustomerProfile | 0 | [] | 50 | 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 |
// Struct: EventNew
// File: crates/diesel_models/src/events.rs
// Module: diesel_models
// Implementations: 0
pub struct EventNew | crates/diesel_models/src/events.rs | diesel_models | struct_definition | EventNew | 0 | [] | 34 | null | null | null | null | null | null | null |
// Function: apply_changeset
// File: crates/diesel_models/src/capture.rs
// Module: diesel_models
pub fn apply_changeset(self, source: Capture) -> Capture | crates/diesel_models/src/capture.rs | diesel_models | function_signature | null | null | null | 38 | apply_changeset | null | null | null | null | null | null |
// Struct: FraudCheckTransactionData
// File: crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct FraudCheckTransactionData | crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs | hyperswitch_domain_models | struct_definition | FraudCheckTransactionData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: is_webhook_delivery_retryable_error
// File: crates/router/src/core/errors.rs
// Module: router
pub fn is_webhook_delivery_retryable_error(&self) -> bool | crates/router/src/core/errors.rs | router | function_signature | null | null | null | 40 | is_webhook_delivery_retryable_error | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 83
use api_models::webhooks::IncomingWebhookEvent;
use common_enums::enums;
use common_utils::{
pii,
types::{MinorUnit, StringMajorUnit},
};
use error_stack::ResultExt;
use hyper... | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Struct: CreateSubscriptionResponse
// File: crates/api_models/src/subscription.rs
// Module: api_models
// Implementations: 2
// Traits: ApiEventMetric
pub struct CreateSubscriptionResponse | crates/api_models/src/subscription.rs | api_models | struct_definition | CreateSubscriptionResponse | 2 | [
"ApiEventMetric"
] | 43 | null | null | null | null | null | null | null |
// Implementation: impl fred::types::FromRedis for for SetnxReply
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
// Methods: 1 total (0 public)
impl fred::types::FromRedis for for SetnxReply | crates/redis_interface/src/types.rs | redis_interface | impl_block | null | null | null | 55 | null | SetnxReply | fred::types::FromRedis for | 1 | 0 | null | null |
// Function: is_upstream_timeout
// File: crates/common_enums/src/enums.rs
// Module: common_enums
pub fn is_upstream_timeout(&self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 38 | is_upstream_timeout | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Inespay
// File: crates/hyperswitch_connectors/src/connectors/inespay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Inespay | crates/hyperswitch_connectors/src/connectors/inespay.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Inespay | api::RefundExecute for | 0 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 24
use std::collections::HashMap;
use common_enums::enums;
use common_utils::{pii, request::Method, types::StringMajorUnit};
use error_stack::ResultExt;
use hyperswitch_domain_models::{
... | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 3,164 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for ProxyResponse
// File: crates/api_models/src/proxy.rs
// Module: api_models
// Methods: 0 total (0 public)
impl common_utils::events::ApiEventMetric for for ProxyResponse | crates/api_models/src/proxy.rs | api_models | impl_block | null | null | null | 57 | null | ProxyResponse | common_utils::events::ApiEventMetric for | 0 | 0 | null | null |
// Struct: WorldpayRouterData
// File: crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WorldpayRouterData<T> | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs | hyperswitch_connectors | struct_definition | WorldpayRouterData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: RelayRequestInner
// File: crates/router/src/core/relay.rs
// Module: router
// Implementations: 1
pub struct RelayRequestInner<T: RelayInterface + ?Sized> | crates/router/src/core/relay.rs | router | struct_definition | RelayRequestInner | 1 | [] | 44 | null | null | null | null | null | null | null |
// Struct: EventRetrieveResponse
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct EventRetrieveResponse | crates/api_models/src/webhook_events.rs | api_models | struct_definition | EventRetrieveResponse | 1 | [
"common_utils::events::ApiEventMetric"
] | 49 | null | null | null | null | null | null | null |
// Struct: BlocklistLookupNew
// File: crates/diesel_models/src/blocklist_lookup.rs
// Module: diesel_models
// Implementations: 0
pub struct BlocklistLookupNew | crates/diesel_models/src/blocklist_lookup.rs | diesel_models | struct_definition | BlocklistLookupNew | 0 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Razorpay
// File: crates/hyperswitch_connectors/src/connectors/razorpay.rs
// Module: hyperswitch_connectors
// Methods: 4 total (0 public)
impl ConnectorSpecifications for for Razorpay | crates/hyperswitch_connectors/src/connectors/razorpay.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Razorpay | ConnectorSpecifications for | 4 | 0 | null | null |
// Function: insert
// File: crates/diesel_models/src/query/refund.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Refund> | crates/diesel_models/src/query/refund.rs | diesel_models | function_signature | null | null | null | 44 | insert | null | null | null | null | null | null |
// Implementation: impl api::PaymentsPreProcessing for for Nordea
// File: crates/hyperswitch_connectors/src/connectors/nordea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentsPreProcessing for for Nordea | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Nordea | api::PaymentsPreProcessing for | 0 | 0 | null | null |
// Implementation: impl Payment for for Plaid
// File: crates/hyperswitch_connectors/src/connectors/plaid.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl Payment for for Plaid | crates/hyperswitch_connectors/src/connectors/plaid.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Plaid | Payment for | 0 | 0 | null | null |
// Struct: EncryptedData
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 1
// Traits: Serialize
pub struct EncryptedData | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | EncryptedData | 1 | [
"Serialize"
] | 42 | null | null | null | null | null | null | null |
// Implementation: impl OpenSearchClient
// File: crates/analytics/src/opensearch.rs
// Module: analytics
// Methods: 3 total (1 public)
impl OpenSearchClient | crates/analytics/src/opensearch.rs | analytics | impl_block | null | null | null | 39 | null | OpenSearchClient | null | 3 | 1 | null | null |
// Struct: PaysafeApplePayHeader
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaysafeApplePayHeader | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | struct_definition | PaysafeApplePayHeader | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: NuveiPaymentFlowRequest
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NuveiPaymentFlowRequest | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | struct_definition | NuveiPaymentFlowRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Implementation: impl PaymentCreate
// File: crates/router/src/core/payments/operations/payment_create.rs
// Module: router
// Methods: 4 total (0 public)
impl PaymentCreate | crates/router/src/core/payments/operations/payment_create.rs | router | impl_block | null | null | null | 40 | null | PaymentCreate | null | 4 | 0 | null | null |
// Function: sync_relay_refund_with_gateway
// File: crates/router/src/core/relay.rs
// Module: router
pub fn sync_relay_refund_with_gateway(
state: &SessionState,
merchant_context: &domain::MerchantContext,
relay_record: &relay::Relay,
connector_account: domain::MerchantConnectorAccount,
) -> RouterRe... | crates/router/src/core/relay.rs | router | function_signature | null | null | null | 85 | sync_relay_refund_with_gateway | null | null | null | null | null | null |
// Function: get_string_repr
// File: crates/common_utils/src/id_type/global_id/token.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/token.rs | common_utils | function_signature | null | null | null | 48 | get_string_repr | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/chargebee.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/chargebee.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: PayuPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/payu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayuPaymentsResponse | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs | hyperswitch_connectors | struct_definition | PayuPaymentsResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl MerchantDefaultConfigUpdate
// File: crates/router/src/core/admin.rs
// Module: router
// Methods: 2 total (0 public)
impl MerchantDefaultConfigUpdate | crates/router/src/core/admin.rs | router | impl_block | null | null | null | 39 | null | MerchantDefaultConfigUpdate | null | 2 | 0 | null | null |
// Implementation: impl MerchantConnectorAccount
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl MerchantConnectorAccount | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 37 | null | MerchantConnectorAccount | null | 1 | 1 | null | null |
chosen,
backend_input,
eligible_connectors,
profile_id,
&api_enums::TransactionType::from(transaction_data),
)
.await
}
pub async fn perform_fallback_routing(
state: &SessionState,
key_store: &domain::MerchantKeyStore,
transaction_data: &routing::TransactionD... | crates/router/src/core/payments/routing.rs#chunk1 | router | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Function: from_hashmap
// File: crates/drainer/src/types.rs
// Module: drainer
pub fn from_hashmap(
hashmap: HashMap<String, String>,
) -> errors::CustomResult<Self, errors::ParsingError> | crates/drainer/src/types.rs | drainer | function_signature | null | null | null | 51 | from_hashmap | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Globepay
// File: crates/hyperswitch_connectors/src/connectors/globepay.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Globepay | crates/hyperswitch_connectors/src/connectors/globepay.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Globepay | ConnectorSpecifications for | 3 | 0 | null | null |
// Struct: GlobalpayRefreshTokenErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/globalpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GlobalpayRefreshTokenErrorResponse | crates/hyperswitch_connectors/src/connectors/globalpay/response.rs | hyperswitch_connectors | struct_definition | GlobalpayRefreshTokenErrorResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: AuthorizedotnetQueryParams
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AuthorizedotnetQueryParams | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | AuthorizedotnetQueryParams | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: generate_external_token
// File: crates/router/src/core/external_service_auth.rs
// Module: router
pub fn generate_external_token(
state: SessionState,
user: authentication::UserFromToken,
external_service_type: ExternalServiceType,
) -> RouterResponse<external_service_auth_api::ExternalTokenR... | crates/router/src/core/external_service_auth.rs | router | function_signature | null | null | null | 69 | generate_external_token | null | null | null | null | null | null |
// Implementation: impl PaymentAttempt
// File: crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
// Module: hyperswitch_domain_models
// Methods: 3 total (3 public)
impl PaymentAttempt | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs | hyperswitch_domain_models | impl_block | null | null | null | 45 | null | PaymentAttempt | null | 3 | 3 | null | null |
// Implementation: impl std::ops::DerefMut for for PaymentsMandateReference
// File: crates/hyperswitch_domain_models/src/mandates.rs
// Module: hyperswitch_domain_models
// Methods: 1 total (0 public)
impl std::ops::DerefMut for for PaymentsMandateReference | crates/hyperswitch_domain_models/src/mandates.rs | hyperswitch_domain_models | impl_block | null | null | null | 68 | null | PaymentsMandateReference | std::ops::DerefMut for | 1 | 0 | null | null |
// Struct: FiuuMandateRequest
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuMandateRequest | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuMandateRequest | 0 | [] | 56 | null | null | null | null | null | null | null |
// Implementation: impl ApiEventMetric for for AuthenticationAuthenticateResponse
// File: crates/api_models/src/authentication.rs
// Module: api_models
// Methods: 1 total (0 public)
impl ApiEventMetric for for AuthenticationAuthenticateResponse | crates/api_models/src/authentication.rs | api_models | impl_block | null | null | null | 48 | null | AuthenticationAuthenticateResponse | ApiEventMetric for | 1 | 0 | null | null |
// Struct: TokenizePayloadRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct TokenizePayloadRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | TokenizePayloadRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: RedirectPaymentFlowResponse
// File: crates/router/src/types.rs
// Module: router
// Implementations: 0
pub struct RedirectPaymentFlowResponse | crates/router/src/types.rs | router | struct_definition | RedirectPaymentFlowResponse | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: validate_file_upload
// File: crates/router/src/core/files/helpers.rs
// Module: router
pub fn validate_file_upload(
state: &SessionState,
merchant_context: domain::MerchantContext,
create_file_request: api::CreateFileRequest,
) -> CustomResult<(), errors::ApiErrorResponse> | crates/router/src/core/files/helpers.rs | router | function_signature | null | null | null | 66 | validate_file_upload | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Fiserv
// File: crates/hyperswitch_connectors/src/connectors/fiserv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Fiserv | crates/hyperswitch_connectors/src/connectors/fiserv.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Fiserv | api::PaymentVoid for | 0 | 0 | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Struct: RefundListResponse
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundListResponse | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundListResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: with_card_network_transaction_id
// File: crates/router/src/core/payments.rs
// Module: router
pub fn with_card_network_transaction_id(
mut self,
is_card_with_ntid_flow: bool,
payment_method_info: &domain::PaymentMethod,
) -> Self | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 62 | with_card_network_transaction_id | null | null | null | null | null | null |
// Implementation: impl ApiKeyNew
// File: crates/diesel_models/src/query/api_keys.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl ApiKeyNew | crates/diesel_models/src/query/api_keys.rs | diesel_models | impl_block | null | null | null | 41 | null | ApiKeyNew | null | 1 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Dlocal
// File: crates/hyperswitch_connectors/src/connectors/dlocal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Dlocal | crates/hyperswitch_connectors/src/connectors/dlocal.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Dlocal | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Implementation: impl api::Payment for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Billwerk | api::Payment for | 0 | 0 | null | null |
// File: crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs
// Module: analytics
use std::collections::HashSet;
use api_models::analytics::{
refunds::{RefundDimensions, RefundFilters, RefundMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_utils::errors::ReportSw... | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs | analytics | full_file | null | null | null | 963 | null | null | null | null | null | null | null |
// Struct: SamsungPayWalletData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct SamsungPayWalletData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | SamsungPayWalletData | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: skip_locker_call_and_migrate_payment_method
// File: crates/payment_methods/src/core/migration/payment_methods.rs
// Module: payment_methods
pub fn skip_locker_call_and_migrate_payment_method(
state: &state::PaymentMethodsState,
req: &pm_api::PaymentMethodMigrate,
merchant_id: id_type::Merchan... | crates/payment_methods/src/core/migration/payment_methods.rs | payment_methods | function_signature | null | null | null | 151 | skip_locker_call_and_migrate_payment_method | null | null | null | null | null | null |
// Function: set_error_response_body
// File: crates/hyperswitch_interfaces/src/events/routing_api_logs.rs
// Module: hyperswitch_interfaces
// Documentation: fn set_error_response_body
pub fn set_error_response_body<T: Serialize>(&mut self, response: &T) | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs | hyperswitch_interfaces | function_signature | null | null | null | 59 | set_error_response_body | null | null | null | null | null | null |
// Struct: ShopperDetails
// File: crates/hyperswitch_connectors/src/connectors/volt/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ShopperDetails | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs | hyperswitch_connectors | struct_definition | ShopperDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: PlacetopayRefundStatusResponse
// File: crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlacetopayRefundStatusResponse | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs | hyperswitch_connectors | struct_definition | PlacetopayRefundStatusResponse | 0 | [] | 59 | null | null | null | null | null | null | null |
// Struct: VerificationResults
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VerificationResults | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | VerificationResults | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: operation
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
pub fn operation<'a>(&self) -> &'a str | crates/diesel_models/src/kv.rs | diesel_models | function_signature | null | null | null | 35 | operation | null | null | null | null | null | null |
// Struct: ThreeDSData
// File: crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSData | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDSData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: RecordAttempt
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct RecordAttempt | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | RecordAttempt | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: TokenizeCardRequest
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct TokenizeCardRequest | crates/api_models/src/payment_methods.rs | api_models | struct_definition | TokenizeCardRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: GetnetCard
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct GetnetCard | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | GetnetCard | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: AirwallexAuthType
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AirwallexAuthType | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | AirwallexAuthType | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/router/src/core/errors/customers_error_response.rs
// Module: router
use http::StatusCode;
#[derive(Debug, thiserror::Error)]
pub enum CustomersErrorResponse {
#[error("Customer has already been redacted")]
CustomerRedacted,
#[error("Something went wrong")]
InternalServerError,
#... | crates/router/src/core/errors/customers_error_response.rs | router | full_file | null | null | null | 227 | null | null | null | null | null | null | null |
// Implementation: impl Zen
// File: crates/hyperswitch_connectors/src/connectors/zen.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl Zen | crates/hyperswitch_connectors/src/connectors/zen.rs | hyperswitch_connectors | impl_block | null | null | null | 43 | null | Zen | null | 1 | 0 | null | null |
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::{convert::TryFrom, sync::LazyLock};
use common_enums::{enums, CallConnectorAction, PaymentAction};
use common_utils::{
crypto,
errors::... | crates/hyperswitch_connectors/src/connectors/checkout.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: PaymentCaptureRequest
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentCaptureRequest | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | PaymentCaptureRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_payment_webhook_statuses
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_payment_webhook_statuses(&self) -> Cow<'_, [common_enums::IntentStatus]> | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 54 | get_payment_webhook_statuses | null | null | null | null | null | null |
// Struct: BillwerkAuthType
// File: crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BillwerkAuthType | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs | hyperswitch_connectors | struct_definition | BillwerkAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payout_link.rs
// Module: router
// Public functions: 4
use std::{
cmp::Ordering,
collections::{HashMap, HashSet},
};
use actix_web::http::header;
use api_models::payouts;
use common_utils::{
ext_traits::{AsyncExt, Encode, OptionExt},
link_utils,
types::{AmountConve... | crates/router/src/core/payout_link.rs | router | full_file | null | null | null | 3,869 | 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.