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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
res: Response,
event_builder: Option<&mut ConnectorEvent>,
) -> CustomResult<ErrorResponse, errors::ConnectorError> {
self.build_error_response(res, event_builder)
}
}
#[async_trait::async_trait]
impl webhooks::IncomingWebhook for Bankofamerica {
fn get_webhook_object_reference_id(
... | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 1,221 | null | null | null | null | null | null | null |
// Function: totp_reset
// File: crates/router/src/routes/user.rs
// Module: router
pub fn totp_reset(state: web::Data<AppState>, req: HttpRequest) -> HttpResponse | crates/router/src/routes/user.rs | router | function_signature | null | null | null | 41 | totp_reset | null | null | null | null | null | null |
// Trait: ConnectorIntegration
// File: crates/pm_auth/src/types/api.rs
// Module: pm_auth
pub trait ConnectorIntegration<T, Req, Resp>: ConnectorIntegrationAny<T, Req, Resp> + Sync | crates/pm_auth/src/types/api.rs | pm_auth | trait_definition | null | null | null | 44 | null | null | ConnectorIntegration | null | null | null | null |
// Struct: ThreeDsMethodDataForm
// File: crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDsMethodDataForm | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | ThreeDsMethodDataForm | 0 | [] | 53 | null | null | null | null | null | null | null |
// Struct: Digitalvirgo
// File: crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs
// Module: hyperswitch_connectors
// Implementations: 19
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoi... | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs | hyperswitch_connectors | struct_definition | Digitalvirgo | 19 | [
"api::Payment",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::MandateSetup",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentCapture",
"api::PaymentVoid",
"api::Refund",
"api::RefundExecute",
"api::RefundSync",
"api::PaymentToken",
"api::PaymentsCompleteAuthorize",
"C... | 139 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Placetopay
// File: crates/hyperswitch_connectors/src/connectors/placetopay.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Placetopay | crates/hyperswitch_connectors/src/connectors/placetopay.rs | hyperswitch_connectors | impl_block | null | null | null | 63 | null | Placetopay | api::PaymentSession for | 0 | 0 | null | null |
// Function: collect
// File: crates/analytics/src/sdk_events/accumulator.rs
// Module: analytics
pub fn collect(self) -> SdkEventMetricsBucketValue | crates/analytics/src/sdk_events/accumulator.rs | analytics | function_signature | null | null | null | 35 | collect | null | null | null | null | null | null |
// Struct: ValueData
// File: crates/euclid/src/dssa/types.rs
// Module: euclid
// Implementations: 0
pub struct ValueData | crates/euclid/src/dssa/types.rs | euclid | struct_definition | ValueData | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: DisputeEvidenceBlock
// File: crates/api_models/src/disputes.rs
// Module: api_models
// Implementations: 0
pub struct DisputeEvidenceBlock | crates/api_models/src/disputes.rs | api_models | struct_definition | DisputeEvidenceBlock | 0 | [] | 39 | null | null | null | null | null | null | null |
// Implementation: impl ValidateStatusForOperation for for PaymentUpdateIntent
// File: crates/router/src/core/payments/operations/payment_update_intent.rs
// Module: router
// Methods: 1 total (0 public)
impl ValidateStatusForOperation for for PaymentUpdateIntent | crates/router/src/core/payments/operations/payment_update_intent.rs | router | impl_block | null | null | null | 55 | null | PaymentUpdateIntent | ValidateStatusForOperation for | 1 | 0 | null | null |
// Trait: NuveiPaymentsGenericResponse
// File: crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
// Module: hyperswitch_connectors
pub trait NuveiPaymentsGenericResponse | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs | hyperswitch_connectors | trait_definition | null | null | null | 48 | null | null | NuveiPaymentsGenericResponse | null | null | null | null |
// Implementation: impl RequiredFieldsInput
// File: crates/router/src/core/payments/payment_methods.rs
// Module: router
// Methods: 1 total (0 public)
impl RequiredFieldsInput | crates/router/src/core/payments/payment_methods.rs | router | impl_block | null | null | null | 40 | null | RequiredFieldsInput | null | 1 | 0 | null | null |
// Struct: PayloadRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/payload/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PayloadRefundRequest | crates/hyperswitch_connectors/src/connectors/payload/requests.rs | hyperswitch_connectors | struct_definition | PayloadRefundRequest | 0 | [] | 48 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Checkbook
// File: crates/hyperswitch_connectors/src/connectors/checkbook.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorValidation for for Checkbook | crates/hyperswitch_connectors/src/connectors/checkbook.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Checkbook | ConnectorValidation for | 0 | 0 | null | null |
// Struct: AttachPayoutAccountWorkflow
// File: crates/router/src/workflows/attach_payout_account_workflow.rs
// Module: router
// Implementations: 0
pub struct AttachPayoutAccountWorkflow | crates/router/src/workflows/attach_payout_account_workflow.rs | router | struct_definition | AttachPayoutAccountWorkflow | 0 | [] | 44 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/shift4.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/shift4.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Struct: FiservemeaRouterData
// File: crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct FiservemeaRouterData<T> | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs | hyperswitch_connectors | struct_definition | FiservemeaRouterData | 0 | [] | 60 | null | null | null | null | null | null | null |
// Implementation: impl Health
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 1 total (1 public)
impl Health | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 33 | null | Health | null | 1 | 1 | null | null |
// Function: insert
// File: crates/diesel_models/src/query/address.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<Address> | crates/diesel_models/src/query/address.rs | diesel_models | function_signature | null | null | null | 41 | insert | null | null | null | null | null | null |
// Implementation: impl ConnectorSpecifications for for Adyen
// File: crates/hyperswitch_connectors/src/connectors/adyen.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorSpecifications for for Adyen | crates/hyperswitch_connectors/src/connectors/adyen.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Adyen | ConnectorSpecifications for | 3 | 0 | null | null |
// Function: find_by_role_id_in_lineage
// File: crates/diesel_models/src/query/role.rs
// Module: diesel_models
pub fn find_by_role_id_in_lineage(
conn: &PgPooledConn,
role_id: &str,
merchant_id: &id_type::MerchantId,
org_id: &id_type::OrganizationId,
profile_id: &id_type::Prof... | crates/diesel_models/src/query/role.rs | diesel_models | function_signature | null | null | null | 107 | find_by_role_id_in_lineage | null | null | null | null | null | null |
// Struct: NetworkTokenization
// File: crates/common_types/src/payment_methods.rs
// Module: common_types
// Implementations: 0
pub struct NetworkTokenization | crates/common_types/src/payment_methods.rs | common_types | struct_definition | NetworkTokenization | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl common_utils::events::ApiEventMetric for for EventRetrieveResponse
// File: crates/api_models/src/webhook_events.rs
// Module: api_models
// Methods: 1 total (0 public)
impl common_utils::events::ApiEventMetric for for EventRetrieveResponse | crates/api_models/src/webhook_events.rs | api_models | impl_block | null | null | null | 60 | null | EventRetrieveResponse | common_utils::events::ApiEventMetric for | 1 | 0 | null | null |
// Struct: CybersourceNotAvailableErrorObject
// File: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CybersourceNotAvailableErrorObject | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | CybersourceNotAvailableErrorObject | 0 | [] | 57 | null | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Phonepe
// File: crates/hyperswitch_connectors/src/connectors/phonepe.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Phonepe | crates/hyperswitch_connectors/src/connectors/phonepe.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Phonepe | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Function: generate_signature
// File: crates/hyperswitch_connectors/src/connectors/rapyd.rs
// Module: hyperswitch_connectors
pub fn generate_signature(
&self,
auth: &rapyd::RapydAuthType,
http_method: &str,
url_path: &str,
body: &str,
timestamp: i64,
salt: &s... | crates/hyperswitch_connectors/src/connectors/rapyd.rs | hyperswitch_connectors | function_signature | null | null | null | 99 | generate_signature | null | null | null | null | null | null |
// Implementation: impl FrmMetricAccumulator for for BlockedRateAccumulator
// File: crates/analytics/src/frm/accumulator.rs
// Module: analytics
// Methods: 2 total (0 public)
impl FrmMetricAccumulator for for BlockedRateAccumulator | crates/analytics/src/frm/accumulator.rs | analytics | impl_block | null | null | null | 58 | null | BlockedRateAccumulator | FrmMetricAccumulator for | 2 | 0 | null | null |
// Implementation: impl PaymentIncrementalAuthorization for for Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentIncrementalAuthorization for for Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Paypal | PaymentIncrementalAuthorization for | 0 | 0 | null | null |
// Struct: RefundResponse
// File: crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RefundResponse | crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs | hyperswitch_connectors | struct_definition | RefundResponse | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl Default for for MerchantAccountRoutingAlgorithm
// File: crates/router/src/core/payments/routing.rs
// Module: router
// Methods: 1 total (0 public)
impl Default for for MerchantAccountRoutingAlgorithm | crates/router/src/core/payments/routing.rs | router | impl_block | null | null | null | 48 | null | MerchantAccountRoutingAlgorithm | Default for | 1 | 0 | null | null |
// Function: get_capture_by_capture_id
// File: crates/router/src/core/payments/types.rs
// Module: router
pub fn get_capture_by_capture_id(&self, capture_id: String) -> Option<&storage::Capture> | crates/router/src/core/payments/types.rs | router | function_signature | null | null | null | 48 | get_capture_by_capture_id | null | null | null | null | null | null |
// Struct: ExtraParameters
// File: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ExtraParameters | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs | hyperswitch_connectors | struct_definition | ExtraParameters | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl api::Refund for for Adyenplatform
// File: crates/hyperswitch_connectors/src/connectors/adyenplatform.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::Refund for for Adyenplatform | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Adyenplatform | api::Refund for | 0 | 0 | null | null |
// Struct: CardNetworkTokenizeRecord
// File: crates/hyperswitch_domain_models/src/bulk_tokenization.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct CardNetworkTokenizeRecord | crates/hyperswitch_domain_models/src/bulk_tokenization.rs | hyperswitch_domain_models | struct_definition | CardNetworkTokenizeRecord | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: PlaidSyncRequest
// File: crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PlaidSyncRequest | crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs | hyperswitch_connectors | struct_definition | PlaidSyncRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Struct: Braintree
// File: crates/hyperswitch_connectors/src/connectors/braintree.rs
// Module: hyperswitch_connectors
// Implementations: 20
// Traits: ConnectorCommon, ConnectorValidation, api::Payment, api::PaymentAuthorize, api::PaymentSync, api::PaymentVoid, api::PaymentCapture, api::PaymentsCompleteAuthorize, ... | crates/hyperswitch_connectors/src/connectors/braintree.rs | hyperswitch_connectors | struct_definition | Braintree | 20 | [
"ConnectorCommon",
"ConnectorValidation",
"api::Payment",
"api::PaymentAuthorize",
"api::PaymentSync",
"api::PaymentVoid",
"api::PaymentCapture",
"api::PaymentsCompleteAuthorize",
"api::PaymentSession",
"api::ConnectorAccessToken",
"api::ConnectorMandateRevoke",
"api::PaymentToken",
"api::Ma... | 142 | null | null | null | null | null | null | null |
// File: crates/analytics/src/errors.rs
// Module: analytics
use api_models::errors::types::{ApiError, ApiErrorResponse};
use common_utils::errors::{CustomResult, ErrorSwitch};
pub type AnalyticsResult<T> = CustomResult<T, AnalyticsError>;
#[derive(Debug, Clone, serde::Serialize, thiserror::Error)]
pub enum Analytic... | crates/analytics/src/errors.rs | analytics | full_file | null | null | null | 316 | null | null | null | null | null | null | null |
// Implementation: impl api::ExternalVault for for Tokenex
// File: crates/hyperswitch_connectors/src/connectors/tokenex.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ExternalVault for for Tokenex | crates/hyperswitch_connectors/src/connectors/tokenex.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Tokenex | api::ExternalVault for | 0 | 0 | null | null |
// Struct: ExternalThreeDSConnectorMetadata
// File: crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ExternalThreeDSConnectorMetadata | crates/hyperswitch_domain_models/src/router_request_types/authentication.rs | hyperswitch_domain_models | struct_definition | ExternalThreeDSConnectorMetadata | 0 | [] | 48 | null | null | null | null | null | null | null |
// Struct: RapydRouterData
// File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct RapydRouterData<T> | crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs | hyperswitch_connectors | struct_definition | RapydRouterData | 0 | [] | 54 | null | null | null | null | null | null | null |
// Struct: CardResponseObject
// File: crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CardResponseObject | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | CardResponseObject | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: ExtendedAuthorizationAppliedBool
// File: crates/common_types/src/primitive_wrappers.rs
// Module: common_types
// Implementations: 1
// Traits: Deref
pub struct ExtendedAuthorizationAppliedBool | crates/common_types/src/primitive_wrappers.rs | common_types | struct_definition | ExtendedAuthorizationAppliedBool | 1 | [
"Deref"
] | 46 | null | null | null | null | null | null | null |
// Struct: ApiErrorResponse
// File: crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApiErrorResponse | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs | hyperswitch_connectors | struct_definition | ApiErrorResponse | 0 | [] | 46 | null | null | null | null | null | null | null |
// Trait: PaymentDistribution
// File: crates/analytics/src/payments/distribution.rs
// Module: analytics
pub trait PaymentDistribution<T> | crates/analytics/src/payments/distribution.rs | analytics | trait_definition | null | null | null | 30 | null | null | PaymentDistribution | null | null | null | null |
// Struct: PaypalRedirection
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaypalRedirection | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | PaypalRedirection | 0 | [] | 43 | null | null | null | null | null | null | null |
// Implementation: impl RelayNew
// File: crates/diesel_models/src/query/relay.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl RelayNew | crates/diesel_models/src/query/relay.rs | diesel_models | impl_block | null | null | null | 39 | null | RelayNew | null | 1 | 0 | null | null |
// Implementation: impl ProfileNew
// File: crates/router/src/routes/app.rs
// Module: router
// Methods: 2 total (2 public)
impl ProfileNew | crates/router/src/routes/app.rs | router | impl_block | null | null | null | 35 | null | ProfileNew | null | 2 | 2 | null | null |
// Implementation: impl Shift4AuthorizePreprocessingCommon for for PaymentsAuthorizeData
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Methods: 7 total (0 public)
impl Shift4AuthorizePreprocessingCommon for for PaymentsAuthorizeData | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | impl_block | null | null | null | 67 | null | PaymentsAuthorizeData | Shift4AuthorizePreprocessingCommon for | 7 | 0 | null | null |
// Struct: RefundListRequest
// File: crates/api_models/src/refunds.rs
// Module: api_models
// Implementations: 0
pub struct RefundListRequest | crates/api_models/src/refunds.rs | api_models | struct_definition | RefundListRequest | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: ConnectorConfig
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
// Implementations: 1
pub struct ConnectorConfig | crates/connector_configs/src/connector.rs | connector_configs | struct_definition | ConnectorConfig | 1 | [] | 35 | null | null | null | null | null | null | null |
// Function: list_countries_currencies_for_connector_payment_method
// File: crates/router/src/core/payment_methods/cards.rs
// Module: router
pub fn list_countries_currencies_for_connector_payment_method(
state: routes::SessionState,
req: ListCountriesCurrenciesRequest,
_profile_id: Option<id_type::Profil... | crates/router/src/core/payment_methods/cards.rs | router | function_signature | null | null | null | 82 | list_countries_currencies_for_connector_payment_method | null | null | null | null | null | null |
// Function: get_recovery_decider_connection
// File: crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs
// Module: external_services
// Documentation: create a connection
pub fn get_recovery_decider_connection(
&self,
hyper_client: Client,
) -> Result<DeciderClie... | crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs | external_services | function_signature | null | null | null | 78 | get_recovery_decider_connection | null | null | null | null | null | null |
// Function: update_payment_method_and_pm_id
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
pub fn update_payment_method_and_pm_id(
&mut self,
payment_method_id: id_type::GlobalPaymentMethodId,
payment_method: payment_methods::PaymentMethod,
) | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | function_signature | null | null | null | 72 | update_payment_method_and_pm_id | null | null | null | null | null | null |
// Function: workspace_path
// File: crates/router_env/src/env.rs
// Module: router_env
// Documentation: Path to the root directory of the cargo workspace. It is recommended that this be used by the application as the base path to build other paths such as configuration and logs directories.
pub fn workspace_path() ... | crates/router_env/src/env.rs | router_env | function_signature | null | null | null | 68 | workspace_path | null | null | null | null | null | null |
// Module Structure
// File: crates/external_services/src/grpc_client/revenue_recovery.rs
// Module: external_services
// Public submodules:
pub mod recovery_decider_client;
| crates/external_services/src/grpc_client/revenue_recovery.rs | external_services | module_structure | null | null | null | 37 | null | null | null | null | null | 1 | 0 |
// Function: migrate_payment_method
// File: crates/payment_methods/src/core/migration/payment_methods.rs
// Module: payment_methods
pub fn migrate_payment_method(
_state: &state::PaymentMethodsState,
_req: pm_api::PaymentMethodMigrate,
_merchant_id: &id_type::MerchantId,
_merchant_context: &merchant_c... | crates/payment_methods/src/core/migration/payment_methods.rs | payment_methods | function_signature | null | null | null | 111 | migrate_payment_method | null | null | null | null | null | null |
// File: crates/router/src/core/errors/transformers.rs
// Module: router
use common_utils::errors::ErrorSwitch;
use hyperswitch_domain_models::errors::api_error_response::ApiErrorResponse;
use super::{CustomersErrorResponse, StorageError};
impl ErrorSwitch<api_models::errors::types::ApiErrorResponse> for CustomersEr... | crates/router/src/core/errors/transformers.rs | router | full_file | null | null | null | 499 | null | null | null | null | null | null | null |
// Implementation: impl UserName
// File: crates/router/src/types/domain/user.rs
// Module: router
// Methods: 2 total (2 public)
impl UserName | crates/router/src/types/domain/user.rs | router | impl_block | null | null | null | 34 | null | UserName | null | 2 | 2 | null | null |
// Struct: BitpayRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BitpayRefundRequest | crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs | hyperswitch_connectors | struct_definition | BitpayRefundRequest | 0 | [] | 51 | null | null | null | null | null | null | null |
// Implementation: impl super::KafkaMessage for for KafkaRefundEvent
// File: crates/router/src/services/kafka/refund_event.rs
// Module: router
// Methods: 2 total (0 public)
impl super::KafkaMessage for for KafkaRefundEvent | crates/router/src/services/kafka/refund_event.rs | router | impl_block | null | null | null | 57 | null | KafkaRefundEvent | super::KafkaMessage for | 2 | 0 | null | null |
// File: crates/diesel_models/src/locker_mock_up.rs
// Module: diesel_models
// Public structs: 2
use diesel::{Identifiable, Insertable, Queryable, Selectable};
use crate::schema::locker_mock_up;
#[derive(Clone, Debug, Eq, Identifiable, Queryable, Selectable, PartialEq)]
#[diesel(table_name = locker_mock_up, primary... | crates/diesel_models/src/locker_mock_up.rs | diesel_models | full_file | null | null | null | 398 | null | null | null | null | null | null | null |
// Trait: ConnectorIntegrationAny
// File: crates/pm_auth/src/types/api.rs
// Module: pm_auth
pub trait ConnectorIntegrationAny<T, Req, Resp>: Send + Sync + 'static | crates/pm_auth/src/types/api.rs | pm_auth | trait_definition | null | null | null | 41 | null | null | ConnectorIntegrationAny | null | null | null | null |
// File: crates/router/tests/connectors/volt.rs
// Module: router
use masking::Secret;
use router::types::{self, domain, storage::enums};
use test_utils::connector_auth;
use crate::utils::{self, ConnectorActions};
#[derive(Clone, Copy)]
struct VoltTest;
impl ConnectorActions for VoltTest {}
impl utils::Connector for... | crates/router/tests/connectors/volt.rs | router | full_file | null | null | null | 2,921 | null | null | null | null | null | null | null |
// Function: get_is_tax_connector_enabled
// File: crates/hyperswitch_domain_models/src/business_profile.rs
// Module: hyperswitch_domain_models
pub fn get_is_tax_connector_enabled(&self) -> bool | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | null | null | null | 44 | get_is_tax_connector_enabled | null | null | null | null | null | null |
// Trait: PayoutAttemptInterface
// File: crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs
// Module: hyperswitch_domain_models
pub trait PayoutAttemptInterface | crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs | hyperswitch_domain_models | trait_definition | null | null | null | 41 | null | null | PayoutAttemptInterface | null | null | null | null |
// Struct: PaymentMethodBalance
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentMethodBalance | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | struct_definition | PaymentMethodBalance | 0 | [] | 42 | null | null | null | null | null | null | null |
// File: crates/router/src/compatibility/stripe/payment_intents/types.rs
// Module: router
// Public functions: 1
// Public structs: 20
use std::str::FromStr;
use api_models::payments;
use common_types::payments as common_payments_types;
use common_utils::{
crypto::Encryptable,
date_time,
ext_traits::Stri... | crates/router/src/compatibility/stripe/payment_intents/types.rs | router | full_file | null | null | null | 7,805 | null | null | null | null | null | null | null |
// Function: new
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
pub fn new(
pm_type: RequestPaymentMethodTypes,
connector: String,
merchant_connector_id: String,
pm: api_enums::PaymentMethod,
) -> Self | crates/api_models/src/payment_methods.rs | api_models | function_signature | null | null | null | 61 | new | null | null | null | null | null | null |
// Struct: CustomerListConstraints
// File: crates/diesel_models/src/query/customers.rs
// Module: diesel_models
// Implementations: 0
pub struct CustomerListConstraints | crates/diesel_models/src/query/customers.rs | diesel_models | struct_definition | CustomerListConstraints | 0 | [] | 38 | null | null | null | null | null | null | null |
// Struct: NetworkField
// File: crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct NetworkField | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs | hyperswitch_connectors | struct_definition | NetworkField | 0 | [] | 47 | null | null | null | null | null | null | null |
// Implementation: impl api::MandateSetup for for Custombilling
// File: crates/hyperswitch_connectors/src/connectors/custombilling.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::MandateSetup for for Custombilling | crates/hyperswitch_connectors/src/connectors/custombilling.rs | hyperswitch_connectors | impl_block | null | null | null | 61 | null | Custombilling | api::MandateSetup for | 0 | 0 | null | null |
// Struct: BluesnapPaymentsRequest
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct BluesnapPaymentsRequest | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | BluesnapPaymentsRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: polymorphic_macro_derive_inner
// File: crates/router_derive/src/macros/generate_schema.rs
// Module: router_derive
pub fn polymorphic_macro_derive_inner(
input: syn::DeriveInput,
) -> syn::Result<proc_macro2::TokenStream> | crates/router_derive/src/macros/generate_schema.rs | router_derive | function_signature | null | null | null | 63 | polymorphic_macro_derive_inner | null | null | null | null | null | null |
// Struct: KlarnaAuthType
// File: crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct KlarnaAuthType | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs | hyperswitch_connectors | struct_definition | KlarnaAuthType | 0 | [] | 50 | null | null | null | null | null | null | null |
// Function: get_temp_password
// File: crates/router/src/utils/user/password.rs
// Module: router
pub fn get_temp_password() -> Secret<String> | crates/router/src/utils/user/password.rs | router | function_signature | null | null | null | 33 | get_temp_password | null | null | null | null | null | null |
// Struct: LogConsole
// File: crates/router_env/src/logger/config.rs
// Module: router_env
// Implementations: 0
pub struct LogConsole | crates/router_env/src/logger/config.rs | router_env | struct_definition | LogConsole | 0 | [] | 34 | null | null | null | null | null | null | null |
// Struct: ApplePayEncodedPaymentData
// File: crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ApplePayEncodedPaymentData | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs | hyperswitch_connectors | struct_definition | ApplePayEncodedPaymentData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Implementation: impl PaymentLinkNew
// File: crates/diesel_models/src/query/payment_link.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl PaymentLinkNew | crates/diesel_models/src/query/payment_link.rs | diesel_models | impl_block | null | null | null | 41 | null | PaymentLinkNew | null | 1 | 0 | null | null |
// Struct: CountryCodeWithName
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct CountryCodeWithName | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CountryCodeWithName | 0 | [] | 36 | null | null | null | null | null | null | null |
// Implementation: impl PartialEq for for RefundMetricsBucketIdentifier
// File: crates/api_models/src/analytics/refunds.rs
// Module: api_models
// Methods: 1 total (0 public)
impl PartialEq for for RefundMetricsBucketIdentifier | crates/api_models/src/analytics/refunds.rs | api_models | impl_block | null | null | null | 51 | null | RefundMetricsBucketIdentifier | PartialEq for | 1 | 0 | null | null |
// Function: set_validate_result
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
pub fn set_validate_result(self) -> NetworkTokenizationBuilder<'a, CardRequestValidated> | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | function_signature | null | null | null | 47 | set_validate_result | null | null | null | null | null | null |
// Implementation: impl api::RefundSync for for Payload
// File: crates/hyperswitch_connectors/src/connectors/payload.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Payload | crates/hyperswitch_connectors/src/connectors/payload.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Payload | api::RefundSync for | 0 | 0 | null | null |
// Struct: PaypalRefundRequest
// File: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaypalRefundRequest | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | PaypalRefundRequest | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Gocardless
// File: crates/hyperswitch_connectors/src/connectors/gocardless.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Gocardless | crates/hyperswitch_connectors/src/connectors/gocardless.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Gocardless | api::PaymentSync for | 0 | 0 | null | null |
// Function: get_pm_authentication_processor_config
// File: crates/connector_configs/src/connector.rs
// Module: connector_configs
pub fn get_pm_authentication_processor_config(
connector: PmAuthConnectors,
) -> Result<Option<ConnectorTomlConfig>, String> | crates/connector_configs/src/connector.rs | connector_configs | function_signature | null | null | null | 57 | get_pm_authentication_processor_config | null | null | null | null | null | null |
// Struct: LoonioRouterData
// File: crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct LoonioRouterData<T> | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs | hyperswitch_connectors | struct_definition | LoonioRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// Struct: PhonepeRouterData
// File: crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PhonepeRouterData<T> | crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs | hyperswitch_connectors | struct_definition | PhonepeRouterData | 0 | [] | 52 | null | null | null | null | null | null | null |
// File: crates/diesel_models/src/query/configs.rs
// Module: diesel_models
// Public functions: 4
use diesel::{associations::HasTable, ExpressionMethods};
use super::generics;
use crate::{
configs::{Config, ConfigNew, ConfigUpdate, ConfigUpdateInternal},
errors,
schema::configs::dsl,
PgPooledConn, St... | crates/diesel_models/src/query/configs.rs | diesel_models | full_file | null | null | null | 406 | null | null | null | null | null | null | null |
// Struct: HelcimPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 1
// Traits: utils::MultipleCaptureSyncResponse
pub struct HelcimPaymentsResponse | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs | hyperswitch_connectors | struct_definition | HelcimPaymentsResponse | 1 | [
"utils::MultipleCaptureSyncResponse"
] | 63 | null | null | null | null | null | null | null |
// Implementation: impl PartialEq for for UserRole
// File: crates/diesel_models/src/user_role.rs
// Module: diesel_models
// Methods: 1 total (0 public)
impl PartialEq for for UserRole | crates/diesel_models/src/user_role.rs | diesel_models | impl_block | null | null | null | 42 | null | UserRole | PartialEq for | 1 | 0 | null | null |
// Implementation: impl SubscriptionHandler
// File: crates/router/src/core/subscription.rs
// Module: router
// Methods: 2 total (1 public)
impl SubscriptionHandler | crates/router/src/core/subscription.rs | router | impl_block | null | null | null | 36 | null | SubscriptionHandler | null | 2 | 1 | null | null |
.await?;
let response = create_intent_response
.get_json_body()
.change_context(errors::ApiErrorResponse::InternalServerError)
.attach_printable("Unexpected response from payments core")?;
match response.status {
enums::IntentStatus::Failed => {
let pt_update = ... | crates/router/src/core/revenue_recovery.rs#chunk1 | router | chunk | null | null | null | 1,068 | null | null | null | null | null | null | null |
// Struct: CardNetworkTypes
// File: crates/api_models/src/payment_methods.rs
// Module: api_models
// Implementations: 0
pub struct CardNetworkTypes | crates/api_models/src/payment_methods.rs | api_models | struct_definition | CardNetworkTypes | 0 | [] | 36 | null | null | null | null | null | null | null |
// File: crates/router/tests/connectors/blackhawknetwork.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,... | crates/router/tests/connectors/blackhawknetwork.rs | router | full_file | null | null | null | 2,941 | null | null | null | null | null | null | null |
// Struct: UserOrgMerchantCreateRequest
// File: crates/api_models/src/user.rs
// Module: api_models
// Implementations: 0
pub struct UserOrgMerchantCreateRequest | crates/api_models/src/user.rs | api_models | struct_definition | UserOrgMerchantCreateRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// File: crates/router/src/core/webhooks/webhook_events.rs
// Module: router
// Public functions: 3
use std::collections::HashSet;
use common_utils::{self, errors::CustomResult, fp_utils};
use error_stack::ResultExt;
use masking::PeekInterface;
use router_env::{instrument, tracing};
use crate::{
core::errors::{s... | crates/router/src/core/webhooks/webhook_events.rs | router | full_file | null | null | null | 3,551 | null | null | null | null | null | null | null |
// Struct: ApplepayPaymentMethod
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct ApplepayPaymentMethod | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | ApplepayPaymentMethod | 0 | [] | 45 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Redsys
// File: crates/hyperswitch_connectors/src/connectors/redsys.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Redsys | crates/hyperswitch_connectors/src/connectors/redsys.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Redsys | api::PaymentSession for | 0 | 0 | null | null |
// File: crates/test_utils/src/lib.rs
// Module: test_utils
#![allow(clippy::print_stdout, clippy::print_stderr)]
pub mod connector_auth;
pub mod newman_runner;
| crates/test_utils/src/lib.rs | test_utils | full_file | null | null | null | 41 | null | null | null | null | null | null | null |
// Struct: PlaidRecipientCreateResponse
// File: crates/pm_auth/src/connector/plaid/transformers.rs
// Module: pm_auth
// Implementations: 0
pub struct PlaidRecipientCreateResponse | crates/pm_auth/src/connector/plaid/transformers.rs | pm_auth | struct_definition | PlaidRecipientCreateResponse | 0 | [] | 45 | 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.