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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Function: construct_router_data_to_update_calculated_tax
// File: crates/router/src/core/payments/transformers.rs
// Module: router
pub fn construct_router_data_to_update_calculated_tax<'a, F, T>(
state: &'a SessionState,
payment_data: PaymentData<F>,
connector_id: &str,
merchant_context: &domain::M... | crates/router/src/core/payments/transformers.rs | router | function_signature | null | null | null | 196 | construct_router_data_to_update_calculated_tax | null | null | null | null | null | null |
// File: crates/router/src/core/webhooks/incoming.rs
// Module: router
// Public functions: 5
// Public structs: 1
use std::{str::FromStr, time::Instant};
use actix_web::FromRequest;
#[cfg(feature = "payouts")]
use api_models::payouts as payout_models;
use api_models::webhooks::{self, WebhookResponseTracker};
use com... | crates/router/src/core/webhooks/incoming.rs#chunk0 | router | chunk | null | null | null | 8,188 | null | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/analytics.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/analytics.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Function: create_recipient
// File: crates/router/src/core/payouts.rs
// Module: router
pub fn create_recipient(
state: &SessionState,
merchant_context: &domain::MerchantContext,
connector_data: &api::ConnectorData,
payout_data: &mut PayoutData,
) -> RouterResult<()> | crates/router/src/core/payouts.rs | router | function_signature | null | null | null | 72 | create_recipient | null | null | null | null | null | null |
// Trait: ConnectorEventLogAnalytics
// File: crates/analytics/src/connector_events/events.rs
// Module: analytics
pub trait ConnectorEventLogAnalytics: LoadRow<ConnectorEventsResult> | crates/analytics/src/connector_events/events.rs | analytics | trait_definition | null | null | null | 40 | null | null | ConnectorEventLogAnalytics | null | null | null | null |
// Function: save_in_locker_internal
// File: crates/router/src/core/payments/tokenization.rs
// Module: router
pub fn save_in_locker_internal(
_state: &SessionState,
_merchant_context: &domain::MerchantContext,
_payment_method_request: api::PaymentMethodCreate,
) -> RouterResult<(
api_models::payment_... | crates/router/src/core/payments/tokenization.rs | router | function_signature | null | null | null | 98 | save_in_locker_internal | null | null | null | null | null | null |
// Struct: ThreeDsData
// File: crates/api_models/src/authentication.rs
// Module: api_models
// Implementations: 0
pub struct ThreeDsData | crates/api_models/src/authentication.rs | api_models | struct_definition | ThreeDsData | 0 | [] | 35 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Worldpay
// File: crates/hyperswitch_connectors/src/connectors/worldpay.rs
// Module: hyperswitch_connectors
// Methods: 2 total (0 public)
impl ConnectorValidation for for Worldpay | crates/hyperswitch_connectors/src/connectors/worldpay.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Worldpay | ConnectorValidation for | 2 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// File: crates/router/src/configs/defaults/payout_required_fields.rs
// Module: router
use std::collections::HashMap;
use api_models::{
enums::{
CountryAlpha2, FieldType,
PaymentMethod::{BankTransfer, Card, Wallet},
PaymentMethodType, PayoutConnectors,
},
payment_methods::Required... | crates/router/src/configs/defaults/payout_required_fields.rs | router | full_file | null | null | null | 3,373 | null | null | null | null | null | null | null |
// Function: totp_verify
// File: crates/router/src/routes/user.rs
// Module: router
pub fn totp_verify(
state: web::Data<AppState>,
req: HttpRequest,
json_payload: web::Json<user_api::VerifyTotpRequest>,
) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 61 | totp_verify | null | null | null | null | null | null |
// Struct: PaypalSourceVerificationRequest
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalSourceVerificationRequest | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalSourceVerificationRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Function: set_distinct
// File: crates/analytics/src/query.rs
// Module: analytics
pub fn set_distinct(&mut self) | crates/analytics/src/query.rs | analytics | function_signature | null | null | null | 31 | set_distinct | null | null | null | null | null | null |
// Function: retrieve_forex
// File: crates/router/src/core/currency.rs
// Module: router
pub fn retrieve_forex(
state: SessionState,
) -> CustomResult<ApplicationResponse<currency::FxExchangeRatesCacheEntry>, ApiErrorResponse> | crates/router/src/core/currency.rs | router | function_signature | null | null | null | 53 | retrieve_forex | null | null | null | null | null | null |
// File: crates/diesel_models/src/merchant_account.rs
// Module: diesel_models
// Public functions: 4
// Public structs: 8
use common_utils::{encryption::Encryption, pii};
use diesel::{AsChangeset, Identifiable, Insertable, Queryable, Selectable};
use crate::enums as storage_enums;
#[cfg(feature = "v1")]
use crate::s... | crates/diesel_models/src/merchant_account.rs | diesel_models | full_file | null | null | null | 4,098 | null | null | null | null | null | null | null |
// Implementation: impl Organization
// File: crates/diesel_models/src/query/organization.rs
// Module: diesel_models
// Methods: 2 total (0 public)
impl Organization | crates/diesel_models/src/query/organization.rs | diesel_models | impl_block | null | null | null | 37 | null | Organization | null | 2 | 0 | null | null |
// Implementation: impl api::MandateSetup for for Trustpay
// File: crates/hyperswitch_connectors/src/connectors/trustpay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Trustpay | crates/hyperswitch_connectors/src/connectors/trustpay.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Trustpay | api::MandateSetup for | 0 | 0 | null | null |
// Implementation: impl api::Payment for for Payu
// File: crates/hyperswitch_connectors/src/connectors/payu.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Payu | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Payu | api::Payment for | 0 | 0 | null | null |
// Struct: NoonGooglePay
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonGooglePay | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonGooglePay | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::Payment for for Wise
// File: crates/hyperswitch_connectors/src/connectors/wise.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Payment for for Wise | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Wise | api::Payment for | 0 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Coingate
// File: crates/hyperswitch_connectors/src/connectors/coingate.rs
// Module: hyperswitch_connectors
// Methods: 6 total (0 public)
impl ConnectorCommon for for Coingate | crates/hyperswitch_connectors/src/connectors/coingate.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Coingate | ConnectorCommon for | 6 | 0 | null | null |
// Struct: CancelResponseData
// File: crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CancelResponseData | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | CancelResponseData | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: RSyncTransactionResponse
// File: crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RSyncTransactionResponse | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs | hyperswitch_connectors | struct_definition | RSyncTransactionResponse | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: vault_payment_method_external_v1
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn vault_payment_method_external_v1(
state: &SessionState,
pmd: &hyperswitch_domain_models::vault::PaymentMethodVaultingData,
merchant_account: &domain::MerchantAccount,
merchant_conne... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 101 | vault_payment_method_external_v1 | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Opennode
// File: crates/hyperswitch_connectors/src/connectors/opennode.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Opennode | crates/hyperswitch_connectors/src/connectors/opennode.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Opennode | ConnectorValidation for | 0 | 0 | null | null |
// Struct: CustomerUpdateInternal
// File: crates/diesel_models/src/customers.rs
// Module: diesel_models
// Implementations: 2
pub struct CustomerUpdateInternal | crates/diesel_models/src/customers.rs | diesel_models | struct_definition | CustomerUpdateInternal | 2 | [] | 37 | null | null | null | null | null | null | null |
// Struct: MerchantConnectorId
// File: crates/api_models/src/admin.rs
// Module: api_models
// Implementations: 0
pub struct MerchantConnectorId | crates/api_models/src/admin.rs | api_models | struct_definition | MerchantConnectorId | 0 | [] | 35 | null | null | null | null | null | null | null |
// Struct: MandatePaymentInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct MandatePaymentInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | MandatePaymentInformation | 0 | [] | 51 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/pm_auth/src/connector/plaid.rs
// Module: pm_auth
// Public submodules:
pub mod transformers;
| crates/pm_auth/src/connector/plaid.rs | pm_auth | module_structure | null | null | null | 32 | null | null | null | null | null | 1 | 0 |
// Struct: CheckoutGooglePayData
// File: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutGooglePayData | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutGooglePayData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl FraudCheckSale for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl FraudCheckSale for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Signifyd | FraudCheckSale for | 0 | 0 | null | null |
// Struct: ProcessingInfoResponse
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ProcessingInfoResponse | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | ProcessingInfoResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: RoutingEventsResult
// File: crates/analytics/src/routing_events/events.rs
// Module: analytics
// Implementations: 0
pub struct RoutingEventsResult | crates/analytics/src/routing_events/events.rs | analytics | struct_definition | RoutingEventsResult | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: WellsfargoTokenInformation
// File: crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct WellsfargoTokenInformation | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | WellsfargoTokenInformation | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: AccountIDSupportedMethods
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
// Implementations: 0
pub struct AccountIDSupportedMethods | crates/connector_configs/src/connector.rs | connector_configs | struct_definition | AccountIDSupportedMethods | 0 | [] | 39 | null | null | null | null | null | null | null |
// Trait: FileStorageInterface
// File: crates/external_services/src/file_storage.rs
// Module: external_services
pub trait FileStorageInterface: dyn_clone::DynClone + Sync + Send | crates/external_services/src/file_storage.rs | external_services | trait_definition | null | null | null | 40 | null | null | FileStorageInterface | null | null | null | null |
// Struct: BeginTotpResponse
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct BeginTotpResponse | crates/api_models/src/user.rs | api_models | struct_definition | BeginTotpResponse | 0 | [] | 37 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorCustomer for for Facilitapay
// File: crates/hyperswitch_connectors/src/connectors/facilitapay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorCustomer for for Facilitapay | crates/hyperswitch_connectors/src/connectors/facilitapay.rs | hyperswitch_connectors | impl_block | null | null | null | 64 | null | Facilitapay | api::ConnectorCustomer for | 0 | 0 | null | null |
// Struct: NoonApplePayPaymentMethod
// File: crates/hyperswitch_connectors/src/connectors/noon/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NoonApplePayPaymentMethod | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs | hyperswitch_connectors | struct_definition | NoonApplePayPaymentMethod | 0 | [] | 51 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_domain_models/src/payouts.rs
// Module: hyperswitch_domain_models
// Public submodules:
pub mod payout_attempt;
pub mod payouts;
| crates/hyperswitch_domain_models/src/payouts.rs | hyperswitch_domain_models | module_structure | null | null | null | 42 | null | null | null | null | null | 2 | 0 |
// Implementation: impl GsmFeatureData
// File: crates/common_types/src/domain.rs
// Module: common_types
// Methods: 2 total (2 public)
impl GsmFeatureData | crates/common_types/src/domain.rs | common_types | impl_block | null | null | null | 40 | null | GsmFeatureData | null | 2 | 2 | null | null |
// Function: delete_by_merchant_id
// File: crates/diesel_models/src/query/merchant_account.rs
// Module: diesel_models
pub fn delete_by_merchant_id(
conn: &PgPooledConn,
identifier: &common_utils::id_type::MerchantId,
) -> StorageResult<bool> | crates/diesel_models/src/query/merchant_account.rs | diesel_models | function_signature | null | null | null | 66 | delete_by_merchant_id | null | null | null | null | null | null |
// Struct: TimelinePayment
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TimelinePayment | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | struct_definition | TimelinePayment | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: RefundsMetricsResponse
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct RefundsMetricsResponse<T> | crates/api_models/src/analytics.rs | api_models | struct_definition | RefundsMetricsResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: DeviceDetails
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeviceDetails | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | DeviceDetails | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: PaymentMethodsPTMapping
// File: crates/scheduler/src/consumer/types/process_data.rs
// Module: scheduler
// Implementations: 1
// Traits: Default
pub struct PaymentMethodsPTMapping | crates/scheduler/src/consumer/types/process_data.rs | scheduler | struct_definition | PaymentMethodsPTMapping | 1 | [
"Default"
] | 45 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Peachpayments
// File: crates/hyperswitch_connectors/src/connectors/peachpayments.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Peachpayments | crates/hyperswitch_connectors/src/connectors/peachpayments.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Peachpayments | ConnectorSpecifications for | 3 | 0 | null | null |
// File: crates/analytics/src/refunds/metrics.rs
// Module: analytics
// Public structs: 1
use api_models::analytics::{
refunds::{
RefundDimensions, RefundFilters, RefundMetrics, RefundMetricsBucketIdentifier, RefundType,
},
Granularity, TimeRange,
};
use diesel_models::enums as storage_enums;
use ... | crates/analytics/src/refunds/metrics.rs | analytics | full_file | null | null | null | 1,147 | null | null | null | null | null | null | null |
// Struct: CybersourceConsumerAuthInformationEnrollmentResponse
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceConsumerAuthInformationEnrollmentResponse | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceConsumerAuthInformationEnrollmentResponse | 0 | [] | 61 | null | null | null | null | null | null | null |
// Implementation: impl api::UasAuthenticationConfirmation for for Juspaythreedsserver
// File: crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::UasAuthenticationConfirmation for for Juspaythreedsserver | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs | hyperswitch_connectors | impl_block | null | null | null | 76 | null | Juspaythreedsserver | api::UasAuthenticationConfirmation for | 0 | 0 | null | null |
let connectors = routing::perform_eligibility_analysis_with_fallback(
&state.clone(),
merchant_context.get_merchant_key_store(),
connectors,
&TransactionData::Payment(transaction_data),
eligible_connectors,
business_profile,
)
.await
.change_context(error... | crates/router/src/core/payments.rs#chunk9 | router | chunk | null | null | null | 8,183 | null | null | null | null | null | null | null |
// Implementation: impl Payme
// File: crates/hyperswitch_connectors/src/connectors/payme.rs
// Module: hyperswitch_connectors
// Methods: 1 total (0 public)
impl Payme | crates/hyperswitch_connectors/src/connectors/payme.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Payme | null | 1 | 0 | null | null |
// Struct: FrmFilters
// File: crates/api_models/src/analytics/frm.rs
// Module: api_models
// Implementations: 0
pub struct FrmFilters | crates/api_models/src/analytics/frm.rs | api_models | struct_definition | FrmFilters | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: TrustlyDetails
// File: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TrustlyDetails | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs | hyperswitch_connectors | struct_definition | TrustlyDetails | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_interfaces/src/api/authentication.rs
// Module: hyperswitch_interfaces
use hyperswitch_domain_models::{
router_flow_types::authentication::{
Authentication, PostAuthentication, PreAuthentication, PreAuthenticationVersionCall,
},
router_request_types::authentication::{
... | crates/hyperswitch_interfaces/src/api/authentication.rs | hyperswitch_interfaces | full_file | null | null | null | 269 | null | null | null | null | null | null | null |
// File: crates/router/src/utils/storage_partitioning.rs
// Module: router
pub use storage_impl::redis::kv_store::{KvStorePartition, PartitionKey};
| crates/router/src/utils/storage_partitioning.rs | router | full_file | null | null | null | 35 | null | null | null | null | null | null | null |
// Function: validate
// File: crates/router/src/configs/validations.rs
// Module: router
pub fn validate(&self) -> Result<(), ApplicationError> | crates/router/src/configs/validations.rs | router | function_signature | null | null | null | 35 | validate | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Braintree
// File: crates/hyperswitch_connectors/src/connectors/braintree.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Braintree | crates/hyperswitch_connectors/src/connectors/braintree.rs | hyperswitch_connectors | impl_block | null | null | null | 62 | null | Braintree | api::MandateSetup for | 0 | 0 | null | null |
// Function: form_payments_info
// File: crates/router/src/core/payment_methods.rs
// Module: router
pub fn form_payments_info(
payment_intent: PaymentIntent,
merchant_context: &domain::MerchantContext,
profile: domain::Profile,
db: &dyn StorageInterface,
key_manager_state: &uti... | crates/router/src/core/payment_methods.rs | router | function_signature | null | null | null | 84 | form_payments_info | null | null | null | null | null | null |
// Struct: PaymentGetListAttempts
// File: crates/hyperswitch_domain_models/src/router_flow_types/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentGetListAttempts | crates/hyperswitch_domain_models/src/router_flow_types/payments.rs | hyperswitch_domain_models | struct_definition | PaymentGetListAttempts | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: StripePaymentCancelRequest
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Implementations: 0
pub struct StripePaymentCancelRequest | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | struct_definition | StripePaymentCancelRequest | 0 | [] | 43 | null | null | null | null | null | null | null |
// Struct: CeleroTransactionResponseData
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
pub struct CeleroTransactionResponseData | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroTransactionResponseData | 1 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl PayoutAttemptUpdate
// File: crates/diesel_models/src/payout_attempt.rs
// Module: diesel_models
// Methods: 1 total (1 public)
impl PayoutAttemptUpdate | crates/diesel_models/src/payout_attempt.rs | diesel_models | impl_block | null | null | null | 43 | null | PayoutAttemptUpdate | null | 1 | 1 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | module_structure | null | null | null | 38 | null | null | null | null | null | 1 | 0 |
// Function: find_by_payment_method_id
// File: crates/diesel_models/src/query/payment_method.rs
// Module: diesel_models
pub fn find_by_payment_method_id(
conn: &PgPooledConn,
payment_method_id: &str,
) -> StorageResult<Self> | crates/diesel_models/src/query/payment_method.rs | diesel_models | function_signature | null | null | null | 60 | find_by_payment_method_id | null | null | null | null | null | null |
// Function: check_ppcp_custom_status
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
pub fn check_ppcp_custom_status(&self) -> Option<api::PayPalOnboardingStatus> | crates/router/src/types/api/connector_onboarding/paypal.rs | router | function_signature | null | null | null | 51 | check_ppcp_custom_status | null | null | null | null | null | null |
// Struct: PaymentThreshold
// File: crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaymentThreshold | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs | hyperswitch_connectors | struct_definition | PaymentThreshold | 0 | [] | 46 | null | null | null | null | null | null | null |
#[cfg(feature = "v2")]
impl<F: Clone> TryFrom<PaymentAdditionalData<'_, F>> for types::PaymentsPostSessionTokensData {
type Error = error_stack::Report<errors::ApiErrorResponse>;
fn try_from(additional_data: PaymentAdditionalData<'_, F>) -> Result<Self, Self::Error> {
todo!()
}
}
#[cfg(feature = "... | crates/router/src/core/payments/transformers.rs#chunk5 | router | chunk | null | null | null | 8,183 | null | null | null | null | null | null | null |
// Function: should_force_sync_with_connector
// File: crates/common_enums/src/enums.rs
// Module: common_enums
// Documentation: Indicates whether the syncing with the connector should be allowed or not
pub fn should_force_sync_with_connector(self) -> bool | crates/common_enums/src/enums.rs | common_enums | function_signature | null | null | null | 55 | should_force_sync_with_connector | null | null | null | null | null | null |
// Struct: ResultData
// File: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ResultData | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs | hyperswitch_connectors | struct_definition | ResultData | 0 | [] | 46 | null | null | null | null | null | null | null |
// File: crates/analytics/src/sdk_events.rs
// Module: analytics
pub mod accumulator;
mod core;
pub mod events;
pub mod filters;
pub mod metrics;
pub mod types;
pub use accumulator::{SdkEventMetricAccumulator, SdkEventMetricsAccumulator};
pub use self::core::{get_filters, get_metrics, sdk_events_core};
| crates/analytics/src/sdk_events.rs | analytics | full_file | null | null | null | 74 | null | null | null | null | null | null | null |
// Struct: CreateCustomerResponse
// File: crates/router/src/compatibility/stripe/customers/types.rs
// Module: router
// Implementations: 0
pub struct CreateCustomerResponse | crates/router/src/compatibility/stripe/customers/types.rs | router | struct_definition | CreateCustomerResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Struct: BlackhawknetworkRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BlackhawknetworkRefundRequest | crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs | hyperswitch_connectors | struct_definition | BlackhawknetworkRefundRequest | 0 | [] | 54 | null | null | null | null | null | null | null |
// File: crates/router/src/db/address.rs
// Module: router
use common_utils::{id_type, types::keymanager::KeyManagerState};
use diesel_models::{address::AddressUpdateInternal, enums::MerchantStorageScheme};
use error_stack::ResultExt;
use super::MockDb;
use crate::{
core::errors::{self, CustomResult},
types::... | crates/router/src/db/address.rs | router | full_file | null | null | null | 6,510 | null | null | null | null | null | null | null |
// Struct: BluesnapPaymentsTokenRequest
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapPaymentsTokenRequest | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapPaymentsTokenRequest | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/router/src/core/payments/operations/payment_start.rs
// Module: router
// Public structs: 1
use std::marker::PhantomData;
use api_models::enums::FrmSuggestion;
use async_trait::async_trait;
use error_stack::ResultExt;
use router_derive::PaymentOperation;
use router_env::{instrument, tracing};
use sup... | crates/router/src/core/payments/operations/payment_start.rs | router | full_file | null | null | null | 2,660 | null | null | null | null | null | null | null |
// Function: into_inner
// File: crates/common_utils/src/encryption.rs
// Module: common_utils
pub fn into_inner(self) -> Secret<Vec<u8>, EncryptionStrategy> | crates/common_utils/src/encryption.rs | common_utils | function_signature | null | null | null | 38 | into_inner | null | null | null | null | null | null |
// Function: extract_de_output_connectors
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Documentation: Custom deserializer for output from decision_engine, this is required as untagged enum is stored but the enum requires tagged deserialization, hence deserializing it into specific var... | crates/router/src/core/payments/routing/utils.rs | router | function_signature | null | null | null | 93 | extract_de_output_connectors | null | null | null | null | null | null |
// Struct: TaxjarAuthType
// File: crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct TaxjarAuthType | crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs | hyperswitch_connectors | struct_definition | TaxjarAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: UserFromTokenWithRoleInfo
// File: crates/router/src/services/authentication.rs
// Module: router
// Implementations: 0
pub struct UserFromTokenWithRoleInfo | crates/router/src/services/authentication.rs | router | struct_definition | UserFromTokenWithRoleInfo | 0 | [] | 40 | null | null | null | null | null | null | null |
// File: crates/test_utils/src/connector_auth.rs
// Module: test_utils
// Public functions: 3
// Public structs: 10
use std::{collections::HashMap, env};
use masking::Secret;
use serde::{Deserialize, Serialize};
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct ConnectorAuthentication {
pub aci: Option<... | crates/test_utils/src/connector_auth.rs | test_utils | full_file | null | null | null | 3,720 | null | null | null | null | null | null | null |
// Function: find_by_merchant_id_connector_mandate_id
// File: crates/diesel_models/src/query/mandate.rs
// Module: diesel_models
pub fn find_by_merchant_id_connector_mandate_id(
conn: &PgPooledConn,
merchant_id: &common_utils::id_type::MerchantId,
connector_mandate_id: &str,
) -> StorageRe... | crates/diesel_models/src/query/mandate.rs | diesel_models | function_signature | null | null | null | 87 | find_by_merchant_id_connector_mandate_id | null | null | null | null | null | null |
// Function: new
// File: crates/hyperswitch_connectors/src/connectors/dwolla.rs
// Module: hyperswitch_connectors
pub fn new() -> &'static Self | crates/hyperswitch_connectors/src/connectors/dwolla.rs | hyperswitch_connectors | function_signature | null | null | null | 39 | new | null | null | null | null | null | null |
// Function: get_merchant_connector_account_for_wallet_decryption_flow
// File: crates/router/src/core/payments.rs
// Module: router
pub fn get_merchant_connector_account_for_wallet_decryption_flow<F, D>(
state: &SessionState,
merchant_context: &domain::MerchantContext,
payment_data: &mut D,
connector_... | crates/router/src/core/payments.rs | router | function_signature | null | null | null | 122 | get_merchant_connector_account_for_wallet_decryption_flow | null | null | null | null | null | null |
// Implementation: impl RefundExecute for for Cybersource
// File: crates/hyperswitch_connectors/src/connectors/cybersource.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl RefundExecute for for Cybersource | crates/hyperswitch_connectors/src/connectors/cybersource.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Cybersource | RefundExecute for | 0 | 0 | null | null |
// Function: generate_authorization_value
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
pub fn generate_authorization_value(&self) -> String | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | function_signature | null | null | null | 47 | generate_authorization_value | null | null | null | null | null | null |
// Function: get_gsm_rule
// File: crates/openapi/src/routes/gsm.rs
// Module: openapi
pub fn get_gsm_rule() | crates/openapi/src/routes/gsm.rs | openapi | function_signature | null | null | null | 33 | get_gsm_rule | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 59 | null | Custombilling | api::RefundSync for | 0 | 0 | null | null |
// Struct: BankOfAmericaAuthType
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BankOfAmericaAuthType | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | BankOfAmericaAuthType | 0 | [] | 54 | null | null | null | null | null | null | null |
// Implementation: impl SetupIntents
// File: crates/router/src/compatibility/stripe/app.rs
// Module: router
// Methods: 1 total (1 public)
impl SetupIntents | crates/router/src/compatibility/stripe/app.rs | router | impl_block | null | null | null | 41 | null | SetupIntents | null | 1 | 1 | null | null |
// Implementation: impl ConnectorSpecifications for for Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Billwerk | ConnectorSpecifications for | 3 | 0 | null | null |
// Implementation: impl api::RefundSync for for Klarna
// File: crates/hyperswitch_connectors/src/connectors/klarna.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Klarna | crates/hyperswitch_connectors/src/connectors/klarna.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Klarna | api::RefundSync for | 0 | 0 | null | null |
// Implementation: impl AuthEventMetricAccumulator for for CountAccumulator
// File: crates/analytics/src/auth_events/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl AuthEventMetricAccumulator for for CountAccumulator | crates/analytics/src/auth_events/accumulator.rs | analytics | impl_block | null | null | null | 58 | null | CountAccumulator | AuthEventMetricAccumulator for | 2 | 0 | null | null |
// Function: list_customer_payment_method_api_client
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
pub fn list_customer_payment_method_api_client() | crates/openapi/src/routes/payment_method.rs | openapi | function_signature | null | null | null | 37 | list_customer_payment_method_api_client | null | null | null | null | null | null |
// Implementation: impl FileMetadataNew
// File: crates/diesel_models/src/query/file.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl FileMetadataNew | crates/diesel_models/src/query/file.rs | diesel_models | impl_block | null | null | null | 40 | null | FileMetadataNew | null | 1 | 0 | null | null |
// Function: get_paze_wallet_data
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
pub fn get_paze_wallet_data(&self) -> Option<&PazeWalletData> | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 51 | get_paze_wallet_data | null | null | null | null | null | null |
// Struct: Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Implementations: 18
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Re... | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | struct_definition | Flexiti | 18 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"ConnectorCommon",
"ConnectorValidat... | 126 | null | null | null | null | null | null | null |
// Function: make_stream_available
// File: crates/drainer/src/stream.rs
// Module: drainer
pub fn make_stream_available(&self, stream_name_flag: &str) -> errors::DrainerResult<()> | crates/drainer/src/stream.rs | drainer | function_signature | null | null | null | 45 | make_stream_available | null | null | null | null | null | null |
// Implementation: impl Responder
// File: crates/router/src/routes/payments.rs
// Module: router
// Methods: 0 total (0 public)
impl Responder | crates/router/src/routes/payments.rs | router | impl_block | null | null | null | 36 | null | Responder | null | 0 | 0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.