id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
hyperswitch_struct_router_-3352563979212980703
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct LockerBasedRecipientConnectorList { #[serde(deserialize_with = "deserialize_hashset")] pub connector_list: HashSet<String>, }
{ "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": "LockerBasedRecipientConnectorList", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6553318425431609848
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ConnectorRequestReferenceIdConfig { pub merchant_ids_send_payment_id_as_connector_request_id: HashSet<id_type::MerchantId>, }
{ "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": "ConnectorRequestReferenceIdConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_6338952655650774226
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct UserAuthMethodSettings { pub encryption_key: Secret<String>, }
{ "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": "UserAuthMethodSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-705834406602625929
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct NetworkTokenizationSupportedConnectors { #[serde(deserialize_with = "deserialize_hashset")] pub connector_list: HashSet<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": "NetworkTokenizationSupportedConnectors", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-434975652291024393
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct Payouts { pub payout_eligibility: bool, #[serde(default)] pub required_fields: PayoutRequiredFields, }
{ "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": "Payouts", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4327814858476586032
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct LockSettings { pub redis_lock_expiry_seconds: u32, pub delay_between_retries_in_milliseconds: u32, pub lock_retries: u32, }
{ "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": "LockSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4643135650511501134
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs struct Inner { redis_lock_expiry_seconds: u32, delay_between_retries_in_milliseconds: u32, }
{ "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": "Inner", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3576921019110137212
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ConnectorOnboarding { pub paypal: PayPalOnboarding, }
{ "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": "ConnectorOnboarding", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_2564723258008984758
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct PayPalOnboarding { pub client_id: Secret<String>, pub client_secret: Secret<String>, pub partner_id: Secret<String>, pub enabled: 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": "PayPalOnboarding", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8268300002509989856
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ServerTls { /// Port to host the TLS secure server on pub port: u16, /// Use a different host (optional) (defaults to the host provided in [`Server`] config) pub host: Option<String>, /// private key file path associated with TLS (path to the private key file (`pem` format)) pub private_key: PathBuf, /// certificate file associated with TLS (path to the certificate file (`pem` format)) pub certificate: PathBuf, }
{ "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": "ServerTls", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_1067858016029849564
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct CellInformation { pub id: id_type::CellId, }
{ "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": "CellInformation", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-5263755159704541877
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs pub struct ThemeSettings { pub storage: FileStorageConfig, pub email_config: EmailThemeConfig, }
{ "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": "ThemeSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4643135650511501134
clm
struct
// hyperswitch/crates/router/src/configs/settings.rs struct Inner { base_url: String, schema: String, accounts_schema: String, redis_key_prefix: String, clickhouse_database: String, user: TenantUserConfig, }
{ "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": "Inner", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8483887060811613163
clm
struct
// hyperswitch/crates/router/src/connector/utils.rs pub struct ErrorCodeAndMessage { pub error_code: String, pub error_message: String, }
{ "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": "ErrorCodeAndMessage", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6787880116034591719
clm
struct
// hyperswitch/crates/router/src/db/kafka_store.rs pub struct TenantID(pub String);
{ "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": "TenantID", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3571232637472582027
clm
struct
// hyperswitch/crates/router/src/db/kafka_store.rs pub struct KafkaStore { pub kafka_producer: KafkaProducer, pub diesel_store: Store, pub tenant_id: TenantID, }
{ "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": "KafkaStore", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4930221504227082813
clm
struct
// hyperswitch/crates/router/src/events/outgoing_webhook_logs.rs pub struct OutgoingWebhookEvent { tenant_id: common_utils::id_type::TenantId, merchant_id: common_utils::id_type::MerchantId, event_id: String, event_type: OutgoingWebhookEventType, #[serde(flatten)] content: Option<OutgoingWebhookEventContent>, is_error: bool, error: Option<Value>, created_at_timestamp: i128, initial_attempt_id: Option<String>, status_code: Option<u16>, delivery_attempt: Option<WebhookDeliveryAttempt>, }
{ "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": "OutgoingWebhookEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1023228755874472477
clm
struct
// hyperswitch/crates/router/src/events/api_logs.rs pub struct ApiEvent { tenant_id: common_utils::id_type::TenantId, merchant_id: Option<common_utils::id_type::MerchantId>, api_flow: String, created_at_timestamp: i128, request_id: String, latency: u128, status_code: i64, #[serde(flatten)] auth_type: AuthenticationType, request: String, user_agent: Option<String>, ip_addr: Option<String>, url_path: String, response: Option<String>, error: Option<serde_json::Value>, #[serde(flatten)] event_type: ApiEventsType, hs_latency: Option<u128>, http_method: String, #[serde(flatten)] infra_components: Option<serde_json::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": "ApiEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-5727702984742884743
clm
struct
// hyperswitch/crates/router/src/events/audit_events.rs pub struct AuditEvent { #[serde(flatten)] event_type: AuditEventType, #[serde(with = "common_utils::custom_serde::iso8601")] created_at: PrimitiveDateTime, }
{ "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": "AuditEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5115206166594938699
clm
struct
// hyperswitch/crates/router/src/events/event_logger.rs pub struct EventLogger {}
{ "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": "EventLogger", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_6004169739986686440
clm
struct
// hyperswitch/crates/router/src/routes/payment_methods.rs pub struct PaymentMethodIntentConfirmInternal { pub id: id_type::GlobalPaymentMethodId, pub request: payment_methods::PaymentMethodIntentConfirm, }
{ "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": "PaymentMethodIntentConfirmInternal", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5056124371280737764
clm
struct
// hyperswitch/crates/router/src/routes/payment_methods.rs pub struct ParentPaymentMethodToken { key_for_token: String, }
{ "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": "ParentPaymentMethodToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8089251953149280231
clm
struct
// hyperswitch/crates/router/src/routes/payment_methods.rs struct PaymentMethodsSessionGenericRequest<T: serde::Serialize> { payment_method_session_id: id_type::GlobalPaymentMethodSessionId, #[serde(flatten)] request: T, }
{ "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": "PaymentMethodsSessionGenericRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5386100337737390685
clm
struct
// hyperswitch/crates/router/src/routes/refunds.rs pub struct RefundsGenericRequestWithResourceId<T: serde::Serialize> { pub global_refund_id: common_utils::id_type::GlobalRefundId, pub payment_id: Option<common_utils::id_type::GlobalPaymentId>, #[serde(flatten)] pub payload: T, }
{ "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": "RefundsGenericRequestWithResourceId", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-150707102255692276
clm
struct
// hyperswitch/crates/router/src/routes/payments.rs pub struct PaymentsGenericRequestWithResourceId<T: serde::Serialize> { pub global_payment_id: common_utils::id_type::GlobalPaymentId, #[serde(flatten)] pub payload: T, }
{ "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": "PaymentsGenericRequestWithResourceId", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1397486901658710929
clm
struct
// hyperswitch/crates/router/src/routes/app.rs pub struct ReqState { pub event_context: events::EventContext<crate::events::EventType, EventsHandler>, }
{ "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": "ReqState", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6342511579721536359
clm
struct
// hyperswitch/crates/router/src/routes/app.rs pub struct SessionState { pub store: Box<dyn StorageInterface>, /// Global store is used for global schema operations in tables like Users and Tenants pub global_store: Box<dyn GlobalStorageInterface>, pub accounts_store: Box<dyn AccountsStorageInterface>, pub conf: Arc<settings::Settings<RawSecret>>, pub api_client: Box<dyn crate::services::ApiClient>, pub event_handler: EventsHandler, #[cfg(feature = "email")] pub email_client: Arc<Box<dyn EmailService>>, #[cfg(feature = "olap")] pub pool: AnalyticsProvider, pub file_storage_client: Arc<dyn FileStorageInterface>, pub request_id: Option<RequestId>, pub base_url: String, pub tenant: Tenant, #[cfg(feature = "olap")] pub opensearch_client: Option<Arc<OpenSearchClient>>, pub grpc_client: Arc<GrpcClients>, pub theme_storage_client: Arc<dyn FileStorageInterface>, pub locale: String, pub crm_client: Arc<dyn CrmInterface>, pub infra_components: Option<serde_json::Value>, pub enhancement: Option<HashMap<String, String>>, pub superposition_service: Option<Arc<SuperpositionClient>>, }
{ "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": "SessionState", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6035112572110532377
clm
struct
// hyperswitch/crates/router/src/routes/app.rs pub struct AppState { pub flow_name: String, pub global_store: Box<dyn GlobalStorageInterface>, // TODO: use a separate schema for accounts_store pub accounts_store: HashMap<id_type::TenantId, Box<dyn AccountsStorageInterface>>, pub stores: HashMap<id_type::TenantId, Box<dyn StorageInterface>>, pub conf: Arc<settings::Settings<RawSecret>>, pub event_handler: EventsHandler, #[cfg(feature = "email")] pub email_client: Arc<Box<dyn EmailService>>, pub api_client: Box<dyn crate::services::ApiClient>, #[cfg(feature = "olap")] pub pools: HashMap<id_type::TenantId, AnalyticsProvider>, #[cfg(feature = "olap")] pub opensearch_client: Option<Arc<OpenSearchClient>>, pub request_id: Option<RequestId>, pub file_storage_client: Arc<dyn FileStorageInterface>, pub encryption_client: Arc<dyn EncryptionManagementInterface>, pub grpc_client: Arc<GrpcClients>, pub theme_storage_client: Arc<dyn FileStorageInterface>, pub crm_client: Arc<dyn CrmInterface>, pub infra_components: Option<serde_json::Value>, pub enhancement: Option<HashMap<String, String>>, pub superposition_service: Option<Arc<SuperpositionClient>>, }
{ "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": "AppState", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1752024035792933109
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorPaymentAttempt { pub timestamp: PrimitiveDateTime, pub attempt_id: String, pub payment_id: common_utils::id_type::PaymentId, pub payment_request: DummyConnectorPaymentRequest, }
{ "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": "DummyConnectorPaymentAttempt", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2036686891315459870
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorPaymentRequest { pub amount: i64, pub currency: Currency, pub payment_method_data: DummyConnectorPaymentMethodData, pub return_url: Option<String>, pub connector: DummyConnectors, }
{ "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": "DummyConnectorPaymentRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_379816090386537168
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorCard { pub name: Secret<String>, pub number: cards::CardNumber, pub expiry_month: Secret<String>, pub expiry_year: Secret<String>, pub cvc: Secret<String>, }
{ "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": "DummyConnectorCard", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7901590667999902626
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorUpiCollect { pub vpa_id: Secret<String, pii::UpiVpaMaskingStrategy>, }
{ "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": "DummyConnectorUpiCollect", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_1645400569348456794
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorPaymentData { pub attempt_id: String, pub payment_id: common_utils::id_type::PaymentId, pub status: DummyConnectorStatus, pub amount: i64, pub eligible_amount: i64, pub currency: Currency, #[serde(with = "common_utils::custom_serde::iso8601")] pub created: PrimitiveDateTime, pub payment_method_type: DummyConnectorPaymentMethodType, pub connector: DummyConnectors, pub next_action: Option<DummyConnectorNextAction>, pub return_url: Option<String>, }
{ "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": "DummyConnectorPaymentData", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_2495415613955761995
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorPaymentResponse { pub status: DummyConnectorStatus, pub id: common_utils::id_type::PaymentId, pub amount: i64, pub currency: Currency, #[serde(with = "common_utils::custom_serde::iso8601")] pub created: PrimitiveDateTime, pub payment_method_type: DummyConnectorPaymentMethodType, pub next_action: Option<DummyConnectorNextAction>, }
{ "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": "DummyConnectorPaymentResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_2320624351988437904
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorPaymentRetrieveRequest { pub payment_id: String, }
{ "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": "DummyConnectorPaymentRetrieveRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8632631063594469452
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorPaymentConfirmRequest { pub attempt_id: String, }
{ "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": "DummyConnectorPaymentConfirmRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-3653116311735255856
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorPaymentCompleteRequest { pub attempt_id: String, pub confirm: 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": "DummyConnectorPaymentCompleteRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-7435499082566939621
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorPaymentCompleteBody { pub confirm: 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": "DummyConnectorPaymentCompleteBody", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4122093669246050761
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorRefundRequest { pub amount: i64, pub payment_id: Option<common_utils::id_type::PaymentId>, }
{ "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": "DummyConnectorRefundRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2762923527180330417
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorRefundResponse { pub status: DummyConnectorStatus, pub id: String, pub currency: Currency, #[serde(with = "common_utils::custom_serde::iso8601")] pub created: PrimitiveDateTime, pub payment_amount: i64, pub refund_amount: i64, }
{ "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": "DummyConnectorRefundResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_2076380421182766671
clm
struct
// hyperswitch/crates/router/src/routes/dummy_connector/types.rs pub struct DummyConnectorRefundRetrieveRequest { pub refund_id: String, }
{ "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": "DummyConnectorRefundRetrieveRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5448811366880682767
clm
struct
// hyperswitch/crates/router/src/services/encryption.rs pub struct JwsBody { pub header: String, pub payload: String, pub signature: String, }
{ "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": "JwsBody", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_8277705090587679335
clm
struct
// hyperswitch/crates/router/src/services/encryption.rs pub struct JweBody { pub header: String, pub iv: String, pub encrypted_payload: String, pub tag: String, pub encrypted_key: String, }
{ "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": "JweBody", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2340985583878612031
clm
struct
// hyperswitch/crates/router/src/services/kafka.rs struct KafkaEvent<'a, T: KafkaMessage> { #[serde(flatten)] event: &'a T, sign_flag: i32, tenant_id: TenantID, clickhouse_database: Option<String>, }
{ "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": "KafkaEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-130621285265851095
clm
struct
// hyperswitch/crates/router/src/services/kafka.rs struct KafkaConsolidatedLog<'a, T: KafkaMessage> { #[serde(flatten)] event: &'a T, tenant_id: TenantID, }
{ "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": "KafkaConsolidatedLog", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-3494815937140862977
clm
struct
// hyperswitch/crates/router/src/services/kafka.rs struct KafkaConsolidatedEvent<'a, T: KafkaMessage> { log: KafkaConsolidatedLog<'a, T>, log_type: EventType, }
{ "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": "KafkaConsolidatedEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5345548340340511864
clm
struct
// hyperswitch/crates/router/src/services/kafka.rs pub struct KafkaSettings { brokers: Vec<String>, fraud_check_analytics_topic: String, intent_analytics_topic: String, attempt_analytics_topic: String, refund_analytics_topic: String, api_logs_topic: String, connector_logs_topic: String, outgoing_webhook_logs_topic: String, dispute_analytics_topic: String, audit_events_topic: String, #[cfg(feature = "payouts")] payout_analytics_topic: String, consolidated_events_topic: String, authentication_analytics_topic: String, routing_logs_topic: String, revenue_recovery_topic: String, }
{ "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": "KafkaSettings", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1607963034178029711
clm
struct
// hyperswitch/crates/router/src/services/kafka.rs pub struct KafkaProducer { producer: Arc<RdKafkaProducer>, intent_analytics_topic: String, fraud_check_analytics_topic: String, attempt_analytics_topic: String, refund_analytics_topic: String, api_logs_topic: String, connector_logs_topic: String, outgoing_webhook_logs_topic: String, dispute_analytics_topic: String, audit_events_topic: String, #[cfg(feature = "payouts")] payout_analytics_topic: String, consolidated_events_topic: String, authentication_analytics_topic: String, ckh_database_name: Option<String>, routing_logs_topic: String, revenue_recovery_topic: String, }
{ "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": "KafkaProducer", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2862778004756469816
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AuthenticationData { pub merchant_account: domain::MerchantAccount, pub platform_merchant_account: Option<domain::MerchantAccount>, pub key_store: domain::MerchantKeyStore, pub profile_id: Option<id_type::ProfileId>, }
{ "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": "AuthenticationData", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-2862778004756469816
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AuthenticationData { pub merchant_account: domain::MerchantAccount, pub key_store: domain::MerchantKeyStore, pub profile: domain::Profile, pub platform_merchant_account: Option<domain::MerchantAccount>, }
{ "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": "AuthenticationData", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4425804520188840254
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AuthenticationDataWithoutProfile { pub merchant_account: domain::MerchantAccount, pub key_store: domain::MerchantKeyStore, }
{ "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": "AuthenticationDataWithoutProfile", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7910483243065041605
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AuthenticationDataWithMultipleProfiles { pub merchant_account: domain::MerchantAccount, pub key_store: domain::MerchantKeyStore, pub profile_id_list: Option<Vec<id_type::ProfileId>>, }
{ "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": "AuthenticationDataWithMultipleProfiles", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-973176617243085352
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AuthenticationDataWithUser { pub merchant_account: domain::MerchantAccount, pub key_store: domain::MerchantKeyStore, pub user: storage::User, pub profile_id: id_type::ProfileId, }
{ "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": "AuthenticationDataWithUser", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-5314021849199740491
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AuthenticationDataWithOrg { pub organization_id: 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": "AuthenticationDataWithOrg", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6919441720233410101
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct UserFromTokenWithRoleInfo { pub user: UserFromToken, pub role_info: authorization::roles::RoleInfo, }
{ "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": "UserFromTokenWithRoleInfo", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-7471240900502561060
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct UserFromSinglePurposeToken { pub user_id: String, pub origin: domain::Origin, pub path: Vec<TokenPurpose>, pub tenant_id: Option<id_type::TenantId>, }
{ "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": "UserFromSinglePurposeToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-5702201482058427318
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct SinglePurposeToken { pub user_id: String, pub purpose: TokenPurpose, pub origin: domain::Origin, pub path: Vec<TokenPurpose>, pub exp: u64, pub tenant_id: Option<id_type::TenantId>, }
{ "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": "SinglePurposeToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_9094807477687365270
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AuthToken { pub user_id: String, pub merchant_id: id_type::MerchantId, pub role_id: String, pub exp: u64, pub org_id: id_type::OrganizationId, pub profile_id: id_type::ProfileId, pub tenant_id: Option<id_type::TenantId>, }
{ "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": "AuthToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_2630610471429663756
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct UserFromToken { pub user_id: String, pub merchant_id: id_type::MerchantId, pub role_id: String, pub org_id: id_type::OrganizationId, pub profile_id: id_type::ProfileId, pub tenant_id: Option<id_type::TenantId>, }
{ "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": "UserFromToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_6546023516849351728
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct SinglePurposeOrLoginToken { pub user_id: String, pub role_id: Option<String>, pub purpose: Option<TokenPurpose>, pub exp: u64, pub tenant_id: Option<id_type::TenantId>, }
{ "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": "SinglePurposeOrLoginToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_2767685381670687077
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct ApiKeyAuth { pub is_connected_allowed: bool, pub is_platform_allowed: 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": "ApiKeyAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_6387734061938446116
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct ApiKeyAuthWithMerchantIdFromRoute(pub id_type::MerchantId);
{ "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": "ApiKeyAuthWithMerchantIdFromRoute", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1719577475631482400
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct PlatformOrgAdminAuth { pub is_admin_auth_allowed: bool, pub organization_id: Option<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": "PlatformOrgAdminAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3759425416490580555
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct PlatformOrgAdminAuthWithMerchantIdFromRoute { pub merchant_id_from_route: id_type::MerchantId, pub is_admin_auth_allowed: 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": "PlatformOrgAdminAuthWithMerchantIdFromRoute", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3163898853407865709
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub(crate) struct SinglePurposeJWTAuth(pub TokenPurpose);
{ "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": "SinglePurposeJWTAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6570782875146260164
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct SinglePurposeOrLoginTokenAuth(pub TokenPurpose);
{ "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": "SinglePurposeOrLoginTokenAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-439925445748252628
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AnyPurposeOrLoginTokenAuth;
{ "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": "AnyPurposeOrLoginTokenAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-941605463042971031
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AdminApiAuth;
{ "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": "AdminApiAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3284945877548850476
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct V2AdminApiAuth;
{ "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": "V2AdminApiAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-7579319920471746169
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AdminApiAuthWithMerchantIdFromRoute(pub id_type::MerchantId);
{ "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": "AdminApiAuthWithMerchantIdFromRoute", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3654650043767360589
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AdminApiAuthWithApiKeyFallback { pub organization_id: Option<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": "AdminApiAuthWithApiKeyFallback", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6419998517053433505
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AdminApiAuthWithApiKeyFallbackAndMerchantIdFromRoute(pub id_type::MerchantId);
{ "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": "AdminApiAuthWithApiKeyFallbackAndMerchantIdFromRoute", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_5304865208602678842
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct AdminApiAuthWithMerchantIdFromHeader;
{ "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": "AdminApiAuthWithMerchantIdFromHeader", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_2742396971686490867
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct EphemeralKeyAuth;
{ "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": "EphemeralKeyAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-333372094297124973
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct MerchantIdAuth(pub id_type::MerchantId);
{ "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": "MerchantIdAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-333372094297124973
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct MerchantIdAuth;
{ "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": "MerchantIdAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-3786253903380939648
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct MerchantIdAndProfileIdAuth { pub merchant_id: id_type::MerchantId, pub profile_id: id_type::ProfileId, }
{ "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": "MerchantIdAndProfileIdAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_4959593028680274143
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct PublishableKeyAndProfileIdAuth { pub publishable_key: String, pub profile_id: id_type::ProfileId, }
{ "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": "PublishableKeyAndProfileIdAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-4753457983948087793
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct V2ApiKeyAuth { pub is_connected_allowed: bool, pub is_platform_allowed: 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": "V2ApiKeyAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-316542900852435100
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct V2ClientAuth(pub common_utils::types::authentication::ResourceId);
{ "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": "V2ClientAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-161792043723005194
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct PublishableKeyAuth;
{ "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": "PublishableKeyAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_3387352854198871630
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub(crate) struct JWTAuth { pub permission: Permission, }
{ "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": "JWTAuth", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7321838100117367671
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct ReconToken { pub user_id: String, pub merchant_id: id_type::MerchantId, pub role_id: String, pub exp: u64, pub org_id: id_type::OrganizationId, pub profile_id: id_type::ProfileId, pub tenant_id: Option<id_type::TenantId>, #[serde(skip_serializing_if = "Option::is_none")] pub acl: Option<String>, }
{ "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": "ReconToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-8724300555911796772
clm
struct
// hyperswitch/crates/router/src/services/authentication.rs pub struct ExternalToken { pub user_id: String, pub merchant_id: id_type::MerchantId, pub exp: u64, pub external_service_type: ExternalServiceType, }
{ "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": "ExternalToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-7463776792506209023
clm
struct
// hyperswitch/crates/router/src/services/api.rs pub struct ApplicationRedirectResponse { pub url: String, }
{ "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": "ApplicationRedirectResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-3305638924436127530
clm
struct
// hyperswitch/crates/router/src/services/kafka/refund_event.rs pub struct KafkaRefundEvent<'a> { pub internal_reference_id: &'a String, pub refund_id: &'a String, //merchant_reference id pub payment_id: &'a id_type::PaymentId, pub merchant_id: &'a id_type::MerchantId, pub connector_transaction_id: &'a String, pub connector: &'a String, pub connector_refund_id: Option<&'a String>, pub external_reference_id: Option<&'a String>, pub refund_type: &'a storage_enums::RefundType, pub total_amount: &'a MinorUnit, pub currency: &'a storage_enums::Currency, pub refund_amount: &'a MinorUnit, pub refund_status: &'a storage_enums::RefundStatus, pub sent_to_gateway: &'a bool, pub refund_error_message: Option<&'a String>, pub refund_arn: Option<&'a String>, #[serde(with = "time::serde::timestamp::nanoseconds")] pub created_at: OffsetDateTime, #[serde(with = "time::serde::timestamp::nanoseconds")] pub modified_at: OffsetDateTime, pub description: Option<&'a String>, pub attempt_id: &'a String, pub refund_reason: Option<&'a String>, pub refund_error_code: Option<&'a String>, pub profile_id: Option<&'a id_type::ProfileId>, pub organization_id: &'a 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": "KafkaRefundEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-3305638924436127530
clm
struct
// hyperswitch/crates/router/src/services/kafka/refund_event.rs pub struct KafkaRefundEvent<'a> { pub refund_id: &'a id_type::GlobalRefundId, pub merchant_reference_id: &'a id_type::RefundReferenceId, pub payment_id: &'a id_type::GlobalPaymentId, pub merchant_id: &'a id_type::MerchantId, pub connector_transaction_id: &'a types::ConnectorTransactionId, pub connector: &'a String, pub connector_refund_id: Option<&'a types::ConnectorTransactionId>, pub external_reference_id: Option<&'a String>, pub refund_type: &'a storage_enums::RefundType, pub total_amount: &'a MinorUnit, pub currency: &'a storage_enums::Currency, pub refund_amount: &'a MinorUnit, pub refund_status: &'a storage_enums::RefundStatus, pub sent_to_gateway: &'a bool, pub refund_error_message: Option<&'a String>, pub refund_arn: Option<&'a String>, #[serde(with = "time::serde::timestamp::nanoseconds")] pub created_at: OffsetDateTime, #[serde(with = "time::serde::timestamp::nanoseconds")] pub modified_at: OffsetDateTime, pub description: Option<&'a String>, pub attempt_id: &'a id_type::GlobalAttemptId, pub refund_reason: Option<&'a String>, pub refund_error_code: Option<&'a String>, pub profile_id: Option<&'a id_type::ProfileId>, pub organization_id: &'a id_type::OrganizationId, pub metadata: Option<&'a pii::SecretSerdeValue>, pub updated_by: &'a String, pub merchant_connector_id: Option<&'a id_type::MerchantConnectorAccountId>, pub charges: Option<&'a ChargeRefunds>, pub connector_refund_data: Option<&'a String>, pub connector_transaction_data: Option<&'a String>, pub split_refunds: Option<&'a common_types::refunds::SplitRefund>, pub unified_code: Option<&'a String>, pub unified_message: Option<&'a String>, pub processor_refund_data: Option<&'a String>, pub processor_transaction_data: Option<&'a String>, }
{ "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": "KafkaRefundEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_4920250349760788152
clm
struct
// hyperswitch/crates/router/src/services/kafka/dispute.rs pub struct KafkaDispute<'a> { pub dispute_id: &'a String, pub dispute_amount: MinorUnit, pub currency: storage_enums::Currency, pub dispute_stage: &'a storage_enums::DisputeStage, pub dispute_status: &'a storage_enums::DisputeStatus, pub payment_id: &'a id_type::PaymentId, pub attempt_id: &'a String, pub merchant_id: &'a id_type::MerchantId, pub connector_status: &'a String, pub connector_dispute_id: &'a String, pub connector_reason: Option<&'a String>, pub connector_reason_code: Option<&'a String>, #[serde(default, with = "time::serde::timestamp::option")] pub challenge_required_by: Option<OffsetDateTime>, #[serde(default, with = "time::serde::timestamp::option")] pub connector_created_at: Option<OffsetDateTime>, #[serde(default, with = "time::serde::timestamp::option")] pub connector_updated_at: Option<OffsetDateTime>, #[serde(default, with = "time::serde::timestamp")] pub created_at: OffsetDateTime, #[serde(default, with = "time::serde::timestamp")] pub modified_at: OffsetDateTime, pub connector: &'a String, pub evidence: &'a Secret<serde_json::Value>, pub profile_id: Option<&'a id_type::ProfileId>, pub merchant_connector_id: Option<&'a id_type::MerchantConnectorAccountId>, pub organization_id: &'a 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": "KafkaDispute", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7707321971791759068
clm
struct
// hyperswitch/crates/router/src/services/kafka/payment_attempt.rs pub struct KafkaPaymentAttempt<'a> { pub payment_id: &'a id_type::PaymentId, pub merchant_id: &'a id_type::MerchantId, pub attempt_id: &'a String, pub status: storage_enums::AttemptStatus, pub amount: MinorUnit, pub currency: Option<storage_enums::Currency>, pub save_to_locker: Option<bool>, pub connector: Option<&'a String>, pub error_message: Option<&'a String>, pub offer_amount: Option<MinorUnit>, pub surcharge_amount: Option<MinorUnit>, pub tax_amount: Option<MinorUnit>, pub payment_method_id: Option<&'a String>, pub payment_method: Option<storage_enums::PaymentMethod>, pub connector_transaction_id: Option<&'a String>, pub capture_method: Option<storage_enums::CaptureMethod>, #[serde(default, with = "time::serde::timestamp::option")] pub capture_on: Option<OffsetDateTime>, pub confirm: bool, pub authentication_type: Option<storage_enums::AuthenticationType>, #[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 cancellation_reason: Option<&'a String>, pub amount_to_capture: Option<MinorUnit>, pub mandate_id: Option<&'a String>, pub browser_info: Option<String>, pub error_code: Option<&'a String>, pub connector_metadata: Option<String>, // TODO: These types should implement copy ideally pub payment_experience: Option<&'a storage_enums::PaymentExperience>, pub payment_method_type: Option<&'a storage_enums::PaymentMethodType>, pub payment_method_data: Option<String>, pub error_reason: Option<&'a String>, pub multiple_capture_count: Option<i16>, pub amount_capturable: MinorUnit, pub merchant_connector_id: Option<&'a id_type::MerchantConnectorAccountId>, pub net_amount: MinorUnit, pub unified_code: Option<&'a String>, pub unified_message: Option<&'a String>, pub mandate_data: Option<&'a MandateDetails>, pub client_source: Option<&'a String>, pub client_version: Option<&'a String>, pub profile_id: &'a id_type::ProfileId, pub organization_id: &'a id_type::OrganizationId, pub card_network: Option<String>, pub card_discovery: Option<String>, pub routing_approach: Option<storage_enums::RoutingApproach>, pub debit_routing_savings: Option<MinorUnit>, pub signature_network: Option<common_enums::CardNetwork>, pub is_issuer_regulated: Option<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": "KafkaPaymentAttempt", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7707321971791759068
clm
struct
// hyperswitch/crates/router/src/services/kafka/payment_attempt.rs pub struct KafkaPaymentAttempt<'a> { pub payment_id: &'a id_type::GlobalPaymentId, pub merchant_id: &'a id_type::MerchantId, pub attempt_id: &'a id_type::GlobalAttemptId, pub attempts_group_id: Option<&'a String>, pub status: storage_enums::AttemptStatus, pub amount: MinorUnit, pub connector: Option<&'a String>, pub error_message: Option<&'a String>, pub surcharge_amount: Option<MinorUnit>, pub tax_amount: Option<MinorUnit>, pub payment_method_id: Option<&'a id_type::GlobalPaymentMethodId>, pub payment_method: storage_enums::PaymentMethod, pub connector_transaction_id: Option<&'a String>, pub authentication_type: storage_enums::AuthenticationType, #[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 cancellation_reason: Option<&'a String>, pub amount_to_capture: Option<MinorUnit>, pub browser_info: Option<&'a types::BrowserInformation>, pub error_code: Option<&'a String>, pub connector_metadata: Option<String>, // TODO: These types should implement copy ideally pub payment_experience: Option<&'a storage_enums::PaymentExperience>, pub payment_method_type: &'a storage_enums::PaymentMethodType, pub payment_method_data: Option<String>, pub error_reason: Option<&'a String>, pub multiple_capture_count: Option<i16>, pub amount_capturable: MinorUnit, pub merchant_connector_id: Option<&'a id_type::MerchantConnectorAccountId>, pub net_amount: MinorUnit, pub unified_code: Option<&'a String>, pub unified_message: Option<&'a String>, pub client_source: Option<&'a String>, pub client_version: Option<&'a String>, pub profile_id: &'a id_type::ProfileId, pub organization_id: &'a id_type::OrganizationId, pub card_network: Option<String>, pub card_discovery: Option<String>, pub connector_payment_id: Option<types::ConnectorTransactionId>, pub payment_token: Option<String>, pub preprocessing_step_id: Option<String>, pub connector_response_reference_id: Option<String>, pub updated_by: &'a String, pub encoded_data: Option<&'a masking::Secret<String>>, pub external_three_ds_authentication_attempted: Option<bool>, pub authentication_connector: Option<String>, pub authentication_id: Option<String>, pub fingerprint_id: Option<String>, pub customer_acceptance: Option<&'a masking::Secret<payments::CustomerAcceptance>>, pub shipping_cost: Option<MinorUnit>, pub order_tax_amount: Option<MinorUnit>, pub charges: Option<payments::ConnectorChargeResponseData>, pub processor_merchant_id: &'a id_type::MerchantId, pub created_by: Option<&'a types::CreatedBy>, pub payment_method_type_v2: storage_enums::PaymentMethod, pub payment_method_subtype: storage_enums::PaymentMethodType, pub routing_result: Option<serde_json::Value>, pub authentication_applied: Option<common_enums::AuthenticationType>, pub external_reference_id: Option<String>, pub tax_on_surcharge: Option<MinorUnit>, pub payment_method_billing_address: Option<masking::Secret<&'a address::Address>>, // adjusted from Encryption pub redirection_data: Option<&'a RedirectForm>, pub connector_payment_data: Option<String>, pub connector_token_details: Option<&'a payment_attempt::ConnectorTokenDetails>, pub feature_metadata: Option<&'a PaymentAttemptFeatureMetadata>, pub network_advice_code: Option<String>, pub network_decline_code: Option<String>, pub network_error_message: Option<String>, pub connector_request_reference_id: Option<String>, }
{ "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": "KafkaPaymentAttempt", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-6639389316459772515
clm
struct
// hyperswitch/crates/router/src/services/kafka/payout.rs pub struct KafkaPayout<'a> { pub payout_id: &'a id_type::PayoutId, pub payout_attempt_id: &'a String, pub merchant_id: &'a id_type::MerchantId, pub customer_id: Option<&'a id_type::CustomerId>, pub address_id: Option<&'a String>, pub profile_id: &'a id_type::ProfileId, pub payout_method_id: Option<&'a String>, pub payout_type: Option<storage_enums::PayoutType>, pub amount: MinorUnit, pub destination_currency: storage_enums::Currency, pub source_currency: storage_enums::Currency, pub description: Option<&'a String>, pub recurring: bool, pub auto_fulfill: bool, pub return_url: Option<&'a String>, pub entity_type: storage_enums::PayoutEntityType, pub metadata: Option<pii::SecretSerdeValue>, #[serde(with = "time::serde::timestamp")] pub created_at: OffsetDateTime, #[serde(with = "time::serde::timestamp")] pub last_modified_at: OffsetDateTime, pub attempt_count: i16, pub status: storage_enums::PayoutStatus, pub priority: Option<storage_enums::PayoutSendPriority>, pub connector: Option<&'a String>, pub connector_payout_id: Option<&'a String>, pub is_eligible: Option<bool>, pub error_message: Option<&'a String>, pub error_code: Option<&'a String>, pub business_country: Option<storage_enums::CountryAlpha2>, pub business_label: Option<&'a String>, pub merchant_connector_id: Option<&'a id_type::MerchantConnectorAccountId>, }
{ "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": "KafkaPayout", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_4310513912393091374
clm
struct
// hyperswitch/crates/router/src/services/kafka/fraud_check.rs pub struct KafkaFraudCheck<'a> { pub frm_id: &'a String, pub payment_id: &'a common_utils::id_type::PaymentId, pub merchant_id: &'a common_utils::id_type::MerchantId, pub attempt_id: &'a String, #[serde(with = "time::serde::timestamp")] pub created_at: OffsetDateTime, pub frm_name: &'a String, pub frm_transaction_id: Option<&'a String>, pub frm_transaction_type: FraudCheckType, pub frm_status: FraudCheckStatus, pub frm_score: Option<i32>, pub frm_reason: Option<serde_json::Value>, pub frm_error: Option<&'a String>, pub payment_details: Option<serde_json::Value>, pub metadata: Option<serde_json::Value>, #[serde(with = "time::serde::timestamp")] pub modified_at: OffsetDateTime, pub last_step: FraudCheckLastStep, pub payment_capture_method: Option<storage_enums::CaptureMethod>, // In postFrm, we are updating capture method from automatic to manual. To store the merchant actual capture method, we are storing the actual capture method in payment_capture_method. It will be useful while approving the FRM decision. }
{ "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": "KafkaFraudCheck", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-1149149633594633559
clm
struct
// hyperswitch/crates/router/src/services/kafka/dispute_event.rs pub struct KafkaDisputeEvent<'a> { pub dispute_id: &'a String, pub dispute_amount: MinorUnit, pub currency: storage_enums::Currency, pub dispute_stage: &'a storage_enums::DisputeStage, pub dispute_status: &'a storage_enums::DisputeStatus, pub payment_id: &'a common_utils::id_type::PaymentId, pub attempt_id: &'a String, pub merchant_id: &'a common_utils::id_type::MerchantId, pub connector_status: &'a String, pub connector_dispute_id: &'a String, pub connector_reason: Option<&'a String>, pub connector_reason_code: Option<&'a String>, #[serde(default, with = "time::serde::timestamp::nanoseconds::option")] pub challenge_required_by: Option<OffsetDateTime>, #[serde(default, with = "time::serde::timestamp::nanoseconds::option")] pub connector_created_at: Option<OffsetDateTime>, #[serde(default, with = "time::serde::timestamp::nanoseconds::option")] pub connector_updated_at: Option<OffsetDateTime>, #[serde(with = "time::serde::timestamp::nanoseconds")] pub created_at: OffsetDateTime, #[serde(with = "time::serde::timestamp::nanoseconds")] pub modified_at: OffsetDateTime, pub connector: &'a String, pub evidence: &'a Secret<serde_json::Value>, pub profile_id: Option<&'a common_utils::id_type::ProfileId>, pub merchant_connector_id: Option<&'a common_utils::id_type::MerchantConnectorAccountId>, 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": "KafkaDisputeEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7831184625919926902
clm
struct
// hyperswitch/crates/router/src/services/kafka/payment_attempt_event.rs pub struct KafkaPaymentAttemptEvent<'a> { pub payment_id: &'a id_type::PaymentId, pub merchant_id: &'a id_type::MerchantId, pub attempt_id: &'a String, pub status: storage_enums::AttemptStatus, pub amount: MinorUnit, pub currency: Option<storage_enums::Currency>, pub save_to_locker: Option<bool>, pub connector: Option<&'a String>, pub error_message: Option<&'a String>, pub offer_amount: Option<MinorUnit>, pub surcharge_amount: Option<MinorUnit>, pub tax_amount: Option<MinorUnit>, pub payment_method_id: Option<&'a String>, pub payment_method: Option<storage_enums::PaymentMethod>, pub connector_transaction_id: Option<&'a String>, pub capture_method: Option<storage_enums::CaptureMethod>, #[serde(default, with = "time::serde::timestamp::nanoseconds::option")] pub capture_on: Option<OffsetDateTime>, pub confirm: bool, pub authentication_type: Option<storage_enums::AuthenticationType>, #[serde(with = "time::serde::timestamp::nanoseconds")] pub created_at: OffsetDateTime, #[serde(with = "time::serde::timestamp::nanoseconds")] pub modified_at: OffsetDateTime, #[serde(default, with = "time::serde::timestamp::nanoseconds::option")] pub last_synced: Option<OffsetDateTime>, pub cancellation_reason: Option<&'a String>, pub amount_to_capture: Option<MinorUnit>, pub mandate_id: Option<&'a String>, pub browser_info: Option<String>, pub error_code: Option<&'a String>, pub connector_metadata: Option<String>, // TODO: These types should implement copy ideally pub payment_experience: Option<&'a storage_enums::PaymentExperience>, pub payment_method_type: Option<&'a storage_enums::PaymentMethodType>, pub payment_method_data: Option<String>, pub error_reason: Option<&'a String>, pub multiple_capture_count: Option<i16>, pub amount_capturable: MinorUnit, pub merchant_connector_id: Option<&'a id_type::MerchantConnectorAccountId>, pub net_amount: MinorUnit, pub unified_code: Option<&'a String>, pub unified_message: Option<&'a String>, pub mandate_data: Option<&'a MandateDetails>, pub client_source: Option<&'a String>, pub client_version: Option<&'a String>, pub profile_id: &'a id_type::ProfileId, pub organization_id: &'a id_type::OrganizationId, pub card_network: Option<String>, pub card_discovery: Option<String>, pub routing_approach: Option<storage_enums::RoutingApproach>, pub debit_routing_savings: Option<MinorUnit>, pub signature_network: Option<common_enums::CardNetwork>, pub is_issuer_regulated: Option<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": "KafkaPaymentAttemptEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_7831184625919926902
clm
struct
// hyperswitch/crates/router/src/services/kafka/payment_attempt_event.rs pub struct KafkaPaymentAttemptEvent<'a> { pub payment_id: &'a id_type::GlobalPaymentId, pub merchant_id: &'a id_type::MerchantId, pub attempt_id: &'a id_type::GlobalAttemptId, pub attempts_group_id: Option<&'a String>, pub status: storage_enums::AttemptStatus, pub amount: MinorUnit, pub connector: Option<&'a String>, pub error_message: Option<&'a String>, pub surcharge_amount: Option<MinorUnit>, pub tax_amount: Option<MinorUnit>, pub payment_method_id: Option<&'a id_type::GlobalPaymentMethodId>, pub payment_method: storage_enums::PaymentMethod, pub connector_transaction_id: Option<&'a String>, pub authentication_type: storage_enums::AuthenticationType, #[serde(with = "time::serde::timestamp::nanoseconds")] pub created_at: OffsetDateTime, #[serde(with = "time::serde::timestamp::nanoseconds")] pub modified_at: OffsetDateTime, #[serde(default, with = "time::serde::timestamp::nanoseconds::option")] pub last_synced: Option<OffsetDateTime>, pub cancellation_reason: Option<&'a String>, pub amount_to_capture: Option<MinorUnit>, pub browser_info: Option<&'a types::BrowserInformation>, pub error_code: Option<&'a String>, pub connector_metadata: Option<String>, // TODO: These types should implement copy ideally pub payment_experience: Option<&'a storage_enums::PaymentExperience>, pub payment_method_type: &'a storage_enums::PaymentMethodType, pub payment_method_data: Option<String>, pub error_reason: Option<&'a String>, pub multiple_capture_count: Option<i16>, pub amount_capturable: MinorUnit, pub merchant_connector_id: Option<&'a id_type::MerchantConnectorAccountId>, pub net_amount: MinorUnit, pub unified_code: Option<&'a String>, pub unified_message: Option<&'a String>, pub client_source: Option<&'a String>, pub client_version: Option<&'a String>, pub profile_id: &'a id_type::ProfileId, pub organization_id: &'a id_type::OrganizationId, pub card_network: Option<String>, pub card_discovery: Option<String>, pub connector_payment_id: Option<types::ConnectorTransactionId>, pub payment_token: Option<String>, pub preprocessing_step_id: Option<String>, pub connector_response_reference_id: Option<String>, pub updated_by: &'a String, pub encoded_data: Option<&'a masking::Secret<String>>, pub external_three_ds_authentication_attempted: Option<bool>, pub authentication_connector: Option<String>, pub authentication_id: Option<String>, pub fingerprint_id: Option<String>, pub customer_acceptance: Option<&'a masking::Secret<payments::CustomerAcceptance>>, pub shipping_cost: Option<MinorUnit>, pub order_tax_amount: Option<MinorUnit>, pub charges: Option<payments::ConnectorChargeResponseData>, pub processor_merchant_id: &'a id_type::MerchantId, pub created_by: Option<&'a types::CreatedBy>, pub payment_method_type_v2: storage_enums::PaymentMethod, pub payment_method_subtype: storage_enums::PaymentMethodType, pub routing_result: Option<serde_json::Value>, pub authentication_applied: Option<common_enums::AuthenticationType>, pub external_reference_id: Option<String>, pub tax_on_surcharge: Option<MinorUnit>, pub payment_method_billing_address: Option<masking::Secret<&'a address::Address>>, // adjusted from Encryption pub redirection_data: Option<&'a RedirectForm>, pub connector_payment_data: Option<String>, pub connector_token_details: Option<&'a payment_attempt::ConnectorTokenDetails>, pub feature_metadata: Option<&'a PaymentAttemptFeatureMetadata>, pub network_advice_code: Option<String>, pub network_decline_code: Option<String>, pub network_error_message: Option<String>, pub connector_request_reference_id: Option<String>, }
{ "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": "KafkaPaymentAttemptEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_2347032217743413398
clm
struct
// hyperswitch/crates/router/src/services/kafka/fraud_check_event.rs pub struct KafkaFraudCheckEvent<'a> { pub frm_id: &'a String, pub payment_id: &'a common_utils::id_type::PaymentId, pub merchant_id: &'a common_utils::id_type::MerchantId, pub attempt_id: &'a String, #[serde(with = "time::serde::timestamp::nanoseconds")] pub created_at: OffsetDateTime, pub frm_name: &'a String, pub frm_transaction_id: Option<&'a String>, pub frm_transaction_type: FraudCheckType, pub frm_status: FraudCheckStatus, pub frm_score: Option<i32>, pub frm_reason: Option<serde_json::Value>, pub frm_error: Option<&'a String>, pub payment_details: Option<serde_json::Value>, pub metadata: Option<serde_json::Value>, #[serde(with = "time::serde::timestamp::nanoseconds")] pub modified_at: OffsetDateTime, pub last_step: FraudCheckLastStep, pub payment_capture_method: Option<storage_enums::CaptureMethod>, // In postFrm, we are updating capture method from automatic to manual. To store the merchant actual capture method, we are storing the actual capture method in payment_capture_method. It will be useful while approving the FRM decision. }
{ "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": "KafkaFraudCheckEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-645610266206480716
clm
struct
// hyperswitch/crates/router/src/services/kafka/refund.rs pub struct KafkaRefund<'a> { pub internal_reference_id: &'a String, pub refund_id: &'a String, //merchant_reference id pub payment_id: &'a id_type::PaymentId, pub merchant_id: &'a id_type::MerchantId, pub connector_transaction_id: &'a String, pub connector: &'a String, pub connector_refund_id: Option<&'a String>, pub external_reference_id: Option<&'a String>, pub refund_type: &'a storage_enums::RefundType, pub total_amount: &'a MinorUnit, pub currency: &'a storage_enums::Currency, pub refund_amount: &'a MinorUnit, pub refund_status: &'a storage_enums::RefundStatus, pub sent_to_gateway: &'a bool, pub refund_error_message: Option<&'a String>, pub refund_arn: Option<&'a String>, #[serde(default, with = "time::serde::timestamp")] pub created_at: OffsetDateTime, #[serde(default, with = "time::serde::timestamp")] pub modified_at: OffsetDateTime, pub description: Option<&'a String>, pub attempt_id: &'a String, pub refund_reason: Option<&'a String>, pub refund_error_code: Option<&'a String>, pub profile_id: Option<&'a id_type::ProfileId>, pub organization_id: &'a 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": "KafkaRefund", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-645610266206480716
clm
struct
// hyperswitch/crates/router/src/services/kafka/refund.rs pub struct KafkaRefund<'a> { pub refund_id: &'a id_type::GlobalRefundId, pub merchant_reference_id: &'a id_type::RefundReferenceId, pub payment_id: &'a id_type::GlobalPaymentId, pub merchant_id: &'a id_type::MerchantId, pub connector_transaction_id: &'a types::ConnectorTransactionId, pub connector: &'a String, pub connector_refund_id: Option<&'a types::ConnectorTransactionId>, pub external_reference_id: Option<&'a String>, pub refund_type: &'a storage_enums::RefundType, pub total_amount: &'a MinorUnit, pub currency: &'a storage_enums::Currency, pub refund_amount: &'a MinorUnit, pub refund_status: &'a storage_enums::RefundStatus, pub sent_to_gateway: &'a bool, pub refund_error_message: Option<&'a String>, pub refund_arn: Option<&'a String>, #[serde(default, with = "time::serde::timestamp")] pub created_at: OffsetDateTime, #[serde(default, with = "time::serde::timestamp")] pub modified_at: OffsetDateTime, pub description: Option<&'a String>, pub attempt_id: &'a id_type::GlobalAttemptId, pub refund_reason: Option<&'a String>, pub refund_error_code: Option<&'a String>, pub profile_id: Option<&'a id_type::ProfileId>, pub organization_id: &'a id_type::OrganizationId, pub metadata: Option<&'a pii::SecretSerdeValue>, pub updated_by: &'a String, pub merchant_connector_id: Option<&'a id_type::MerchantConnectorAccountId>, pub charges: Option<&'a ChargeRefunds>, pub connector_refund_data: Option<&'a String>, pub connector_transaction_data: Option<&'a String>, pub split_refunds: Option<&'a common_types::refunds::SplitRefund>, pub unified_code: Option<&'a String>, pub unified_message: Option<&'a String>, pub processor_refund_data: Option<&'a String>, pub processor_transaction_data: Option<&'a String>, }
{ "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": "KafkaRefund", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-8767934435535936995
clm
struct
// hyperswitch/crates/router/src/services/kafka/payment_intent_event.rs pub struct KafkaPaymentIntentEvent<'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::nanoseconds")] pub created_at: OffsetDateTime, #[serde(with = "time::serde::timestamp::nanoseconds")] pub modified_at: OffsetDateTime, #[serde(default, with = "time::serde::timestamp::nanoseconds::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)] pub 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": "KafkaPaymentIntentEvent", "total_crates": null, "trait_name": null }
hyperswitch_struct_router_-8767934435535936995
clm
struct
// hyperswitch/crates/router/src/services/kafka/payment_intent_event.rs pub struct KafkaPaymentIntentEvent<'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::nanoseconds")] pub created_at: OffsetDateTime, #[serde(with = "time::serde::timestamp::nanoseconds")] pub modified_at: OffsetDateTime, #[serde(default, with = "time::serde::timestamp::nanoseconds::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::nanoseconds")] 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": "KafkaPaymentIntentEvent", "total_crates": null, "trait_name": null }