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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: RedsysCardData
// File: crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RedsysCardData | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs | hyperswitch_connectors | struct_definition | RedsysCardData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Trait: Message
// File: crates/events/src/lib.rs
// Module: events
// Documentation: A message that can be sent.
pub trait Message | crates/events/src/lib.rs | events | trait_definition | null | null | null | 32 | null | null | Message | null | null | null | null |
// Implementation: impl super::frm::filters::FrmFilterAnalytics for for ClickhouseClient
// File: crates/analytics/src/clickhouse.rs
// Module: analytics
// Methods: 0 total (0 public)
impl super::frm::filters::FrmFilterAnalytics for for ClickhouseClient | crates/analytics/src/clickhouse.rs | analytics | impl_block | null | null | null | 63 | null | ClickhouseClient | super::frm::filters::FrmFilterAnalytics for | 0 | 0 | null | null |
// Implementation: impl NuveiAuthorizePreprocessingCommon for for PaymentsPreProcessingData
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Methods: 16 total (0 public)
impl NuveiAuthorizePreprocessingCommon for for PaymentsPreProcessingData | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 73 | null | PaymentsPreProcessingData | NuveiAuthorizePreprocessingCommon for | 16 | 0 | null | null |
// Struct: PaymeRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/payme/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymeRefundRequest | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs | hyperswitch_connectors | struct_definition | PaymeRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Placetopay
// File: crates/hyperswitch_connectors/src/connectors/placetopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Placetopay | crates/hyperswitch_connectors/src/connectors/placetopay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Placetopay | api::PaymentVoid for | 0 | 0 | null | null |
// Function: merchant_account_update
// File: crates/router/src/core/admin.rs
// Module: router
pub fn merchant_account_update(
state: SessionState,
merchant_id: &id_type::MerchantId,
_profile_id: Option<id_type::ProfileId>,
req: api::MerchantAccountUpdate,
) -> RouterResponse<api::MerchantAccountRespo... | crates/router/src/core/admin.rs | router | function_signature | null | null | null | 78 | merchant_account_update | null | null | null | null | null | null |
// Struct: Shift4PaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Shift4PaymentsRequest | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Shift4PaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payment_methods/transformers.rs
// Module: router
// Public functions: 26
// Public structs: 16
pub use ::payment_methods::controller::{DataDuplicationCheck, DeleteCardResp};
#[cfg(feature = "v2")]
use api_models::payment_methods::PaymentMethodResponseItem;
use api_models::{enums as api... | crates/router/src/core/payment_methods/transformers.rs#chunk0 | router | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Function: to_redis_field_value_pairs
// File: crates/scheduler/src/consumer/types/batch.rs
// Module: scheduler
pub fn to_redis_field_value_pairs(
&self,
) -> CustomResult<Vec<(&str, String)>, errors::ProcessTrackerError> | crates/scheduler/src/consumer/types/batch.rs | scheduler | function_signature | null | null | null | 59 | to_redis_field_value_pairs | null | null | null | null | null | null |
// Struct: StripebillingRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingRefundRequest | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: MerchantRefundReq
// File: crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantRefundReq | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs | hyperswitch_connectors | struct_definition | MerchantRefundReq | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl PaymentIntentMetricAccumulator for for PaymentsDistributionAccumulator
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl PaymentIntentMetricAccumulator for for PaymentsDistributionAccumulator | crates/analytics/src/payment_intents/accumulator.rs | analytics | impl_block | null | null | null | 61 | null | PaymentsDistributionAccumulator | PaymentIntentMetricAccumulator for | 2 | 0 | null | null |
// Struct: FulfilmentData
// File: crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FulfilmentData | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | FulfilmentData | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl HealthCheckClient
// File: crates/external_services/src/grpc_client/health_check_client.rs
// Module: external_services
// Methods: 3 total (0 public)
impl HealthCheckClient | crates/external_services/src/grpc_client/health_check_client.rs | external_services | impl_block | null | null | null | 44 | null | HealthCheckClient | null | 3 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Moneris
// File: crates/hyperswitch_connectors/src/connectors/moneris.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Moneris | crates/hyperswitch_connectors/src/connectors/moneris.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Moneris | ConnectorCommon for | 6 | 0 | null | null |
assert_eq!(
algorithm
.decode_message(&secret, encoded_message.into())
.expect("Decode Failed"),
message
);
}
#[test]
fn test_gcm_aes_256_decode_message() {
// Inputs taken from AES GCM test vectors provided by NIST
// ... | crates/common_utils/src/crypto.rs#chunk1 | common_utils | chunk | null | null | null | 1,677 | null | null | null | null | null | null | null |
// Function: construct_connector_invoke_hidden_frame
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn construct_connector_invoke_hidden_frame(
connector_three_ds_invoke_data: api_models::payments::PaymentsConnectorThreeDsInvokeData,
) -> RouterResult<api_models::payments::NextActio... | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 69 | construct_connector_invoke_hidden_frame | null | null | null | null | null | null |
#[strum(serialize = "24")]
Lija,
#[strum(serialize = "25")]
Luqa,
#[strum(serialize = "26")]
Marsa,
#[strum(serialize = "27")]
Marsaskala,
#[strum(serialize = "28")]
Marsaxlokk,
#[strum(serialize = "29")]
Mdina,
#[strum(serialize = "30")]
Mellieħa,
#[strum(ser... | crates/common_enums/src/enums.rs#chunk5 | common_enums | chunk | null | null | null | 8,187 | null | null | null | null | null | null | null |
// Function: validate_email_domain_auth_type_using_db
// File: crates/router/src/utils/user.rs
// Module: router
pub fn validate_email_domain_auth_type_using_db(
state: &SessionState,
email: &domain::UserEmail,
required_auth_type: UserAuthType,
) -> UserResult<()> | crates/router/src/utils/user.rs | router | function_signature | null | null | null | 66 | validate_email_domain_auth_type_using_db | null | null | null | null | null | null |
// File: crates/storage_impl/src/lookup.rs
// Module: storage_impl
use common_utils::errors::CustomResult;
use diesel_models::{
enums as storage_enums, kv,
reverse_lookup::{
ReverseLookup as DieselReverseLookup, ReverseLookupNew as DieselReverseLookupNew,
},
};
use error_stack::ResultExt;
use redis... | crates/storage_impl/src/lookup.rs | storage_impl | full_file | null | null | null | 1,200 | null | null | null | null | null | null | null |
// Struct: PaymentMethodCollectLink
// File: crates/diesel_models/src/generic_link.rs
// Module: diesel_models
// Implementations: 0
pub struct PaymentMethodCollectLink | crates/diesel_models/src/generic_link.rs | diesel_models | struct_definition | PaymentMethodCollectLink | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id
// File: crates/diesel_models/src/query/merchant_key_store.rs
// Module: diesel_models
pub fn find_by_merchant_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
) -> StorageResult<Self> | crates/diesel_models/src/query/merchant_key_store.rs | diesel_models | function_signature | null | null | null | 68 | find_by_merchant_id | null | null | null | null | null | null |
// Function: accept_invitations_v2
// File: crates/router/src/routes/user_role.rs
// Module: router
pub fn accept_invitations_v2(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<user_role_api::AcceptInvitationsV2Request>,
) -> HttpResponse | crates/router/src/routes/user_role.rs | router | function_signature | null | null | null | 69 | accept_invitations_v2 | null | null | null | null | null | null |
// Struct: Parameters
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Parameters | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | Parameters | 0 | [] | 43 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/katapult.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/katapult.rs | router | full_file | null | null | null | 2,932 | null | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/analytics/frm.rs
// Module: api_models
pub fn new(
frm_status: Option<String>,
frm_name: Option<String>,
frm_transaction_type: Option<String>,
normalized_time_range: TimeRange,
) -> Self | crates/api_models/src/analytics/frm.rs | api_models | function_signature | null | null | null | 62 | new | null | null | null | null | null | null |
// Struct: BlackhawknetworkErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BlackhawknetworkErrorResponse | crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs | hyperswitch_connectors | struct_definition | BlackhawknetworkErrorResponse | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_payment_methods_data
// File: crates/hyperswitch_domain_models/src/vault.rs
// Module: hyperswitch_domain_models
pub fn get_payment_methods_data(&self) -> payment_method_data::PaymentMethodsData | crates/hyperswitch_domain_models/src/vault.rs | hyperswitch_domain_models | function_signature | null | null | null | 48 | get_payment_methods_data | null | null | null | null | null | null |
// File: crates/router/tests/connectors/trustpayments.rs
// Module: router
use std::str::FromStr;
use masking::Secret;
use router::types::{self, api, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct TrustpaymentsTest;
impl ConnectorAc... | crates/router/tests/connectors/trustpayments.rs | router | full_file | null | null | null | 3,422 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/metrics.rs
// Module: common_utils
//! Utilities for metrics
pub mod utils;
| crates/common_utils/src/metrics.rs | common_utils | full_file | null | null | null | 26 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/authentication.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/authentication.rs | router | impl_block | null | null | null | 35 | null | Responder | null | 0 | 0 | null | null |
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Public functions: 8
// Public structs: 20
use std::{collections::HashMap, marker::PhantomData};
use common_types::{payments as common_payment_types, primitive_wrappers};
use common_utils::{
errors::IntegrityCheckE... | crates/hyperswitch_domain_models/src/router_data.rs#chunk0 | hyperswitch_domain_models | chunk | null | null | null | 8,191 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Billwerk | api::PaymentSync for | 0 | 0 | null | null |
// Struct: AddVault
// File: crates/router/src/types/payment_methods.rs
// Module: router
// Implementations: 1
// Traits: VaultingInterface
pub struct AddVault | crates/router/src/types/payment_methods.rs | router | struct_definition | AddVault | 1 | [
"VaultingInterface"
] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for CtpMastercard
// File: crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for CtpMastercard | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | CtpMastercard | api::PaymentSession for | 0 | 0 | null | null |
// Struct: RetryLimitsConfig
// File: crates/router/src/types/storage/revenue_recovery.rs
// Module: router
// Implementations: 1
pub struct RetryLimitsConfig | crates/router/src/types/storage/revenue_recovery.rs | router | struct_definition | RetryLimitsConfig | 1 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for HyperswitchVault
// File: crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for HyperswitchVault | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | HyperswitchVault | api::PaymentSync for | 0 | 0 | null | null |
// Function: insert
// File: crates/diesel_models/src/query/events.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Event> | crates/diesel_models/src/query/events.rs | diesel_models | function_signature | null | null | null | 41 | insert | null | null | null | null | null | null |
// Function: get_tokens_with_retry_metadata
// File: crates/router/src/types/storage/revenue_recovery_redis_operation.rs
// Module: router
// Documentation: Get all payment processor tokens with retry information and wait times.
pub fn get_tokens_with_retry_metadata(
state: &SessionState,
payment_proc... | crates/router/src/types/storage/revenue_recovery_redis_operation.rs | router | function_signature | null | null | null | 88 | get_tokens_with_retry_metadata | null | null | null | null | null | null |
// Struct: BraintreeRefundTransactionBody
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BraintreeRefundTransactionBody | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | BraintreeRefundTransactionBody | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: Card
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Card | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | Card | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: SupportedMsgExt
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SupportedMsgExt | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | SupportedMsgExt | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: TokenCreation
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenCreation | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | TokenCreation | 0 | [] | 44 | null | null | null | null | null | null | null |
Some(api::MandateTransactionType::NewMandateTransaction) => {
validate_new_mandate_request(req, is_confirm_operation)?;
Ok(Some(api::MandateTransactionType::NewMandateTransaction))
}
Some(api::MandateTransactionType::RecurringMandateTransaction) => {
validate_... | crates/router/src/core/payments/helpers.rs#chunk1 | router | chunk | null | null | null | 8,179 | null | null | null | null | null | null | null |
// Function: connector_retrieve
// File: crates/openapi/src/routes/merchant_connector_account.rs
// Module: openapi
pub fn connector_retrieve() | crates/openapi/src/routes/merchant_connector_account.rs | openapi | function_signature | null | null | null | 33 | connector_retrieve | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Stax
// File: crates/hyperswitch_connectors/src/connectors/stax.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Stax | crates/hyperswitch_connectors/src/connectors/stax.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Stax | api::PaymentSession for | 0 | 0 | null | null |
// File: crates/storage_impl/src/redis/cache.rs
// Module: storage_impl
// Public functions: 12
// Public structs: 3
use std::{
any::Any,
borrow::Cow,
fmt::Debug,
sync::{Arc, LazyLock},
};
use common_utils::{
errors::{self, CustomResult},
ext_traits::ByteSliceExt,
};
use dyn_clone::DynClone;
u... | crates/storage_impl/src/redis/cache.rs | storage_impl | full_file | null | null | null | 4,050 | null | null | null | null | null | null | null |
// Function: get_requires_cvv_key
// File: crates/common_utils/src/id_type/merchant.rs
// Module: common_utils
// Documentation: get_requires_cvv_key
pub fn get_requires_cvv_key(&self) -> String | crates/common_utils/src/id_type/merchant.rs | common_utils | function_signature | null | null | null | 49 | get_requires_cvv_key | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/router_flow_types/authentication.rs
// Module: hyperswitch_domain_models
// Public structs: 4
#[derive(Debug, Clone)]
pub struct PreAuthentication;
#[derive(Debug, Clone)]
pub struct PreAuthenticationVersionCall;
#[derive(Debug, Clone)]
pub struct Authentication;
#[deri... | crates/hyperswitch_domain_models/src/router_flow_types/authentication.rs | hyperswitch_domain_models | full_file | null | null | null | 77 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Volt
// File: crates/hyperswitch_connectors/src/connectors/volt.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Volt | crates/hyperswitch_connectors/src/connectors/volt.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Volt | api::Payment for | 0 | 0 | null | null |
// Struct: SiftCard
// File: crates/hyperswitch_connectors/src/connectors/sift/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SiftCard | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs | hyperswitch_connectors | struct_definition | SiftCard | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: get_connector_response_reference_id
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
pub fn get_connector_response_reference_id(&self) -> Option<String> | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | function_signature | null | null | null | 47 | get_connector_response_reference_id | null | null | null | null | null | null |
// Struct: CybersourcePaymentsIncrementalAuthorizationResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourcePaymentsIncrementalAuthorizationResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourcePaymentsIncrementalAuthorizationResponse | 0 | [] | 59 | null | null | null | null | null | null | null |
// Implementation: impl State for for CardTokenStored
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Methods: 0 total (0 public)
impl State for for CardTokenStored | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | impl_block | null | null | null | 48 | null | CardTokenStored | State for | 0 | 0 | null | null |
// Struct: VoidResponse
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct VoidResponse | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | VoidResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: KatapultRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KatapultRefundRequest | crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs | hyperswitch_connectors | struct_definition | KatapultRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: CheckoutDisputeWebhookData
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutDisputeWebhookData | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutDisputeWebhookData | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/router/src/events.rs
// Module: router
// Public functions: 4
use std::collections::HashMap;
use error_stack::ResultExt;
use events::{EventsError, Message, MessagingInterface};
use masking::ErasedMaskSerialize;
use router_env::logger;
use serde::{Deserialize, Serialize};
use storage_impl::{
config... | crates/router/src/events.rs | router | full_file | null | null | null | 740 | null | null | null | null | null | null | null |
// Function: get_auth_string_from_header
// File: crates/router/src/services/authentication.rs
// Module: router
pub fn get_auth_string_from_header(&self) -> RouterResult<&str> | crates/router/src/services/authentication.rs | router | function_signature | null | null | null | 40 | get_auth_string_from_header | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Globalpay
// File: crates/hyperswitch_connectors/src/connectors/globalpay.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Globalpay | crates/hyperswitch_connectors/src/connectors/globalpay.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Globalpay | ConnectorCommon for | 5 | 0 | null | null |
// Implementation: impl MerchantKeyStoreNew
// File: crates/diesel_models/src/query/merchant_key_store.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl MerchantKeyStoreNew | crates/diesel_models/src/query/merchant_key_store.rs | diesel_models | impl_block | null | null | null | 45 | null | MerchantKeyStoreNew | null | 1 | 0 | null | null |
// File: crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs
// Module: hyperswitch_domain_models
// Public structs: 3
use common_utils::types::MinorUnit;
use time::PrimitiveDateTime;
#[derive(Debug, Clone, serde::Deserialize, serde::Serialize)]
pub struct BillingConnectorPaymentsSyncRespons... | crates/hyperswitch_domain_models/src/router_response_types/revenue_recovery.rs | hyperswitch_domain_models | full_file | null | null | null | 590 | null | null | null | null | null | null | null |
// Struct: ThreeDSecureInfo
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSecureInfo | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDSecureInfo | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl BillingConnectorInvoiceSyncResponseData
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
// Methods: 3 total (0 public)
impl BillingConnectorInvoiceSyncResponseData | crates/router/src/core/webhooks/recovery_incoming.rs | router | impl_block | null | null | null | 48 | null | BillingConnectorInvoiceSyncResponseData | null | 3 | 0 | null | null |
// File: crates/hyperswitch_interfaces/src/errors.rs
// Module: hyperswitch_interfaces
// Public functions: 1
//! Errors interface
use common_enums::ApiClientError;
use common_utils::errors::ErrorSwitch;
use hyperswitch_domain_models::errors::api_error_response::ApiErrorResponse;
/// Connector Errors
#[allow(missing... | crates/hyperswitch_interfaces/src/errors.rs | hyperswitch_interfaces | full_file | null | null | null | 2,048 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Multisafepay
// File: crates/hyperswitch_connectors/src/connectors/multisafepay.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl ConnectorValidation for for Multisafepay | crates/hyperswitch_connectors/src/connectors/multisafepay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Multisafepay | ConnectorValidation for | 1 | 0 | null | null |
// Struct: PaymentStatusData
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct PaymentStatusData<F> | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | struct_definition | PaymentStatusData | 1 | [] | 44 | null | null | null | null | null | null | null |
// Struct: StripebillingWebhookLinesObject
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct StripebillingWebhookLinesObject | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | StripebillingWebhookLinesObject | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/tsys.rs
// Module: router
use std::{str::FromStr, time::Duration};
use cards::CardNumber;
use masking::Secret;
use router::types::{self, domain, storage::enums};
use crate::{
connector_auth,
utils::{self, ConnectorActions},
};
#[derive(Clone, Copy)]
struct TsysTest;
i... | crates/router/tests/connectors/tsys.rs | router | full_file | null | null | null | 3,318 | null | null | null | null | null | null | null |
// Struct: PaymentLinkNew
// File: crates/diesel_models/src/payment_link.rs
// Module: diesel_models
// Implementations: 0
pub struct PaymentLinkNew | crates/diesel_models/src/payment_link.rs | diesel_models | struct_definition | PaymentLinkNew | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Archipel
// File: crates/hyperswitch_connectors/src/connectors/archipel.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Archipel | crates/hyperswitch_connectors/src/connectors/archipel.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Archipel | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl UploadFile for for Checkout
// File: crates/hyperswitch_connectors/src/connectors/checkout.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl UploadFile for for Checkout | crates/hyperswitch_connectors/src/connectors/checkout.rs | hyperswitch_connectors | impl_block | null | null | null | 51 | null | Checkout | UploadFile for | 0 | 0 | null | null |
// Struct: ActionResponse
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
// Traits: utils::MultipleCaptureSyncResponse
pub struct ActionResponse | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | ActionResponse | 1 | [
"utils::MultipleCaptureSyncResponse"
] | 55 | null | null | null | null | null | null | null |
// Implementation: impl Authentication
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Authentication | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Authentication | null | 1 | 1 | null | null |
// Trait: ErasedMaskSerialize
// File: crates/masking/src/serde.rs
// Module: masking
// Documentation: Masked serialization. Trait object for supporting serialization to Value while accounting for masking The usual Serde Serialize trait cannot be used as trait objects like &dyn Serialize or boxed trait objects like ... | crates/masking/src/serde.rs | masking | trait_definition | null | null | null | 129 | null | null | ErasedMaskSerialize | null | null | null | null |
// File: crates/common_types/src/callback_mapper.rs
// Module: common_types
// Public functions: 1
use common_utils::id_type;
use diesel::{AsExpression, FromSqlRow};
#[derive(
Clone, Debug, Eq, PartialEq, serde::Deserialize, serde::Serialize, AsExpression, FromSqlRow,
)]
#[diesel(sql_type = diesel::sql_types::Jso... | crates/common_types/src/callback_mapper.rs | common_types | full_file | null | null | null | 308 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorAuthentication for for Gpayments
// File: crates/hyperswitch_connectors/src/connectors/gpayments.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorAuthentication for for Gpayments | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Gpayments | ConnectorAuthentication for | 0 | 0 | null | null |
// Struct: MerchantURLs
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MerchantURLs | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | MerchantURLs | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/juspaythreedsserver.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(Clo... | crates/router/tests/connectors/juspaythreedsserver.rs | router | full_file | null | null | null | 3,009 | null | null | null | null | null | null | null |
// Function: payments_incremental_authorization
// File: crates/router/src/routes/payments.rs
// Module: router
pub fn payments_incremental_authorization(
state: web::Data<app::AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<payment_types::PaymentsIncrementalAuthorizationRequest>,
path:... | crates/router/src/routes/payments.rs | router | function_signature | null | null | null | 91 | payments_incremental_authorization | null | null | null | null | null | null |
// Struct: BlocklistFingerprintNew
// File: crates/diesel_models/src/blocklist_fingerprint.rs
// Module: diesel_models
// Implementations: 0
pub struct BlocklistFingerprintNew | crates/diesel_models/src/blocklist_fingerprint.rs | diesel_models | struct_definition | BlocklistFingerprintNew | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: NetceteraMetaData
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NetceteraMetaData | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | NetceteraMetaData | 0 | [] | 53 | null | null | null | null | null | null | null |
// Function: get_retries
// File: crates/router/src/core/payments/retry.rs
// Module: router
pub fn get_retries(
state: &app::SessionState,
retries: Option<i32>,
merchant_id: &common_utils::id_type::MerchantId,
profile: &domain::Profile,
) -> Option<i32> | crates/router/src/core/payments/retry.rs | router | function_signature | null | null | null | 77 | get_retries | null | null | null | null | null | null |
// Function: generate_digest
// File: crates/hyperswitch_connectors/src/connectors/barclaycard.rs
// Module: hyperswitch_connectors
pub fn generate_digest(&self, payload: &[u8]) -> String | crates/hyperswitch_connectors/src/connectors/barclaycard.rs | hyperswitch_connectors | function_signature | null | null | null | 48 | generate_digest | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for ClientSecretResponse
// File: crates/api_models/src/ephemeral_key.rs
// Module: api_models
// Methods: 1 total (0 public)
impl common_utils::events::ApiEventMetric for for ClientSecretResponse | crates/api_models/src/ephemeral_key.rs | api_models | impl_block | null | null | null | 62 | null | ClientSecretResponse | common_utils::events::ApiEventMetric for | 1 | 0 | null | null |
// Struct: LinkTokenCreateResponse
// File: crates/api_models/src/pm_auth.rs
// Module: api_models
// Implementations: 0
pub struct LinkTokenCreateResponse | crates/api_models/src/pm_auth.rs | api_models | struct_definition | LinkTokenCreateResponse | 0 | [] | 38 | null | null | null | null | null | null | null |
// Function: create_cit_payment
// File: crates/router/src/core/subscription.rs
// Module: router
pub fn create_cit_payment(
&self,
) -> errors::RouterResult<subscription_types::PaymentResponseData> | crates/router/src/core/subscription.rs | router | function_signature | null | null | null | 50 | create_cit_payment | null | null | null | null | null | null |
// Struct: AuthenticationErrorMessageAccumulator
// File: crates/analytics/src/auth_events/accumulator.rs
// Module: analytics
// Implementations: 1
// Traits: AuthEventMetricAccumulator
pub struct AuthenticationErrorMessageAccumulator | crates/analytics/src/auth_events/accumulator.rs | analytics | struct_definition | AuthenticationErrorMessageAccumulator | 1 | [
"AuthEventMetricAccumulator"
] | 51 | null | null | null | null | null | null | null |
// Struct: EventDetails
// File: crates/hyperswitch_connectors/src/connectors/worldpay/response.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct EventDetails | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | EventDetails | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: FraudCheckRecordReturnData
// File: crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct FraudCheckRecordReturnData | crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs | hyperswitch_domain_models | struct_definition | FraudCheckRecordReturnData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/relay.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/relay.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
// Function: get_user_scoped_metadata_from_db
// File: crates/router/src/utils/user/dashboard_metadata.rs
// Module: router
pub fn get_user_scoped_metadata_from_db(
state: &SessionState,
user_id: String,
merchant_id: id_type::MerchantId,
org_id: id_type::OrganizationId,
metadata_keys: Vec<DBEnum>,
... | crates/router/src/utils/user/dashboard_metadata.rs | router | function_signature | null | null | null | 89 | get_user_scoped_metadata_from_db | null | null | null | null | null | null |
// Function: get_user_theme_using_lineage
// File: crates/router/src/routes/user/theme.rs
// Module: router
pub fn get_user_theme_using_lineage(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<theme_api::EntityTypeQueryParam>,
) -> HttpResponse | crates/router/src/routes/user/theme.rs | router | function_signature | null | null | null | 65 | get_user_theme_using_lineage | null | null | null | null | null | null |
// Struct: TokenizeCreditCard
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TokenizeCreditCard | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | TokenizeCreditCard | 0 | [] | 50 | null | null | null | null | null | null | null |
// Implementation: impl api::RefundExecute for for Stripebilling
// File: crates/hyperswitch_connectors/src/connectors/stripebilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundExecute for for Stripebilling | crates/hyperswitch_connectors/src/connectors/stripebilling.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Stripebilling | api::RefundExecute for | 0 | 0 | null | null |
// Struct: BankAssociationDetails
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankAssociationDetails | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | BankAssociationDetails | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: build_refund_update_for_rsync
// File: crates/router/src/core/refunds_v2.rs
// Module: router
pub fn build_refund_update_for_rsync(
connector: &api::ConnectorData,
merchant_context: &domain::MerchantContext,
router_data_response: RouterData<api::RSync, types::RefundsData, types::RefundsRespons... | crates/router/src/core/refunds_v2.rs | router | function_signature | null | null | null | 93 | build_refund_update_for_rsync | null | null | null | null | null | null |
// Function: is_separate_authn_required
// File: crates/diesel_models/src/authentication.rs
// Module: diesel_models
pub fn is_separate_authn_required(&self) -> bool | crates/diesel_models/src/authentication.rs | diesel_models | function_signature | null | null | null | 40 | is_separate_authn_required | null | null | null | null | null | null |
// Struct: ZenGooglePay
// File: crates/connector_configs/src/common_config.rs
// Module: connector_configs
// Implementations: 0
pub struct ZenGooglePay | crates/connector_configs/src/common_config.rs | connector_configs | struct_definition | ZenGooglePay | 0 | [] | 37 | 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.