id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
hyperswitch_struct_common_utils_8941776055135865837
clm
struct
// hyperswitch/crates/common_utils/src/types/user/theme.rs pub struct EmailThemeConfig { /// The entity name to be used in the email pub entity_name: String, /// The URL of the entity logo to be used in the email pub entity_logo_url: String, /// The primary color to be used in the email pub primary_color: String, /// The foreground color to be used in the email pub foreground_color: String, /// The background color to be used in the email pub background_color: String, }
{ "chunk": null, "crate": "common_utils", "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": "EmailThemeConfig", "total_crates": null, "trait_name": null }
hyperswitch_struct_common_utils_2158331576186168213
clm
struct
// hyperswitch/crates/common_utils/src/id_type/global_id.rs pub struct CellId(LengthId<CELL_IDENTIFIER_LENGTH, CELL_IDENTIFIER_LENGTH>);
{ "chunk": null, "crate": "common_utils", "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": "CellId", "total_crates": null, "trait_name": null }
hyperswitch_struct_common_utils_5358396345509921280
clm
struct
// hyperswitch/crates/common_utils/src/id_type/global_id/payment_methods.rs pub struct GlobalPaymentMethodId(GlobalId);
{ "chunk": null, "crate": "common_utils", "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": "GlobalPaymentMethodId", "total_crates": null, "trait_name": null }
hyperswitch_struct_common_utils_3487525007593757235
clm
struct
// hyperswitch/crates/common_utils/src/id_type/global_id/payment_methods.rs pub struct GlobalPaymentMethodSessionId(GlobalId);
{ "chunk": null, "crate": "common_utils", "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": "GlobalPaymentMethodSessionId", "total_crates": null, "trait_name": null }
hyperswitch_struct_common_utils_6988251862507304383
clm
struct
// hyperswitch/crates/common_utils/src/id_type/global_id/refunds.rs pub struct GlobalRefundId(super::GlobalId);
{ "chunk": null, "crate": "common_utils", "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": "GlobalRefundId", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2746249359757229704
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/tokenization.rs pub struct Tokenization { pub id: common_utils::id_type::GlobalTokenId, pub merchant_id: common_utils::id_type::MerchantId, pub customer_id: common_utils::id_type::GlobalCustomerId, pub locker_id: String, pub created_at: PrimitiveDateTime, pub updated_at: PrimitiveDateTime, pub flag: common_enums::TokenizationFlag, pub version: common_enums::ApiVersion, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "Tokenization", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5206429244402601151
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/tokenization.rs pub struct TokenizationNew { pub id: common_utils::id_type::GlobalTokenId, pub merchant_id: common_utils::id_type::MerchantId, pub customer_id: common_utils::id_type::GlobalCustomerId, pub locker_id: String, pub flag: common_enums::TokenizationFlag, pub version: common_enums::ApiVersion, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "TokenizationNew", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-86872546634627353
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/tokenization.rs pub struct TokenizationResponse { pub token: String, pub created_at: PrimitiveDateTime, pub flag: common_enums::TokenizationFlag, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "TokenizationResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_3748676882129383848
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsAuthorizeData { pub payment_method_data: PaymentMethodData, /// total amount (original_amount + surcharge_amount + tax_on_surcharge_amount) /// If connector supports separate field for surcharge amount, consider using below functions defined on `PaymentsAuthorizeData` to fetch original amount and surcharge amount separately /// ```text /// get_original_amount() /// get_surcharge_amount() /// get_tax_on_surcharge_amount() /// get_total_surcharge_amount() // returns surcharge_amount + tax_on_surcharge_amount /// ``` pub amount: i64, pub order_tax_amount: Option<MinorUnit>, pub email: Option<pii::Email>, pub customer_name: Option<Secret<String>>, pub currency: storage_enums::Currency, pub confirm: bool, pub statement_descriptor_suffix: Option<String>, pub statement_descriptor: Option<String>, pub capture_method: Option<storage_enums::CaptureMethod>, pub router_return_url: Option<String>, pub webhook_url: Option<String>, pub complete_authorize_url: Option<String>, // Mandates pub setup_future_usage: Option<storage_enums::FutureUsage>, pub mandate_id: Option<api_models::payments::MandateIds>, pub off_session: Option<bool>, pub customer_acceptance: Option<common_payments_types::CustomerAcceptance>, pub setup_mandate_details: Option<mandates::MandateData>, pub browser_info: Option<BrowserInformation>, pub order_details: Option<Vec<OrderDetailsWithAmount>>, pub order_category: Option<String>, pub session_token: Option<String>, pub enrolled_for_3ds: bool, pub related_transaction_id: Option<String>, pub payment_experience: Option<storage_enums::PaymentExperience>, pub payment_method_type: Option<storage_enums::PaymentMethodType>, pub surcharge_details: Option<SurchargeDetails>, pub customer_id: Option<id_type::CustomerId>, pub request_incremental_authorization: bool, pub metadata: Option<serde_json::Value>, pub authentication_data: Option<AuthenticationData>, pub request_extended_authorization: Option<common_types::primitive_wrappers::RequestExtendedAuthorizationBool>, pub split_payments: Option<common_types::payments::SplitPaymentsRequest>, // New amount for amount frame work pub minor_amount: MinorUnit, /// Merchant's identifier for the payment/invoice. This will be sent to the connector /// if the connector provides support to accept multiple reference ids. /// In case the connector supports only one reference id, Hyperswitch's Payment ID will be sent as reference. pub merchant_order_reference_id: Option<String>, pub integrity_object: Option<AuthoriseIntegrityObject>, pub shipping_cost: Option<MinorUnit>, pub additional_payment_method_data: Option<AdditionalPaymentData>, pub merchant_account_id: Option<Secret<String>>, pub merchant_config_currency: Option<storage_enums::Currency>, pub connector_testing_data: Option<pii::SecretSerdeValue>, pub order_id: Option<String>, pub locale: Option<String>, pub payment_channel: Option<common_enums::PaymentChannel>, pub enable_partial_authorization: Option<common_types::primitive_wrappers::EnablePartialAuthorizationBool>, pub enable_overcapture: Option<common_types::primitive_wrappers::EnableOvercaptureBool>, pub is_stored_credential: Option<bool>, pub mit_category: Option<common_enums::MitCategory>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsAuthorizeData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-3643325419048664003
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct ExternalVaultProxyPaymentsData { pub payment_method_data: ExternalVaultPaymentMethodData, /// total amount (original_amount + surcharge_amount + tax_on_surcharge_amount) /// If connector supports separate field for surcharge amount, consider using below functions defined on `PaymentsAuthorizeData` to fetch original amount and surcharge amount separately /// ```text /// get_original_amount() /// get_surcharge_amount() /// get_tax_on_surcharge_amount() /// get_total_surcharge_amount() // returns surcharge_amount + tax_on_surcharge_amount /// ``` pub amount: i64, pub order_tax_amount: Option<MinorUnit>, pub email: Option<pii::Email>, pub customer_name: Option<Secret<String>>, pub currency: storage_enums::Currency, pub confirm: bool, pub statement_descriptor_suffix: Option<String>, pub statement_descriptor: Option<String>, pub capture_method: Option<storage_enums::CaptureMethod>, pub router_return_url: Option<String>, pub webhook_url: Option<String>, pub complete_authorize_url: Option<String>, // Mandates pub setup_future_usage: Option<storage_enums::FutureUsage>, pub mandate_id: Option<api_models::payments::MandateIds>, pub off_session: Option<bool>, pub customer_acceptance: Option<common_payments_types::CustomerAcceptance>, pub setup_mandate_details: Option<mandates::MandateData>, pub browser_info: Option<BrowserInformation>, pub order_details: Option<Vec<OrderDetailsWithAmount>>, pub order_category: Option<String>, pub session_token: Option<String>, pub enrolled_for_3ds: bool, pub related_transaction_id: Option<String>, pub payment_experience: Option<storage_enums::PaymentExperience>, pub payment_method_type: Option<storage_enums::PaymentMethodType>, pub surcharge_details: Option<SurchargeDetails>, pub customer_id: Option<id_type::CustomerId>, pub request_incremental_authorization: bool, pub metadata: Option<serde_json::Value>, pub authentication_data: Option<AuthenticationData>, pub request_extended_authorization: Option<common_types::primitive_wrappers::RequestExtendedAuthorizationBool>, pub split_payments: Option<common_types::payments::SplitPaymentsRequest>, // New amount for amount frame work pub minor_amount: MinorUnit, /// Merchant's identifier for the payment/invoice. This will be sent to the connector /// if the connector provides support to accept multiple reference ids. /// In case the connector supports only one reference id, Hyperswitch's Payment ID will be sent as reference. pub merchant_order_reference_id: Option<id_type::PaymentReferenceId>, pub integrity_object: Option<AuthoriseIntegrityObject>, pub shipping_cost: Option<MinorUnit>, pub additional_payment_method_data: Option<AdditionalPaymentData>, pub merchant_account_id: Option<Secret<String>>, pub merchant_config_currency: Option<storage_enums::Currency>, pub connector_testing_data: Option<pii::SecretSerdeValue>, pub order_id: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "ExternalVaultProxyPaymentsData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-976874811530839558
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsPostSessionTokensData { // amount here would include amount, surcharge_amount and shipping_cost pub amount: MinorUnit, /// original amount sent by the merchant pub order_amount: MinorUnit, pub currency: storage_enums::Currency, pub capture_method: Option<storage_enums::CaptureMethod>, /// Merchant's identifier for the payment/invoice. This will be sent to the connector /// if the connector provides support to accept multiple reference ids. /// In case the connector supports only one reference id, Hyperswitch's Payment ID will be sent as reference. pub merchant_order_reference_id: Option<String>, pub shipping_cost: Option<MinorUnit>, pub setup_future_usage: Option<storage_enums::FutureUsage>, pub router_return_url: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsPostSessionTokensData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-3875783535584279760
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsUpdateMetadataData { pub metadata: pii::SecretSerdeValue, pub connector_transaction_id: String, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsUpdateMetadataData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_3327940772432948294
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct AuthoriseIntegrityObject { /// Authorise amount pub amount: MinorUnit, /// Authorise currency pub currency: storage_enums::Currency, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "AuthoriseIntegrityObject", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-4753629068338913804
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct SyncIntegrityObject { /// Sync amount pub amount: Option<MinorUnit>, /// Sync currency pub currency: Option<storage_enums::Currency>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "SyncIntegrityObject", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-3116936761903184279
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsCaptureData { pub amount_to_capture: i64, pub currency: storage_enums::Currency, pub connector_transaction_id: String, pub payment_amount: i64, pub multiple_capture_data: Option<MultipleCaptureRequestData>, pub connector_meta: Option<serde_json::Value>, pub browser_info: Option<BrowserInformation>, pub metadata: Option<serde_json::Value>, // This metadata is used to store the metadata shared during the payment intent request. pub capture_method: Option<storage_enums::CaptureMethod>, pub split_payments: Option<common_types::payments::SplitPaymentsRequest>, // New amount for amount frame work pub minor_payment_amount: MinorUnit, pub minor_amount_to_capture: MinorUnit, pub integrity_object: Option<CaptureIntegrityObject>, pub webhook_url: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsCaptureData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2460976217039763502
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct CaptureIntegrityObject { /// capture amount pub capture_amount: Option<MinorUnit>, /// capture currency pub currency: storage_enums::Currency, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "CaptureIntegrityObject", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_5951856118172767569
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsIncrementalAuthorizationData { pub total_amount: i64, pub additional_amount: i64, pub currency: storage_enums::Currency, pub reason: Option<String>, pub connector_transaction_id: String, pub connector_meta: Option<serde_json::Value>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsIncrementalAuthorizationData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_545671994019397204
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct MultipleCaptureRequestData { pub capture_sequence: i16, pub capture_reference: String, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "MultipleCaptureRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-3878764225726553271
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct AuthorizeSessionTokenData { pub amount_to_capture: Option<i64>, pub currency: storage_enums::Currency, pub connector_transaction_id: String, pub amount: Option<i64>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "AuthorizeSessionTokenData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_3189372857989897598
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct ConnectorCustomerData { pub description: Option<String>, pub email: Option<pii::Email>, pub phone: Option<Secret<String>>, pub name: Option<Secret<String>>, pub preprocessing_id: Option<String>, pub payment_method_data: Option<PaymentMethodData>, pub split_payments: Option<common_types::payments::SplitPaymentsRequest>, // Mandates pub setup_future_usage: Option<storage_enums::FutureUsage>, pub customer_acceptance: Option<common_payments_types::CustomerAcceptance>, pub customer_id: Option<id_type::CustomerId>, pub billing_address: Option<AddressDetails>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "ConnectorCustomerData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2062293929619133122
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentMethodTokenizationData { pub payment_method_data: PaymentMethodData, pub browser_info: Option<BrowserInformation>, pub currency: storage_enums::Currency, pub amount: Option<i64>, pub split_payments: Option<common_types::payments::SplitPaymentsRequest>, pub customer_acceptance: Option<common_payments_types::CustomerAcceptance>, pub setup_future_usage: Option<storage_enums::FutureUsage>, pub setup_mandate_details: Option<mandates::MandateData>, pub mandate_id: Option<api_models::payments::MandateIds>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentMethodTokenizationData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_4289833601304005536
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct CreateOrderRequestData { pub minor_amount: MinorUnit, pub currency: storage_enums::Currency, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "CreateOrderRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_5118726389445681871
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsPreProcessingData { pub payment_method_data: Option<PaymentMethodData>, pub amount: Option<i64>, pub email: Option<pii::Email>, pub currency: Option<storage_enums::Currency>, pub payment_method_type: Option<storage_enums::PaymentMethodType>, pub setup_mandate_details: Option<mandates::MandateData>, pub capture_method: Option<storage_enums::CaptureMethod>, pub order_details: Option<Vec<OrderDetailsWithAmount>>, pub router_return_url: Option<String>, pub webhook_url: Option<String>, pub complete_authorize_url: Option<String>, pub surcharge_details: Option<SurchargeDetails>, pub browser_info: Option<BrowserInformation>, pub connector_transaction_id: Option<String>, pub enrolled_for_3ds: bool, pub mandate_id: Option<api_models::payments::MandateIds>, pub related_transaction_id: Option<String>, pub redirect_response: Option<CompleteAuthorizeRedirectResponse>, pub metadata: Option<Secret<serde_json::Value>>, pub split_payments: Option<common_types::payments::SplitPaymentsRequest>, pub customer_acceptance: Option<common_payments_types::CustomerAcceptance>, pub setup_future_usage: Option<storage_enums::FutureUsage>, // New amount for amount frame work pub minor_amount: Option<MinorUnit>, pub is_stored_credential: Option<bool>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsPreProcessingData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6317690756408224883
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct GiftCardBalanceCheckRequestData { pub payment_method_data: PaymentMethodData, pub currency: Option<storage_enums::Currency>, pub minor_amount: Option<MinorUnit>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "GiftCardBalanceCheckRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_5292223639914660639
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsPreAuthenticateData { pub payment_method_data: Option<PaymentMethodData>, pub amount: Option<i64>, pub email: Option<pii::Email>, pub currency: Option<storage_enums::Currency>, pub payment_method_type: Option<storage_enums::PaymentMethodType>, pub router_return_url: Option<String>, pub complete_authorize_url: Option<String>, pub browser_info: Option<BrowserInformation>, pub connector_transaction_id: Option<String>, pub enrolled_for_3ds: bool, pub redirect_response: Option<CompleteAuthorizeRedirectResponse>, // New amount for amount frame work pub minor_amount: Option<MinorUnit>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsPreAuthenticateData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-801113971584288067
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsAuthenticateData { pub payment_method_data: Option<PaymentMethodData>, pub amount: Option<i64>, pub email: Option<pii::Email>, pub currency: Option<storage_enums::Currency>, pub payment_method_type: Option<storage_enums::PaymentMethodType>, pub router_return_url: Option<String>, pub complete_authorize_url: Option<String>, pub browser_info: Option<BrowserInformation>, pub connector_transaction_id: Option<String>, pub enrolled_for_3ds: bool, pub redirect_response: Option<CompleteAuthorizeRedirectResponse>, // New amount for amount frame work pub minor_amount: Option<MinorUnit>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsAuthenticateData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_8246295456165761786
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsPostAuthenticateData { pub payment_method_data: Option<PaymentMethodData>, pub amount: Option<i64>, pub email: Option<pii::Email>, pub currency: Option<storage_enums::Currency>, pub payment_method_type: Option<storage_enums::PaymentMethodType>, pub router_return_url: Option<String>, pub complete_authorize_url: Option<String>, pub browser_info: Option<BrowserInformation>, pub connector_transaction_id: Option<String>, pub enrolled_for_3ds: bool, pub redirect_response: Option<CompleteAuthorizeRedirectResponse>, // New amount for amount frame work pub minor_amount: Option<MinorUnit>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsPostAuthenticateData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_1403000523129019939
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsPostProcessingData { pub payment_method_data: PaymentMethodData, pub customer_id: Option<id_type::CustomerId>, pub connector_transaction_id: Option<String>, pub country: Option<common_enums::CountryAlpha2>, pub connector_meta_data: Option<pii::SecretSerdeValue>, pub header_payload: Option<payments::HeaderPayload>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsPostProcessingData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2391717270669996006
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct CompleteAuthorizeData { pub payment_method_data: Option<PaymentMethodData>, pub amount: i64, pub email: Option<pii::Email>, pub currency: storage_enums::Currency, pub confirm: bool, pub statement_descriptor_suffix: Option<String>, pub capture_method: Option<storage_enums::CaptureMethod>, // Mandates pub setup_future_usage: Option<storage_enums::FutureUsage>, pub mandate_id: Option<api_models::payments::MandateIds>, pub off_session: Option<bool>, pub setup_mandate_details: Option<mandates::MandateData>, pub redirect_response: Option<CompleteAuthorizeRedirectResponse>, pub browser_info: Option<BrowserInformation>, pub connector_transaction_id: Option<String>, pub connector_meta: Option<serde_json::Value>, pub complete_authorize_url: Option<String>, pub metadata: Option<serde_json::Value>, pub customer_acceptance: Option<common_payments_types::CustomerAcceptance>, // New amount for amount frame work pub minor_amount: MinorUnit, pub merchant_account_id: Option<Secret<String>>, pub merchant_config_currency: Option<storage_enums::Currency>, pub threeds_method_comp_ind: Option<api_models::payments::ThreeDsCompletionIndicator>, pub is_stored_credential: Option<bool>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "CompleteAuthorizeData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6170343445402989200
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct CompleteAuthorizeRedirectResponse { pub params: Option<Secret<String>>, pub payload: Option<pii::SecretSerdeValue>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "CompleteAuthorizeRedirectResponse", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_244739671872345630
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsSyncData { //TODO : add fields based on the connector requirements pub connector_transaction_id: ResponseId, pub encoded_data: Option<String>, pub capture_method: Option<storage_enums::CaptureMethod>, pub connector_meta: Option<serde_json::Value>, pub sync_type: SyncRequestType, pub mandate_id: Option<api_models::payments::MandateIds>, pub payment_method_type: Option<storage_enums::PaymentMethodType>, pub currency: storage_enums::Currency, pub payment_experience: Option<common_enums::PaymentExperience>, pub split_payments: Option<common_types::payments::SplitPaymentsRequest>, pub amount: MinorUnit, pub integrity_object: Option<SyncIntegrityObject>, pub connector_reference_id: Option<String>, pub setup_future_usage: Option<storage_enums::FutureUsage>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsSyncData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5756940839345094138
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsCancelData { pub amount: Option<i64>, pub currency: Option<storage_enums::Currency>, pub connector_transaction_id: String, pub cancellation_reason: Option<String>, pub connector_meta: Option<serde_json::Value>, pub browser_info: Option<BrowserInformation>, pub metadata: Option<serde_json::Value>, // This metadata is used to store the metadata shared during the payment intent request. // minor amount data for amount framework pub minor_amount: Option<MinorUnit>, pub webhook_url: Option<String>, pub capture_method: Option<storage_enums::CaptureMethod>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsCancelData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_3107081763080759978
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsCancelPostCaptureData { pub currency: Option<storage_enums::Currency>, pub connector_transaction_id: String, pub cancellation_reason: Option<String>, pub connector_meta: Option<serde_json::Value>, // minor amount data for amount framework pub minor_amount: Option<MinorUnit>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsCancelPostCaptureData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2505037192263734493
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsExtendAuthorizationData { pub minor_amount: MinorUnit, pub currency: storage_enums::Currency, pub connector_transaction_id: String, pub connector_meta: Option<serde_json::Value>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsExtendAuthorizationData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2199242080101089031
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsRejectData { pub amount: Option<i64>, pub currency: Option<storage_enums::Currency>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsRejectData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-8644017112152688218
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsApproveData { pub amount: Option<i64>, pub currency: Option<storage_enums::Currency>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsApproveData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1862255278184397362
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct BrowserInformation { pub color_depth: Option<u8>, pub java_enabled: Option<bool>, pub java_script_enabled: Option<bool>, pub language: Option<String>, pub screen_height: Option<u32>, pub screen_width: Option<u32>, pub time_zone: Option<i32>, pub ip_address: Option<std::net::IpAddr>, pub accept_header: Option<String>, pub user_agent: Option<String>, pub os_type: Option<String>, pub os_version: Option<String>, pub device_model: Option<String>, pub accept_language: Option<String>, pub referer: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "BrowserInformation", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-8303771943640867049
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct SurchargeDetails { /// original_amount pub original_amount: MinorUnit, /// surcharge value pub surcharge: common_utils::types::Surcharge, /// tax on surcharge value pub tax_on_surcharge: Option<common_utils::types::Percentage<{ consts::SURCHARGE_PERCENTAGE_PRECISION_LENGTH }>>, /// surcharge amount for this payment pub surcharge_amount: MinorUnit, /// tax on surcharge amount for this payment pub tax_on_surcharge_amount: MinorUnit, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "SurchargeDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2862778004756469816
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct AuthenticationData { pub eci: Option<String>, pub cavv: Secret<String>, pub threeds_server_transaction_id: Option<String>, pub message_version: Option<common_utils::types::SemanticVersion>, pub ds_trans_id: Option<String>, pub created_at: time::PrimitiveDateTime, pub challenge_code: Option<String>, pub challenge_cancel: Option<String>, pub challenge_code_reason: Option<String>, pub message_extension: Option<pii::SecretSerdeValue>, pub acs_trans_id: Option<String>, pub authentication_type: Option<common_enums::DecoupledAuthenticationType>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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_hyperswitch_domain_models_1892159877121301170
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct RefundsData { pub refund_id: String, pub connector_transaction_id: String, pub connector_refund_id: Option<String>, pub currency: storage_enums::Currency, /// Amount for the payment against which this refund is issued pub payment_amount: i64, pub reason: Option<String>, pub webhook_url: Option<String>, /// Amount to be refunded pub refund_amount: i64, /// Arbitrary metadata required for refund pub connector_metadata: Option<serde_json::Value>, /// refund method pub refund_connector_metadata: Option<pii::SecretSerdeValue>, pub browser_info: Option<BrowserInformation>, /// Charges associated with the payment pub split_refunds: Option<SplitRefundsRequest>, // New amount for amount frame work pub minor_payment_amount: MinorUnit, pub minor_refund_amount: MinorUnit, pub integrity_object: Option<RefundIntegrityObject>, pub refund_status: storage_enums::RefundStatus, pub merchant_account_id: Option<Secret<String>>, pub merchant_config_currency: Option<storage_enums::Currency>, pub capture_method: Option<storage_enums::CaptureMethod>, pub additional_payment_method_data: Option<AdditionalPaymentData>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "RefundsData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5582401448032779851
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct RefundIntegrityObject { /// refund currency pub currency: storage_enums::Currency, /// refund amount pub refund_amount: MinorUnit, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "RefundIntegrityObject", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2784774082515369684
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct StripeSplitRefund { pub charge_id: String, pub transfer_account_id: String, pub charge_type: api_models::enums::PaymentChargeType, pub options: ChargeRefundsOptions, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "StripeSplitRefund", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_253085937588510414
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct ChargeRefunds { pub charge_id: String, pub transfer_account_id: String, pub charge_type: api_models::enums::PaymentChargeType, pub options: ChargeRefundsOptions, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "ChargeRefunds", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-367369612071225922
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct DirectChargeRefund { pub revert_platform_fee: bool, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "DirectChargeRefund", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-8757413722907659619
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct DestinationChargeRefund { pub revert_platform_fee: bool, pub revert_transfer: bool, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "DestinationChargeRefund", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1281830755936169890
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct AccessTokenAuthenticationRequestData { pub auth_creds: router_data::ConnectorAuthType, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "AccessTokenAuthenticationRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_4792574921978845768
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct AccessTokenRequestData { pub app_id: Secret<String>, pub id: Option<Secret<String>>, pub authentication_token: Option<AccessTokenAuthenticationResponse>, // Add more keys if required }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "AccessTokenRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_536022528214364280
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct AcceptDisputeRequestData { pub dispute_id: String, pub connector_dispute_id: String, pub dispute_status: storage_enums::DisputeStatus, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "AcceptDisputeRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-4789041444598717755
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct DefendDisputeRequestData { pub dispute_id: String, pub connector_dispute_id: String, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "DefendDisputeRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_7716775756074773640
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct SubmitEvidenceRequestData { pub dispute_id: String, pub dispute_status: storage_enums::DisputeStatus, pub connector_dispute_id: String, pub access_activity_log: Option<String>, pub billing_address: Option<String>, //cancellation policy pub cancellation_policy: Option<Vec<u8>>, pub cancellation_policy_file_type: Option<String>, pub cancellation_policy_provider_file_id: Option<String>, pub cancellation_policy_disclosure: Option<String>, pub cancellation_rebuttal: Option<String>, //customer communication pub customer_communication: Option<Vec<u8>>, pub customer_communication_file_type: Option<String>, pub customer_communication_provider_file_id: Option<String>, pub customer_email_address: Option<String>, pub customer_name: Option<String>, pub customer_purchase_ip: Option<String>, //customer signature pub customer_signature: Option<Vec<u8>>, pub customer_signature_file_type: Option<String>, pub customer_signature_provider_file_id: Option<String>, //product description pub product_description: Option<String>, //receipts pub receipt: Option<Vec<u8>>, pub receipt_file_type: Option<String>, pub receipt_provider_file_id: Option<String>, //refund policy pub refund_policy: Option<Vec<u8>>, pub refund_policy_file_type: Option<String>, pub refund_policy_provider_file_id: Option<String>, pub refund_policy_disclosure: Option<String>, pub refund_refusal_explanation: Option<String>, //service docs pub service_date: Option<String>, pub service_documentation: Option<Vec<u8>>, pub service_documentation_file_type: Option<String>, pub service_documentation_provider_file_id: Option<String>, //shipping details docs pub shipping_address: Option<String>, pub shipping_carrier: Option<String>, pub shipping_date: Option<String>, pub shipping_documentation: Option<Vec<u8>>, pub shipping_documentation_file_type: Option<String>, pub shipping_documentation_provider_file_id: Option<String>, pub shipping_tracking_number: Option<String>, //invoice details pub invoice_showing_distinct_transactions: Option<Vec<u8>>, pub invoice_showing_distinct_transactions_file_type: Option<String>, pub invoice_showing_distinct_transactions_provider_file_id: Option<String>, //subscription details pub recurring_transaction_agreement: Option<Vec<u8>>, pub recurring_transaction_agreement_file_type: Option<String>, pub recurring_transaction_agreement_provider_file_id: Option<String>, //uncategorized details pub uncategorized_file: Option<Vec<u8>>, pub uncategorized_file_type: Option<String>, pub uncategorized_file_provider_file_id: Option<String>, pub uncategorized_text: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "SubmitEvidenceRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_6340123892763856234
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct FetchDisputesRequestData { pub created_from: time::PrimitiveDateTime, pub created_till: time::PrimitiveDateTime, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "FetchDisputesRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5371635133269495736
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct RetrieveFileRequestData { pub provider_file_id: String, pub connector_dispute_id: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "RetrieveFileRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_767254962238362352
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct UploadFileRequestData { pub file_key: String, #[serde(skip)] pub file: Vec<u8>, #[serde_as(as = "serde_with::DisplayFromStr")] pub file_type: mime::Mime, pub file_size: i32, pub dispute_id: String, pub connector_dispute_id: String, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "UploadFileRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2595078959059728775
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PayoutsData { pub payout_id: id_type::PayoutId, pub amount: i64, pub connector_payout_id: Option<String>, pub destination_currency: storage_enums::Currency, pub source_currency: storage_enums::Currency, pub payout_type: Option<storage_enums::PayoutType>, pub entity_type: storage_enums::PayoutEntityType, pub customer_details: Option<CustomerDetails>, pub vendor_details: Option<api_models::payouts::PayoutVendorAccountDetails>, // New minor amount for amount framework pub minor_amount: MinorUnit, pub priority: Option<storage_enums::PayoutSendPriority>, pub connector_transfer_method_id: Option<String>, pub webhook_url: Option<String>, pub browser_info: Option<BrowserInformation>, pub payout_connector_metadata: Option<pii::SecretSerdeValue>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PayoutsData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_5710289965688879864
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct CustomerDetails { pub customer_id: Option<id_type::CustomerId>, pub name: Option<Secret<String, masking::WithType>>, pub email: Option<pii::Email>, pub phone: Option<Secret<String, masking::WithType>>, pub phone_country_code: Option<String>, pub tax_registration_id: Option<Secret<String, masking::WithType>>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "CustomerDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_313571548804257456
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct VerifyWebhookSourceRequestData { pub webhook_headers: actix_web::http::header::HeaderMap, pub webhook_body: Vec<u8>, pub merchant_secret: api_models::webhooks::ConnectorWebhookSecrets, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "VerifyWebhookSourceRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_4738201196981569449
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct MandateRevokeRequestData { pub mandate_id: String, pub connector_mandate_id: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "MandateRevokeRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7673649838346197594
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsSessionData { pub amount: i64, pub currency: common_enums::Currency, pub country: Option<common_enums::CountryAlpha2>, pub surcharge_details: Option<SurchargeDetails>, pub order_details: Option<Vec<OrderDetailsWithAmount>>, pub email: Option<pii::Email>, // Minor Unit amount for amount frame work pub minor_amount: MinorUnit, pub apple_pay_recurring_details: Option<api_models::payments::ApplePayRecurringPaymentRequest>, pub customer_name: Option<Secret<String>>, pub order_tax_amount: Option<MinorUnit>, pub shipping_cost: Option<MinorUnit>, pub metadata: Option<Secret<serde_json::Value>>, /// The specific payment method type for which the session token is being generated pub payment_method_type: Option<common_enums::PaymentMethodType>, pub payment_method: Option<common_enums::PaymentMethod>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsSessionData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_1360931025474625827
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct PaymentsTaxCalculationData { pub amount: MinorUnit, pub currency: storage_enums::Currency, pub shipping_cost: Option<MinorUnit>, pub order_details: Option<Vec<OrderDetailsWithAmount>>, pub shipping_address: address::Address, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentsTaxCalculationData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_342687839301907077
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct SdkPaymentsSessionUpdateData { pub order_tax_amount: MinorUnit, // amount here would include amount, surcharge_amount, order_tax_amount and shipping_cost pub amount: MinorUnit, /// original amount sent by the merchant pub order_amount: MinorUnit, pub currency: storage_enums::Currency, pub session_id: Option<String>, pub shipping_cost: Option<MinorUnit>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "SdkPaymentsSessionUpdateData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_481360564836482627
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct SetupMandateRequestData { pub currency: storage_enums::Currency, pub payment_method_data: PaymentMethodData, pub amount: Option<i64>, pub confirm: bool, pub statement_descriptor_suffix: Option<String>, pub customer_acceptance: Option<common_payments_types::CustomerAcceptance>, pub mandate_id: Option<api_models::payments::MandateIds>, pub setup_future_usage: Option<storage_enums::FutureUsage>, pub off_session: Option<bool>, pub setup_mandate_details: Option<mandates::MandateData>, pub router_return_url: Option<String>, pub webhook_url: Option<String>, pub browser_info: Option<BrowserInformation>, pub email: Option<pii::Email>, pub customer_name: Option<Secret<String>>, pub return_url: Option<String>, pub payment_method_type: Option<storage_enums::PaymentMethodType>, pub request_incremental_authorization: bool, pub metadata: Option<pii::SecretSerdeValue>, pub complete_authorize_url: Option<String>, pub capture_method: Option<storage_enums::CaptureMethod>, pub enrolled_for_3ds: bool, pub related_transaction_id: Option<String>, // MinorUnit for amount framework pub minor_amount: Option<MinorUnit>, pub shipping_cost: Option<MinorUnit>, pub connector_testing_data: Option<pii::SecretSerdeValue>, pub customer_id: Option<id_type::CustomerId>, pub enable_partial_authorization: Option<common_types::primitive_wrappers::EnablePartialAuthorizationBool>, pub payment_channel: Option<storage_enums::PaymentChannel>, pub is_stored_credential: Option<bool>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "SetupMandateRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-730476697752700640
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct VaultRequestData { pub payment_method_vaulting_data: Option<PaymentMethodVaultingData>, pub connector_vault_id: Option<String>, pub connector_customer_id: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "VaultRequestData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_5510892352844539656
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types.rs pub struct DisputeSyncData { pub dispute_id: String, pub connector_dispute_id: String, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "DisputeSyncData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_1844128433961281965
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/callback_mapper.rs pub struct CallbackMapper { pub id: String, pub callback_mapper_id_type: common_enums::CallbackMapperIdType, pub data: CallbackMapperData, pub created_at: time::PrimitiveDateTime, pub last_modified_at: time::PrimitiveDateTime, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "CallbackMapper", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_7184559941766042914
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_methods.rs pub struct VaultId(String);
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "VaultId", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-9139326631494959332
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_methods.rs pub struct PaymentMethod { pub customer_id: id_type::CustomerId, pub merchant_id: id_type::MerchantId, pub payment_method_id: String, pub accepted_currency: Option<Vec<storage_enums::Currency>>, pub scheme: Option<String>, pub token: Option<String>, pub cardholder_name: Option<Secret<String>>, pub issuer_name: Option<String>, pub issuer_country: Option<String>, pub payer_country: Option<Vec<String>>, pub is_stored: Option<bool>, pub swift_code: Option<String>, pub direct_debit_token: Option<String>, pub created_at: PrimitiveDateTime, pub last_modified: PrimitiveDateTime, pub payment_method: Option<storage_enums::PaymentMethod>, pub payment_method_type: Option<storage_enums::PaymentMethodType>, pub payment_method_issuer: Option<String>, pub payment_method_issuer_code: Option<storage_enums::PaymentMethodIssuerCode>, pub metadata: Option<pii::SecretSerdeValue>, pub payment_method_data: OptionalEncryptableValue, pub locker_id: Option<String>, pub last_used_at: PrimitiveDateTime, pub connector_mandate_details: Option<serde_json::Value>, pub customer_acceptance: Option<pii::SecretSerdeValue>, pub status: storage_enums::PaymentMethodStatus, pub network_transaction_id: Option<String>, pub client_secret: Option<String>, pub payment_method_billing_address: OptionalEncryptableValue, pub updated_by: Option<String>, pub version: common_enums::ApiVersion, pub network_token_requestor_reference_id: Option<String>, pub network_token_locker_id: Option<String>, pub network_token_payment_method_data: OptionalEncryptableValue, pub vault_source_details: PaymentMethodVaultSourceDetails, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentMethod", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-9139326631494959332
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_methods.rs pub struct PaymentMethod { /// The identifier for the payment method. Using this recurring payments can be made pub id: id_type::GlobalPaymentMethodId, /// The customer id against which the payment method is saved pub customer_id: id_type::GlobalCustomerId, /// The merchant id against which the payment method is saved pub merchant_id: id_type::MerchantId, /// The merchant connector account id of the external vault where the payment method is saved pub external_vault_source: Option<id_type::MerchantConnectorAccountId>, pub created_at: PrimitiveDateTime, pub last_modified: PrimitiveDateTime, pub payment_method_type: Option<storage_enums::PaymentMethod>, pub payment_method_subtype: Option<storage_enums::PaymentMethodType>, #[encrypt(ty = Value)] pub payment_method_data: Option<Encryptable<PaymentMethodsData>>, pub locker_id: Option<VaultId>, pub last_used_at: PrimitiveDateTime, pub connector_mandate_details: Option<CommonMandateReference>, pub customer_acceptance: Option<pii::SecretSerdeValue>, pub status: storage_enums::PaymentMethodStatus, pub network_transaction_id: Option<String>, pub client_secret: Option<String>, #[encrypt(ty = Value)] pub payment_method_billing_address: Option<Encryptable<Address>>, pub updated_by: Option<String>, pub locker_fingerprint_id: Option<String>, pub version: common_enums::ApiVersion, pub network_token_requestor_reference_id: Option<String>, pub network_token_locker_id: Option<String>, #[encrypt(ty = Value)] pub network_token_payment_method_data: Option<Encryptable<domain_payment_method_data::PaymentMethodsData>>, #[encrypt(ty = Value)] pub external_vault_token_data: Option<Encryptable<api_models::payment_methods::ExternalVaultTokenData>>, pub vault_type: Option<storage_enums::VaultType>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentMethod", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_7022408082581304679
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_methods.rs pub struct PaymentMethodSession { pub id: id_type::GlobalPaymentMethodSessionId, pub customer_id: id_type::GlobalCustomerId, #[encrypt(ty = Value)] pub billing: Option<Encryptable<Address>>, pub return_url: Option<common_utils::types::Url>, pub psp_tokenization: Option<common_types::payment_methods::PspTokenization>, pub network_tokenization: Option<common_types::payment_methods::NetworkTokenization>, pub tokenization_data: Option<pii::SecretSerdeValue>, pub expires_at: PrimitiveDateTime, pub associated_payment_methods: Option<Vec<String>>, pub associated_payment: Option<id_type::GlobalPaymentId>, pub associated_token_id: Option<id_type::GlobalTokenId>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentMethodSession", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_7661885415400859277
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_methods.rs pub struct ConnectorCustomerDetails { pub connector_customer_id: String, pub merchant_connector_id: id_type::MerchantConnectorAccountId, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "ConnectorCustomerDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2882781545991326596
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_methods.rs pub struct PaymentMethodCustomerMigrate { pub customer: customers::CustomerRequest, pub connector_customer_details: Option<Vec<ConnectorCustomerDetails>>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentMethodCustomerMigrate", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-4105104162910065384
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_address.rs pub struct PaymentAddress { shipping: Option<Address>, billing: Option<Address>, unified_payment_method_billing: Option<Address>, payment_method_billing: Option<Address>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentAddress", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5595553966164802780
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_account.rs pub struct MerchantAccount { merchant_id: common_utils::id_type::MerchantId, pub return_url: Option<String>, pub enable_payment_response_hash: bool, pub payment_response_hash_key: Option<String>, pub redirect_to_merchant_with_http_post: bool, pub merchant_name: OptionalEncryptableName, pub merchant_details: OptionalEncryptableValue, pub webhook_details: Option<diesel_models::business_profile::WebhookDetails>, pub sub_merchants_enabled: Option<bool>, pub parent_merchant_id: Option<common_utils::id_type::MerchantId>, pub publishable_key: String, pub storage_scheme: MerchantStorageScheme, pub locker_id: Option<String>, pub metadata: Option<pii::SecretSerdeValue>, pub routing_algorithm: Option<serde_json::Value>, pub primary_business_details: serde_json::Value, pub frm_routing_algorithm: Option<serde_json::Value>, pub created_at: time::PrimitiveDateTime, pub modified_at: time::PrimitiveDateTime, pub intent_fulfillment_time: Option<i64>, pub payout_routing_algorithm: Option<serde_json::Value>, pub organization_id: common_utils::id_type::OrganizationId, pub is_recon_enabled: bool, pub default_profile: Option<common_utils::id_type::ProfileId>, pub recon_status: diesel_models::enums::ReconStatus, pub payment_link_config: Option<serde_json::Value>, pub pm_collect_link_config: Option<serde_json::Value>, pub version: common_enums::ApiVersion, pub is_platform_account: bool, pub product_type: Option<common_enums::MerchantProductType>, pub merchant_account_type: common_enums::MerchantAccountType, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "MerchantAccount", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5595553966164802780
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_account.rs pub struct MerchantAccount { id: common_utils::id_type::MerchantId, pub merchant_name: OptionalEncryptableName, pub merchant_details: OptionalEncryptableValue, pub publishable_key: String, pub storage_scheme: MerchantStorageScheme, pub metadata: Option<pii::SecretSerdeValue>, pub created_at: time::PrimitiveDateTime, pub modified_at: time::PrimitiveDateTime, pub organization_id: common_utils::id_type::OrganizationId, pub recon_status: diesel_models::enums::ReconStatus, pub is_platform_account: bool, pub version: common_enums::ApiVersion, pub product_type: Option<common_enums::MerchantProductType>, pub merchant_account_type: common_enums::MerchantAccountType, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "MerchantAccount", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5584340247686063548
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_data_v2.rs pub struct RouterDataV2<Flow, ResourceCommonData, FlowSpecificRequest, FlowSpecificResponse> { pub flow: PhantomData<Flow>, pub tenant_id: id_type::TenantId, pub resource_common_data: ResourceCommonData, pub connector_auth_type: ConnectorAuthType, /// Contains flow-specific data required to construct a request and send it to the connector. pub request: FlowSpecificRequest, /// Contains flow-specific data that the connector responds with. pub response: Result<FlowSpecificResponse, ErrorResponse>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "RouterDataV2", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_5366588098753992136
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs pub struct MerchantConnectorAccount { pub merchant_id: id_type::MerchantId, pub connector_name: String, #[encrypt] pub connector_account_details: Encryptable<Secret<Value>>, pub test_mode: Option<bool>, pub disabled: Option<bool>, pub merchant_connector_id: id_type::MerchantConnectorAccountId, pub payment_methods_enabled: Option<Vec<pii::SecretSerdeValue>>, pub connector_type: enums::ConnectorType, pub metadata: Option<pii::SecretSerdeValue>, pub frm_configs: Option<Vec<pii::SecretSerdeValue>>, pub connector_label: Option<String>, pub business_country: Option<enums::CountryAlpha2>, pub business_label: Option<String>, pub business_sub_label: Option<String>, pub created_at: time::PrimitiveDateTime, pub modified_at: time::PrimitiveDateTime, pub connector_webhook_details: Option<pii::SecretSerdeValue>, pub profile_id: id_type::ProfileId, pub applepay_verified_domains: Option<Vec<String>>, pub pm_auth_config: Option<pii::SecretSerdeValue>, pub status: enums::ConnectorStatus, #[encrypt] pub connector_wallets_details: Option<Encryptable<Secret<Value>>>, #[encrypt] pub additional_merchant_data: Option<Encryptable<Secret<Value>>>, pub version: common_enums::ApiVersion, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "MerchantConnectorAccount", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_5366588098753992136
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs pub struct MerchantConnectorAccount { pub id: id_type::MerchantConnectorAccountId, pub merchant_id: id_type::MerchantId, pub connector_name: common_enums::connector_enums::Connector, #[encrypt] pub connector_account_details: Encryptable<Secret<Value>>, pub disabled: Option<bool>, pub payment_methods_enabled: Option<Vec<common_types::payment_methods::PaymentMethodsEnabled>>, pub connector_type: enums::ConnectorType, pub metadata: Option<pii::SecretSerdeValue>, pub frm_configs: Option<Vec<pii::SecretSerdeValue>>, pub connector_label: Option<String>, pub created_at: time::PrimitiveDateTime, pub modified_at: time::PrimitiveDateTime, pub connector_webhook_details: Option<pii::SecretSerdeValue>, pub profile_id: id_type::ProfileId, pub applepay_verified_domains: Option<Vec<String>>, pub pm_auth_config: Option<pii::SecretSerdeValue>, pub status: enums::ConnectorStatus, #[encrypt] pub connector_wallets_details: Option<Encryptable<Secret<Value>>>, #[encrypt] pub additional_merchant_data: Option<Encryptable<Secret<Value>>>, pub version: common_enums::ApiVersion, pub feature_metadata: Option<MerchantConnectorAccountFeatureMetadata>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "MerchantConnectorAccount", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1848514152257737187
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs pub struct PaymentMethodsEnabledForConnector { pub payment_methods_enabled: common_types::payment_methods::RequestPaymentMethodTypes, pub payment_method: common_enums::PaymentMethod, pub connector: common_enums::connector_enums::Connector, pub merchant_connector_id: id_type::MerchantConnectorAccountId, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentMethodsEnabledForConnector", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6747008160491967235
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs pub struct MerchantConnectorAccountFeatureMetadata { pub revenue_recovery: Option<RevenueRecoveryMetadata>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "MerchantConnectorAccountFeatureMetadata", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2763746024533525546
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs pub struct RevenueRecoveryMetadata { pub max_retry_count: u16, pub billing_connector_retry_threshold: u16, pub mca_reference: AccountReferenceMap, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "RevenueRecoveryMetadata", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_1177823161053662810
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs pub struct ExternalVaultConnectorMetadata { pub proxy_url: common_utils::types::Url, pub certificate: Secret<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "ExternalVaultConnectorMetadata", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_3133605338011876603
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_connector_account.rs pub struct AccountReferenceMap { pub recovery_to_billing: HashMap<id_type::MerchantConnectorAccountId, String>, pub billing_to_recovery: HashMap<String, id_type::MerchantConnectorAccountId>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "AccountReferenceMap", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-4631304909513416602
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct PaymentIntent { pub payment_id: id_type::PaymentId, pub merchant_id: id_type::MerchantId, pub status: storage_enums::IntentStatus, pub amount: MinorUnit, pub shipping_cost: Option<MinorUnit>, pub currency: Option<storage_enums::Currency>, pub amount_captured: Option<MinorUnit>, pub customer_id: Option<id_type::CustomerId>, pub description: Option<String>, pub return_url: Option<String>, pub metadata: Option<Value>, pub connector_id: Option<String>, pub shipping_address_id: Option<String>, pub billing_address_id: Option<String>, pub statement_descriptor_name: Option<String>, pub statement_descriptor_suffix: Option<String>, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, #[serde(with = "common_utils::custom_serde::iso8601")] pub modified_at: PrimitiveDateTime, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub last_synced: Option<PrimitiveDateTime>, pub setup_future_usage: Option<storage_enums::FutureUsage>, pub off_session: Option<bool>, pub client_secret: Option<String>, pub active_attempt: RemoteStorageObject<PaymentAttempt>, pub business_country: Option<storage_enums::CountryAlpha2>, pub business_label: Option<String>, pub order_details: Option<Vec<pii::SecretSerdeValue>>, pub allowed_payment_method_types: Option<Value>, pub connector_metadata: Option<Value>, pub feature_metadata: Option<Value>, pub attempt_count: i16, pub profile_id: Option<id_type::ProfileId>, pub payment_link_id: Option<String>, // Denotes the action(approve or reject) taken by merchant in case of manual review. // Manual review can occur when the transaction is marked as risky by the frm_processor, payment processor or when there is underpayment/over payment incase of crypto payment pub merchant_decision: Option<String>, pub payment_confirm_source: Option<storage_enums::PaymentSource>, pub updated_by: String, pub surcharge_applicable: Option<bool>, pub request_incremental_authorization: Option<storage_enums::RequestIncrementalAuthorization>, pub incremental_authorization_allowed: Option<bool>, pub authorization_count: Option<i32>, pub fingerprint_id: Option<String>, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub session_expiry: Option<PrimitiveDateTime>, pub request_external_three_ds_authentication: Option<bool>, pub split_payments: Option<common_types::payments::SplitPaymentsRequest>, pub frm_metadata: Option<pii::SecretSerdeValue>, #[encrypt] pub customer_details: Option<Encryptable<Secret<Value>>>, #[encrypt] pub billing_details: Option<Encryptable<Secret<Value>>>, pub merchant_order_reference_id: Option<String>, #[encrypt] pub shipping_details: Option<Encryptable<Secret<Value>>>, pub is_payment_processor_token_flow: Option<bool>, pub organization_id: id_type::OrganizationId, pub tax_details: Option<TaxDetails>, pub skip_external_tax_calculation: Option<bool>, pub request_extended_authorization: Option<RequestExtendedAuthorizationBool>, pub psd2_sca_exemption_type: Option<storage_enums::ScaExemptionType>, pub processor_merchant_id: id_type::MerchantId, pub created_by: Option<CreatedBy>, pub force_3ds_challenge: Option<bool>, pub force_3ds_challenge_trigger: Option<bool>, pub is_iframe_redirection_enabled: Option<bool>, pub is_payment_id_from_merchant: Option<bool>, pub payment_channel: Option<common_enums::PaymentChannel>, pub tax_status: Option<storage_enums::TaxStatus>, pub discount_amount: Option<MinorUnit>, pub order_date: Option<PrimitiveDateTime>, pub shipping_amount_tax: Option<MinorUnit>, pub duty_amount: Option<MinorUnit>, pub enable_partial_authorization: Option<primitive_wrappers::EnablePartialAuthorizationBool>, pub enable_overcapture: Option<EnableOvercaptureBool>, pub mit_category: Option<common_enums::MitCategory>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentIntent", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_5100157029967535756
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct AmountDetails { /// The amount of the order in the lowest denomination of currency pub order_amount: MinorUnit, /// The currency of the order pub currency: common_enums::Currency, /// The shipping cost of the order. This has to be collected from the merchant pub shipping_cost: Option<MinorUnit>, /// Tax details related to the order. This will be calculated by the external tax provider pub tax_details: Option<TaxDetails>, /// The action to whether calculate tax by calling external tax provider or not pub skip_external_tax_calculation: common_enums::TaxCalculationOverride, /// The action to whether calculate surcharge or not pub skip_surcharge_calculation: common_enums::SurchargeCalculationOverride, /// The surcharge amount to be added to the order, collected from the merchant pub surcharge_amount: Option<MinorUnit>, /// tax on surcharge amount pub tax_on_surcharge: Option<MinorUnit>, /// The total amount captured for the order. This is the sum of all the captured amounts for the order. /// For automatic captures, this will be the same as net amount for the order pub amount_captured: Option<MinorUnit>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "AmountDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-4631304909513416602
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct PaymentIntent { /// The global identifier for the payment intent. This is generated by the system. /// The format of the global id is `{cell_id:5}_pay_{time_ordered_uuid:32}`. pub id: id_type::GlobalPaymentId, /// The identifier for the merchant. This is automatically derived from the api key used to create the payment. pub merchant_id: id_type::MerchantId, /// The status of payment intent. pub status: storage_enums::IntentStatus, /// The amount related details of the payment pub amount_details: AmountDetails, /// The total amount captured for the order. This is the sum of all the captured amounts for the order. pub amount_captured: Option<MinorUnit>, /// The identifier for the customer. This is the identifier for the customer in the merchant's system. pub customer_id: Option<id_type::GlobalCustomerId>, /// The description of the order. This will be passed to connectors which support description. pub description: Option<common_utils::types::Description>, /// The return url for the payment. This is the url to which the user will be redirected after the payment is completed. pub return_url: Option<common_utils::types::Url>, /// The metadata for the payment intent. This is the metadata that will be passed to the connectors. pub metadata: Option<pii::SecretSerdeValue>, /// The statement descriptor for the order, this will be displayed in the user's bank statement. pub statement_descriptor: Option<common_utils::types::StatementDescriptor>, /// The time at which the order was created #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, /// The time at which the order was last modified #[serde(with = "common_utils::custom_serde::iso8601")] pub modified_at: PrimitiveDateTime, #[serde(with = "common_utils::custom_serde::iso8601::option")] pub last_synced: Option<PrimitiveDateTime>, pub setup_future_usage: storage_enums::FutureUsage, /// The active attempt for the payment intent. This is the payment attempt that is currently active for the payment intent. pub active_attempt_id: Option<id_type::GlobalAttemptId>, /// This field represents whether there are attempt groups for this payment intent. Used in split payments workflow pub active_attempt_id_type: common_enums::ActiveAttemptIDType, /// The ID of the active attempt group for the payment intent pub active_attempts_group_id: Option<String>, /// The order details for the payment. pub order_details: Option<Vec<Secret<OrderDetailsWithAmount>>>, /// This is the list of payment method types that are allowed for the payment intent. /// This field allows the merchant to restrict the payment methods that can be used for the payment intent. pub allowed_payment_method_types: Option<Vec<common_enums::PaymentMethodType>>, /// This metadata contains connector-specific details like Apple Pay certificates, Airwallex data, Noon order category, Braintree merchant account ID, and Adyen testing data pub connector_metadata: Option<ConnectorMetadata>, pub feature_metadata: Option<FeatureMetadata>, /// Number of attempts that have been made for the order pub attempt_count: i16, /// The profile id for the payment. pub profile_id: id_type::ProfileId, /// The payment link id for the payment. This is generated only if `enable_payment_link` is set to true. pub payment_link_id: Option<String>, /// This Denotes the action(approve or reject) taken by merchant in case of manual review. /// Manual review can occur when the transaction is marked as risky by the frm_processor, payment processor or when there is underpayment/over payment incase of crypto payment pub frm_merchant_decision: Option<common_enums::MerchantDecision>, /// Denotes the last instance which updated the payment pub updated_by: String, /// Denotes whether merchant requested for incremental authorization to be enabled for this payment. pub request_incremental_authorization: storage_enums::RequestIncrementalAuthorization, /// Denotes whether merchant requested for split payments to be enabled for this payment pub split_txns_enabled: storage_enums::SplitTxnsEnabled, /// Denotes the number of authorizations that have been made for the payment. pub authorization_count: Option<i32>, /// Denotes the client secret expiry for the payment. This is the time at which the client secret will expire. #[serde(with = "common_utils::custom_serde::iso8601")] pub session_expiry: PrimitiveDateTime, /// Denotes whether merchant requested for 3ds authentication to be enabled for this payment. pub request_external_three_ds_authentication: common_enums::External3dsAuthenticationRequest, /// Metadata related to fraud and risk management pub frm_metadata: Option<pii::SecretSerdeValue>, /// The details of the customer in a denormalized form. Only a subset of fields are stored. #[encrypt] pub customer_details: Option<Encryptable<Secret<Value>>>, /// The reference id for the order in the merchant's system. This value can be passed by the merchant. pub merchant_reference_id: Option<id_type::PaymentReferenceId>, /// The billing address for the order in a denormalized form. #[encrypt(ty = Value)] pub billing_address: Option<Encryptable<Address>>, /// The shipping address for the order in a denormalized form. #[encrypt(ty = Value)] pub shipping_address: Option<Encryptable<Address>>, /// Capture method for the payment pub capture_method: storage_enums::CaptureMethod, /// Authentication type that is requested by the merchant for this payment. pub authentication_type: Option<common_enums::AuthenticationType>, /// This contains the pre routing results that are done when routing is done during listing the payment methods. pub prerouting_algorithm: Option<routing::PaymentRoutingInfo>, /// The organization id for the payment. This is derived from the merchant account pub organization_id: id_type::OrganizationId, /// Denotes the request by the merchant whether to enable a payment link for this payment. pub enable_payment_link: common_enums::EnablePaymentLinkRequest, /// Denotes the request by the merchant whether to apply MIT exemption for this payment pub apply_mit_exemption: common_enums::MitExemptionRequest, /// Denotes whether the customer is present during the payment flow. This information may be used for 3ds authentication pub customer_present: common_enums::PresenceOfCustomerDuringPayment, /// Denotes the override for payment link configuration pub payment_link_config: Option<diesel_models::PaymentLinkConfigRequestForPayments>, /// The straight through routing algorithm id that is used for this payment. This overrides the default routing algorithm that is configured in business profile. pub routing_algorithm_id: Option<id_type::RoutingId>, /// Split Payment Data pub split_payments: Option<common_types::payments::SplitPaymentsRequest>, pub force_3ds_challenge: Option<bool>, pub force_3ds_challenge_trigger: Option<bool>, /// merchant who owns the credentials of the processor, i.e. processor owner pub processor_merchant_id: id_type::MerchantId, /// merchantwho invoked the resource based api (identifier) and through what source (Api, Jwt(Dashboard)) pub created_by: Option<CreatedBy>, /// Indicates if the redirection has to open in the iframe pub is_iframe_redirection_enabled: Option<bool>, /// Indicates whether the payment_id was provided by the merchant (true), /// or generated internally by Hyperswitch (false) pub is_payment_id_from_merchant: Option<bool>, /// Denotes whether merchant requested for partial authorization to be enabled for this payment. pub enable_partial_authorization: Option<primitive_wrappers::EnablePartialAuthorizationBool>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentIntent", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2207705061182480267
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct HeaderPayload { pub payment_confirm_source: Option<common_enums::PaymentSource>, pub client_source: Option<String>, pub client_version: Option<String>, pub x_hs_latency: Option<bool>, pub browser_name: Option<common_enums::BrowserName>, pub x_client_platform: Option<common_enums::ClientPlatform>, pub x_merchant_domain: Option<String>, pub locale: Option<String>, pub x_app_id: Option<String>, pub x_redirect_uri: Option<String>, pub x_reference_id: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "HeaderPayload", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_3691496508445525664
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct ClickToPayMetaData { pub dpa_id: String, pub dpa_name: String, pub locale: String, pub acquirer_bin: String, pub acquirer_merchant_id: String, pub merchant_category_code: String, pub merchant_country_code: String, pub dpa_client_id: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "ClickToPayMetaData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2207705061182480267
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct HeaderPayload { /// The source with which the payment is confirmed. pub payment_confirm_source: Option<common_enums::PaymentSource>, // pub client_source: Option<String>, // pub client_version: Option<String>, pub x_hs_latency: Option<bool>, pub browser_name: Option<common_enums::BrowserName>, pub x_client_platform: Option<common_enums::ClientPlatform>, pub x_merchant_domain: Option<String>, pub locale: Option<String>, pub x_app_id: Option<String>, pub x_redirect_uri: Option<String>, pub x_reference_id: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "HeaderPayload", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6598524405755018005
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct PaymentIntentData<F> where F: Clone, { pub flow: PhantomData<F>, pub payment_intent: PaymentIntent, pub sessions_token: Vec<SessionToken>, pub client_secret: Option<Secret<String>>, pub vault_session_details: Option<VaultSessionDetails>, pub connector_customer_id: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentIntentData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-3011240062943809745
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct PaymentAttemptListData<F> where F: Clone, { pub flow: PhantomData<F>, pub payment_attempt_list: Vec<PaymentAttempt>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentAttemptListData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-423119803755322400
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct PaymentConfirmData<F> where F: Clone, { pub flow: PhantomData<F>, pub payment_intent: PaymentIntent, pub payment_attempt: PaymentAttempt, pub payment_method_data: Option<payment_method_data::PaymentMethodData>, pub payment_address: payment_address::PaymentAddress, pub mandate_data: Option<api_models::payments::MandateIds>, pub payment_method: Option<payment_methods::PaymentMethod>, pub merchant_connector_details: Option<common_types::domain::MerchantConnectorAuthDetails>, pub external_vault_pmd: Option<payment_method_data::ExternalVaultPaymentMethodData>, /// The webhook url of the merchant, to which the connector will send the webhook. pub webhook_url: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentConfirmData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_7495201564377567357
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct PaymentStatusData<F> where F: Clone, { pub flow: PhantomData<F>, pub payment_intent: PaymentIntent, pub payment_attempt: PaymentAttempt, pub payment_address: payment_address::PaymentAddress, pub attempts: Option<Vec<PaymentAttempt>>, /// Should the payment status be synced with connector /// This will depend on the payment status and the force sync flag in the request pub should_sync_with_connector: bool, pub merchant_connector_details: Option<common_types::domain::MerchantConnectorAuthDetails>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentStatusData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1376027273469471020
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct PaymentCaptureData<F> where F: Clone, { pub flow: PhantomData<F>, pub payment_intent: PaymentIntent, pub payment_attempt: PaymentAttempt, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentCaptureData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_5031729519587210907
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct PaymentCancelData<F> where F: Clone, { pub flow: PhantomData<F>, pub payment_intent: PaymentIntent, pub payment_attempt: PaymentAttempt, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentCancelData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_300537009467528427
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct PaymentAttemptRecordData<F> where F: Clone, { pub flow: PhantomData<F>, pub payment_intent: PaymentIntent, pub payment_attempt: PaymentAttempt, pub revenue_recovery_data: RevenueRecoveryData, pub payment_address: payment_address::PaymentAddress, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "PaymentAttemptRecordData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_6116489807717305204
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct RevenueRecoveryData { pub billing_connector_id: id_type::MerchantConnectorAccountId, pub processor_payment_method_token: String, pub connector_customer_id: String, pub retry_count: Option<u16>, pub invoice_next_billing_time: Option<PrimitiveDateTime>, pub triggered_by: storage_enums::enums::TriggeredBy, pub card_network: Option<common_enums::CardNetwork>, pub card_issuer: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "RevenueRecoveryData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-3602211518139158413
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct CardAndNetworkTokenDataForVault { pub card_data: payment_method_data::Card, pub network_token: NetworkTokenDataForVault, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "CardAndNetworkTokenDataForVault", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1915024681364952132
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct NetworkTokenDataForVault { pub network_token_data: payment_method_data::NetworkTokenData, pub network_token_req_ref_id: String, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "NetworkTokenDataForVault", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_7539138011566168597
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct CardDataForVault { pub card_data: payment_method_data::Card, pub network_token_req_ref_id: Option<String>, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "CardDataForVault", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7120333986660455123
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments.rs pub struct CardAndNetworkTokenData { pub card_data: payment_method_data::Card, pub network_token_data: payment_method_data::NetworkTokenData, }
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "CardAndNetworkTokenData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5086062408221037177
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_context.rs pub struct Context(pub MerchantAccount, pub MerchantKeyStore);
{ "chunk": null, "crate": "hyperswitch_domain_models", "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": "Context", "total_crates": null, "trait_name": null }