id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
hyperswitch_struct_router_-6003836148371922784
clm
struct
// hyperswitch/crates/router/src/services/kafka/authentication_event.rs pub struct KafkaAuthenticationEvent<'a> { pub authentication_id: &'a common_utils::id_type::AuthenticationId, pub merchant_id: &'a common_utils::id_type::MerchantId, pub authentication_connector: Option<&'a String>, pub connector_authentication_id: Option<&'a String>, pub authentication_data: Option<serde_json::Value>, pub payment_method_id: &'a String, pub authentication_type: Option<storage_enums::DecoupledAuthenticationType>, pub authentication_status: storage_enums::AuthenticationStatus, pub authentication_lifecycle_status: storage_enums::AuthenticationLifecycleStatus, #[serde(default, with = "time::serde::timestamp::milliseconds")] pub created_at: OffsetDateTime, #[serde(default, with = "time::serde::timestamp::milliseconds")] pub modified_at: OffsetDateTime, pub error_message: Option<&'a String>, pub error_code: Option<&'a String>, pub connector_metadata: Option<serde_json::Value>, pub maximum_supported_version: Option<common_utils::types::SemanticVersion>, pub threeds_server_transaction_id: Option<&'a String>, pub cavv: Option<&'a String>, pub authentication_flow_type: Option<&'a String>, pub message_version: Option<common_utils::types::SemanticVersion>, pub eci: Option<&'a String>, pub trans_status: Option<storage_enums::TransactionStatus>, pub acquirer_bin: Option<&'a String>, pub acquirer_merchant_id: Option<&'a String>, pub three_ds_method_data: Option<&'a String>, pub three_ds_method_url: Option<&'a String>, pub acs_url: Option<&'a String>, pub challenge_request: Option<&'a String>, pub acs_reference_number: Option<&'a String>, pub acs_trans_id: Option<&'a String>, pub acs_signed_content: Option<&'a String>, pub profile_id: &'a common_utils::id_type::ProfileId, pub payment_id: Option<&'a common_utils::id_type::PaymentId>, pub merchant_connector_id: Option<&'a common_utils::id_type::MerchantConnectorAccountId>, pub ds_trans_id: Option<&'a String>, pub directory_server_id: Option<&'a String>, pub acquirer_country_code: Option<&'a String>, pub organization_id: &'a common_utils::id_type::OrganizationId, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "KafkaAuthenticationEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3555836171571593950
clm
struct
// hyperswitch/crates/router/src/services/kafka/revenue_recovery.rs pub struct RevenueRecovery<'a> { pub merchant_id: &'a id_type::MerchantId, pub invoice_amount: MinorUnit, pub invoice_currency: &'a common_enums::Currency, #[serde(default, with = "time::serde::timestamp::nanoseconds::option")] pub invoice_due_date: Option<OffsetDateTime>, #[serde(with = "time::serde::timestamp::nanoseconds::option")] pub invoice_date: Option<OffsetDateTime>, pub billing_country: Option<&'a common_enums::CountryAlpha2>, pub billing_state: Option<Secret<String>>, pub billing_city: Option<Secret<String>>, pub attempt_amount: MinorUnit, pub attempt_currency: &'a common_enums::Currency, pub attempt_status: &'a common_enums::AttemptStatus, pub pg_error_code: Option<String>, pub network_advice_code: Option<String>, pub network_error_code: Option<String>, pub first_pg_error_code: Option<String>, pub first_network_advice_code: Option<String>, pub first_network_error_code: Option<String>, #[serde(default, with = "time::serde::timestamp::nanoseconds")] pub attempt_created_at: OffsetDateTime, pub payment_method_type: Option<&'a common_enums::PaymentMethod>, pub payment_method_subtype: Option<&'a common_enums::PaymentMethodType>, pub card_network: Option<&'a common_enums::CardNetwork>, pub card_issuer: Option<String>, pub retry_count: Option<i32>, pub payment_gateway: Option<common_enums::connector_enums::Connector>, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "RevenueRecovery", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3623471478818845566
clm
struct
// hyperswitch/crates/router/src/services/kafka/authentication.rs pub struct KafkaAuthentication<'a> { pub authentication_id: &'a common_utils::id_type::AuthenticationId, pub merchant_id: &'a common_utils::id_type::MerchantId, pub authentication_connector: Option<&'a String>, pub connector_authentication_id: Option<&'a String>, pub authentication_data: Option<serde_json::Value>, pub payment_method_id: &'a String, pub authentication_type: Option<storage_enums::DecoupledAuthenticationType>, pub authentication_status: storage_enums::AuthenticationStatus, pub authentication_lifecycle_status: storage_enums::AuthenticationLifecycleStatus, #[serde(default, with = "time::serde::timestamp::milliseconds")] pub created_at: OffsetDateTime, #[serde(default, with = "time::serde::timestamp::milliseconds")] pub modified_at: OffsetDateTime, pub error_message: Option<&'a String>, pub error_code: Option<&'a String>, pub connector_metadata: Option<serde_json::Value>, pub maximum_supported_version: Option<common_utils::types::SemanticVersion>, pub threeds_server_transaction_id: Option<&'a String>, pub cavv: Option<&'a String>, pub authentication_flow_type: Option<&'a String>, pub message_version: Option<common_utils::types::SemanticVersion>, pub eci: Option<&'a String>, pub trans_status: Option<storage_enums::TransactionStatus>, pub acquirer_bin: Option<&'a String>, pub acquirer_merchant_id: Option<&'a String>, pub three_ds_method_data: Option<&'a String>, pub three_ds_method_url: Option<&'a String>, pub acs_url: Option<&'a String>, pub challenge_request: Option<&'a String>, pub acs_reference_number: Option<&'a String>, pub acs_trans_id: Option<&'a String>, pub acs_signed_content: Option<&'a String>, pub profile_id: &'a common_utils::id_type::ProfileId, pub payment_id: Option<&'a common_utils::id_type::PaymentId>, pub merchant_connector_id: Option<&'a common_utils::id_type::MerchantConnectorAccountId>, pub ds_trans_id: Option<&'a String>, pub directory_server_id: Option<&'a String>, pub acquirer_country_code: Option<&'a String>, pub organization_id: &'a common_utils::id_type::OrganizationId, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "KafkaAuthentication", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-3584176626543216021
clm
struct
// hyperswitch/crates/router/src/services/kafka/payment_intent.rs pub struct KafkaPaymentIntent<'a> { pub payment_id: &'a id_type::PaymentId, pub merchant_id: &'a id_type::MerchantId, pub status: storage_enums::IntentStatus, pub amount: common_types::MinorUnit, pub currency: Option<storage_enums::Currency>, pub amount_captured: Option<common_types::MinorUnit>, pub customer_id: Option<&'a id_type::CustomerId>, pub description: Option<&'a String>, pub return_url: Option<&'a String>, pub metadata: Option<String>, pub connector_id: Option<&'a String>, pub statement_descriptor_name: Option<&'a String>, pub statement_descriptor_suffix: Option<&'a String>, #[serde(with = "time::serde::timestamp")] pub created_at: OffsetDateTime, #[serde(with = "time::serde::timestamp")] pub modified_at: OffsetDateTime, #[serde(default, with = "time::serde::timestamp::option")] pub last_synced: Option<OffsetDateTime>, pub setup_future_usage: Option<storage_enums::FutureUsage>, pub off_session: Option<bool>, pub client_secret: Option<&'a String>, pub active_attempt_id: String, pub business_country: Option<storage_enums::CountryAlpha2>, pub business_label: Option<&'a String>, pub attempt_count: i16, pub profile_id: Option<&'a id_type::ProfileId>, pub payment_confirm_source: Option<storage_enums::PaymentSource>, pub billing_details: Option<Encryptable<Secret<Value>>>, pub shipping_details: Option<Encryptable<Secret<Value>>>, pub customer_email: Option<HashedString<pii::EmailStrategy>>, pub feature_metadata: Option<&'a Value>, pub merchant_order_reference_id: Option<&'a String>, pub organization_id: &'a id_type::OrganizationId, #[serde(flatten)] infra_values: Option<Value>, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "KafkaPaymentIntent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-3584176626543216021
clm
struct
// hyperswitch/crates/router/src/services/kafka/payment_intent.rs pub struct KafkaPaymentIntent<'a> { pub payment_id: &'a id_type::GlobalPaymentId, pub merchant_id: &'a id_type::MerchantId, pub status: storage_enums::IntentStatus, pub amount: common_types::MinorUnit, pub currency: storage_enums::Currency, pub amount_captured: Option<common_types::MinorUnit>, pub customer_id: Option<&'a id_type::GlobalCustomerId>, pub description: Option<&'a common_types::Description>, pub return_url: Option<&'a common_types::Url>, pub metadata: Option<&'a Secret<Value>>, pub statement_descriptor: Option<&'a common_types::StatementDescriptor>, #[serde(with = "time::serde::timestamp")] pub created_at: OffsetDateTime, #[serde(with = "time::serde::timestamp")] pub modified_at: OffsetDateTime, #[serde(default, with = "time::serde::timestamp::option")] pub last_synced: Option<OffsetDateTime>, pub setup_future_usage: storage_enums::FutureUsage, pub off_session: bool, pub active_attempt_id: Option<&'a id_type::GlobalAttemptId>, pub active_attempt_id_type: common_enums::ActiveAttemptIDType, pub active_attempts_group_id: Option<&'a String>, pub attempt_count: i16, pub profile_id: &'a id_type::ProfileId, pub customer_email: Option<HashedString<pii::EmailStrategy>>, pub feature_metadata: Option<&'a diesel_types::FeatureMetadata>, pub organization_id: &'a id_type::OrganizationId, pub order_details: Option<&'a Vec<Secret<OrderDetailsWithAmount>>>, pub allowed_payment_method_types: Option<&'a Vec<common_enums::PaymentMethodType>>, pub connector_metadata: Option<&'a api_models::payments::ConnectorMetadata>, pub payment_link_id: Option<&'a String>, pub updated_by: &'a String, pub surcharge_applicable: Option<bool>, pub request_incremental_authorization: RequestIncrementalAuthorization, pub split_txns_enabled: common_enums::SplitTxnsEnabled, pub authorization_count: Option<i32>, #[serde(with = "time::serde::timestamp")] pub session_expiry: OffsetDateTime, pub request_external_three_ds_authentication: common_enums::External3dsAuthenticationRequest, pub frm_metadata: Option<Secret<&'a Value>>, pub customer_details: Option<Secret<&'a Value>>, pub shipping_cost: Option<common_types::MinorUnit>, pub tax_details: Option<TaxDetails>, pub skip_external_tax_calculation: bool, pub request_extended_authorization: Option<RequestExtendedAuthorizationBool>, pub psd2_sca_exemption_type: Option<storage_enums::ScaExemptionType>, pub split_payments: Option<&'a payments::SplitPaymentsRequest>, pub platform_merchant_id: Option<&'a id_type::MerchantId>, pub force_3ds_challenge: Option<bool>, pub force_3ds_challenge_trigger: Option<bool>, pub processor_merchant_id: &'a id_type::MerchantId, pub created_by: Option<&'a common_types::CreatedBy>, pub is_iframe_redirection_enabled: Option<bool>, pub merchant_reference_id: Option<&'a id_type::PaymentReferenceId>, pub capture_method: storage_enums::CaptureMethod, pub authentication_type: Option<common_enums::AuthenticationType>, pub prerouting_algorithm: Option<&'a routing::PaymentRoutingInfo>, pub surcharge_amount: Option<common_types::MinorUnit>, pub billing_address: Option<Secret<&'a address::Address>>, pub shipping_address: Option<Secret<&'a address::Address>>, pub tax_on_surcharge: Option<common_types::MinorUnit>, pub frm_merchant_decision: Option<common_enums::MerchantDecision>, pub enable_payment_link: common_enums::EnablePaymentLinkRequest, pub apply_mit_exemption: common_enums::MitExemptionRequest, pub customer_present: common_enums::PresenceOfCustomerDuringPayment, pub routing_algorithm_id: Option<&'a id_type::RoutingId>, pub payment_link_config: Option<&'a PaymentLinkConfigRequestForPayments>, pub enable_partial_authorization: Option<EnablePartialAuthorizationBool>, #[serde(flatten)] infra_values: Option<Value>, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "KafkaPaymentIntent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2704795561923535134
clm
struct
// hyperswitch/crates/router/src/services/api/client.rs pub struct ProxyClient { proxy_config: Proxy, client: reqwest::Client, request_id: Option<RequestId>, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "ProxyClient", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5658603309551214980
clm
struct
// hyperswitch/crates/router/src/services/api/client.rs pub struct MockApiClient;
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "MockApiClient", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1407683800736931960
clm
struct
// hyperswitch/crates/router/src/services/authorization/roles.rs pub struct RoleInfo { role_id: String, role_name: String, groups: Vec<PermissionGroup>, scope: RoleScope, entity_type: EntityType, is_invitable: bool, is_deletable: bool, is_updatable: bool, is_internal: bool, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "RoleInfo", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-8809952816417343813
clm
struct
// hyperswitch/crates/router/src/services/authentication/decision.rs pub struct RuleRequest { /// [`tag`] similar to a partition key, which can be used by the decision service to tag rules /// by partitioning identifiers. (e.g. `tenant_id`) pub tag: String, /// [`variant`] is the type of authentication method to be registered. #[serde(flatten)] pub variant: AuthRuleType, /// [`expiry`] is the time **in seconds** after which the rule should be removed pub expiry: Option<u64>, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "RuleRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-7508492547786428917
clm
struct
// hyperswitch/crates/router/src/services/authentication/decision.rs pub struct RuleDeleteRequest { pub tag: String, #[serde(flatten)] pub variant: AuthType, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "RuleDeleteRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4910432194766877730
clm
struct
// hyperswitch/crates/router/src/services/authentication/detached.rs pub struct ExtractedPayload { pub payload_type: PayloadType, pub merchant_id: Option<MerchantId>, pub key_id: Option<ApiKeyId>, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "ExtractedPayload", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2182507667292428806
clm
struct
// hyperswitch/crates/router/src/services/email/types.rs pub struct EmailToken { email: String, flow: domain::Origin, exp: u64, entity: Option<Entity>, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "EmailToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_979237064177774097
clm
struct
// hyperswitch/crates/router/src/services/email/types.rs pub struct Entity { pub entity_id: String, pub entity_type: EntityType, }
{ "chunk": null, "crate": "router", "enum_name": null, "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, "struct_name": "Entity", "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_-3916063419784602106
clm
enum
// hyperswitch/crates/storage_impl/src/config.rs pub enum QueueStrategy { #[default] Fifo, Lifo, }
{ "chunk": null, "crate": "storage_impl", "enum_name": "QueueStrategy", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_-4049997505763838622
clm
enum
// hyperswitch/crates/storage_impl/src/errors.rs pub enum StorageError { #[error("Initialization Error")] InitializationError, #[error("DatabaseError: {0:?}")] DatabaseError(error_stack::Report<DatabaseError>), #[error("ValueNotFound: {0}")] ValueNotFound(String), #[error("DuplicateValue: {entity} already exists {key:?}")] DuplicateValue { entity: &'static str, key: Option<String>, }, #[error("Timed out while trying to connect to the database")] DatabaseConnectionError, #[error("KV error")] KVError, #[error("Serialization failure")] SerializationFailed, #[error("MockDb error")] MockDbError, #[error("Kafka error")] KafkaError, #[error("Customer with this id is Redacted")] CustomerRedacted, #[error("Deserialization failure")] DeserializationFailed, #[error("Error while encrypting data")] EncryptionError, #[error("Error while decrypting data from database")] DecryptionError, #[error("RedisError: {0:?}")] RedisError(error_stack::Report<RedisError>), }
{ "chunk": null, "crate": "storage_impl", "enum_name": "StorageError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_7500616186308112048
clm
enum
// hyperswitch/crates/storage_impl/src/errors.rs pub enum ConnectorError { #[error("Error while obtaining URL for the integration")] FailedToObtainIntegrationUrl, #[error("Failed to encode connector request")] RequestEncodingFailed, #[error("Request encoding failed : {0}")] RequestEncodingFailedWithReason(String), #[error("Parsing failed")] ParsingFailed, #[error("Failed to deserialize connector response")] ResponseDeserializationFailed, #[error("Failed to execute a processing step: {0:?}")] ProcessingStepFailed(Option<bytes::Bytes>), #[error("The connector returned an unexpected response: {0:?}")] UnexpectedResponseError(bytes::Bytes), #[error("Failed to parse custom routing rules from merchant account")] RoutingRulesParsingError, #[error("Failed to obtain preferred connector from merchant account")] FailedToObtainPreferredConnector, #[error("An invalid connector name was provided")] InvalidConnectorName, #[error("An invalid Wallet was used")] InvalidWallet, #[error("Failed to handle connector response")] ResponseHandlingFailed, #[error("Missing required field: {field_name}")] MissingRequiredField { field_name: &'static str }, #[error("Missing required fields: {field_names:?}")] MissingRequiredFields { field_names: Vec<&'static str> }, #[error("Failed to obtain authentication type")] FailedToObtainAuthType, #[error("Failed to obtain certificate")] FailedToObtainCertificate, #[error("Connector meta data not found")] NoConnectorMetaData, #[error("Failed to obtain certificate key")] FailedToObtainCertificateKey, #[error("This step has not been implemented for: {0}")] NotImplemented(String), #[error("{message} is not supported by {connector}")] NotSupported { message: String, connector: &'static str, payment_experience: String, }, #[error("{flow} flow not supported by {connector} connector")] FlowNotSupported { flow: String, connector: String }, #[error("Connector '{connector}' rejected field '{field_name}': length {received_length} exceeds maximum of {max_length}'")] MaxFieldLengthViolated { connector: String, field_name: String, max_length: usize, received_length: usize, }, #[error("Capture method not supported")] CaptureMethodNotSupported, #[error("Missing connector transaction ID")] MissingConnectorTransactionID, #[error("Missing connector refund ID")] MissingConnectorRefundID, #[error("Webhooks not implemented for this connector")] WebhooksNotImplemented, #[error("Failed to decode webhook event body")] WebhookBodyDecodingFailed, #[error("Signature not found for incoming webhook")] WebhookSignatureNotFound, #[error("Failed to verify webhook source")] WebhookSourceVerificationFailed, #[error("Could not find merchant secret in DB for incoming webhook source verification")] WebhookVerificationSecretNotFound, #[error("Incoming webhook object reference ID not found")] WebhookReferenceIdNotFound, #[error("Incoming webhook event type not found")] WebhookEventTypeNotFound, #[error("Incoming webhook event resource object not found")] WebhookResourceObjectNotFound, #[error("Could not respond to the incoming webhook event")] WebhookResponseEncodingFailed, #[error("Invalid Date/time format")] InvalidDateFormat, #[error("Date Formatting Failed")] DateFormattingFailed, #[error("Invalid Data format")] InvalidDataFormat { field_name: &'static str }, #[error("Payment Method data / Payment Method Type / Payment Experience Mismatch ")] MismatchedPaymentData, #[error("Field {fields} doesn't match with the ones used during mandate creation")] MandatePaymentDataMismatch { fields: String }, #[error("Failed to parse Wallet token")] InvalidWalletToken { wallet_name: String }, #[error("Missing Connector Related Transaction ID")] MissingConnectorRelatedTransactionID { id: String }, #[error("File Validation failed")] FileValidationFailed { reason: String }, #[error("Missing 3DS redirection payload: {field_name}")] MissingConnectorRedirectionPayload { field_name: &'static str }, }
{ "chunk": null, "crate": "storage_impl", "enum_name": "ConnectorError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_8649713071241693593
clm
enum
// hyperswitch/crates/storage_impl/src/errors.rs pub enum HealthCheckDBError { #[error("Error while connecting to database")] DBError, #[error("Error while writing to database")] DBWriteError, #[error("Error while reading element in the database")] DBReadError, #[error("Error while deleting element in the database")] DBDeleteError, #[error("Unpredictable error occurred")] UnknownError, #[error("Error in database transaction")] TransactionError, #[error("Error while executing query in Sqlx Analytics")] SqlxAnalyticsError, #[error("Error while executing query in Clickhouse Analytics")] ClickhouseAnalyticsError, #[error("Error while executing query in Opensearch")] OpensearchError, }
{ "chunk": null, "crate": "storage_impl", "enum_name": "HealthCheckDBError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_-6585590219134178796
clm
enum
// hyperswitch/crates/storage_impl/src/errors.rs pub enum HealthCheckRedisError { #[error("Failed to establish Redis connection")] RedisConnectionError, #[error("Failed to set key value in Redis")] SetFailed, #[error("Failed to get key value in Redis")] GetFailed, #[error("Failed to delete key value in Redis")] DeleteFailed, }
{ "chunk": null, "crate": "storage_impl", "enum_name": "HealthCheckRedisError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_-6419673256305861030
clm
enum
// hyperswitch/crates/storage_impl/src/errors.rs pub enum HealthCheckLockerError { #[error("Failed to establish Locker connection")] FailedToCallLocker, }
{ "chunk": null, "crate": "storage_impl", "enum_name": "HealthCheckLockerError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_7681272730625270873
clm
enum
// hyperswitch/crates/storage_impl/src/errors.rs pub enum HealthCheckGRPCServiceError { #[error("Failed to establish connection with gRPC service")] FailedToCallService, }
{ "chunk": null, "crate": "storage_impl", "enum_name": "HealthCheckGRPCServiceError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_-3674381863463938168
clm
enum
// hyperswitch/crates/storage_impl/src/errors.rs pub enum RecoveryError { #[error("Failed to make a recovery payment")] PaymentCallFailed, #[error("Encountered a Process Tracker Task Failure")] ProcessTrackerFailure, #[error("The encountered task is invalid")] InvalidTask, #[error("The Process Tracker data was not found")] ValueNotFound, #[error("Failed to update billing connector")] RecordBackToBillingConnectorFailed, #[error("Failed to fetch billing connector account id")] BillingMerchantConnectorAccountIdNotFound, #[error("Failed to generate payment sync data")] PaymentsResponseGenerationFailed, #[error("Outgoing Webhook Failed")] RevenueRecoveryOutgoingWebhookFailed, }
{ "chunk": null, "crate": "storage_impl", "enum_name": "RecoveryError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_7902264916271226125
clm
enum
// hyperswitch/crates/storage_impl/src/errors.rs pub enum HealthCheckDecisionEngineError { #[error("Failed to establish Decision Engine connection")] FailedToCallDecisionEngineService, }
{ "chunk": null, "crate": "storage_impl", "enum_name": "HealthCheckDecisionEngineError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_-8913956666361246648
clm
enum
// hyperswitch/crates/storage_impl/src/errors.rs pub enum HealthCheckUnifiedConnectorServiceError { #[error("Failed to establish Unified Connector Service connection")] FailedToCallUnifiedConnectorService, }
{ "chunk": null, "crate": "storage_impl", "enum_name": "HealthCheckUnifiedConnectorServiceError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_-3050511548117698259
clm
enum
// hyperswitch/crates/storage_impl/src/redis/cache.rs pub enum CacheKind<'a> { Config(Cow<'a, str>), Accounts(Cow<'a, str>), Routing(Cow<'a, str>), DecisionManager(Cow<'a, str>), Surcharge(Cow<'a, str>), CGraph(Cow<'a, str>), SuccessBasedDynamicRoutingCache(Cow<'a, str>), EliminationBasedDynamicRoutingCache(Cow<'a, str>), ContractBasedDynamicRoutingCache(Cow<'a, str>), PmFiltersCGraph(Cow<'a, str>), All(Cow<'a, str>), }
{ "chunk": null, "crate": "storage_impl", "enum_name": "CacheKind", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_-6513875257357625799
clm
enum
// hyperswitch/crates/storage_impl/src/redis/kv_store.rs pub enum PartitionKey<'a> { MerchantIdPaymentId { merchant_id: &'a common_utils::id_type::MerchantId, payment_id: &'a common_utils::id_type::PaymentId, }, CombinationKey { combination: &'a str, }, MerchantIdCustomerId { merchant_id: &'a common_utils::id_type::MerchantId, customer_id: &'a common_utils::id_type::CustomerId, }, #[cfg(feature = "v2")] MerchantIdMerchantReferenceId { merchant_id: &'a common_utils::id_type::MerchantId, merchant_reference_id: &'a str, }, MerchantIdPayoutId { merchant_id: &'a common_utils::id_type::MerchantId, payout_id: &'a common_utils::id_type::PayoutId, }, MerchantIdPayoutAttemptId { merchant_id: &'a common_utils::id_type::MerchantId, payout_attempt_id: &'a str, }, MerchantIdMandateId { merchant_id: &'a common_utils::id_type::MerchantId, mandate_id: &'a str, }, #[cfg(feature = "v2")] GlobalId { id: &'a str, }, #[cfg(feature = "v2")] GlobalPaymentId { id: &'a common_utils::id_type::GlobalPaymentId, }, }
{ "chunk": null, "crate": "storage_impl", "enum_name": "PartitionKey", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_storage_impl_1783672693385989604
clm
enum
// hyperswitch/crates/storage_impl/src/redis/kv_store.rs pub enum KvResult<T: de::DeserializeOwned> { HGet(T), Get(T), Hset(()), SetNx(redis_interface::SetnxReply), HSetNx(redis_interface::HsetnxReply), Scan(Vec<T>), }
{ "chunk": null, "crate": "storage_impl", "enum_name": "KvResult", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_3593055433700278093
clm
enum
// hyperswitch/crates/common_utils/src/request.rs pub enum Method { Get, Post, Put, Delete, Patch, }
{ "chunk": null, "crate": "common_utils", "enum_name": "Method", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_424220364191721985
clm
enum
// hyperswitch/crates/common_utils/src/request.rs pub enum ContentType { Json, FormUrlEncoded, FormData, Xml, }
{ "chunk": null, "crate": "common_utils", "enum_name": "ContentType", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_5417709407131562407
clm
enum
// hyperswitch/crates/common_utils/src/types.rs pub enum Surcharge { /// Fixed Surcharge value Fixed(MinorUnit), /// Surcharge percentage Rate(Percentage<{ consts::SURCHARGE_PERCENTAGE_PRECISION_LENGTH }>), }
{ "chunk": null, "crate": "common_utils", "enum_name": "Surcharge", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_2404045382051449764
clm
enum
// hyperswitch/crates/common_utils/src/types.rs pub(crate) enum LengthStringError { #[error("the maximum allowed length for this field is {0}")] /// Maximum length of string violated MaxLengthViolated(u16), #[error("the minimum required length for this field is {0}")] /// Minimum length of string violated MinLengthViolated(u16), }
{ "chunk": null, "crate": "common_utils", "enum_name": "LengthStringError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-1841052455610435618
clm
enum
// hyperswitch/crates/common_utils/src/types.rs pub enum ConnectorTransactionId { /// Actual transaction identifier TxnId(String), /// Hashed value of the transaction identifier HashedData(String), }
{ "chunk": null, "crate": "common_utils", "enum_name": "ConnectorTransactionId", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-3869322201152149363
clm
enum
// hyperswitch/crates/common_utils/src/events.rs pub enum ApiEventsType { Payout { payout_id: id_type::PayoutId, }, #[cfg(feature = "v1")] Payment { payment_id: id_type::PaymentId, }, #[cfg(feature = "v2")] Payment { payment_id: id_type::GlobalPaymentId, }, #[cfg(feature = "v1")] Refund { payment_id: Option<id_type::PaymentId>, refund_id: String, }, #[cfg(feature = "v2")] Refund { payment_id: Option<id_type::GlobalPaymentId>, refund_id: id_type::GlobalRefundId, }, #[cfg(feature = "v1")] PaymentMethod { payment_method_id: String, payment_method: Option<common_enums::PaymentMethod>, payment_method_type: Option<common_enums::PaymentMethodType>, }, #[cfg(feature = "v2")] PaymentMethod { payment_method_id: id_type::GlobalPaymentMethodId, payment_method_type: Option<common_enums::PaymentMethod>, payment_method_subtype: Option<common_enums::PaymentMethodType>, }, #[cfg(feature = "v2")] PaymentMethodCreate, #[cfg(feature = "v2")] Customer { customer_id: Option<id_type::GlobalCustomerId>, }, #[cfg(feature = "v1")] Customer { customer_id: id_type::CustomerId, }, BusinessProfile { profile_id: id_type::ProfileId, }, ApiKey { key_id: id_type::ApiKeyId, }, User { user_id: String, }, PaymentMethodList { payment_id: Option<String>, }, #[cfg(feature = "v2")] PaymentMethodListForPaymentMethods { payment_method_id: id_type::GlobalPaymentMethodId, }, #[cfg(feature = "v1")] Webhooks { connector: String, payment_id: Option<id_type::PaymentId>, }, #[cfg(feature = "v1")] NetworkTokenWebhook { payment_method_id: Option<String>, }, #[cfg(feature = "v2")] Webhooks { connector: id_type::MerchantConnectorAccountId, payment_id: Option<id_type::GlobalPaymentId>, }, Routing, Subscription, Invoice, ResourceListAPI, #[cfg(feature = "v1")] PaymentRedirectionResponse { connector: Option<String>, payment_id: Option<id_type::PaymentId>, }, #[cfg(feature = "v2")] PaymentRedirectionResponse { payment_id: id_type::GlobalPaymentId, }, Gsm, // TODO: This has to be removed once the corresponding apiEventTypes are created Miscellaneous, Keymanager, RustLocker, ApplePayCertificatesMigration, FraudCheck, Recon, ExternalServiceAuth, Dispute { dispute_id: String, }, Events { merchant_id: id_type::MerchantId, }, PaymentMethodCollectLink { link_id: String, }, Poll { poll_id: String, }, Analytics, #[cfg(feature = "v2")] ClientSecret { key_id: id_type::ClientSecretId, }, #[cfg(feature = "v2")] PaymentMethodSession { payment_method_session_id: id_type::GlobalPaymentMethodSessionId, }, #[cfg(feature = "v2")] Token { token_id: Option<id_type::GlobalTokenId>, }, ProcessTracker, Authentication { authentication_id: id_type::AuthenticationId, }, ProfileAcquirer { profile_acquirer_id: id_type::ProfileAcquirerId, }, ThreeDsDecisionRule, Chat, }
{ "chunk": null, "crate": "common_utils", "enum_name": "ApiEventsType", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_4449072640679014092
clm
enum
// hyperswitch/crates/common_utils/src/lib.rs pub enum DateFormat { /// Format the date in 20191105081132 format YYYYMMDDHHmmss, /// Format the date in 20191105 format YYYYMMDD, /// Format the date in 201911050811 format YYYYMMDDHHmm, /// Format the date in 05112019081132 format DDMMYYYYHHmmss, }
{ "chunk": null, "crate": "common_utils", "enum_name": "DateFormat", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_5801538034151141222
clm
enum
// hyperswitch/crates/common_utils/src/pii.rs pub enum PhoneNumberStrategy {}
{ "chunk": null, "crate": "common_utils", "enum_name": "PhoneNumberStrategy", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-8598471924486284316
clm
enum
// hyperswitch/crates/common_utils/src/pii.rs pub enum EncryptionStrategy {}
{ "chunk": null, "crate": "common_utils", "enum_name": "EncryptionStrategy", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-6023843586621278242
clm
enum
// hyperswitch/crates/common_utils/src/pii.rs pub enum ClientSecret {}
{ "chunk": null, "crate": "common_utils", "enum_name": "ClientSecret", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-7951117955181927052
clm
enum
// hyperswitch/crates/common_utils/src/pii.rs pub enum EmailStrategy {}
{ "chunk": null, "crate": "common_utils", "enum_name": "EmailStrategy", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_4914827823089049868
clm
enum
// hyperswitch/crates/common_utils/src/pii.rs pub enum IpAddress {}
{ "chunk": null, "crate": "common_utils", "enum_name": "IpAddress", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_6536316074385909396
clm
enum
// hyperswitch/crates/common_utils/src/pii.rs pub enum UpiVpaMaskingStrategy {}
{ "chunk": null, "crate": "common_utils", "enum_name": "UpiVpaMaskingStrategy", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-8564649262373898225
clm
enum
// hyperswitch/crates/common_utils/src/errors.rs pub enum ParsingError { ///Failed to parse enum #[error("Failed to parse enum: {0}")] EnumParseFailure(&'static str), ///Failed to parse struct #[error("Failed to parse struct: {0}")] StructParseFailure(&'static str), /// Failed to encode data to given format #[error("Failed to serialize to {0} format")] EncodeError(&'static str), /// Failed to parse data #[error("Unknown error while parsing")] UnknownError, /// Failed to parse datetime #[error("Failed to parse datetime")] DateTimeParsingError, /// Failed to parse email #[error("Failed to parse email")] EmailParsingError, /// Failed to parse phone number #[error("Failed to parse phone number")] PhoneNumberParsingError, /// Failed to parse Float value for converting to decimal points #[error("Failed to parse Float value for converting to decimal points")] FloatToDecimalConversionFailure, /// Failed to parse Decimal value for i64 value conversion #[error("Failed to parse Decimal value for i64 value conversion")] DecimalToI64ConversionFailure, /// Failed to parse string value for f64 value conversion #[error("Failed to parse string value for f64 value conversion")] StringToFloatConversionFailure, /// Failed to parse i64 value for f64 value conversion #[error("Failed to parse i64 value for f64 value conversion")] I64ToDecimalConversionFailure, /// Failed to parse i64 value for String value conversion #[error("Failed to parse i64 value for String value conversion")] I64ToStringConversionFailure, /// Failed to parse String value to Decimal value conversion because `error` #[error("Failed to parse String value to Decimal value conversion because {error}")] StringToDecimalConversionFailure { error: String }, /// Failed to convert the given integer because of integer overflow error #[error("Integer Overflow error")] IntegerOverflow, /// Failed to parse url #[error("Failed to parse url")] UrlParsingError, }
{ "chunk": null, "crate": "common_utils", "enum_name": "ParsingError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-5500296931629866088
clm
enum
// hyperswitch/crates/common_utils/src/errors.rs pub enum ValidationError { /// The provided input is missing a required field. #[error("Missing required field: {field_name}")] MissingRequiredField { field_name: String }, /// An incorrect value was provided for the field specified by `field_name`. #[error("Incorrect value provided for field: {field_name}")] IncorrectValueProvided { field_name: &'static str }, /// An invalid input was provided. #[error("{message}")] InvalidValue { message: String }, }
{ "chunk": null, "crate": "common_utils", "enum_name": "ValidationError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_2459284993274673697
clm
enum
// hyperswitch/crates/common_utils/src/errors.rs pub enum CryptoError { /// The cryptographic algorithm was unable to encode the message #[error("Failed to encode given message")] EncodingFailed, /// The cryptographic algorithm was unable to decode the message #[error("Failed to decode given message")] DecodingFailed, /// The cryptographic algorithm was unable to sign the message #[error("Failed to sign message")] MessageSigningFailed, /// The cryptographic algorithm was unable to verify the given signature #[error("Failed to verify signature")] SignatureVerificationFailed, /// The provided key length is invalid for the cryptographic algorithm #[error("Invalid key length")] InvalidKeyLength, /// The provided IV length is invalid for the cryptographic algorithm #[error("Invalid IV length")] InvalidIvLength, /// The provided authentication tag length is invalid for the cryptographic algorithm #[error("Invalid authentication tag length")] InvalidTagLength, }
{ "chunk": null, "crate": "common_utils", "enum_name": "CryptoError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-3162622181923241173
clm
enum
// hyperswitch/crates/common_utils/src/errors.rs pub enum QrCodeError { /// Failed to encode data into Qr code #[error("Failed to create Qr code")] FailedToCreateQrCode, /// Failed to parse hex color #[error("Invalid hex color code supplied")] InvalidHexColor, }
{ "chunk": null, "crate": "common_utils", "enum_name": "QrCodeError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-873288589785599057
clm
enum
// hyperswitch/crates/common_utils/src/errors.rs pub enum PercentageError { /// Percentage Value provided was invalid #[error("Invalid Percentage value")] InvalidPercentageValue, /// Error occurred while calculating percentage #[error("Failed apply percentage of {percentage} on {amount}")] UnableToApplyPercentage { /// percentage value percentage: f32, /// amount value amount: MinorUnit, }, }
{ "chunk": null, "crate": "common_utils", "enum_name": "PercentageError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-852995500771368163
clm
enum
// hyperswitch/crates/common_utils/src/errors.rs pub enum KeyManagerClientError { #[error("Failed to construct header from the given value")] FailedtoConstructHeader, #[error("Failed to send request to Keymanager")] RequestNotSent(String), #[error("URL encoding of request failed")] UrlEncodingFailed, #[error("Failed to build the reqwest client ")] ClientConstructionFailed, #[error("Failed to send the request to Keymanager")] RequestSendFailed, #[error("Internal Server Error Received {0:?}")] InternalServerError(bytes::Bytes), #[error("Bad request received {0:?}")] BadRequest(bytes::Bytes), #[error("Unexpected Error occurred while calling the KeyManager")] Unexpected(bytes::Bytes), #[error("Response Decoding failed")] ResponseDecodingFailed, }
{ "chunk": null, "crate": "common_utils", "enum_name": "KeyManagerClientError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-3423133729832000314
clm
enum
// hyperswitch/crates/common_utils/src/errors.rs pub enum KeyManagerError { #[error("Failed to add key to the KeyManager")] KeyAddFailed, #[error("Failed to transfer the key to the KeyManager")] KeyTransferFailed, #[error("Failed to Encrypt the data in the KeyManager")] EncryptionFailed, #[error("Failed to Decrypt the data in the KeyManager")] DecryptionFailed, }
{ "chunk": null, "crate": "common_utils", "enum_name": "KeyManagerError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_4814382256786575520
clm
enum
// hyperswitch/crates/common_utils/src/ucs_types.rs pub enum UcsReferenceId { /// A payment reference ID. /// /// This variant wraps a [`PaymentReferenceId`](id_type::PaymentReferenceId) /// and is used to identify a payment transaction within the UCS. Payment(id_type::PaymentReferenceId), /// A refund reference ID. /// /// This variant wraps a [`RefundReferenceId`](id_type::RefundReferenceId) /// and is used to identify a refund transaction within the UCS. Refund(id_type::RefundReferenceId), }
{ "chunk": null, "crate": "common_utils", "enum_name": "UcsReferenceId", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_2869793796200234868
clm
enum
// hyperswitch/crates/common_utils/src/id_type.rs pub(crate) enum LengthIdError { #[error("the maximum allowed length for this field is {0}")] /// Maximum length of string violated MaxLengthViolated(u8), #[error("the minimum required length for this field is {0}")] /// Minimum length of string violated MinLengthViolated(u8), #[error("{0}")] /// Input contains invalid characters AlphanumericIdError(AlphaNumericIdError), }
{ "chunk": null, "crate": "common_utils", "enum_name": "LengthIdError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-6490563977918328864
clm
enum
// hyperswitch/crates/common_utils/src/payout_method_utils.rs pub enum AdditionalPayoutMethodData { /// Additional data for card payout method Card(Box<CardAdditionalData>), /// Additional data for bank payout method Bank(Box<BankAdditionalData>), /// Additional data for wallet payout method Wallet(Box<WalletAdditionalData>), /// Additional data for Bank Redirect payout method BankRedirect(Box<BankRedirectAdditionalData>), }
{ "chunk": null, "crate": "common_utils", "enum_name": "AdditionalPayoutMethodData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-6475930012327134150
clm
enum
// hyperswitch/crates/common_utils/src/payout_method_utils.rs pub enum BankAdditionalData { /// Additional data for ach bank transfer payout method Ach(Box<AchBankTransferAdditionalData>), /// Additional data for bacs bank transfer payout method Bacs(Box<BacsBankTransferAdditionalData>), /// Additional data for sepa bank transfer payout method Sepa(Box<SepaBankTransferAdditionalData>), /// Additional data for pix bank transfer payout method Pix(Box<PixBankTransferAdditionalData>), }
{ "chunk": null, "crate": "common_utils", "enum_name": "BankAdditionalData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_1504777100099800635
clm
enum
// hyperswitch/crates/common_utils/src/payout_method_utils.rs pub enum WalletAdditionalData { /// Additional data for paypal wallet payout method Paypal(Box<PaypalAdditionalData>), /// Additional data for venmo wallet payout method Venmo(Box<VenmoAdditionalData>), /// Additional data for Apple pay decrypt wallet payout method ApplePayDecrypt(Box<ApplePayDecryptAdditionalData>), }
{ "chunk": null, "crate": "common_utils", "enum_name": "WalletAdditionalData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_6857059115411809729
clm
enum
// hyperswitch/crates/common_utils/src/payout_method_utils.rs pub enum BankRedirectAdditionalData { /// Additional data for interac bank redirect payout method Interac(Box<InteracAdditionalData>), }
{ "chunk": null, "crate": "common_utils", "enum_name": "BankRedirectAdditionalData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_6739293932131309132
clm
enum
// hyperswitch/crates/common_utils/src/types/keymanager.rs pub enum Identifier { User(String), Merchant(id_type::MerchantId), UserAuth(String), }
{ "chunk": null, "crate": "common_utils", "enum_name": "Identifier", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_4598110210753190177
clm
enum
// hyperswitch/crates/common_utils/src/types/authentication.rs pub enum AuthInfo { /// OrgLevel: Authentication at the organization level OrgLevel { /// org_id: OrganizationId org_id: id_type::OrganizationId, }, /// MerchantLevel: Authentication at the merchant level MerchantLevel { /// org_id: OrganizationId org_id: id_type::OrganizationId, /// merchant_ids: Vec<MerchantId> merchant_ids: Vec<id_type::MerchantId>, }, /// ProfileLevel: Authentication at the profile level ProfileLevel { /// org_id: OrganizationId org_id: id_type::OrganizationId, /// merchant_id: MerchantId merchant_id: id_type::MerchantId, /// profile_ids: Vec<ProfileId> profile_ids: Vec<id_type::ProfileId>, }, }
{ "chunk": null, "crate": "common_utils", "enum_name": "AuthInfo", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_4165590710573999903
clm
enum
// hyperswitch/crates/common_utils/src/types/authentication.rs pub enum ResourceId { /// Global Payment ID (Not exposed in api_models version of enum) Payment(id_type::GlobalPaymentId), /// Global Customer ID Customer(id_type::GlobalCustomerId), /// Global Payment Methods Session ID PaymentMethodSession(id_type::GlobalPaymentMethodSessionId), }
{ "chunk": null, "crate": "common_utils", "enum_name": "ResourceId", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_5121478010980038406
clm
enum
// hyperswitch/crates/common_utils/src/types/user/theme.rs pub enum ThemeLineage { /// Tenant lineage variant Tenant { /// tenant_id: TenantId tenant_id: id_type::TenantId, }, /// Org lineage variant Organization { /// tenant_id: TenantId tenant_id: id_type::TenantId, /// org_id: OrganizationId org_id: id_type::OrganizationId, }, /// Merchant lineage variant Merchant { /// tenant_id: TenantId tenant_id: id_type::TenantId, /// org_id: OrganizationId org_id: id_type::OrganizationId, /// merchant_id: MerchantId merchant_id: id_type::MerchantId, }, /// Profile lineage variant Profile { /// tenant_id: TenantId tenant_id: id_type::TenantId, /// org_id: OrganizationId org_id: id_type::OrganizationId, /// merchant_id: MerchantId merchant_id: id_type::MerchantId, /// profile_id: ProfileId profile_id: id_type::ProfileId, }, }
{ "chunk": null, "crate": "common_utils", "enum_name": "ThemeLineage", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_7124672491596467302
clm
enum
// hyperswitch/crates/common_utils/src/id_type/global_id.rs pub enum CellIdError { #[error("cell id error: {0}")] InvalidCellLength(LengthIdError), #[error("{0}")] InvalidCellIdFormat(AlphaNumericIdError), }
{ "chunk": null, "crate": "common_utils", "enum_name": "CellIdError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-3015830752437195408
clm
enum
// hyperswitch/crates/common_utils/src/id_type/global_id.rs pub(crate) enum GlobalIdError { /// The format for the global id is invalid #[error("The id format is invalid, expected format is {{cell_id:5}}_{{entity_prefix:3}}_{{uuid:32}}_{{random:24}}")] InvalidIdFormat, /// LengthIdError and AlphanumericIdError #[error("{0}")] LengthIdError(#[from] LengthIdError), /// CellIdError because of invalid cell id format #[error("{0}")] CellIdError(#[from] CellIdError), }
{ "chunk": null, "crate": "common_utils", "enum_name": "GlobalIdError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_-3135189706636425944
clm
enum
// hyperswitch/crates/common_utils/src/id_type/global_id/payment_methods.rs pub enum GlobalPaymentMethodIdError { #[error("Failed to construct GlobalPaymentMethodId")] ConstructionError, }
{ "chunk": null, "crate": "common_utils", "enum_name": "GlobalPaymentMethodIdError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_common_utils_7193796658871556631
clm
enum
// hyperswitch/crates/common_utils/src/id_type/global_id/payment_methods.rs pub enum GlobalPaymentMethodSessionIdError { #[error("Failed to construct GlobalPaymentMethodSessionId")] ConstructionError, }
{ "chunk": null, "crate": "common_utils", "enum_name": "GlobalPaymentMethodSessionIdError", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_583287974639458824
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/tokenization.rs pub enum TokenizationUpdate { DeleteTokenizationRecordUpdate { flag: Option<common_enums::enums::TokenizationFlag>, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "TokenizationUpdate", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-587549649932210162
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub enum SyncRequestType { MultipleCaptureSync(Vec<String>), #[default] SinglePaymentSync, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "SyncRequestType", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_4505362796769160535
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub enum ResponseId { ConnectorTransactionId(String), EncodedData(String), #[default] NoResponseId, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "ResponseId", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-1669021007982516888
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub enum SplitRefundsRequest { StripeSplitRefund(StripeSplitRefund), AdyenSplitRefund(common_types::domain::AdyenSplitData), XenditSplitRefund(common_types::domain::XenditSplitSubMerchantData), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "SplitRefundsRequest", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_4091339714572253374
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub enum ChargeRefundsOptions { Destination(DestinationChargeRefund), Direct(DirectChargeRefund), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "ChargeRefundsOptions", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-4407282327717457844
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/payment_methods.rs pub enum PaymentMethodVaultSourceDetails { ExternalVault { external_vault_source: id_type::MerchantConnectorAccountId, }, #[default] InternalVault, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "PaymentMethodVaultSourceDetails", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_3031288754190865118
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_account.rs pub enum MerchantAccountUpdate { Update { merchant_name: OptionalEncryptableName, merchant_details: OptionalEncryptableValue, return_url: Option<String>, webhook_details: Option<diesel_models::business_profile::WebhookDetails>, sub_merchants_enabled: Option<bool>, parent_merchant_id: Option<common_utils::id_type::MerchantId>, enable_payment_response_hash: Option<bool>, payment_response_hash_key: Option<String>, redirect_to_merchant_with_http_post: Option<bool>, publishable_key: Option<String>, locker_id: Option<String>, metadata: Option<pii::SecretSerdeValue>, routing_algorithm: Option<serde_json::Value>, primary_business_details: Option<serde_json::Value>, intent_fulfillment_time: Option<i64>, frm_routing_algorithm: Option<serde_json::Value>, payout_routing_algorithm: Option<serde_json::Value>, default_profile: Option<Option<common_utils::id_type::ProfileId>>, payment_link_config: Option<serde_json::Value>, pm_collect_link_config: Option<serde_json::Value>, }, StorageSchemeUpdate { storage_scheme: MerchantStorageScheme, }, ReconUpdate { recon_status: diesel_models::enums::ReconStatus, }, UnsetDefaultProfile, ModifiedAtUpdate, ToPlatformAccount, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "MerchantAccountUpdate", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_3031288754190865118
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_account.rs pub enum MerchantAccountUpdate { Update { merchant_name: OptionalEncryptableName, merchant_details: OptionalEncryptableValue, publishable_key: Option<String>, metadata: Option<Box<pii::SecretSerdeValue>>, }, StorageSchemeUpdate { storage_scheme: MerchantStorageScheme, }, ReconUpdate { recon_status: diesel_models::enums::ReconStatus, }, ModifiedAtUpdate, ToPlatformAccount, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "MerchantAccountUpdate", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-6780445623845714022
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs pub enum MerchantConnectorAccountTypeDetails { MerchantConnectorAccount(Box<MerchantConnectorAccount>), MerchantConnectorDetails(common_types::domain::MerchantConnectorAuthDetails), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "MerchantConnectorAccountTypeDetails", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_2773961400806556605
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs pub enum MerchantConnectorAccountUpdate { Update { connector_type: Option<enums::ConnectorType>, connector_name: Option<String>, connector_account_details: Box<Option<Encryptable<pii::SecretSerdeValue>>>, test_mode: Option<bool>, disabled: Option<bool>, merchant_connector_id: Option<id_type::MerchantConnectorAccountId>, payment_methods_enabled: Option<Vec<pii::SecretSerdeValue>>, metadata: Option<pii::SecretSerdeValue>, frm_configs: Option<Vec<pii::SecretSerdeValue>>, connector_webhook_details: Box<Option<pii::SecretSerdeValue>>, applepay_verified_domains: Option<Vec<String>>, pm_auth_config: Box<Option<pii::SecretSerdeValue>>, connector_label: Option<String>, status: Option<enums::ConnectorStatus>, connector_wallets_details: Box<Option<Encryptable<pii::SecretSerdeValue>>>, additional_merchant_data: Box<Option<Encryptable<pii::SecretSerdeValue>>>, }, ConnectorWalletDetailsUpdate { connector_wallets_details: Encryptable<pii::SecretSerdeValue>, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "MerchantConnectorAccountUpdate", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_2773961400806556605
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs pub enum MerchantConnectorAccountUpdate { Update { connector_type: Option<enums::ConnectorType>, connector_account_details: Box<Option<Encryptable<pii::SecretSerdeValue>>>, disabled: Option<bool>, payment_methods_enabled: Option<Vec<common_types::payment_methods::PaymentMethodsEnabled>>, metadata: Option<pii::SecretSerdeValue>, frm_configs: Option<Vec<pii::SecretSerdeValue>>, connector_webhook_details: Box<Option<pii::SecretSerdeValue>>, applepay_verified_domains: Option<Vec<String>>, pm_auth_config: Box<Option<pii::SecretSerdeValue>>, connector_label: Option<String>, status: Option<enums::ConnectorStatus>, connector_wallets_details: Box<Option<Encryptable<pii::SecretSerdeValue>>>, additional_merchant_data: Box<Option<Encryptable<pii::SecretSerdeValue>>>, feature_metadata: Box<Option<MerchantConnectorAccountFeatureMetadata>>, }, ConnectorWalletDetailsUpdate { connector_wallets_details: Encryptable<pii::SecretSerdeValue>, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "MerchantConnectorAccountUpdate", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-3981606747808911955
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub enum VaultOperation { ExistingVaultData(VaultData), SaveCardData(CardDataForVault), SaveCardAndNetworkTokenData(Box<CardAndNetworkTokenDataForVault>), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "VaultOperation", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-3990180003948124372
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub enum VaultData { Card(payment_method_data::Card), NetworkToken(payment_method_data::NetworkTokenData), CardAndNetworkToken(Box<CardAndNetworkTokenData>), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "VaultData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-2840923358772575614
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_context.rs pub enum MerchantContext { /// Represents a normal operation merchant context. NormalMerchant(Box<Context>), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "MerchantContext", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_8343082187615625678
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/lib.rs pub enum RemoteStorageObject<T: ForeignIDRef> { ForeignID(String), Object(T), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "RemoteStorageObject", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-8313529235133367293
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/subscription.rs pub enum SubscriptionStatus { Active, Created, InActive, Pending, Trial, Paused, Unpaid, Onetime, Cancelled, Failed, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "SubscriptionStatus", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-3200140192467452054
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/bulk_tokenization.rs pub enum TokenizeDataRequest { Card(TokenizeCardRequest), ExistingPaymentMethod(TokenizePaymentMethodRequest), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "TokenizeDataRequest", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_9186870079268601413
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/type_encryption.rs pub enum CryptoOutput<T: Clone, S: masking::Strategy<T>> { Operation(crypto::Encryptable<Secret<T, S>>), OptionalOperation(Option<crypto::Encryptable<Secret<T, S>>>), BatchOperation(FxHashMap<String, crypto::Encryptable<Secret<T, S>>>), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "CryptoOutput", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_3005145011321094235
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs pub enum ConnectorAuthType { TemporaryAuth, HeaderKey { api_key: Secret<String>, }, BodyKey { api_key: Secret<String>, key1: Secret<String>, }, SignatureKey { api_key: Secret<String>, key1: Secret<String>, api_secret: Secret<String>, }, MultiAuthKey { api_key: Secret<String>, key1: Secret<String>, api_secret: Secret<String>, key2: Secret<String>, }, CurrencyAuthKey { auth_key_map: HashMap<common_enums::enums::Currency, common_utils::pii::SecretSerdeValue>, }, CertificateAuth { certificate: Secret<String>, private_key: Secret<String>, }, #[default] NoKey, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "ConnectorAuthType", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-6820093499054768445
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs pub enum PaymentMethodToken { Token(Secret<String>), ApplePayDecrypt(Box<common_payment_types::ApplePayPredecryptData>), GooglePayDecrypt(Box<common_payment_types::GPayPredecryptData>), PazeDecrypt(Box<PazeDecryptedData>), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "PaymentMethodToken", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-3210646622706171324
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs pub enum AdditionalPaymentMethodConnectorResponse { Card { /// Details regarding the authentication details of the connector, if this is a 3ds payment. authentication_data: Option<serde_json::Value>, /// Various payment checks that are done for a payment payment_checks: Option<serde_json::Value>, /// Card Network returned by the processor card_network: Option<String>, /// Domestic(Co-Branded) Card network returned by the processor domestic_network: Option<String>, }, PayLater { klarna_sdk: Option<KlarnaSdkResponse>, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "AdditionalPaymentMethodConnectorResponse", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-8866912441425030502
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/business_profile.rs pub enum ExternalVaultDetails { ExternalVaultEnabled(ExternalVaultConnectorDetails), Skip, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "ExternalVaultDetails", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-3721225433986921650
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/business_profile.rs pub enum ProfileUpdate { Update(Box<ProfileGeneralUpdate>), RoutingAlgorithmUpdate { routing_algorithm: Option<serde_json::Value>, payout_routing_algorithm: Option<serde_json::Value>, three_ds_decision_rule_algorithm: Option<serde_json::Value>, }, DynamicRoutingAlgorithmUpdate { dynamic_routing_algorithm: Option<serde_json::Value>, }, ExtendedCardInfoUpdate { is_extended_card_info_enabled: bool, }, ConnectorAgnosticMitUpdate { is_connector_agnostic_mit_enabled: bool, }, NetworkTokenizationUpdate { is_network_tokenization_enabled: bool, }, CardTestingSecretKeyUpdate { card_testing_secret_key: OptionalEncryptableName, }, AcquirerConfigMapUpdate { acquirer_config_map: Option<common_types::domain::AcquirerConfigMap>, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "ProfileUpdate", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-3721225433986921650
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/business_profile.rs pub enum ProfileUpdate { Update(Box<ProfileGeneralUpdate>), RoutingAlgorithmUpdate { routing_algorithm_id: Option<common_utils::id_type::RoutingId>, payout_routing_algorithm_id: Option<common_utils::id_type::RoutingId>, }, DefaultRoutingFallbackUpdate { default_fallback_routing: Option<pii::SecretSerdeValue>, }, ExtendedCardInfoUpdate { is_extended_card_info_enabled: bool, }, ConnectorAgnosticMitUpdate { is_connector_agnostic_mit_enabled: bool, }, NetworkTokenizationUpdate { is_network_tokenization_enabled: bool, }, CollectCvvDuringPaymentUpdate { should_collect_cvv_during_payment: primitive_wrappers::ShouldCollectCvvDuringPayment, }, DecisionManagerRecordUpdate { three_ds_decision_manager_config: common_types::payments::DecisionManagerRecord, }, CardTestingSecretKeyUpdate { card_testing_secret_key: OptionalEncryptableName, }, RevenueRecoveryAlgorithmUpdate { revenue_recovery_retry_algorithm_type: common_enums::RevenueRecoveryAlgorithmType, revenue_recovery_retry_algorithm_data: Option<RevenueRecoveryAlgorithmData>, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "ProfileUpdate", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-923902571668548795
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/invoice.rs pub enum InvoiceUpdateRequest { /// Update amount and currency Amount(AmountAndCurrencyUpdate), /// Update connector invoice ID and status Connector(ConnectorAndStatusUpdate), /// Update payment details along with status PaymentStatus(PaymentAndStatusUpdate), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "InvoiceUpdateRequest", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-1673599697743980473
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/customer.rs pub enum CustomerUpdate { Update(Box<CustomerGeneralUpdate>), ConnectorCustomer { connector_customer: Option<common_types::customers::ConnectorCustomerMap>, }, UpdateDefaultPaymentMethod { default_payment_method_id: Option<Option<id_type::GlobalPaymentMethodId>>, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "CustomerUpdate", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-1673599697743980473
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/customer.rs pub enum CustomerUpdate { Update { name: crypto::OptionalEncryptableName, email: crypto::OptionalEncryptableEmail, phone: Box<crypto::OptionalEncryptablePhone>, description: Option<Description>, phone_country_code: Option<String>, metadata: Box<Option<pii::SecretSerdeValue>>, connector_customer: Box<Option<pii::SecretSerdeValue>>, address_id: Option<String>, tax_registration_id: crypto::OptionalEncryptableSecretString, }, ConnectorCustomer { connector_customer: Option<pii::SecretSerdeValue>, }, UpdateDefaultPaymentMethod { default_payment_method_id: Option<Option<String>>, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "CustomerUpdate", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-773575779961304799
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs pub enum PaymentsResponseData { TransactionResponse { resource_id: ResponseId, redirection_data: Box<Option<RedirectForm>>, mandate_reference: Box<Option<MandateReference>>, connector_metadata: Option<serde_json::Value>, network_txn_id: Option<String>, connector_response_reference_id: Option<String>, incremental_authorization_allowed: Option<bool>, charges: Option<common_types::payments::ConnectorChargeResponseData>, }, MultipleCaptureResponse { // pending_capture_id_list: Vec<String>, capture_sync_response_list: HashMap<String, CaptureSyncResponse>, }, SessionResponse { session_token: api_models::payments::SessionToken, }, SessionTokenResponse { session_token: String, }, TransactionUnresolvedResponse { resource_id: ResponseId, //to add more info on cypto response, like `unresolved` reason(overpaid, underpaid, delayed) reason: Option<api_models::enums::UnresolvedResponseReason>, connector_response_reference_id: Option<String>, }, TokenizationResponse { token: String, }, ConnectorCustomerResponse(ConnectorCustomerResponseData), ThreeDSEnrollmentResponse { enrolled_v2: bool, related_transaction_id: Option<String>, }, PreProcessingResponse { pre_processing_id: PreprocessingResponseId, connector_metadata: Option<serde_json::Value>, session_token: Option<api_models::payments::SessionToken>, connector_response_reference_id: Option<String>, }, IncrementalAuthorizationResponse { status: common_enums::AuthorizationStatus, connector_authorization_id: Option<String>, error_code: Option<String>, error_message: Option<String>, }, PostProcessingResponse { session_token: Option<api_models::payments::OpenBankingSessionToken>, }, PaymentResourceUpdateResponse { status: common_enums::PaymentResourceUpdateStatus, }, PaymentsCreateOrderResponse { order_id: String, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "PaymentsResponseData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_8308604475126952991
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs pub enum CaptureSyncResponse { Success { resource_id: ResponseId, status: common_enums::AttemptStatus, connector_response_reference_id: Option<String>, amount: Option<MinorUnit>, }, Error { code: String, message: String, reason: Option<String>, status_code: u16, amount: Option<MinorUnit>, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "CaptureSyncResponse", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-8887915431033962139
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs pub enum PreprocessingResponseId { PreProcessingId(String), ConnectorTransactionId(String), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "PreprocessingResponseId", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-5420786299117075392
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs pub enum RedirectForm { Form { endpoint: String, method: Method, form_fields: HashMap<String, String>, }, Html { html_data: String, }, BarclaycardAuthSetup { access_token: String, ddc_url: String, reference_id: String, }, BarclaycardConsumerAuth { access_token: String, step_up_url: String, }, BlueSnap { payment_fields_token: String, // payment-field-token }, CybersourceAuthSetup { access_token: String, ddc_url: String, reference_id: String, }, CybersourceConsumerAuth { access_token: String, step_up_url: String, }, DeutschebankThreeDSChallengeFlow { acs_url: String, creq: String, }, Payme, Braintree { client_token: String, card_token: String, bin: String, acs_url: String, }, Nmi { amount: String, currency: common_enums::Currency, public_key: masking::Secret<String>, customer_vault_id: String, order_id: String, }, Mifinity { initialization_token: String, }, WorldpayDDCForm { endpoint: url::Url, method: Method, form_fields: HashMap<String, String>, collection_id: Option<String>, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "RedirectForm", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_7360903833820938782
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs pub enum VerifyWebhookStatus { SourceVerified, SourceNotVerified, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "VerifyWebhookStatus", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-1521810146253008702
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs pub enum AuthenticationResponseData { PreAuthVersionCallResponse { maximum_supported_3ds_version: common_utils::types::SemanticVersion, }, PreAuthThreeDsMethodCallResponse { threeds_server_transaction_id: String, three_ds_method_data: Option<String>, three_ds_method_url: Option<String>, connector_metadata: Option<serde_json::Value>, }, PreAuthNResponse { threeds_server_transaction_id: String, maximum_supported_3ds_version: common_utils::types::SemanticVersion, connector_authentication_id: String, three_ds_method_data: Option<String>, three_ds_method_url: Option<String>, message_version: common_utils::types::SemanticVersion, connector_metadata: Option<serde_json::Value>, directory_server_id: Option<String>, }, AuthNResponse { authn_flow_type: AuthNFlowType, authentication_value: Option<masking::Secret<String>>, trans_status: common_enums::TransactionStatus, connector_metadata: Option<serde_json::Value>, ds_trans_id: Option<String>, eci: Option<String>, challenge_code: Option<String>, challenge_cancel: Option<String>, challenge_code_reason: Option<String>, message_extension: Option<pii::SecretSerdeValue>, }, PostAuthNResponse { trans_status: common_enums::TransactionStatus, authentication_value: Option<masking::Secret<String>>, eci: Option<String>, challenge_cancel: Option<String>, challenge_code_reason: Option<String>, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "AuthenticationResponseData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_803326736474716703
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs pub enum VaultResponseData { ExternalVaultCreateResponse { session_id: masking::Secret<String>, client_secret: masking::Secret<String>, }, ExternalVaultInsertResponse { connector_vault_id: String, fingerprint_id: String, }, ExternalVaultRetrieveResponse { vault_data: PaymentMethodVaultingData, }, ExternalVaultDeleteResponse { connector_vault_id: String, }, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "VaultResponseData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-1142116857452012702
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub enum PaymentMethodData { Card(Card), CardDetailsForNetworkTransactionId(CardDetailsForNetworkTransactionId), CardRedirect(CardRedirectData), Wallet(WalletData), PayLater(PayLaterData), BankRedirect(BankRedirectData), BankDebit(BankDebitData), BankTransfer(Box<BankTransferData>), Crypto(CryptoData), MandatePayment, Reward, RealTimePayment(Box<RealTimePaymentData>), Upi(UpiData), Voucher(VoucherData), GiftCard(Box<GiftCardData>), CardToken(CardToken), OpenBanking(OpenBankingData), NetworkToken(NetworkTokenData), MobilePayment(MobilePaymentData), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "PaymentMethodData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_6519269782439635417
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub enum ExternalVaultPaymentMethodData { Card(Box<ExternalVaultCard>), VaultToken(VaultToken), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "ExternalVaultPaymentMethodData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_-3676228177001354026
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub enum ApplePayFlow { Simplified(api_models::payments::PaymentProcessingDetails), Manual, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "ApplePayFlow", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_4257273414324632751
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub enum CardRedirectData { Knet {}, Benefit {}, MomoAtm {}, CardRedirect {}, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "CardRedirectData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_1341123298981095048
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub enum PayLaterData { KlarnaRedirect {}, KlarnaSdk { token: String }, AffirmRedirect {}, AfterpayClearpayRedirect {}, PayBrightRedirect {}, WalleyRedirect {}, FlexitiRedirect {}, AlmaRedirect {}, AtomeRedirect {}, BreadpayRedirect {}, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "PayLaterData", "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, "struct_name": null, "total_crates": null, "trait_name": null }
hyperswitch_enum_hyperswitch_domain_models_471836466740040933
clm
enum
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub enum WalletData { AliPayQr(Box<AliPayQr>), AliPayRedirect(AliPayRedirection), AliPayHkRedirect(AliPayHkRedirection), AmazonPay(AmazonPayWalletData), AmazonPayRedirect(Box<AmazonPayRedirect>), BluecodeRedirect {}, Paysera(Box<PayseraData>), Skrill(Box<SkrillData>), MomoRedirect(MomoRedirection), KakaoPayRedirect(KakaoPayRedirection), GoPayRedirect(GoPayRedirection), GcashRedirect(GcashRedirection), ApplePay(ApplePayWalletData), ApplePayRedirect(Box<ApplePayRedirectData>), ApplePayThirdPartySdk(Box<ApplePayThirdPartySdkData>), DanaRedirect {}, GooglePay(GooglePayWalletData), GooglePayRedirect(Box<GooglePayRedirectData>), GooglePayThirdPartySdk(Box<GooglePayThirdPartySdkData>), MbWayRedirect(Box<MbWayRedirection>), MobilePayRedirect(Box<MobilePayRedirection>), PaypalRedirect(PaypalRedirection), PaypalSdk(PayPalWalletData), Paze(PazeWalletData), SamsungPay(Box<SamsungPayWalletData>), TwintRedirect {}, VippsRedirect {}, TouchNGoRedirect(Box<TouchNGoRedirection>), WeChatPayRedirect(Box<WeChatPayRedirection>), WeChatPayQr(Box<WeChatPayQr>), CashappQr(Box<CashappQr>), SwishQr(SwishQrData), Mifinity(MifinityData), RevolutPay(RevolutPayData), }
{ "chunk": null, "crate": "hyperswitch_domain_models", "enum_name": "WalletData", "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, "struct_name": null, "total_crates": null, "trait_name": null }