text stringlengths 65 57.3k | file_path stringlengths 22 92 | module stringclasses 38
values | type stringclasses 7
values | struct_name stringlengths 3 60 ⌀ | impl_count int64 0 60 ⌀ | traits listlengths 0 59 ⌀ | tokens int64 16 8.19k | function_name stringlengths 3 85 ⌀ | type_name stringlengths 1 67 ⌀ | trait_name stringclasses 573
values | method_count int64 0 31 ⌀ | public_method_count int64 0 19 ⌀ | submodule_count int64 0 56 ⌀ | export_count int64 0 9 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Struct: PaytmPaymentsResponse
// File: crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct PaytmPaymentsResponse | crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs | hyperswitch_connectors | struct_definition | PaytmPaymentsResponse | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentAuthorize for for Square
// File: crates/hyperswitch_connectors/src/connectors/square.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentAuthorize for for Square | crates/hyperswitch_connectors/src/connectors/square.rs | hyperswitch_connectors | impl_block | null | null | null | 55 | null | Square | api::PaymentAuthorize for | 0 | 0 | null | null |
// Implementation: impl Bluecode
// File: crates/hyperswitch_connectors/src/connectors/bluecode.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Bluecode | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | impl_block | null | null | null | 45 | null | Bluecode | null | 1 | 1 | null | null |
// Function: get_user_theme_using_theme_id
// File: crates/router/src/routes/user/theme.rs
// Module: router
pub fn get_user_theme_using_theme_id(
state: web::Data<AppState>,
req: HttpRequest,
path: web::Path<String>,
) -> HttpResponse | crates/router/src/routes/user/theme.rs | router | function_signature | null | null | null | 60 | get_user_theme_using_theme_id | null | null | null | null | null | null |
// Function: find_resources
// File: crates/storage_impl/src/lib.rs
// Module: storage_impl
pub fn find_resources<D, R, M>(
&self,
state: &KeyManagerState,
key_store: &MerchantKeyStore,
execute_query: R,
) -> error_stack::Result<Vec<D>, StorageError>
where
D: Debug + Syn... | crates/storage_impl/src/lib.rs | storage_impl | function_signature | null | null | null | 121 | find_resources | null | null | null | null | null | null |
// Struct: KlarnaSdkResponse
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct KlarnaSdkResponse | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | struct_definition | KlarnaSdkResponse | 0 | [] | 44 | null | null | null | null | null | null | null |
customer_address,
self.merchant_account.get_id(),
&self.domain_customer.customer_id,
self.key_store.key.get_inner().peek(),
self.merchant_account.storage_scheme,
... | crates/router/src/core/customers.rs#chunk1 | router | chunk | null | null | null | 2,355 | null | null | null | null | null | null | null |
// File: crates/openapi/src/routes/payment_method.rs
// Module: openapi
// Public functions: 23
/// PaymentMethods - Create
///
/// Creates and stores a payment method against a customer.
/// In case of cards, this API should be used only by PCI compliant merchants.
#[utoipa::path(
post,
path = "/payment_metho... | crates/openapi/src/routes/payment_method.rs | openapi | full_file | null | null | null | 5,090 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentVoid for for Paystack
// File: crates/hyperswitch_connectors/src/connectors/paystack.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentVoid for for Paystack | crates/hyperswitch_connectors/src/connectors/paystack.rs | hyperswitch_connectors | impl_block | null | null | null | 57 | null | Paystack | api::PaymentVoid for | 0 | 0 | null | null |
// Function: from_store
// File: crates/storage_impl/src/kv_router_store.rs
// Module: storage_impl
pub fn from_store(
store: RouterStore<T>,
drainer_stream_name: String,
drainer_num_partitions: u8,
ttl_for_kv: u32,
soft_kill: Option<bool>,
) -> Self | crates/storage_impl/src/kv_router_store.rs | storage_impl | function_signature | null | null | null | 74 | from_store | 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 |
// Function: call_to_vault
// File: crates/router/src/core/payment_methods/vault.rs
// Module: router
pub fn call_to_vault<V: pm_types::VaultingInterface>(
state: &routes::SessionState,
payload: Vec<u8>,
) -> CustomResult<String, errors::VaultError> | crates/router/src/core/payment_methods/vault.rs | router | function_signature | null | null | null | 68 | call_to_vault | null | null | null | null | null | null |
// Implementation: impl Deref for for CardExpirationMonth
// File: crates/cards/src/lib.rs
// Module: cards
// Methods: 1 total (0 public)
impl Deref for for CardExpirationMonth | crates/cards/src/lib.rs | cards | impl_block | null | null | null | 44 | null | CardExpirationMonth | Deref for | 1 | 0 | null | null |
// Implementation: impl RoutableConnectorChoiceWithStatus
// File: crates/api_models/src/routing.rs
// Module: api_models
// Methods: 1 total (1 public)
impl RoutableConnectorChoiceWithStatus | crates/api_models/src/routing.rs | api_models | impl_block | null | null | null | 45 | null | RoutableConnectorChoiceWithStatus | null | 1 | 1 | null | null |
// Function: create_merchant_account
// File: crates/router/src/core/user.rs
// Module: router
pub fn create_merchant_account(
state: SessionState,
user_from_token: auth::UserFromToken,
req: user_api::UserMerchantCreate,
) -> UserResponse<user_api::UserMerchantAccountResponse> | crates/router/src/core/user.rs | router | function_signature | null | null | null | 70 | create_merchant_account | null | null | null | null | null | null |
// Struct: HelcimInvoice
// File: crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct HelcimInvoice | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs | hyperswitch_connectors | struct_definition | HelcimInvoice | 0 | [] | 51 | null | null | null | null | null | null | null |
// Function: retrieve_apple_pay_verified_domains
// File: crates/router/src/routes/verification.rs
// Module: router
pub fn retrieve_apple_pay_verified_domains(
state: web::Data<AppState>,
req: HttpRequest,
params: web::Query<verifications::ApplepayGetVerifiedDomainsParam>,
) -> impl Responder | crates/router/src/routes/verification.rs | router | function_signature | null | null | null | 71 | retrieve_apple_pay_verified_domains | null | null | null | null | null | null |
// Struct: CeleroCard
// File: crates/hyperswitch_connectors/src/connectors/celero/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CeleroCard | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs | hyperswitch_connectors | struct_definition | CeleroCard | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: get_refund_metrics
// File: crates/analytics/src/lib.rs
// Module: analytics
pub fn get_refund_metrics(
&self,
metric: &RefundMetrics,
dimensions: &[RefundDimensions],
auth: &AuthInfo,
filters: &RefundFilters,
granularity: Option<Granularity>,
time_r... | crates/analytics/src/lib.rs | analytics | function_signature | null | null | null | 102 | get_refund_metrics | null | null | null | null | null | null |
// Implementation: impl ConnectorAccessToken for for Signifyd
// File: crates/hyperswitch_connectors/src/connectors/signifyd.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl ConnectorAccessToken for for Signifyd | crates/hyperswitch_connectors/src/connectors/signifyd.rs | hyperswitch_connectors | impl_block | null | null | null | 56 | null | Signifyd | ConnectorAccessToken for | 0 | 0 | null | null |
// Function: delete_conditional_config
// File: crates/router/src/core/conditional_config.rs
// Module: router
pub fn delete_conditional_config(
_state: SessionState,
_merchant_context: domain::MerchantContext,
) -> RouterResponse<()> | crates/router/src/core/conditional_config.rs | router | function_signature | null | null | null | 54 | delete_conditional_config | null | null | null | null | null | null |
// Struct: Cards3DSRequest
// File: crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct Cards3DSRequest | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | Cards3DSRequest | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: SubmitEvidenceRequest
// File: crates/api_models/src/disputes.rs
// Module: api_models
// Implementations: 0
pub struct SubmitEvidenceRequest | crates/api_models/src/disputes.rs | api_models | struct_definition | SubmitEvidenceRequest | 0 | [] | 37 | null | null | null | null | null | null | null |
// Struct: ResultInfo
// File: crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ResultInfo | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs | hyperswitch_connectors | struct_definition | ResultInfo | 0 | [] | 46 | null | null | null | null | null | null | null |
// Implementation: impl ConnectorValidation for for Flexiti
// File: crates/hyperswitch_connectors/src/connectors/flexiti.rs
// Module: hyperswitch_connectors
// Methods: 3 total (0 public)
impl ConnectorValidation for for Flexiti | crates/hyperswitch_connectors/src/connectors/flexiti.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Flexiti | ConnectorValidation for | 3 | 0 | null | null |
// File: crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs
// Module: hyperswitch_domain_models
// Public structs: 4
#[derive(Debug, Clone)]
pub struct SubscriptionCreate;
#[derive(Debug, Clone)]
pub struct GetSubscriptionPlans;
#[derive(Debug, Clone)]
pub struct GetSubscriptionPlanPrices;
#[de... | crates/hyperswitch_domain_models/src/router_flow_types/subscriptions.rs | hyperswitch_domain_models | full_file | null | null | null | 82 | null | null | null | null | null | null | null |
// Struct: PaymentAttemptBatchNew
// File: crates/diesel_models/src/user/sample_data.rs
// Module: diesel_models
// Implementations: 2
pub struct PaymentAttemptBatchNew | crates/diesel_models/src/user/sample_data.rs | diesel_models | struct_definition | PaymentAttemptBatchNew | 2 | [] | 40 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSession for for Loonio
// File: crates/hyperswitch_connectors/src/connectors/loonio.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSession for for Loonio | crates/hyperswitch_connectors/src/connectors/loonio.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Loonio | api::PaymentSession for | 0 | 0 | null | null |
// Struct: DenseMap
// File: crates/hyperswitch_constraint_graph/src/dense_map.rs
// Module: hyperswitch_constraint_graph
// Implementations: 5
// Traits: Default, fmt::Debug, IntoIterator
pub struct DenseMap<K, V> | crates/hyperswitch_constraint_graph/src/dense_map.rs | hyperswitch_constraint_graph | struct_definition | DenseMap | 5 | [
"Default",
"fmt::Debug",
"IntoIterator"
] | 57 | null | null | null | null | null | null | null |
// Implementation: impl PaymentSync for for Payone
// File: crates/hyperswitch_connectors/src/connectors/payone.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl PaymentSync for for Payone | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | null | null | null | 53 | null | Payone | PaymentSync for | 0 | 0 | null | null |
// Implementation: impl RecoveryCodes
// File: crates/router/src/types/domain/user.rs
// Module: router
// Methods: 3 total (3 public)
impl RecoveryCodes | crates/router/src/types/domain/user.rs | router | impl_block | null | null | null | 36 | null | RecoveryCodes | null | 3 | 3 | null | null |
// Implementation: impl ConnectorAuthType
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
// Methods: 4 total (3 public)
impl ConnectorAuthType | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | impl_block | null | null | null | 45 | null | ConnectorAuthType | null | 4 | 3 | null | null |
// Struct: VgsMetadata
// File: crates/external_services/src/grpc_client/unified_connector_service.rs
// Module: external_services
// Implementations: 0
pub struct VgsMetadata | crates/external_services/src/grpc_client/unified_connector_service.rs | external_services | struct_definition | VgsMetadata | 0 | [] | 41 | null | null | null | null | null | null | null |
// Struct: OnboardTransferMethodResponse
// File: crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct OnboardTransferMethodResponse | crates/hyperswitch_connectors/src/connectors/nomupay/transformers.rs | hyperswitch_connectors | struct_definition | OnboardTransferMethodResponse | 0 | [] | 53 | null | null | null | null | null | null | null |
// File: crates/common_utils/src/types.rs
// Module: common_utils
// Public functions: 26
// Public structs: 20
//! Types that can be used in other crates
pub mod keymanager;
/// Enum for Authentication Level
pub mod authentication;
/// User related types
pub mod user;
/// types that are wrappers around primitive ty... | crates/common_utils/src/types.rs#chunk0 | common_utils | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Implementation: impl AddressStructForDbUpdate
// File: crates/router/src/core/customers.rs
// Module: router
// Methods: 1 total (0 public)
impl AddressStructForDbUpdate | crates/router/src/core/customers.rs | router | impl_block | null | null | null | 42 | null | AddressStructForDbUpdate | null | 1 | 0 | null | null |
// Struct: IndomaretVoucherData
// File: crates/hyperswitch_domain_models/src/payment_method_data.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct IndomaretVoucherData | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | IndomaretVoucherData | 0 | [] | 49 | null | null | null | null | null | null | null |
// Implementation: impl Paypal
// File: crates/hyperswitch_connectors/src/connectors/paypal.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Paypal | crates/hyperswitch_connectors/src/connectors/paypal.rs | hyperswitch_connectors | impl_block | null | null | null | 43 | null | Paypal | null | 1 | 1 | null | null |
ds_response: DsResponse,
capture_method: Option<enums::CaptureMethod>,
) -> Result<enums::AttemptStatus, error_stack::Report<errors::ConnectorError>> {
// Redsys consistently provides a 4-digit response code, where numbers ranging from 0000 to 0099 indicate successful transactions
if ds_response.0.start... | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs#chunk1 | hyperswitch_connectors | chunk | null | null | null | 8,189 | null | null | null | null | null | null | null |
// Struct: Retrieve
// File: crates/hyperswitch_domain_models/src/router_flow_types/files.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Retrieve | crates/hyperswitch_domain_models/src/router_flow_types/files.rs | hyperswitch_domain_models | struct_definition | Retrieve | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: insert
// File: crates/diesel_models/src/query/fraud_check.rs
// Module: diesel_models
pub fn insert(self, conn: &PgPooledConn) -> StorageResult<FraudCheck> | crates/diesel_models/src/query/fraud_check.rs | diesel_models | function_signature | null | null | null | 45 | insert | null | null | null | null | null | null |
// Implementation: impl api::ConnectorAccessToken for for Mollie
// File: crates/hyperswitch_connectors/src/connectors/mollie.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::ConnectorAccessToken for for Mollie | crates/hyperswitch_connectors/src/connectors/mollie.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Mollie | api::ConnectorAccessToken for | 0 | 0 | null | null |
// Module Structure
// File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
// Module: hyperswitch_connectors
// Public submodules:
pub mod transformers;
| crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | module_structure | null | null | null | 39 | null | null | null | null | null | 1 | 0 |
// Implementation: impl api::RefundSync for for Bluesnap
// File: crates/hyperswitch_connectors/src/connectors/bluesnap.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::RefundSync for for Bluesnap | crates/hyperswitch_connectors/src/connectors/bluesnap.rs | hyperswitch_connectors | impl_block | null | null | null | 60 | null | Bluesnap | api::RefundSync for | 0 | 0 | null | null |
// Struct: Response
// File: crates/hyperswitch_interfaces/src/types.rs
// Module: hyperswitch_interfaces
// Implementations: 0
pub struct Response | crates/hyperswitch_interfaces/src/types.rs | hyperswitch_interfaces | struct_definition | Response | 0 | [] | 35 | null | null | null | null | null | null | null |
// Function: log_refund_delete
// File: crates/router/src/services/kafka.rs
// Module: router
pub fn log_refund_delete(
&self,
delete_old_refund: &Refund,
tenant_id: TenantID,
) -> MQResult<()> | crates/router/src/services/kafka.rs | router | function_signature | null | null | null | 58 | log_refund_delete | null | null | null | null | null | null |
// File: crates/connector_configs/src/lib.rs
// Module: connector_configs
pub mod common_config;
pub mod connector;
pub mod response_modifier;
pub mod transformer;
| crates/connector_configs/src/lib.rs | connector_configs | full_file | null | null | null | 35 | null | null | null | null | null | null | null |
// Function: get_org_auth_events_filters
// File: crates/router/src/analytics.rs
// Module: router
pub fn get_org_auth_events_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
json_payload: web::Json<GetAuthEventFilterRequest>,
) -> impl Responder | crates/router/src/analytics.rs | router | function_signature | null | null | null | 70 | get_org_auth_events_filters | null | null | null | null | null | null |
// Struct: Celero
// File: crates/hyperswitch_connectors/src/connectors/celero.rs
// Module: hyperswitch_connectors
// Implementations: 17
// Traits: api::Payment, api::PaymentSession, api::ConnectorAccessToken, api::MandateSetup, api::PaymentAuthorize, api::PaymentSync, api::PaymentCapture, api::PaymentVoid, api::Refu... | crates/hyperswitch_connectors/src/connectors/celero.rs | hyperswitch_connectors | struct_definition | Celero | 17 | [
"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 |
// Struct: PayoutActionRequest
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutActionRequest | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutActionRequest | 0 | [] | 39 | null | null | null | null | null | null | null |
// Struct: SquareRefundResponseDetails
// File: crates/hyperswitch_connectors/src/connectors/square/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct SquareRefundResponseDetails | crates/hyperswitch_connectors/src/connectors/square/transformers.rs | hyperswitch_connectors | struct_definition | SquareRefundResponseDetails | 0 | [] | 51 | null | null | null | null | null | null | null |
// Struct: Transaction
// File: crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct Transaction | crates/hyperswitch_domain_models/src/router_flow_types/fraud_check.rs | hyperswitch_domain_models | struct_definition | Transaction | 0 | [] | 42 | null | null | null | null | null | null | null |
// Implementation: impl api::PaymentSync for for Braintree
// File: crates/hyperswitch_connectors/src/connectors/braintree.rs
// Module: hyperswitch_connectors
// Methods: 0 total (0 public)
impl api::PaymentSync for for Braintree | crates/hyperswitch_connectors/src/connectors/braintree.rs | hyperswitch_connectors | impl_block | null | null | null | 58 | null | Braintree | api::PaymentSync for | 0 | 0 | null | null |
// File: crates/router/tests/connectors/adyenplatform.rs
// Module: router
| crates/router/tests/connectors/adyenplatform.rs | router | full_file | null | null | null | 19 | null | null | null | null | null | null | null |
// Struct: PaymentAttemptListData
// File: crates/hyperswitch_domain_models/src/payments.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct PaymentAttemptListData<F> | crates/hyperswitch_domain_models/src/payments.rs | hyperswitch_domain_models | struct_definition | PaymentAttemptListData | 0 | [] | 46 | null | null | null | null | null | null | null |
// Struct: DeutschebankTransactionInfo
// File: crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DeutschebankTransactionInfo | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | DeutschebankTransactionInfo | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: TransientDecryptDataRequest
// File: crates/common_utils/src/types/keymanager.rs
// Module: common_utils
// Implementations: 0
pub struct TransientDecryptDataRequest | crates/common_utils/src/types/keymanager.rs | common_utils | struct_definition | TransientDecryptDataRequest | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: from_option_secret_value
// File: crates/hyperswitch_domain_models/src/router_data.rs
// Module: hyperswitch_domain_models
pub fn from_option_secret_value(
value: Option<common_utils::pii::SecretSerdeValue>,
) -> common_utils::errors::CustomResult<Self, common_utils::errors::ParsingError> | crates/hyperswitch_domain_models/src/router_data.rs | hyperswitch_domain_models | function_signature | null | null | null | 73 | from_option_secret_value | null | null | null | null | null | null |
// Struct: ProxyRequest
// File: crates/api_models/src/proxy.rs
// Module: api_models
// Implementations: 1
// Traits: common_utils::events::ApiEventMetric
pub struct ProxyRequest | crates/api_models/src/proxy.rs | api_models | struct_definition | ProxyRequest | 1 | [
"common_utils::events::ApiEventMetric"
] | 46 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_domain_models/src/merchant_account.rs
// Module: hyperswitch_domain_models
// Public functions: 7
// Public structs: 4
use common_utils::{
crypto::{OptionalEncryptableName, OptionalEncryptableValue},
date_time,
encryption::Encryption,
errors::{CustomResult, ValidationError},... | crates/hyperswitch_domain_models/src/merchant_account.rs | hyperswitch_domain_models | full_file | null | null | null | 6,765 | null | null | null | null | null | null | null |
// Function: get_default_customer_billing_address
// File: crates/api_models/src/customers.rs
// Module: api_models
pub fn get_default_customer_billing_address(&self) -> Option<payments::AddressDetails> | crates/api_models/src/customers.rs | api_models | function_signature | null | null | null | 45 | get_default_customer_billing_address | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs
// Module: hyperswitch_connectors
// Public functions: 3
// Public structs: 12
use std::collections::HashMap;
use api_models::admin::{AdditionalMerchantData, MerchantAccountData, MerchantRecipientData};
use common_enums::enums;
use common_u... | crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 4,531 | null | null | null | null | null | null | null |
// Struct: PartnerConfigOverride
// File: crates/router/src/types/api/connector_onboarding/paypal.rs
// Module: router
// Implementations: 0
pub struct PartnerConfigOverride | crates/router/src/types/api/connector_onboarding/paypal.rs | router | struct_definition | PartnerConfigOverride | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_payment_attempt_from_object_reference_id
// File: crates/router/src/core/webhooks/incoming.rs
// Module: router
pub fn get_payment_attempt_from_object_reference_id(
state: &SessionState,
object_reference_id: webhooks::ObjectReferenceId,
merchant_context: &domain::MerchantContext,
) -> Cust... | crates/router/src/core/webhooks/incoming.rs | router | function_signature | null | null | null | 81 | get_payment_attempt_from_object_reference_id | null | null | null | null | null | null |
// Function: delete_network_token_from_locker_and_token_service
// File: crates/router/src/core/payment_methods/network_tokenization.rs
// Module: router
pub fn delete_network_token_from_locker_and_token_service(
state: &routes::SessionState,
customer_id: &id_type::CustomerId,
merchant_id: &id_type::Mercha... | crates/router/src/core/payment_methods/network_tokenization.rs | router | function_signature | null | null | null | 122 | delete_network_token_from_locker_and_token_service | null | null | null | null | null | null |
// Function: recon_merchant_account_update
// File: crates/router/src/core/recon.rs
// Module: router
pub fn recon_merchant_account_update(
state: SessionState,
auth: authentication::AuthenticationData,
req: recon_api::ReconUpdateMerchantRequest,
) -> RouterResponse<api_types::MerchantAccountResponse> | crates/router/src/core/recon.rs | router | function_signature | null | null | null | 71 | recon_merchant_account_update | null | null | null | null | null | null |
// Struct: GenerateReportRequest
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct GenerateReportRequest | crates/api_models/src/analytics.rs | api_models | struct_definition | GenerateReportRequest | 0 | [] | 36 | null | null | null | null | null | null | null |
// Struct: PaymentCreate
// File: crates/router/src/core/payments/operations/payment_create.rs
// Module: router
// Implementations: 1
pub struct PaymentCreate | crates/router/src/core/payments/operations/payment_create.rs | router | struct_definition | PaymentCreate | 1 | [] | 37 | null | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs
// Module: hyperswitch_connectors
// Public structs: 13
use common_enums::enums;
use common_utils::{pii::Email, request::Method, types::FloatMajorUnit};
use hyperswitch_domain_models::{
payment_method_data::PaymentMethodData,
router_... | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs | hyperswitch_connectors | full_file | null | null | null | 2,921 | null | null | null | null | null | null | null |
// Struct: RevenueRecoveryRetriggerRequest
// File: crates/api_models/src/process_tracker/revenue_recovery.rs
// Module: api_models
// Implementations: 0
pub struct RevenueRecoveryRetriggerRequest | crates/api_models/src/process_tracker/revenue_recovery.rs | api_models | struct_definition | RevenueRecoveryRetriggerRequest | 0 | [] | 47 | null | null | null | null | null | null | null |
// Struct: PaymentMethodUpdateMems
// File: crates/diesel_models/src/kv.rs
// Module: diesel_models
// Implementations: 0
pub struct PaymentMethodUpdateMems | crates/diesel_models/src/kv.rs | diesel_models | struct_definition | PaymentMethodUpdateMems | 0 | [] | 41 | null | null | null | null | null | null | null |
// Function: update_feature
// File: crates/api_models/src/routing.rs
// Module: api_models
pub fn update_feature(
&mut self,
enabled_feature: DynamicRoutingFeatures,
dynamic_routing_type: DynamicRoutingType,
) | crates/api_models/src/routing.rs | api_models | function_signature | null | null | null | 52 | update_feature | null | null | null | null | null | null |
// Function: get_optional_card_and_cvc
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
pub fn get_optional_card_and_cvc(
&self,
) -> (Option<domain::CardDetail>, Option<masking::Secret<String>>) | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | function_signature | null | null | null | 62 | get_optional_card_and_cvc | null | null | null | null | null | null |
// Function: get_resource_name
// File: crates/router/src/services/authorization/permissions.rs
// Module: router
pub fn get_resource_name(resource: Resource, entity_type: EntityType) -> Option<&'static str> | crates/router/src/services/authorization/permissions.rs | router | function_signature | null | null | null | 46 | get_resource_name | null | null | null | null | null | null |
// Implementation: impl NetworkTokenizationBuilder
// File: crates/router/src/core/payment_methods/tokenize/card_executor.rs
// Module: router
// Methods: 2 total (2 public)
impl NetworkTokenizationBuilder | crates/router/src/core/payment_methods/tokenize/card_executor.rs | router | impl_block | null | null | null | 44 | null | NetworkTokenizationBuilder | null | 2 | 2 | null | null |
// Struct: ThreeDSRequestChallenge
// File: crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct ThreeDSRequestChallenge | crates/hyperswitch_connectors/src/connectors/worldpay/requests.rs | hyperswitch_connectors | struct_definition | ThreeDSRequestChallenge | 0 | [] | 48 | null | null | null | null | null | null | null |
// File: crates/router/src/types/domain/types.rs
// Module: router
use ::payment_methods::state as pm_state;
use common_utils::types::keymanager::KeyManagerState;
pub use hyperswitch_domain_models::type_encryption::{
crypto_operation, AsyncLift, CryptoOperation, Lift, OptionalEncryptableJsonType,
};
use crate::ro... | crates/router/src/types/domain/types.rs | router | full_file | null | null | null | 317 | null | null | null | null | null | null | null |
// Struct: EliminationEventResponse
// File: crates/router/src/core/payments/routing/utils.rs
// Module: router
// Implementations: 0
pub struct EliminationEventResponse | crates/router/src/core/payments/routing/utils.rs | router | struct_definition | EliminationEventResponse | 0 | [] | 40 | null | null | null | null | null | null | null |
// Function: get_connector_auth
// File: crates/router/src/utils/connector_onboarding.rs
// Module: router
pub fn get_connector_auth(
connector: enums::Connector,
connector_data: &settings::ConnectorOnboarding,
) -> RouterResult<types::ConnectorAuthType> | crates/router/src/utils/connector_onboarding.rs | router | function_signature | null | null | null | 60 | get_connector_auth | null | null | null | null | null | null |
// Struct: AnalyticsMetadata
// File: crates/api_models/src/analytics.rs
// Module: api_models
// Implementations: 0
pub struct AnalyticsMetadata | crates/api_models/src/analytics.rs | api_models | struct_definition | AnalyticsMetadata | 0 | [] | 34 | null | null | null | null | null | null | null |
// File: crates/api_models/src/analytics/search.rs
// Module: api_models
// Public functions: 1
// Public structs: 12
use common_utils::{hashing::HashedString, types::TimeRange};
use masking::WithType;
use serde_json::Value;
#[derive(Clone, Debug, Default, serde::Deserialize, serde::Serialize)]
pub struct SearchFilte... | crates/api_models/src/analytics/search.rs | api_models | full_file | null | null | null | 967 | null | null | null | null | null | null | null |
// Implementation: impl PaymentMetricsAccumulator
// File: crates/analytics/src/payments/accumulator.rs
// Module: analytics
// Methods: 1 total (1 public)
impl PaymentMetricsAccumulator | crates/analytics/src/payments/accumulator.rs | analytics | impl_block | null | null | null | 44 | null | PaymentMetricsAccumulator | null | 1 | 1 | null | null |
// Function: refunds_retrieve_with_body
// File: crates/openapi/src/routes/refunds.rs
// Module: openapi
pub fn refunds_retrieve_with_body() | crates/openapi/src/routes/refunds.rs | openapi | function_signature | null | null | null | 35 | refunds_retrieve_with_body | null | null | null | null | null | null |
// Function: server
// File: crates/router/src/routes/app.rs
// Module: router
pub fn server(state: AppState) -> Scope | crates/router/src/routes/app.rs | router | function_signature | null | null | null | 29 | server | null | null | null | null | null | null |
// Struct: AcceptDisputeResponse
// File: crates/hyperswitch_domain_models/src/router_response_types/disputes.rs
// Module: hyperswitch_domain_models
// Implementations: 0
pub struct AcceptDisputeResponse | crates/hyperswitch_domain_models/src/router_response_types/disputes.rs | hyperswitch_domain_models | struct_definition | AcceptDisputeResponse | 0 | [] | 48 | null | null | null | null | null | null | null |
// Function: build_unified_connector_service_payment_method
// File: crates/router/src/core/unified_connector_service.rs
// Module: router
pub fn build_unified_connector_service_payment_method(
payment_method_data: hyperswitch_domain_models::payment_method_data::PaymentMethodData,
payment_method_type: PaymentM... | crates/router/src/core/unified_connector_service.rs | router | function_signature | null | null | null | 84 | build_unified_connector_service_payment_method | null | null | null | null | null | null |
// Struct: PayoutVendorAccountDetails
// File: crates/api_models/src/payouts.rs
// Module: api_models
// Implementations: 0
pub struct PayoutVendorAccountDetails | crates/api_models/src/payouts.rs | api_models | struct_definition | PayoutVendorAccountDetails | 0 | [] | 41 | null | null | null | null | null | null | null |
// Implementation: impl quote::ToTokens for for SchemaMeta
// File: crates/router_derive/src/macros/generate_schema.rs
// Module: router_derive
// Methods: 1 total (0 public)
impl quote::ToTokens for for SchemaMeta | crates/router_derive/src/macros/generate_schema.rs | router_derive | impl_block | null | null | null | 54 | null | SchemaMeta | quote::ToTokens for | 1 | 0 | null | null |
// Implementation: impl ConnectorCommon for for Amazonpay
// File: crates/hyperswitch_connectors/src/connectors/amazonpay.rs
// Module: hyperswitch_connectors
// Methods: 5 total (0 public)
impl ConnectorCommon for for Amazonpay | crates/hyperswitch_connectors/src/connectors/amazonpay.rs | hyperswitch_connectors | impl_block | null | null | null | 54 | null | Amazonpay | ConnectorCommon for | 5 | 0 | null | null |
// Function: new
// File: crates/hyperswitch_domain_models/src/relay.rs
// Module: hyperswitch_domain_models
pub fn new(
relay_request: &api_models::relay::RelayRequest,
merchant_id: &id_type::MerchantId,
profile_id: &id_type::ProfileId,
) -> Self | crates/hyperswitch_domain_models/src/relay.rs | hyperswitch_domain_models | function_signature | null | null | null | 72 | new | null | null | null | null | null | null |
// Struct: DisputeResponseData
// File: crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct DisputeResponseData | crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs | hyperswitch_connectors | struct_definition | DisputeResponseData | 0 | [] | 50 | null | null | null | null | null | null | null |
// Struct: LineageIds
// File: crates/external_services/src/grpc_client.rs
// Module: external_services
// Implementations: 1
pub struct LineageIds | crates/external_services/src/grpc_client.rs | external_services | struct_definition | LineageIds | 1 | [] | 37 | null | null | null | null | null | null | null |
// Module Structure
// File: crates/hyperswitch_domain_models/src/router_response_types.rs
// Module: hyperswitch_domain_models
// Public submodules:
pub mod disputes;
pub mod fraud_check;
pub mod revenue_recovery;
pub mod subscriptions;
// Public exports:
pub use disputes::{
AcceptDisputeResponse, DefendDisputeR... | crates/hyperswitch_domain_models/src/router_response_types.rs | hyperswitch_domain_models | module_structure | null | null | null | 88 | null | null | null | null | null | 4 | 1 |
// Implementation: impl SerializableSecret for for i32
// File: crates/masking/src/serde.rs
// Module: masking
// Methods: 0 total (0 public)
impl SerializableSecret for for i32 | crates/masking/src/serde.rs | masking | impl_block | null | null | null | 46 | null | i32 | SerializableSecret for | 0 | 0 | null | null |
// Implementation: impl Billwerk
// File: crates/hyperswitch_connectors/src/connectors/billwerk.rs
// Module: hyperswitch_connectors
// Methods: 1 total (1 public)
impl Billwerk | crates/hyperswitch_connectors/src/connectors/billwerk.rs | hyperswitch_connectors | impl_block | null | null | null | 46 | null | Billwerk | null | 1 | 1 | null | null |
// Function: toggle_elimination_routing
// File: crates/router/src/routes/routing.rs
// Module: router
pub fn toggle_elimination_routing(
state: web::Data<AppState>,
req: HttpRequest,
query: web::Query<api_models::routing::ToggleDynamicRoutingQuery>,
path: web::Path<routing_types::ToggleDynamicRoutingP... | crates/router/src/routes/routing.rs | router | function_signature | null | null | null | 82 | toggle_elimination_routing | null | null | null | null | null | null |
// Struct: CheckoutResponse
// File: crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
// Module: hyperswitch_connectors
// Implementations: 0
pub struct CheckoutResponse | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs | hyperswitch_connectors | struct_definition | CheckoutResponse | 0 | [] | 45 | null | null | null | null | null | null | null |
// File: crates/masking/src/lib.rs
// Module: masking
#![cfg_attr(docsrs, feature(doc_auto_cfg, doc_cfg_hide))]
#![cfg_attr(docsrs, doc(cfg_hide(doc)))]
#![warn(missing_docs)]
//! Personal Identifiable Information protection. Wrapper types and traits for secret management which help ensure they aren't accidentally co... | crates/masking/src/lib.rs | masking | full_file | null | null | null | 402 | null | null | null | null | null | null | null |
// Function: get_payment_intent_metrics_info
// File: crates/analytics/src/utils.rs
// Module: analytics
pub fn get_payment_intent_metrics_info() -> Vec<NameDescription> | crates/analytics/src/utils.rs | analytics | function_signature | null | null | null | 38 | get_payment_intent_metrics_info | null | null | null | null | null | null |
// File: crates/hyperswitch_connectors/src/connectors/tokenio.rs
// Module: hyperswitch_connectors
// Public functions: 1
// Public structs: 1
pub mod transformers;
use std::{
sync::LazyLock,
time::{SystemTime, UNIX_EPOCH},
};
use base64::{engine::general_purpose::URL_SAFE_NO_PAD, Engine as _};
use common_enu... | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | full_file | null | null | null | 6,277 | 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.