id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
hyperswitch_enum_router_-1828986072263077812
clm
enum
// hyperswitch/crates/router/src/types/fraud_check.rs pub enum FrmRequest { Sale(FraudCheckSaleData), Checkout(Box<FraudCheckCheckoutData>), Transaction(FraudCheckTransactionData), Fulfillment(FraudCheckFulfillmentData), RecordReturn(FraudCheckRecordReturnData), }
{ "chunk": null, "crate": "router", "enum_name": "FrmRequest", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": n...
hyperswitch_enum_router_-4751647709385023256
clm
enum
// hyperswitch/crates/router/src/types/fraud_check.rs pub enum FrmResponse { Sale(Result<FraudCheckResponseData, ErrorResponse>), Checkout(Result<FraudCheckResponseData, ErrorResponse>), Transaction(Result<FraudCheckResponseData, ErrorResponse>), Fulfillment(Result<FraudCheckResponseData, ErrorResponse...
{ "chunk": null, "crate": "router", "enum_name": "FrmResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": ...
hyperswitch_enum_router_-854719024719402634
clm
enum
// hyperswitch/crates/router/src/types/api.rs pub enum ConnectorCallType { PreDetermined(ConnectorRoutingData), Retryable(Vec<ConnectorRoutingData>), SessionMultiple(SessionConnectorDatas), #[cfg(feature = "v2")] Skip, }
{ "chunk": null, "crate": "router", "enum_name": "ConnectorCallType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_l...
hyperswitch_enum_router_5131711328526773486
clm
enum
// hyperswitch/crates/router/src/types/storage/payment_method.rs pub enum PaymentTokenKind { Temporary, Permanent, }
{ "chunk": null, "crate": "router", "enum_name": "PaymentTokenKind", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_li...
hyperswitch_enum_router_3310373038601135337
clm
enum
// hyperswitch/crates/router/src/types/storage/payment_method.rs pub enum PaymentTokenData { // The variants 'Temporary' and 'Permanent' are added for backwards compatibility // with any tokenized data present in Redis at the time of deployment of this change Temporary(GenericTokenData), TemporaryGener...
{ "chunk": null, "crate": "router", "enum_name": "PaymentTokenData", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_li...
hyperswitch_enum_router_3310373038601135337
clm
enum
// hyperswitch/crates/router/src/types/storage/payment_method.rs pub enum PaymentTokenData { TemporaryGeneric(GenericTokenData), PermanentCard(CardTokenData), AuthBankDebit(payment_methods::BankAccountTokenData), }
{ "chunk": null, "crate": "router", "enum_name": "PaymentTokenData", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_li...
hyperswitch_enum_router_1170549036307356882
clm
enum
// hyperswitch/crates/router/src/types/storage/payment_method.rs pub enum PaymentMethodListContext { Card { card_details: api::CardDetailFromLocker, // TODO: Why can't these fields be mandatory? token_data: Option<PaymentTokenData>, }, Bank { token_data: Option<PaymentTokenD...
{ "chunk": null, "crate": "router", "enum_name": "PaymentMethodListContext", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "...
hyperswitch_enum_router_-5549711373977115489
clm
enum
// hyperswitch/crates/router/src/types/api/connector_mapping.rs pub enum GetToken { GpayMetadata, SamsungPayMetadata, AmazonPayMetadata, ApplePayMetadata, PaypalSdkMetadata, PazeMetadata, Connector, }
{ "chunk": null, "crate": "router", "enum_name": "GetToken", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": nul...
hyperswitch_enum_router_1313273052649013175
clm
enum
// hyperswitch/crates/router/src/types/api/disputes.rs pub enum EvidenceType { CancellationPolicy, CustomerCommunication, CustomerSignature, Receipt, RefundPolicy, ServiceDocumentation, ShippingDocumentation, InvoiceShowingDistinctTransactions, RecurringTransactionAgreement, Unc...
{ "chunk": null, "crate": "router", "enum_name": "EvidenceType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line":...
hyperswitch_enum_router_-3741495030506210913
clm
enum
// hyperswitch/crates/router/src/types/api/files.rs pub enum FileDataRequired { Required, NotRequired, }
{ "chunk": null, "crate": "router", "enum_name": "FileDataRequired", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_li...
hyperswitch_enum_router_-8639426813788060835
clm
enum
// hyperswitch/crates/router/src/types/api/routing.rs pub enum RoutingAlgorithmV0 { Single(Box<RoutableConnectorChoice>), Priority(Vec<RoutableConnectorChoice>), VolumeSplit(Vec<ConnectorVolumeSplitV0>), Custom { timestamp: i64 }, }
{ "chunk": null, "crate": "router", "enum_name": "RoutingAlgorithmV0", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_...
hyperswitch_enum_router_-3336287314833158627
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum PayPalProducts { Ppcp, AdvancedVaulting, }
{ "chunk": null, "crate": "router", "enum_name": "PayPalProducts", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line...
hyperswitch_enum_router_-4825697392682688107
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum PayPalCapabilities { PaypalWalletVaultingAdvanced, }
{ "chunk": null, "crate": "router", "enum_name": "PayPalCapabilities", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_...
hyperswitch_enum_router_-5399492239829643743
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum PayPalReferralOperationType { ApiIntegration, }
{ "chunk": null, "crate": "router", "enum_name": "PayPalReferralOperationType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", ...
hyperswitch_enum_router_6088324411699718598
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum IntegrationMethod { Paypal, }
{ "chunk": null, "crate": "router", "enum_name": "IntegrationMethod", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_l...
hyperswitch_enum_router_-8769200546299392037
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum PayPalIntegrationType { ThirdParty, }
{ "chunk": null, "crate": "router", "enum_name": "PayPalIntegrationType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "sta...
hyperswitch_enum_router_5966750651952263679
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum PayPalFeatures { Payment, Refund, Vault, AccessMerchantInformation, BillingAgreement, ReadSellerDispute, }
{ "chunk": null, "crate": "router", "enum_name": "PayPalFeatures", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line...
hyperswitch_enum_router_-7808807362099684167
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum LegalConsentType { ShareDataConsent, }
{ "chunk": null, "crate": "router", "enum_name": "LegalConsentType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_li...
hyperswitch_enum_router_1679323761594520008
clm
enum
// hyperswitch/crates/router/src/types/api/connector_onboarding/paypal.rs pub enum VettingStatus { NeedMoreData, Subscribed, Denied, }
{ "chunk": null, "crate": "router", "enum_name": "VettingStatus", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line"...
hyperswitch_enum_router_-2334554786809587374
clm
enum
// hyperswitch/crates/router/src/types/domain/address.rs pub enum AddressUpdate { Update { city: Option<String>, country: Option<enums::CountryAlpha2>, line1: crypto::OptionalEncryptableSecretString, line2: crypto::OptionalEncryptableSecretString, line3: crypto::OptionalEncr...
{ "chunk": null, "crate": "router", "enum_name": "AddressUpdate", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line"...
hyperswitch_enum_router_7303250250937038928
clm
enum
// hyperswitch/crates/router/src/types/domain/event.rs pub enum EventUpdate { UpdateResponse { is_webhook_notified: bool, response: OptionalEncryptableSecretString, }, OverallDeliveryStatusUpdate { is_overall_delivery_successful: bool, }, }
{ "chunk": null, "crate": "router", "enum_name": "EventUpdate", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": ...
hyperswitch_enum_router_-7655660025300631131
clm
enum
// hyperswitch/crates/router/src/types/domain/user/decision_manager.rs pub enum UserFlow { SPTFlow(SPTFlow), JWTFlow(JWTFlow), }
{ "chunk": null, "crate": "router", "enum_name": "UserFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": nul...
hyperswitch_enum_router_5568621215892633901
clm
enum
// hyperswitch/crates/router/src/types/domain/user/decision_manager.rs pub enum SPTFlow { AuthSelect, SSO, TOTP, VerifyEmail, AcceptInvitationFromEmail, ForceSetPassword, MerchantSelect, ResetPassword, }
{ "chunk": null, "crate": "router", "enum_name": "SPTFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null...
hyperswitch_enum_router_9129369184565638300
clm
enum
// hyperswitch/crates/router/src/types/domain/user/decision_manager.rs pub enum JWTFlow { UserInfo, }
{ "chunk": null, "crate": "router", "enum_name": "JWTFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null...
hyperswitch_enum_router_2629557689910601824
clm
enum
// hyperswitch/crates/router/src/types/domain/user/decision_manager.rs pub enum Origin { #[serde(rename = "sign_in_with_sso")] SignInWithSSO, SignIn, SignUp, MagicLink, VerifyEmail, AcceptInvitationFromEmail, ResetPassword, }
{ "chunk": null, "crate": "router", "enum_name": "Origin", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null,...
hyperswitch_enum_router_-5037736532027536727
clm
enum
// hyperswitch/crates/router/src/core/payments.rs pub enum DecideWalletFlow { ApplePayDecrypt(payments_api::PaymentProcessingDetails), PazeDecrypt(PazePaymentProcessingDetails), GooglePayDecrypt(GooglePayPaymentProcessingDetails), SkipDecryption, }
{ "chunk": null, "crate": "router", "enum_name": "DecideWalletFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_li...
hyperswitch_enum_router_-4783691463391848163
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum HealthCheckOutGoing { #[error("Outgoing call failed with error: {message}")] OutGoingFailed { message: String }, }
{ "chunk": null, "crate": "router", "enum_name": "HealthCheckOutGoing", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start...
hyperswitch_enum_router_4652892285500742414
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum AwsKmsError { #[error("Failed to base64 decode input data")] Base64DecodingFailed, #[error("Failed to AWS KMS decrypt input data")] DecryptionFailed, #[error("Missing plaintext AWS KMS decryption output")] MissingPlaintextDecryptionOutput...
{ "chunk": null, "crate": "router", "enum_name": "AwsKmsError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": ...
hyperswitch_enum_router_7094831731230487310
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum WebhooksFlowError { #[error("Merchant webhook config not found")] MerchantConfigNotFound, #[error("Webhook details for merchant not configured")] MerchantWebhookDetailsNotFound, #[error("Merchant does not have a webhook URL configured")] ...
{ "chunk": null, "crate": "router", "enum_name": "WebhooksFlowError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_l...
hyperswitch_enum_router_-1320470080360211927
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum ApplePayDecryptionError { #[error("Failed to base64 decode input data")] Base64DecodingFailed, #[error("Failed to decrypt input data")] DecryptionFailed, #[error("Certificate parsing failed")] CertificateParsingFailed, #[error("Certif...
{ "chunk": null, "crate": "router", "enum_name": "ApplePayDecryptionError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "s...
hyperswitch_enum_router_6697949689011907105
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum PazeDecryptionError { #[error("Failed to base64 decode input data")] Base64DecodingFailed, #[error("Failed to decrypt input data")] DecryptionFailed, #[error("Certificate parsing failed")] CertificateParsingFailed, }
{ "chunk": null, "crate": "router", "enum_name": "PazeDecryptionError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start...
hyperswitch_enum_router_-1066777434251826535
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum GooglePayDecryptionError { #[error("Invalid expiration time")] InvalidExpirationTime, #[error("Failed to base64 decode input data")] Base64DecodingFailed, #[error("Failed to decrypt input data")] DecryptionFailed, #[error("Failed to d...
{ "chunk": null, "crate": "router", "enum_name": "GooglePayDecryptionError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "...
hyperswitch_enum_router_-2968217292886702848
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum RoutingError { #[error("Merchant routing algorithm not found in cache")] CacheMiss, #[error("Final connector selection failed")] ConnectorSelectionFailed, #[error("[DSL] Missing required field in payment data: '{field_name}'")] DslMissing...
{ "chunk": null, "crate": "router", "enum_name": "RoutingError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line":...
hyperswitch_enum_router_6503914258720707418
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum ConditionalConfigError { #[error("failed to fetch the fallback config for the merchant")] FallbackConfigFetchFailed, #[error("The lock on the DSL cache is most probably poisoned")] DslCachePoisoned, #[error("Merchant routing algorithm not fou...
{ "chunk": null, "crate": "router", "enum_name": "ConditionalConfigError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "st...
hyperswitch_enum_router_-3495105044984103048
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum NetworkTokenizationError { #[error("Failed to save network token in vault")] SaveNetworkTokenFailed, #[error("Failed to fetch network token details from vault")] FetchNetworkTokenFailed, #[error("Failed to encode network token vault request")...
{ "chunk": null, "crate": "router", "enum_name": "NetworkTokenizationError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "...
hyperswitch_enum_router_-376358145864765183
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum BulkNetworkTokenizationError { #[error("Failed to validate card details")] CardValidationFailed, #[error("Failed to validate payment method details")] PaymentMethodValidationFailed, #[error("Failed to assign a customer to the card")] Cust...
{ "chunk": null, "crate": "router", "enum_name": "BulkNetworkTokenizationError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch",...
hyperswitch_enum_router_-3647146243287569102
clm
enum
// hyperswitch/crates/router/src/core/errors.rs pub enum RevenueRecoveryError { #[error("Failed to fetch payment intent")] PaymentIntentFetchFailed, #[error("Failed to fetch payment attempt")] PaymentAttemptFetchFailed, #[error("Failed to fetch payment attempt")] PaymentAttemptIdNotFound, #...
{ "chunk": null, "crate": "router", "enum_name": "RevenueRecoveryError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "star...
hyperswitch_enum_router_-6558149557732153843
clm
enum
// hyperswitch/crates/router/src/core/api_locking.rs pub enum LockStatus { // status when the lock is acquired by the caller Acquired, // [#2129] pick up request_id from AppState and populate here // status when the lock is acquired by some other caller Busy, }
{ "chunk": null, "crate": "router", "enum_name": "LockStatus", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": n...
hyperswitch_enum_router_2092625455586641002
clm
enum
// hyperswitch/crates/router/src/core/api_locking.rs pub enum LockAction { // Sleep until the lock is acquired Hold { input: LockingInput }, // Sleep until all locks are acquired HoldMultiple { inputs: Vec<LockingInput> }, // Queue it but return response as 2xx, could be used for webhooks Queue...
{ "chunk": null, "crate": "router", "enum_name": "LockAction", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": n...
hyperswitch_enum_router_-2511457999191051254
clm
enum
// hyperswitch/crates/router/src/core/payments/types.rs pub enum SurchargeKey { Token(String), PaymentMethodData( common_enums::PaymentMethod, common_enums::PaymentMethodType, Option<common_enums::CardNetwork>, ), }
{ "chunk": null, "crate": "router", "enum_name": "SurchargeKey", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line":...
hyperswitch_enum_router_5484046890678973425
clm
enum
// hyperswitch/crates/router/src/core/payments/helpers.rs pub enum AttemptType { New, SameOld, }
{ "chunk": null, "crate": "router", "enum_name": "AttemptType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": ...
hyperswitch_enum_router_-4089536564766541803
clm
enum
// hyperswitch/crates/router/src/core/payments/helpers.rs pub enum GooglePayProtocolVersion { #[serde(rename = "ECv2")] EcProtocolVersion2, }
{ "chunk": null, "crate": "router", "enum_name": "GooglePayProtocolVersion", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "...
hyperswitch_enum_router_-1762262983169165176
clm
enum
// hyperswitch/crates/router/src/core/payments/helpers.rs pub enum UnifiedAuthenticationServiceFlow { ClickToPayInitiate, ExternalAuthenticationInitiate { acquirer_details: Option<authentication::types::AcquirerDetails>, card: Box<hyperswitch_domain_models::payment_method_data::Card>, t...
{ "chunk": null, "crate": "router", "enum_name": "UnifiedAuthenticationServiceFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswit...
hyperswitch_enum_router_-4724443258343667229
clm
enum
// hyperswitch/crates/router/src/core/payments/routing.rs enum MerchantAccountRoutingAlgorithm { V1(routing_types::RoutingAlgorithmRef), }
{ "chunk": null, "crate": "router", "enum_name": "MerchantAccountRoutingAlgorithm", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitc...
hyperswitch_enum_router_-4724443258343667229
clm
enum
// hyperswitch/crates/router/src/core/payments/routing.rs enum MerchantAccountRoutingAlgorithm { V1(Option<common_utils::id_type::RoutingId>), }
{ "chunk": null, "crate": "router", "enum_name": "MerchantAccountRoutingAlgorithm", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitc...
hyperswitch_enum_router_-5323125046333076201
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum RoutingType { Priority, VolumeSplit, VolumeSplitPriority, }
{ "chunk": null, "crate": "router", "enum_name": "RoutingType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": ...
hyperswitch_enum_router_-1319078415043059823
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum Output { Single(ConnectorInfo), Priority(Vec<ConnectorInfo>), VolumeSplit(Vec<VolumeSplit<ConnectorInfo>>), VolumeSplitPriority(Vec<VolumeSplit<Vec<ConnectorInfo>>>), }
{ "chunk": null, "crate": "router", "enum_name": "Output", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null,...
hyperswitch_enum_router_-1422471664942594589
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum AlgorithmType { #[default] Payment, Payout, ThreeDsAuthentication, }
{ "chunk": null, "crate": "router", "enum_name": "AlgorithmType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line"...
hyperswitch_enum_router_1677065061556865820
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum StaticRoutingAlgorithm { Single(Box<ConnectorInfo>), Priority(Vec<ConnectorInfo>), VolumeSplit(Vec<VolumeSplit<ConnectorInfo>>), Advanced(Program), }
{ "chunk": null, "crate": "router", "enum_name": "StaticRoutingAlgorithm", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "st...
hyperswitch_enum_router_-1899979766492906596
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum EventResponseType<Res> where Res: Serialize + serde::de::DeserializeOwned + Clone, { Structured(Res), String(String), }
{ "chunk": null, "crate": "router", "enum_name": "EventResponseType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_l...
hyperswitch_enum_router_-6451133618143047493
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum RoutingApproach { Exploitation, Exploration, Elimination, ContractBased, StaticRouting, Default, }
{ "chunk": null, "crate": "router", "enum_name": "RoutingApproach", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_lin...
hyperswitch_enum_router_726714291939004405
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum UpdationStatusEventResponse { WindowUpdationSucceeded, WindowUpdationFailed, }
{ "chunk": null, "crate": "router", "enum_name": "UpdationStatusEventResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", ...
hyperswitch_enum_router_-2777642787613831260
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum EliminationUpdationStatusEventResponse { BucketUpdationSucceeded, BucketUpdationFailed, }
{ "chunk": null, "crate": "router", "enum_name": "EliminationUpdationStatusEventResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyp...
hyperswitch_enum_router_6387180371187326155
clm
enum
// hyperswitch/crates/router/src/core/payments/routing/utils.rs pub enum ContractUpdationStatusEventResponse { ContractUpdationSucceeded, ContractUpdationFailed, }
{ "chunk": null, "crate": "router", "enum_name": "ContractUpdationStatusEventResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hypers...
hyperswitch_enum_router_4311209378447778402
clm
enum
// hyperswitch/crates/router/src/core/utils/refunds_validator.rs pub enum RefundValidationError { #[error("The payment attempt was not successful")] UnsuccessfulPaymentAttempt, #[error("The refund amount exceeds the amount captured")] RefundAmountExceedsPaymentAmount, #[error("The order has expired...
{ "chunk": null, "crate": "router", "enum_name": "RefundValidationError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "sta...
hyperswitch_enum_router_2381327402928151771
clm
enum
// hyperswitch/crates/router/src/core/revenue_recovery/types.rs pub enum RevenueRecoveryPaymentsAttemptStatus { Succeeded, Failed, Processing, InvalidStatus(String), // Cancelled, }
{ "chunk": null, "crate": "router", "enum_name": "RevenueRecoveryPaymentsAttemptStatus", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyper...
hyperswitch_enum_router_4846525793093240541
clm
enum
// hyperswitch/crates/router/src/core/revenue_recovery/types.rs pub enum Action { SyncPayment(PaymentAttempt), RetryPayment(PrimitiveDateTime), TerminalFailure(PaymentAttempt), SuccessfulPayment(PaymentAttempt), ReviewPayment, ManualReviewAction, }
{ "chunk": null, "crate": "router", "enum_name": "Action", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null,...
hyperswitch_enum_router_2453982238451686269
clm
enum
// hyperswitch/crates/router/src/core/errors/customers_error_response.rs pub enum CustomersErrorResponse { #[error("Customer has already been redacted")] CustomerRedacted, #[error("Something went wrong")] InternalServerError, #[error("Invalid request data: {message}")] InvalidRequestData { me...
{ "chunk": null, "crate": "router", "enum_name": "CustomersErrorResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "st...
hyperswitch_enum_router_-1634577182727037145
clm
enum
// hyperswitch/crates/router/src/core/errors/user.rs pub enum UserErrors { #[error("User InternalServerError")] InternalServerError, #[error("InvalidCredentials")] InvalidCredentials, #[error("UserNotFound")] UserNotFound, #[error("UserExists")] UserExists, #[error("LinkInvalid")] ...
{ "chunk": null, "crate": "router", "enum_name": "UserErrors", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": n...
hyperswitch_enum_router_4789661003277711477
clm
enum
// hyperswitch/crates/router/src/core/errors/chat.rs pub enum ChatErrors { #[error("User InternalServerError")] InternalServerError, #[error("Missing Config error")] MissingConfigError, #[error("Chat response deserialization failed")] ChatResponseDeserializationFailed, #[error("Unauthorized...
{ "chunk": null, "crate": "router", "enum_name": "ChatErrors", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": n...
hyperswitch_enum_router_6594640552745993290
clm
enum
// hyperswitch/crates/router/src/core/errors/user/sample_data.rs pub enum SampleDataError { #[error["Internal Server Error"]] InternalServerError, #[error("Data Does Not Exist")] DataDoesNotExist, #[error("Invalid Parameters")] InvalidParameters, #[error["Invalid Records"]] InvalidRange...
{ "chunk": null, "crate": "router", "enum_name": "SampleDataError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_lin...
hyperswitch_enum_router_-3522784439579102645
clm
enum
// hyperswitch/crates/router/src/core/webhooks/types.rs pub enum ScheduleWebhookRetry { WithProcessTracker(Box<storage::ProcessTracker>), NoSchedule, }
{ "chunk": null, "crate": "router", "enum_name": "ScheduleWebhookRetry", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "star...
hyperswitch_enum_router_-6736964077020047721
clm
enum
// hyperswitch/crates/router/src/core/webhooks/network_tokenization_incoming.rs pub enum NetworkTokenWebhookResponse { PanMetadataUpdate(pm_types::PanMetadataUpdateBody), NetworkTokenMetadataUpdate(pm_types::NetworkTokenMetaDataUpdateBody), }
{ "chunk": null, "crate": "router", "enum_name": "NetworkTokenWebhookResponse", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", ...
hyperswitch_enum_router_-3522784439579102645
clm
enum
// hyperswitch/crates/router/src/core/webhooks/outgoing.rs enum ScheduleWebhookRetry { WithProcessTracker(Box<storage::ProcessTracker>), NoSchedule, }
{ "chunk": null, "crate": "router", "enum_name": "ScheduleWebhookRetry", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "star...
hyperswitch_enum_router_965080369360809984
clm
enum
// hyperswitch/crates/router/src/core/webhooks/webhook_events.rs enum MerchantAccountOrProfile { MerchantAccount(Box<domain::MerchantAccount>), Profile(Box<domain::Profile>), }
{ "chunk": null, "crate": "router", "enum_name": "MerchantAccountOrProfile", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "...
hyperswitch_enum_router_183649549904504408
clm
enum
// hyperswitch/crates/router/src/core/payment_methods/transformers.rs pub enum StoreLockerReq { LockerCard(StoreCardReq), LockerGeneric(StoreGenericReq), }
{ "chunk": null, "crate": "router", "enum_name": "StoreLockerReq", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line...
hyperswitch_enum_router_1152216507177531843
clm
enum
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub enum VaultPaymentMethod { Card(String), Wallet(String), BankTransfer(String), BankRedirect(String), BankDebit(String), }
{ "chunk": null, "crate": "router", "enum_name": "VaultPaymentMethod", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_...
hyperswitch_enum_router_-8786517781949001064
clm
enum
// hyperswitch/crates/router/src/core/payment_methods/vault.rs pub enum VaultPayoutMethod { Card(String), Bank(String), Wallet(String), BankRedirect(String), }
{ "chunk": null, "crate": "router", "enum_name": "VaultPayoutMethod", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_l...
hyperswitch_enum_router_-3805148235737715363
clm
enum
// hyperswitch/crates/router/src/utils/currency.rs pub enum ForexError { #[error("API error")] ApiError, #[error("API timeout")] ApiTimeout, #[error("API unresponsive")] ApiUnresponsive, #[error("Conversion error")] ConversionError, #[error("Could not acquire the lock for cache entr...
{ "chunk": null, "crate": "router", "enum_name": "ForexError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": n...
hyperswitch_enum_router_-3764779607931470974
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum PaymentFlow { Mandates, }
{ "chunk": null, "crate": "router", "enum_name": "PaymentFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": ...
hyperswitch_enum_router_-1759841260430439996
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum ApplePayPreDecryptFlow { #[default] ConnectorTokenization, NetworkTokenization, }
{ "chunk": null, "crate": "router", "enum_name": "ApplePayPreDecryptFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "st...
hyperswitch_enum_router_2952033673123520063
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum GooglePayPreDecryptFlow { #[default] ConnectorTokenization, NetworkTokenization, }
{ "chunk": null, "crate": "router", "enum_name": "GooglePayPreDecryptFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "s...
hyperswitch_enum_router_-132982133278630
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum PaymentMethodTypeTokenFilter { #[serde(deserialize_with = "deserialize_hashset")] EnableOnly(HashSet<diesel_models::enums::PaymentMethodType>), #[serde(deserialize_with = "deserialize_hashset")] DisableOnly(HashSet<diesel_models::enums::Paym...
{ "chunk": null, "crate": "router", "enum_name": "PaymentMethodTypeTokenFilter", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch",...
hyperswitch_enum_router_1652838646998535002
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum PaymentMethodFilterKey { PaymentMethodType(enums::PaymentMethodType), CardNetwork(enums::CardNetwork), }
{ "chunk": null, "crate": "router", "enum_name": "PaymentMethodFilterKey", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "st...
hyperswitch_enum_router_-5496889641132538002
clm
enum
// hyperswitch/crates/router/src/configs/settings.rs pub enum DecryptionScheme { #[default] #[serde(rename = "RSA-OAEP")] RsaOaep, #[serde(rename = "RSA-OAEP-256")] RsaOaep256, }
{ "chunk": null, "crate": "router", "enum_name": "DecryptionScheme", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_li...
hyperswitch_enum_router_-3967756015059984867
clm
enum
// hyperswitch/crates/router/src/connector/utils.rs pub enum CardIssuer { AmericanExpress, Master, Maestro, Visa, Discover, DinersClub, JCB, CarteBlanche, }
{ "chunk": null, "crate": "router", "enum_name": "CardIssuer", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": n...
hyperswitch_enum_router_-5431557849448877454
clm
enum
// hyperswitch/crates/router/src/connector/utils.rs pub enum PaymentMethodDataType { Card, Knet, Benefit, MomoAtm, CardRedirect, AliPayQr, AliPayRedirect, AliPayHkRedirect, AmazonPay, AmazonPayRedirect, Paysera, Skrill, MomoRedirect, KakaoPayRedirect, GoPayRe...
{ "chunk": null, "crate": "router", "enum_name": "PaymentMethodDataType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "sta...
hyperswitch_enum_router_2770558535448700111
clm
enum
// hyperswitch/crates/router/src/events/outgoing_webhook_logs.rs pub enum OutgoingWebhookEventContent { #[cfg(feature = "v1")] Payment { payment_id: common_utils::id_type::PaymentId, content: Value, }, #[cfg(feature = "v2")] Payment { payment_id: common_utils::id_type::Globa...
{ "chunk": null, "crate": "router", "enum_name": "OutgoingWebhookEventContent", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", ...
hyperswitch_enum_router_5483897640049265175
clm
enum
// hyperswitch/crates/router/src/events/audit_events.rs pub enum AuditEventType { Error { error_message: String, }, PaymentCreated, ConnectorDecided, ConnectorCalled, RefundCreated, RefundSuccess, RefundFail, PaymentConfirm { client_src: Option<String>, clien...
{ "chunk": null, "crate": "router", "enum_name": "AuditEventType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line...
hyperswitch_enum_router_-8723555319689422287
clm
enum
// hyperswitch/crates/router/src/routes/lock_utils.rs pub enum ApiIdentifier { Payments, Refunds, Webhooks, Organization, MerchantAccount, MerchantConnector, Configs, Customers, Ephemeral, Health, Mandates, PaymentMethods, PaymentMethodAuth, Payouts, Disputes...
{ "chunk": null, "crate": "router", "enum_name": "ApiIdentifier", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line"...
hyperswitch_enum_router_6363859089428879992
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum Flow { DummyPaymentCreate, DummyPaymentRetrieve, DummyPaymentAuthorize, DummyPaymentComplete, DummyRefundCreate, DummyRefundRetrieve, }
{ "chunk": null, "crate": "router", "enum_name": "Flow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": null, ...
hyperswitch_enum_router_-5234593223720183087
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectors { #[serde(rename = "phonypay")] #[strum(serialize = "phonypay")] PhonyPay, #[serde(rename = "fauxpay")] #[strum(serialize = "fauxpay")] FauxPay, #[serde(rename = "pretendpay")] #[strum(serialize = ...
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectors", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_lin...
hyperswitch_enum_router_-4591328878730290733
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorStatus { Succeeded, #[default] Processing, Failed, }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorStatus", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "star...
hyperswitch_enum_router_-2721085045498580344
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorPaymentMethodData { Card(DummyConnectorCard), Upi(DummyConnectorUpi), Wallet(DummyConnectorWallet), PayLater(DummyConnectorPayLater), }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorPaymentMethodData", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitc...
hyperswitch_enum_router_533529492619259472
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorPaymentMethodType { #[default] Card, Upi(DummyConnectorUpiType), Wallet(DummyConnectorWallet), PayLater(DummyConnectorPayLater), }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorPaymentMethodType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitc...
hyperswitch_enum_router_7454323617680475564
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorUpi { UpiCollect(DummyConnectorUpiCollect), }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorUpi", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_l...
hyperswitch_enum_router_7008491724716232635
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorWallet { GooglePay, Paypal, WeChatPay, MbWay, AliPay, AliPayHK, }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorWallet", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "star...
hyperswitch_enum_router_-664655473921109455
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorUpiType { UpiCollect, }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorUpiType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "sta...
hyperswitch_enum_router_-9081812430008616501
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorPayLater { Klarna, Affirm, AfterPayClearPay, }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorPayLater", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "st...
hyperswitch_enum_router_-3511331028834255290
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub enum DummyConnectorNextAction { RedirectToUrl(String), }
{ "chunk": null, "crate": "router", "enum_name": "DummyConnectorNextAction", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "...
hyperswitch_enum_router_-5396055275170193095
clm
enum
// hyperswitch/crates/router/src/routes/dummy_connector/errors.rs pub enum ErrorType { ServerNotAvailable, ObjectNotFound, InvalidRequestError, }
{ "chunk": null, "crate": "router", "enum_name": "ErrorType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": nu...
hyperswitch_enum_router_8029490991258404945
clm
enum
// hyperswitch/crates/router/src/services/encryption.rs pub enum EncryptionAlgorithm { A128GCM, A256GCM, }
{ "chunk": null, "crate": "router", "enum_name": "EncryptionAlgorithm", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start...
hyperswitch_enum_router_-4908481669999202089
clm
enum
// hyperswitch/crates/router/src/services/kafka.rs pub enum KafkaError { #[error("Generic Kafka Error")] GenericError, #[error("Kafka not implemented")] NotImplemented, #[error("Kafka Initialization Error")] InitializationError, }
{ "chunk": null, "crate": "router", "enum_name": "KafkaError", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": n...
hyperswitch_enum_router_7668906361805174588
clm
enum
// hyperswitch/crates/router/src/services/authentication.rs pub enum AuthenticationType { ApiKey { merchant_id: id_type::MerchantId, key_id: id_type::ApiKeyId, }, AdminApiKey, AdminApiAuthWithMerchantId { merchant_id: id_type::MerchantId, }, OrganizationJwt { org...
{ "chunk": null, "crate": "router", "enum_name": "AuthenticationType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_...
hyperswitch_enum_router_-1111191557654122604
clm
enum
// hyperswitch/crates/router/src/services/authentication.rs pub enum ExternalServiceType { Hypersense, }
{ "chunk": null, "crate": "router", "enum_name": "ExternalServiceType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start...
hyperswitch_enum_router_57440048319916946
clm
enum
// hyperswitch/crates/router/src/services/api.rs pub enum AuthFlow { Client, Merchant, }
{ "chunk": null, "crate": "router", "enum_name": "AuthFlow", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": nul...
hyperswitch_enum_router_-4484061145872323045
clm
enum
// hyperswitch/crates/router/src/services/authentication/decision.rs pub enum AuthType { /// [`ApiKey`] is an authentication method that uses an API key. This is used with [`ApiKey`] ApiKey { api_key: Secret<String> }, }
{ "chunk": null, "crate": "router", "enum_name": "AuthType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": nul...
hyperswitch_enum_router_6326598108052111217
clm
enum
// hyperswitch/crates/router/src/services/authentication/decision.rs pub enum AuthRuleType { /// [`ApiKey`] is an authentication method that uses an API key. This is used with [`ApiKey`] /// and [`PublishableKey`] authentication methods. ApiKey { api_key: Secret<String>, identifiers: Identi...
{ "chunk": null, "crate": "router", "enum_name": "AuthRuleType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line":...
hyperswitch_enum_router_-1500320703825313424
clm
enum
// hyperswitch/crates/router/src/services/authentication/decision.rs pub enum Identifiers { /// [`ApiKey`] is an authentication method that uses an API key. This is used with [`ApiKey`] ApiKey { merchant_id: common_utils::id_type::MerchantId, key_id: common_utils::id_type::ApiKeyId, }, ...
{ "chunk": null, "crate": "router", "enum_name": "Identifiers", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": ...
hyperswitch_enum_router_-3976523110324529764
clm
enum
// hyperswitch/crates/router/src/services/authentication/detached.rs pub enum PayloadType { ApiKey, PublishableKey, }
{ "chunk": null, "crate": "router", "enum_name": "PayloadType", "file_size": null, "for_type": null, "function_name": null, "is_async": null, "is_pub": null, "lines": null, "method_name": null, "num_enums": null, "num_items": null, "num_structs": null, "repo": "hyperswitch", "start_line": ...