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 ResponseCode
// File: crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs
// Module: hyperswitch_connectors
// Methods: 3 total (3 public)
impl ResponseCode | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 50 | null | ResponseCode | null | 3 | 3 | null | null |
// Struct: BusinessPaymentLinkConfig
// File: crates/diesel_models/src/business_profile.rs
// Module: diesel_models
// Implementations: 0
pub struct BusinessPaymentLinkConfig | crates/diesel_models/src/business_profile.rs | diesel_models | struct_definition | BusinessPaymentLinkConfig | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/api_models/src/enums.rs
// Module: api_models
// Public functions: 8
// Public structs: 1
use std::str::FromStr;
pub use common_enums::*;
use utoipa::ToSchema;
pub use super::connector_enums::Connector;
#[derive(
Clone,
Copy,
Debug,
Eq,
PartialEq,
serde::Deserialize,
serd... | crates/api_models/src/enums.rs | api_models | full_file | null | null | null | 3,598 | null | null | null | null | null | null | null |
// Function: get_paysafe_gift_card_account_id
// File: crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs
// Module: hyperswitch_connectors
pub fn get_paysafe_gift_card_account_id(
&self,
currency: Currency,
) -> Result<Secret<String>, errors::ConnectorError> | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 74 | get_paysafe_gift_card_account_id | null | null | null | null | 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 |
// File: crates/router/src/services/kafka/refund.rs
// Module: router
// Public functions: 2
// Public structs: 2
#[cfg(feature = "v2")]
use common_utils::pii;
#[cfg(feature = "v2")]
use common_utils::types::{self, ChargeRefunds};
use common_utils::{
id_type,
types::{ConnectorTransactionIdTrait, MinorUnit},
};... | crates/router/src/services/kafka/refund.rs | router | full_file | null | null | null | 1,854 | null | null | null | null | null | null | null |
// Function: parse_facilitapay_error_response
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs
// Module: hyperswitch_connectors
pub fn parse_facilitapay_error_response(
res: Response,
event_builder: Option<&mut ConnectorEvent>,
) -> CustomResult<ErrorResponse, errors::Connecto... | crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 79 | parse_facilitapay_error_response | null | null | null | null | null | null |
// Implementation: impl VaultData
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Methods: 2 total (2 public)
impl VaultData | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | impl_block | null | null | null | 43 | null | VaultData | null | 2 | 2 | null | null |
// Struct: TxnData
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TxnData | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | TxnData | 0 | [] | 48 | null | null | null | null | null | null | null |
"connector",
connector.to_owned().unwrap_or("null".to_string()),
),
("merchant_id", merchant_id.clone()),
),
),
}
}
}
pub fn add_apple_pay_payment_status_metrics(
payment_attempt_status: ... | crates/router/src/utils.rs#chunk1 | router | chunk | null | null | null | 2,480 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorPostAuthentication for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorPostAuthentication for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Netcetera | ConnectorPostAuthentication for | 0 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Bamboraapac
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Bamboraapac | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Bamboraapac | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: add_connector_mandate_details_in_payment_method
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
pub fn add_connector_mandate_details_in_payment_method(
payment_method_type: Option<storage_enums::PaymentMethodType>,
authorized_amount: Option<i64>,
authorized_currency:... | crates/router/src/core/payments/tokenization.rs | router | function_signature | null | null | null | 138 | add_connector_mandate_details_in_payment_method | null | null | null | null | null | null |
shipping_cost: None,
merchant_account_id: None,
merchant_config_currency: None,
connector_testing_data: None,
order_id: None,
locale: None,
payment_channel: None,
enable_partial_authorization: None,
enable_overca... | crates/router/tests/connectors/utils.rs#chunk1 | router | chunk | null | null | null | 1,600 | null | null | null | null | null | null | null |
// Function: do_gsm_actions
// File: crates/router/src/core/payments/retry.rs
// Module: router
pub fn do_gsm_actions<F, ApiRequest, FData, D>(
state: &app::SessionState,
req_state: ReqState,
payment_data: &mut D,
mut connector_routing_data: IntoIter<api::ConnectorRoutingData>,
original_connector_d... | crates/router/src/core/payments/retry.rs | router | function_signature | null | null | null | 350 | do_gsm_actions | null | null | null | null | null | null |
// Implementation: impl ConnectorCommon for for Wellsfargopayout
// File: crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Wellsfargopayout | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Wellsfargopayout | ConnectorCommon for | 6 | 0 | null | null |
// Function: success_based_routing_update_configs
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn success_based_routing_update_configs(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<routing_types::DynamicRoutingUpdateConfigQuery>,
json_payload: web::Json<routing_ty... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 84 | success_based_routing_update_configs | null | null | null | null | null | null |
// Function: mk_tokenization_req
// File: crates/router/src/core/payment_methods/network_tokenization.rs
// Module: router
pub fn mk_tokenization_req(
state: &routes::SessionState,
payload_bytes: &[u8],
customer_id: id_type::CustomerId,
tokenization_service: &settings::NetworkTokenizationService,
) -> ... | crates/router/src/core/payment_methods/network_tokenization.rs | router | function_signature | null | null | null | 102 | mk_tokenization_req | null | null | null | null | null | null |
// File: crates/analytics/src/payment_intents/accumulator.rs
// Module: analytics
// Public functions: 1
// Public structs: 8
use api_models::analytics::payment_intents::PaymentIntentMetricsBucketValue;
use bigdecimal::ToPrimitive;
use diesel_models::enums as storage_enums;
use super::metrics::PaymentIntentMetricRow;... | crates/analytics/src/payment_intents/accumulator.rs | analytics | full_file | null | null | null | 3,008 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Nexinets
// File: crates/hyperswitch_connectors/src/connectors/nexinets.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Nexinets | crates/hyperswitch_connectors/src/connectors/nexinets.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Nexinets | api::Refund for | 0 | 0 | null | null |
// Struct: NoonSubscriptionObject
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonSubscriptionObject | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonSubscriptionObject | 0 | [] | 47 | null | null | null | null | null | null | null |
// Function: number_comparison_array_value
// File: crates/euclid/src/frontend/ast/parser.rs
// Module: euclid
pub fn number_comparison_array_value(input: &str) -> ParseResult<&str, ast::ValueType> | crates/euclid/src/frontend/ast/parser.rs | euclid | function_signature | null | null | null | 49 | number_comparison_array_value | null | null | null | null | null | null |
// File: crates/common_utils/tests/percentage.rs
// Module: common_utils
#![allow(clippy::panic_in_result_fn)]
use common_utils::{errors::PercentageError, types::Percentage};
const PRECISION_2: u8 = 2;
const PRECISION_0: u8 = 0;
#[test]
fn invalid_range_more_than_100() -> Result<(), Box<dyn std::error::Error + Send +... | crates/common_utils/tests/percentage.rs | common_utils | full_file | null | null | null | 1,564 | null | null | null | null | null | null | null |
// Implementation: impl RedisStore
// File: crates/storage_impl/src/redis.rs
// Module: storage_impl
// Methods: 2 total (1 public)
impl RedisStore | crates/storage_impl/src/redis.rs | storage_impl | impl_block | null | null | null | 37 | null | RedisStore | null | 2 | 1 | null | null |
// Struct: AlfamartVoucherData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AlfamartVoucherData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | AlfamartVoucherData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: ReasonsResult
// File: crates/api_models/src/analytics/refunds.rs
// Module: api_models
// Implementations: 0
pub struct ReasonsResult | crates/api_models/src/analytics/refunds.rs | api_models | struct_definition | ReasonsResult | 0 | [] | 36 | null | null | null | null | null | null | null |
// Function: default_payment_method_set_api
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn default_payment_method_set_api() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 35 | default_payment_method_set_api | null | null | null | null | null | null |
// Struct: AciRefundResponse
// File: crates/hyperswitch_connectors/src/connectors/aci/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AciRefundResponse | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs | hyperswitch_connectors | struct_definition | AciRefundResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: ChargebeeCustomerCreateRequest
// File: crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ChargebeeCustomerCreateRequest | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs | hyperswitch_connectors | struct_definition | ChargebeeCustomerCreateRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorTypeAndConnectorName
// File: crates/router/src/core/admin.rs
// Module: router
// Methods: 1 total (0 public)
impl ConnectorTypeAndConnectorName | crates/router/src/core/admin.rs | router | impl_block | null | null | null | 41 | null | ConnectorTypeAndConnectorName | null | 1 | 0 | null | null |
// File: crates/hyperswitch_domain_models/src/router_flow_types/vault.rs
// Module: hyperswitch_domain_models
// Public structs: 4
#[derive(Debug, Clone)]
pub struct ExternalVaultInsertFlow;
#[derive(Debug, Clone)]
pub struct ExternalVaultRetrieveFlow;
#[derive(Debug, Clone)]
pub struct ExternalVaultDeleteFlow;
#[d... | crates/hyperswitch_domain_models/src/router_flow_types/vault.rs | hyperswitch_domain_models | full_file | null | null | null | 85 | null | null | null | null | null | null | null |
// Struct: UserMerchantCreate
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct UserMerchantCreate | crates/api_models/src/user.rs | api_models | struct_definition | UserMerchantCreate | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: mk_app
// File: crates/router/src/lib.rs
// Module: router
pub fn mk_app(
state: AppState,
request_body_limit: usize,
) -> actix_web::App<
impl ServiceFactory<
ServiceRequest,
Config = (),
Response = actix_web::dev::ServiceResponse<impl MessageBody>,
Error = act... | crates/router/src/lib.rs | router | function_signature | null | null | null | 92 | mk_app | null | null | null | null | 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 |
// Struct: PaymentFlowData
// File: crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentFlowData | crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs | hyperswitch_domain_models | struct_definition | PaymentFlowData | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: PaymentReceipt
// File: crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentReceipt | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | PaymentReceipt | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: get_id
// File: crates/diesel_models/src/merchant_connector_account.rs
// Module: diesel_models
pub fn get_id(&self) -> id_type::MerchantConnectorAccountId | crates/diesel_models/src/merchant_connector_account.rs | diesel_models | function_signature | null | null | null | 40 | get_id | null | null | null | null | null | null |
// Struct: SubmitSinglePaymentResult
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SubmitSinglePaymentResult | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | SubmitSinglePaymentResult | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl TransactionType
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl TransactionType | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 50 | null | TransactionType | null | 1 | 0 | null | null |
// Struct: DeleteEvidenceRequest
// File: crates/api_models/src/disputes.rs
// Module: api_models
// Implementations: 0
pub struct DeleteEvidenceRequest | crates/api_models/src/disputes.rs | api_models | struct_definition | DeleteEvidenceRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Nexixpay
// File: crates/hyperswitch_connectors/src/connectors/nexixpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Nexixpay | crates/hyperswitch_connectors/src/connectors/nexixpay.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Nexixpay | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl RequestPaymentMethodTypes
// File: crates/common_types/src/payment_methods.rs
// Module: common_types
// Methods: 1 total (1 public)
impl RequestPaymentMethodTypes | crates/common_types/src/payment_methods.rs | common_types | impl_block | null | null | null | 41 | null | RequestPaymentMethodTypes | null | 1 | 1 | null | null |
// Implementation: impl PaymentMetricAccumulator for for RetriesAmountAccumulator
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl PaymentMetricAccumulator for for RetriesAmountAccumulator | crates/analytics/src/payments/accumulator.rs | analytics | impl_block | null | null | null | 60 | null | RetriesAmountAccumulator | PaymentMetricAccumulator for | 2 | 0 | null | null |
// Struct: CryptoRequest
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CryptoRequest | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | CryptoRequest | 0 | [] | 46 | null | null | null | null | null | null | null |
// Function: external_authentication_update_trackers
// File: crates/router/src/core/unified_authentication_service/utils.rs
// Module: router
pub fn external_authentication_update_trackers<F: Clone, Req>(
state: &SessionState,
router_data: RouterData<F, Req, UasAuthenticationResponseData>,
authentication:... | crates/router/src/core/unified_authentication_service/utils.rs | router | function_signature | null | null | null | 181 | external_authentication_update_trackers | null | null | null | null | null | null |
// Struct: AdyenTransferResponse
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct AdyenTransferResponse | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs | hyperswitch_connectors | struct_definition | AdyenTransferResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl Bankofamerica
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Bankofamerica | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs | hyperswitch_connectors | impl_block | null | null | null | 52 | null | Bankofamerica | null | 1 | 1 | null | null |
// Function: save_card_and_network_token_in_locker
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
pub fn save_card_and_network_token_in_locker(
state: &SessionState,
customer_id: id_type::CustomerId,
payment_method_status: common_enums::PaymentMethodStatus,
payment_method_da... | crates/router/src/core/payments/tokenization.rs | router | function_signature | null | null | null | 203 | save_card_and_network_token_in_locker | null | null | null | null | null | null |
// Struct: MpgsRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MpgsRefundRequest | crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs | hyperswitch_connectors | struct_definition | MpgsRefundRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: TesouroRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TesouroRefundRequest | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs | hyperswitch_connectors | struct_definition | TesouroRefundRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// Function: get_all_connectors
// File: crates/euclid_wasm/src/lib.rs
// Module: euclid_wasm
pub fn get_all_connectors() -> JsResult | crates/euclid_wasm/src/lib.rs | euclid_wasm | function_signature | null | null | null | 39 | get_all_connectors | null | null | null | null | null | null |
// Struct: NoParams
// File: crates/hyperswitch_domain_models/src/connector_endpoints.rs
// Module: hyperswitch_domain_models
// Implementations: 1
pub struct NoParams | crates/hyperswitch_domain_models/src/connector_endpoints.rs | hyperswitch_domain_models | struct_definition | NoParams | 1 | [] | 42 | null | null | null | null | null | null | null |
// Struct: TrustpayRefundRequestCards
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustpayRefundRequestCards | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | TrustpayRefundRequestCards | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Fiservemea
// File: crates/hyperswitch_connectors/src/connectors/fiservemea.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Fiservemea | crates/hyperswitch_connectors/src/connectors/fiservemea.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Fiservemea | api::ConnectorAccessToken for | 0 | 0 | null | null |
// File: crates/scheduler/src/lib.rs
// Module: scheduler
pub mod configs;
pub mod consumer;
pub mod db;
pub mod env;
pub mod errors;
pub mod flow;
pub mod metrics;
pub mod producer;
pub mod scheduler;
pub mod settings;
pub mod utils;
pub use self::{consumer::types, flow::*, scheduler::*};
| crates/scheduler/src/lib.rs | scheduler | full_file | null | null | null | 73 | null | null | null | null | null | null | null |
// Struct: BamboraapacRefundsResponse
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BamboraapacRefundsResponse | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | BamboraapacRefundsResponse | 0 | [] | 60 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 72 | null | Juspaythreedsserver | api::PaymentSync for | 0 | 0 | null | null |
// Struct: CybersourcePaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourcePaymentsRequest | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourcePaymentsRequest | 0 | [] | 53 | null | null | null | null | null | null | null |
// Trait: PaymentDistributionAnalytics
// File: crates/analytics/src/payments/distribution.rs
// Module: analytics
pub trait PaymentDistributionAnalytics: LoadRow<PaymentDistributionRow> | crates/analytics/src/payments/distribution.rs | analytics | trait_definition | null | null | null | 38 | null | null | PaymentDistributionAnalytics | null | null | null | null |
// Struct: FiuuRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiuuRefundRequest | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | FiuuRefundRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: SdkEventsResult
// File: crates/analytics/src/sdk_events/events.rs
// Module: analytics
// Implementations: 0
pub struct SdkEventsResult | crates/analytics/src/sdk_events/events.rs | analytics | struct_definition | SdkEventsResult | 0 | [] | 38 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentCapture for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentCapture for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Paypal | api::PaymentCapture for | 0 | 0 | null | null |
// Struct: ElavonRouterData
// File: crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ElavonRouterData<T> | crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs | hyperswitch_connectors | struct_definition | ElavonRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/payout_method_utils.rs
// Module: common_utils
// Public structs: 7
//! This module has common utilities for payout method data in HyperSwitch
use common_enums;
use diesel::{sql_types::Jsonb, AsExpression, FromSqlRow};
use masking::Secret;
use serde::{Deserialize, Serialize};
use utoi... | crates/common_utils/src/payout_method_utils.rs | common_utils | full_file | null | null | null | 2,130 | null | null | null | null | null | null | null |
// Struct: OutgoingWebhookLogsResult
// File: crates/analytics/src/outgoing_webhook_event/events.rs
// Module: analytics
// Implementations: 0
pub struct OutgoingWebhookLogsResult | crates/analytics/src/outgoing_webhook_event/events.rs | analytics | struct_definition | OutgoingWebhookLogsResult | 0 | [] | 45 | null | null | null | null | null | null | null |
// Function: signin_token_only_flow
// File: crates/router/src/core/user.rs
// Module: router
pub fn signin_token_only_flow(
state: SessionState,
request: user_api::SignInRequest,
) -> UserResponse<user_api::TokenResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 56 | signin_token_only_flow | null | null | null | null | null | null |
// Struct: FrmRouterData
// File: crates/router/src/types/fraud_check.rs
// Module: router
// Implementations: 0
pub struct FrmRouterData | crates/router/src/types/fraud_check.rs | router | struct_definition | FrmRouterData | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::MandateSetup, api::PaymentToken, api::PaymentVoid, api::ConnectorAccessToken, api::PaymentSync, api::PaymentC... | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | struct_definition | Worldpay | 19 | [
"ConnectorCommon",
"ConnectorValidation",
"api::Payment",
"api::MandateSetup",
"api::PaymentToken",
"api::PaymentVoid",
"api::ConnectorAccessToken",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentSession",
"api::PaymentAuthorize",
"api::PaymentsCompleteAuthorize",
"api::Refund",
"... | 132 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 68 | null | Juspaythreedsserver | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl api::ConnectorAccessToken for for Bamboraapac
// File: crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Bamboraapac | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs | hyperswitch_connectors | impl_block | null | null | null | 66 | null | Bamboraapac | api::ConnectorAccessToken for | 0 | 0 | null | null |
// File: crates/diesel_models/src/query/user_key_store.rs
// Module: diesel_models
// Public functions: 3
use diesel::{associations::HasTable, ExpressionMethods};
use super::generics;
use crate::{
schema::user_key_store::dsl,
user_key_store::{UserKeyStore, UserKeyStoreNew},
PgPooledConn, StorageResult,
};... | crates/diesel_models/src/query/user_key_store.rs | diesel_models | full_file | null | null | null | 322 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payme | api::PaymentSync for | 0 | 0 | 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 FrmMetricsAccumulator
// File: crates/analytics/src/frm/accumulator.rs
// Module: analytics
// Methods: 1 total (1 public)
impl FrmMetricsAccumulator | crates/analytics/src/frm/accumulator.rs | analytics | impl_block | null | null | null | 44 | null | FrmMetricsAccumulator | null | 1 | 1 | null | null |
// Struct: NetceteraAuthenticationFailureResponse
// File: crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NetceteraAuthenticationFailureResponse | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs | hyperswitch_connectors | struct_definition | NetceteraAuthenticationFailureResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Struct: CardTransactionRequest
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardTransactionRequest | crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs | hyperswitch_connectors | struct_definition | CardTransactionRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: is_key_not_deleted
// File: crates/redis_interface/src/types.rs
// Module: redis_interface
pub fn is_key_not_deleted(&self) -> bool | crates/redis_interface/src/types.rs | redis_interface | function_signature | null | null | null | 36 | is_key_not_deleted | null | null | null | null | null | null |
// Struct: CsvParsingResult
// File: crates/api_models/src/revenue_recovery_data_backfill.rs
// Module: api_models
// Implementations: 1
// Traits: ApiEventMetric
pub struct CsvParsingResult | crates/api_models/src/revenue_recovery_data_backfill.rs | api_models | struct_definition | CsvParsingResult | 1 | [
"ApiEventMetric"
] | 47 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 8
use common_enums::enums;
use common_utils::types::StringMinorUnit;
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_data::{ConnectorAut... | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 1,842 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorPreAuthenticationVersionCall for for Netcetera
// File: crates/hyperswitch_connectors/src/connectors/netcetera.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorPreAuthenticationVersionCall for for Netcetera | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | null | null | null | 65 | null | Netcetera | ConnectorPreAuthenticationVersionCall for | 0 | 0 | null | null |
// Struct: FacilitapayAuthRequest
// File: crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FacilitapayAuthRequest | crates/hyperswitch_connectors/src/connectors/facilitapay/requests.rs | hyperswitch_connectors | struct_definition | FacilitapayAuthRequest | 0 | [] | 55 | null | null | null | null | null | null | null |
// Struct: CardTestingGuardConfig
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct CardTestingGuardConfig | crates/api_models/src/admin.rs | api_models | struct_definition | CardTestingGuardConfig | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: ConfigNew
// File: crates/diesel_models/src/configs.rs
// Module: diesel_models
// Implementations: 0
pub struct ConfigNew | crates/diesel_models/src/configs.rs | diesel_models | struct_definition | ConfigNew | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: MollieCardTokenResponse
// File: crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MollieCardTokenResponse | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs | hyperswitch_connectors | struct_definition | MollieCardTokenResponse | 0 | [] | 54 | null | null | null | null | null | null | null |
// Function: get_company_name
// File: crates/router/src/types/domain/user.rs
// Module: router
pub fn get_company_name(&self) -> Option<String> | crates/router/src/types/domain/user.rs | router | function_signature | null | null | null | 35 | get_company_name | null | null | null | null | null | null |
return Err(report!(errors::ApiErrorResponse::InvalidJwtToken));
}
let key_manager_state = &(&state.session_state()).into();
let key_store = state
.store()
.get_merchant_key_store_by_merchant_id(
key_manager_state,
&payload.mer... | crates/router/src/services/authentication.rs#chunk3 | router | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Struct: Details
// File: crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Details | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs | hyperswitch_connectors | struct_definition | Details | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Prophetpay
// File: crates/hyperswitch_connectors/src/connectors/prophetpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Prophetpay | crates/hyperswitch_connectors/src/connectors/prophetpay.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Prophetpay | api::PaymentSession for | 0 | 0 | null | null |
// File: crates/router/src/types/fraud_check.rs
// Module: router
// Public structs: 1
pub use hyperswitch_domain_models::{
router_request_types::fraud_check::{
FraudCheckCheckoutData, FraudCheckFulfillmentData, FraudCheckRecordReturnData,
FraudCheckSaleData, FraudCheckTransactionData, RefundMethod... | crates/router/src/types/fraud_check.rs | router | full_file | null | null | null | 604 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: ThreedsecureioAuthenticationSuccessResponse
// File: crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreedsecureioAuthenticationSuccessResponse | crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs | hyperswitch_connectors | struct_definition | ThreedsecureioAuthenticationSuccessResponse | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl DisputeSync for for Worldpayvantiv
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl DisputeSync for for Worldpayvantiv | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Worldpayvantiv | DisputeSync for | 0 | 0 | null | null |
// Implementation: impl api::PaymentAuthorize for for Stripe
// File: crates/hyperswitch_connectors/src/connectors/stripe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Stripe | crates/hyperswitch_connectors/src/connectors/stripe.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Stripe | api::PaymentAuthorize for | 0 | 0 | null | null |
// Function: get_connector_name
// File: crates/hyperswitch_domain_models/src/merchant_connector_account.rs
// Module: hyperswitch_domain_models
pub fn get_connector_name(&self) -> common_enums::connector_enums::Connector | crates/hyperswitch_domain_models/src/merchant_connector_account.rs | hyperswitch_domain_models | function_signature | null | null | null | 50 | get_connector_name | null | null | null | null | null | null |
// Struct: ApplePayDetails
// File: crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayDetails | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayDetails | 0 | [] | 49 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 3
// Public structs: 44
use common_enums::{
enums::{self, AttemptStatus, PaymentChannel},
CountryAlpha2,
};
use common_utils::{
errors::{CustomResult, ParsingError},
ext... | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs#chunk0 | hyperswitch_connectors | chunk | null | null | null | 8,190 | null | null | null | null | null | null | null |
// Struct: ErrorInfo
// File: crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ErrorInfo | crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs | hyperswitch_connectors | struct_definition | ErrorInfo | 0 | [] | 45 | null | null | null | null | null | null | null |
// Struct: RevenueRecoveryInvoice
// File: crates/router/src/core/webhooks/recovery_incoming.rs
// Module: router
// Implementations: 1
pub struct RevenueRecoveryInvoice | crates/router/src/core/webhooks/recovery_incoming.rs | router | struct_definition | RevenueRecoveryInvoice | 1 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl RequiredField
// File: crates/payment_methods/src/configs/payment_connector_required_fields.rs
// Module: payment_methods
// Methods: 1 total (0 public)
impl RequiredField | crates/payment_methods/src/configs/payment_connector_required_fields.rs | payment_methods | impl_block | null | null | null | 41 | null | RequiredField | null | 1 | 0 | null | null |
// Struct: PayoutRetrieveRequest
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutRetrieveRequest | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutRetrieveRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.