id
stringlengths
20
153
type
stringclasses
1 value
granularity
stringclasses
14 values
content
stringlengths
16
84.3k
metadata
dict
hyperswitch_struct_hyperswitch_domain_models_-3596046624490700911
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct SkrillData {}
{ "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": "SkrillData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_8931945932342500342
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct MomoRedirection {}
{ "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": "MomoRedirection", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6875981243101291806
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct KakaoPayRedirection {}
{ "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": "KakaoPayRedirection", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2960443255100101293
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct GoPayRedirection {}
{ "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": "GoPayRedirection", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_3004981889579882884
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct GcashRedirection {}
{ "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": "GcashRedirection", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_4317272701352490762
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct MobilePayRedirection {}
{ "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": "MobilePayRedirection", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_6123307182708216827
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct MbWayRedirection {}
{ "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": "MbWayRedirection", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2188302813384873078
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct GooglePayPaymentMethodInfo { /// The name of the card network pub card_network: String, /// The details of the card pub card_details: String, /// assurance_details of the card pub assurance_details: Option<GooglePayAssuranceDetails>, /// Card funding source for the selected payment method pub card_funding_source: Option<GooglePayCardFundingSource>, }
{ "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": "GooglePayPaymentMethodInfo", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_7539871770614850366
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct GooglePayAssuranceDetails { ///indicates that Cardholder possession validation has been performed pub card_holder_authenticated: bool, /// indicates that identification and verifications (ID&V) was performed pub account_verified: 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": "GooglePayAssuranceDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7006036457449513457
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct PayPalWalletData { /// Token generated for the Apple pay pub token: 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": "PayPalWalletData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-8228597660527035823
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct TouchNGoRedirection {}
{ "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": "TouchNGoRedirection", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6635067196335123346
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct SwishQrData {}
{ "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": "SwishQrData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7295559813105201338
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct ApplePayWalletData { /// The payment data of Apple pay pub payment_data: common_types::payments::ApplePayPaymentData, /// The payment method of Apple pay pub payment_method: ApplepayPaymentMethod, /// The unique identifier for the transaction pub transaction_identifier: 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": "ApplePayWalletData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2911747154641920872
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct ApplepayPaymentMethod { pub display_name: String, pub network: String, pub pm_type: 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": "ApplepayPaymentMethod", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1182341842821847575
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct AmazonPayWalletData { pub checkout_session_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": "AmazonPayWalletData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6011307910636769080
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct CryptoData { pub pay_currency: Option<String>, pub network: 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": "CryptoData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_4115204766960492552
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct UpiCollectData { pub vpa_id: Option<Secret<String, pii::UpiVpaMaskingStrategy>>, }
{ "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": "UpiCollectData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-3121742136097163834
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct UpiIntentData {}
{ "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": "UpiIntentData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_6486001091799883903
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct UpiQrData {}
{ "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": "UpiQrData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-8774777278948892528
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct BoletoVoucherData { /// The shopper's social security number pub social_security_number: Option<Secret<String>>, /// The bank number associated with the boleto pub bank_number: Option<Secret<String>>, /// The type of document (e.g., CPF, CNPJ) pub document_type: Option<common_enums::DocumentKind>, /// The percentage of fine applied for late payment pub fine_percentage: Option<String>, /// The number of days after due date when fine is applied pub fine_quantity_days: Option<String>, /// The percentage of interest applied for late payment pub interest_percentage: Option<String>, /// Number of days after which the boleto can be written off pub write_off_quantity_days: Option<String>, /// Additional messages to display to the shopper pub messages: Option<Vec<String>>, /// The date upon which the boleto is due and is of format: "YYYY-MM-DD" pub due_date: 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": "BoletoVoucherData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-4663462620309795650
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct AlfamartVoucherData {}
{ "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": "AlfamartVoucherData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-8185836549691538378
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct IndomaretVoucherData {}
{ "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": "IndomaretVoucherData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-3612036807838804203
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct JCSVoucherData {}
{ "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": "JCSVoucherData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_8493388473394649463
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct GiftCardDetails { /// The gift card number pub number: Secret<String>, /// The card verification code. pub cvc: 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": "GiftCardDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_1447717335766591977
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct BHNGiftCardDetails { /// The gift card or account number pub account_number: Secret<String>, /// The security PIN for gift cards requiring it pub pin: Option<Secret<String>>, /// The CVV2 code for Open Loop/VPLN products pub cvv2: Option<Secret<String>>, /// The expiration date in MMYYYY format for Open Loop/VPLN products pub expiration_date: 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": "BHNGiftCardDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-411589199274257497
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct CardToken { /// The card holder's name pub card_holder_name: Option<Secret<String>>, /// The CVC number for the card pub card_cvc: Option<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": "CardToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5173922792437672250
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct SepaAndBacsBillingDetails { /// The Email ID for SEPA and BACS billing pub email: Email, /// The billing name for SEPA and BACS billing pub name: 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": "SepaAndBacsBillingDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-9094926218938234039
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct NetworkTokenData { pub token_number: cards::CardNumber, pub token_exp_month: Secret<String>, pub token_exp_year: Secret<String>, pub token_cryptogram: Option<Secret<String>>, pub card_issuer: Option<String>, pub card_network: Option<common_enums::CardNetwork>, pub card_type: Option<String>, pub card_issuing_country: Option<String>, pub bank_code: Option<String>, pub nick_name: Option<Secret<String>>, pub eci: 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": "NetworkTokenData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-9094926218938234039
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct NetworkTokenData { pub network_token: cards::NetworkToken, pub network_token_exp_month: Secret<String>, pub network_token_exp_year: Secret<String>, pub cryptogram: Option<Secret<String>>, pub card_issuer: Option<String>, //since network token is tied to card, so its issuer will be same as card issuer pub card_network: Option<common_enums::CardNetwork>, pub card_type: Option<payment_methods::CardType>, pub card_issuing_country: Option<common_enums::CountryAlpha2>, pub bank_code: Option<String>, pub card_holder_name: Option<Secret<String>>, pub nick_name: Option<Secret<String>>, pub eci: 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": "NetworkTokenData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-3733272817413479443
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct NetworkTokenDetails { pub network_token: cards::NetworkToken, pub network_token_exp_month: Secret<String>, pub network_token_exp_year: Secret<String>, pub card_issuer: Option<String>, //since network token is tied to card, so its issuer will be same as card issuer pub card_network: Option<common_enums::CardNetwork>, pub card_type: Option<payment_methods::CardType>, pub card_issuing_country: Option<api_enums::CountryAlpha2>, pub card_holder_name: Option<Secret<String>>, pub nick_name: Option<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": "NetworkTokenDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7187750173709163928
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct TokenizedCardValue1 { pub card_number: String, pub exp_year: String, pub exp_month: String, pub nickname: Option<String>, pub card_last_four: Option<String>, pub card_token: Option<String>, pub card_holder_name: Option<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": "TokenizedCardValue1", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_8105486800399576456
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct TokenizedCardValue2 { pub card_security_code: Option<String>, pub card_fingerprint: Option<String>, pub external_id: Option<String>, pub customer_id: Option<id_type::CustomerId>, pub payment_method_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": "TokenizedCardValue2", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_9151379551505564631
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct TokenizedWalletValue1 { pub data: WalletData, }
{ "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": "TokenizedWalletValue1", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-9037273087277061316
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct TokenizedWalletValue2 { pub customer_id: Option<id_type::CustomerId>, }
{ "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": "TokenizedWalletValue2", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1624312334174182609
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct TokenizedBankTransferValue1 { pub data: BankTransferData, }
{ "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": "TokenizedBankTransferValue1", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_3933660723864617778
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct TokenizedBankTransferValue2 { pub customer_id: Option<id_type::CustomerId>, }
{ "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": "TokenizedBankTransferValue2", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-4525604996330542690
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct TokenizedBankRedirectValue1 { pub data: BankRedirectData, }
{ "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": "TokenizedBankRedirectValue1", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1767448482607497552
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct TokenizedBankRedirectValue2 { pub customer_id: Option<id_type::CustomerId>, }
{ "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": "TokenizedBankRedirectValue2", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_678163799670448610
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct TokenizedBankDebitValue2 { pub customer_id: Option<id_type::CustomerId>, }
{ "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": "TokenizedBankDebitValue2", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7738861113336665663
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct TokenizedBankDebitValue1 { pub data: BankDebitData, }
{ "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": "TokenizedBankDebitValue1", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-3933557525147344911
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct NetworkTokenDetailsPaymentMethod { pub last4_digits: Option<String>, pub issuer_country: Option<common_enums::CountryAlpha2>, pub network_token_expiry_month: Option<Secret<String>>, pub network_token_expiry_year: Option<Secret<String>>, pub nick_name: Option<Secret<String>>, pub card_holder_name: Option<Secret<String>>, pub card_isin: Option<String>, pub card_issuer: Option<String>, pub card_network: Option<api_enums::CardNetwork>, pub card_type: Option<String>, #[serde(default = "saved_in_locker_default")] pub saved_to_locker: 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": "NetworkTokenDetailsPaymentMethod", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6719221747461060219
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct CardDetailsPaymentMethod { pub last4_digits: Option<String>, pub issuer_country: Option<String>, pub expiry_month: Option<Secret<String>>, pub expiry_year: Option<Secret<String>>, pub nick_name: Option<Secret<String>>, pub card_holder_name: Option<Secret<String>>, pub card_isin: Option<String>, pub card_issuer: Option<String>, pub card_network: Option<api_enums::CardNetwork>, pub card_type: Option<String>, #[serde(default = "saved_in_locker_default")] pub saved_to_locker: bool, pub co_badged_card_data: Option<payment_methods::CoBadgedCardData>, }
{ "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": "CardDetailsPaymentMethod", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6719221747461060219
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct CardDetailsPaymentMethod { pub last4_digits: Option<String>, pub issuer_country: Option<String>, pub expiry_month: Option<Secret<String>>, pub expiry_year: Option<Secret<String>>, pub nick_name: Option<Secret<String>>, pub card_holder_name: Option<Secret<String>>, pub card_isin: Option<String>, pub card_issuer: Option<String>, pub card_network: Option<api_enums::CardNetwork>, pub card_type: Option<String>, #[serde(default = "saved_in_locker_default")] pub saved_to_locker: 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": "CardDetailsPaymentMethod", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2786383917114620722
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct SingleUsePaymentMethodToken { pub token: Secret<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": "SingleUsePaymentMethodToken", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7406783249212651221
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs pub struct SingleUseTokenKey(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": "SingleUseTokenKey", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1743260696387983603
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/merchant_key_store.rs pub struct MerchantKeyStore { pub merchant_id: common_utils::id_type::MerchantId, pub key: Encryptable<Secret<Vec<u8>>>, #[serde(with = "custom_serde::iso8601")] pub created_at: 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": "MerchantKeyStore", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7955743378582741219
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/routing.rs pub struct RoutingData { pub routed_through: Option<String>, pub merchant_connector_id: Option<id_type::MerchantConnectorAccountId>, pub routing_info: PaymentRoutingInfo, pub algorithm: Option<routing::StraightThroughAlgorithm>, }
{ "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": "RoutingData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7955743378582741219
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/routing.rs pub struct RoutingData { // TODO: change this to RoutableConnectors enum pub routed_through: Option<String>, pub merchant_connector_id: Option<id_type::MerchantConnectorAccountId>, pub pre_routing_connector_choice: Option<PreRoutingConnectorChoice>, pub algorithm_requested: Option<id_type::RoutingId>, }
{ "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": "RoutingData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1046747731156989317
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/routing.rs pub struct PaymentRoutingInfo { pub algorithm: Option<routing::StraightThroughAlgorithm>, pub pre_routing_results: Option<HashMap<api_enums::PaymentMethodType, PreRoutingConnectorChoice>>, }
{ "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": "PaymentRoutingInfo", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-468928745310686313
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/routing.rs pub struct PaymentRoutingInfoInner { pub algorithm: Option<routing::StraightThroughAlgorithm>, pub pre_routing_results: Option<HashMap<api_enums::PaymentMethodType, PreRoutingConnectorChoice>>, }
{ "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": "PaymentRoutingInfoInner", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1763036330577547286
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs pub struct MandateDetails { pub update_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": "MandateDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2072686329106992478
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs pub struct MandateAmountData { pub amount: MinorUnit, pub currency: Currency, pub start_date: Option<PrimitiveDateTime>, pub end_date: Option<PrimitiveDateTime>, pub 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": "MandateAmountData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_4620108802471482216
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs pub struct MandateData { /// A way to update the mandate's payment method details pub update_mandate_id: Option<String>, /// A consent from the customer to store the payment method pub customer_acceptance: Option<common_payments_types::CustomerAcceptance>, /// A way to select the type of mandate used pub mandate_type: Option<MandateDataType>, }
{ "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": "MandateData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-371380181416018419
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs pub struct PaymentsMandateReferenceRecord { pub connector_mandate_id: String, pub payment_method_type: Option<common_enums::PaymentMethodType>, pub original_payment_authorized_amount: Option<i64>, pub original_payment_authorized_currency: Option<Currency>, pub mandate_metadata: Option<pii::SecretSerdeValue>, pub connector_mandate_status: Option<common_enums::ConnectorMandateStatus>, pub connector_mandate_request_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": "PaymentsMandateReferenceRecord", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_1566774926715756552
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs pub struct ConnectorTokenReferenceRecord { pub connector_token: String, pub payment_method_subtype: Option<common_enums::PaymentMethodType>, pub original_payment_authorized_amount: Option<MinorUnit>, pub original_payment_authorized_currency: Option<Currency>, pub metadata: Option<pii::SecretSerdeValue>, pub connector_token_status: common_enums::ConnectorTokenStatus, pub connector_token_request_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": "ConnectorTokenReferenceRecord", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5252626943432707875
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs pub struct PayoutsMandateReferenceRecord { pub transfer_method_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": "PayoutsMandateReferenceRecord", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-8022300191531739036
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs pub struct PayoutsMandateReference( pub HashMap<common_utils::id_type::MerchantConnectorAccountId, PayoutsMandateReferenceRecord>, );
{ "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": "PayoutsMandateReference", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2617842896164266124
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs pub struct PaymentsTokenReference( pub HashMap<common_utils::id_type::MerchantConnectorAccountId, ConnectorTokenReferenceRecord>, );
{ "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": "PaymentsTokenReference", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-859460310873151427
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs pub struct PaymentsMandateReference( pub HashMap<common_utils::id_type::MerchantConnectorAccountId, PaymentsMandateReferenceRecord>, );
{ "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": "PaymentsMandateReference", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5521345000002249363
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs pub struct CommonMandateReference { pub payments: Option<PaymentsMandateReference>, pub payouts: Option<PayoutsMandateReference>, }
{ "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": "CommonMandateReference", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5521345000002249363
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs pub struct CommonMandateReference { pub payments: Option<PaymentsTokenReference>, pub payouts: Option<PayoutsMandateReference>, }
{ "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": "CommonMandateReference", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2363956919801466826
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/api.rs pub struct RedirectionFormData { pub redirect_form: crate::router_response_types::RedirectForm, pub payment_method_data: Option<PaymentMethodData>, pub amount: String, pub currency: 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": "RedirectionFormData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6212487257080210927
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/api.rs pub struct PaymentLinkFormData { pub js_script: String, pub css_script: String, pub sdk_url: url::Url, pub html_meta_tags: 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": "PaymentLinkFormData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_4862256438827440024
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/api.rs pub struct PaymentLinkStatusData { pub js_script: String, pub css_script: 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": "PaymentLinkStatusData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6473664173076910553
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/api.rs pub struct GenericLinks { pub allowed_domains: HashSet<String>, pub data: GenericLinksData, pub locale: 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": "GenericLinks", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6384361286471306193
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/api.rs pub struct GenericExpiredLinkData { pub title: String, pub message: String, pub theme: 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": "GenericExpiredLinkData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-5176007595443151962
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/api.rs pub struct GenericLinkFormData { pub js_data: String, pub css_data: String, pub sdk_url: url::Url, pub html_meta_tags: 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": "GenericLinkFormData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1321889399954654487
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/api.rs pub struct GenericLinkStatusData { pub js_data: String, pub css_data: 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": "GenericLinkStatusData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-4704932677676136927
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/relay.rs pub struct Relay { pub id: id_type::RelayId, pub connector_resource_id: String, pub connector_id: id_type::MerchantConnectorAccountId, pub profile_id: id_type::ProfileId, pub merchant_id: id_type::MerchantId, pub relay_type: enums::RelayType, pub request_data: Option<RelayData>, pub status: enums::RelayStatus, pub connector_reference_id: Option<String>, pub error_code: Option<String>, pub error_message: Option<String>, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, #[serde(with = "common_utils::custom_serde::iso8601")] pub modified_at: PrimitiveDateTime, pub response_data: 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": "Relay", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1200301481323477954
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/relay.rs pub struct RelayRefundData { pub amount: MinorUnit, pub currency: enums::Currency, pub reason: 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": "RelayRefundData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_6108151677852955653
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/chat.rs pub struct GetDataMessage { pub message: 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": "GetDataMessage", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_4324764895398413620
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/chat.rs pub struct HyperswitchAiDataRequest { pub merchant_id: id_type::MerchantId, pub profile_id: id_type::ProfileId, pub org_id: id_type::OrganizationId, pub query: GetDataMessage, pub entity_type: common_enums::EntityType, }
{ "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": "HyperswitchAiDataRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_7917766844993699146
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs pub struct AttemptAmountDetails { /// The total amount for this payment attempt. This includes all the surcharge and tax amounts. net_amount: MinorUnit, /// The amount that has to be captured, amount_to_capture: Option<MinorUnit>, /// Surcharge amount for the payment attempt. /// This is either derived by surcharge rules, or sent by the merchant surcharge_amount: Option<MinorUnit>, /// Tax amount for the payment attempt /// This is either derived by surcharge rules, or sent by the merchant tax_on_surcharge: Option<MinorUnit>, /// The total amount that can be captured for this payment attempt. amount_capturable: MinorUnit, /// Shipping cost for the payment attempt. shipping_cost: Option<MinorUnit>, /// Tax amount for the order. /// This is either derived by calling an external tax processor, or sent by the merchant order_tax_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": "AttemptAmountDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7008533783541993814
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs pub struct AttemptAmountDetailsSetter { /// The total amount for this payment attempt. This includes all the surcharge and tax amounts. pub net_amount: MinorUnit, /// The amount that has to be captured, pub amount_to_capture: Option<MinorUnit>, /// Surcharge amount for the payment attempt. /// This is either derived by surcharge rules, or sent by the merchant pub surcharge_amount: Option<MinorUnit>, /// Tax amount for the payment attempt /// This is either derived by surcharge rules, or sent by the merchant pub tax_on_surcharge: Option<MinorUnit>, /// The total amount that can be captured for this payment attempt. pub amount_capturable: MinorUnit, /// Shipping cost for the payment attempt. pub shipping_cost: Option<MinorUnit>, /// Tax amount for the order. /// This is either derived by calling an external tax processor, or sent by the merchant pub order_tax_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": "AttemptAmountDetailsSetter", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_7105961364673595842
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs pub struct ErrorDetails { /// The error code that was returned by the connector. /// This is a mandatory field. This is used to lookup the global status map record for unified code and retries pub code: String, /// The error message that was returned by the connector. /// This is a mandatory field. This is used to lookup the global status map record for unified message and retries pub message: String, /// The detailed error reason that was returned by the connector. pub reason: Option<String>, /// The unified code that is generated by the application based on the global status map record. /// This can be relied upon for common error code across all connectors pub unified_code: Option<String>, /// The unified message that is generated by the application based on the global status map record. /// This can be relied upon for common error code across all connectors /// If there is translation available, message will be translated to the requested language pub unified_message: Option<String>, /// This field can be returned for both approved and refused Mastercard payments. /// This code provides additional information about the type of transaction or the reason why the payment failed. /// If the payment failed, the network advice code gives guidance on if and when you can retry the payment. pub network_advice_code: Option<String>, /// For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed. pub network_decline_code: Option<String>, /// A string indicating how to proceed with an network error if payment gateway provide one. This is used to understand the network error code better. pub network_error_message: 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": "ErrorDetails", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7892149930857385958
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs pub struct PaymentAttempt { /// Payment id for the payment attempt pub payment_id: id_type::GlobalPaymentId, /// Merchant id for the payment attempt pub merchant_id: id_type::MerchantId, /// Group id for the payment attempt pub attempts_group_id: Option<String>, /// Amount details for the payment attempt pub amount_details: AttemptAmountDetails, /// Status of the payment attempt. This is the status that is updated by the connector. /// The intent status is updated by the AttemptStatus. pub status: storage_enums::AttemptStatus, /// Name of the connector that was used for the payment attempt. The connector is either decided by /// either running the routing algorithm or by straight through processing request. /// This will be updated before calling the connector // TODO: use connector enum, this should be done in v1 as well as a part of moving to domain types wherever possible pub connector: Option<String>, /// Error details in case the payment attempt failed pub error: Option<ErrorDetails>, /// The authentication type that was requested for the payment attempt. /// This authentication type maybe decided by step up 3ds or by running the decision engine. pub authentication_type: storage_enums::AuthenticationType, /// The time at which the payment attempt was created pub created_at: PrimitiveDateTime, /// The time at which the payment attempt was last modified pub modified_at: PrimitiveDateTime, pub last_synced: Option<PrimitiveDateTime>, /// The reason for the cancellation of the payment attempt. Some connectors will have strict rules regarding the values this can have /// Cancellation reason will be validated at the connector level when building the request pub cancellation_reason: Option<String>, /// Browser information required for 3DS authentication pub browser_info: Option<common_utils::types::BrowserInformation>, /// Payment token is the token used for temporary use in case the payment method is stored in vault pub payment_token: Option<String>, /// Metadata that is returned by the connector. pub connector_metadata: Option<pii::SecretSerdeValue>, pub payment_experience: Option<storage_enums::PaymentExperience>, /// The insensitive data of the payment method data is stored here pub payment_method_data: Option<pii::SecretSerdeValue>, /// The result of the routing algorithm. /// This will store the list of connectors and other related information that was used to route the payment. // TODO: change this to type instead of serde_json::Value pub routing_result: Option<Value>, pub preprocessing_step_id: Option<String>, /// Number of captures that have happened for the payment attempt pub multiple_capture_count: Option<i16>, /// A reference to the payment at connector side. This is returned by the connector pub connector_response_reference_id: Option<String>, /// Whether the payment was updated by postgres or redis pub updated_by: String, /// The authentication data which is used for external authentication pub redirection_data: Option<router_response_types::RedirectForm>, pub encoded_data: Option<Secret<String>>, pub merchant_connector_id: Option<id_type::MerchantConnectorAccountId>, /// Whether external 3DS authentication was attempted for this payment. /// This is based on the configuration of the merchant in the business profile pub external_three_ds_authentication_attempted: Option<bool>, /// The connector that was used for external authentication pub authentication_connector: Option<String>, /// The foreign key reference to the authentication details pub authentication_id: Option<id_type::AuthenticationId>, pub fingerprint_id: Option<String>, pub client_source: Option<String>, pub client_version: Option<String>, pub customer_acceptance: Option<Secret<common_payments_types::CustomerAcceptance>>, /// The profile id for the payment attempt. This will be derived from payment intent. pub profile_id: id_type::ProfileId, /// The organization id for the payment attempt. This will be derived from payment intent. pub organization_id: id_type::OrganizationId, /// Payment method type for the payment attempt pub payment_method_type: storage_enums::PaymentMethod, /// Foreig key reference of Payment method id in case the payment instrument was stored pub payment_method_id: Option<id_type::GlobalPaymentMethodId>, /// The reference to the payment at the connector side pub connector_payment_id: Option<String>, /// The payment method subtype for the payment attempt. pub payment_method_subtype: storage_enums::PaymentMethodType, /// The authentication type that was applied for the payment attempt. pub authentication_applied: Option<common_enums::AuthenticationType>, /// A reference to the payment at connector side. This is returned by the connector pub external_reference_id: Option<String>, /// The billing address for the payment method #[encrypt(ty = Value)] pub payment_method_billing_address: Option<Encryptable<Address>>, /// The global identifier for the payment attempt pub id: id_type::GlobalAttemptId, /// Connector token information that can be used to make payments directly by the merchant. pub connector_token_details: Option<diesel_models::ConnectorTokenDetails>, /// Indicates the method by which a card is discovered during a payment pub card_discovery: Option<common_enums::CardDiscovery>, /// Split payment data pub charges: Option<common_types::payments::ConnectorChargeResponseData>, /// Additional data that might be required by hyperswitch, to enable some specific features. pub feature_metadata: Option<PaymentAttemptFeatureMetadata>, /// 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>, pub connector_request_reference_id: Option<String>, pub network_transaction_id: Option<String>, /// stores the authorized amount in case of partial authorization pub authorized_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": "PaymentAttempt", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7892149930857385958
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs pub struct PaymentAttempt { pub payment_id: id_type::PaymentId, pub merchant_id: id_type::MerchantId, pub attempt_id: String, pub status: storage_enums::AttemptStatus, pub net_amount: NetAmount, pub currency: Option<storage_enums::Currency>, pub save_to_locker: Option<bool>, pub connector: Option<String>, pub error_message: Option<String>, pub offer_amount: Option<MinorUnit>, pub payment_method_id: Option<String>, pub payment_method: Option<storage_enums::PaymentMethod>, pub connector_transaction_id: Option<String>, pub capture_method: Option<storage_enums::CaptureMethod>, #[serde(default, with = "common_utils::custom_serde::iso8601::option")] pub capture_on: Option<PrimitiveDateTime>, pub confirm: bool, pub authentication_type: Option<storage_enums::AuthenticationType>, #[serde(with = "common_utils::custom_serde::iso8601")] pub created_at: PrimitiveDateTime, #[serde(with = "common_utils::custom_serde::iso8601")] pub modified_at: PrimitiveDateTime, #[serde(default, with = "common_utils::custom_serde::iso8601::option")] pub last_synced: Option<PrimitiveDateTime>, pub cancellation_reason: Option<String>, pub amount_to_capture: Option<MinorUnit>, pub mandate_id: Option<String>, pub browser_info: Option<serde_json::Value>, pub error_code: Option<String>, pub payment_token: Option<String>, pub connector_metadata: Option<serde_json::Value>, pub payment_experience: Option<storage_enums::PaymentExperience>, pub payment_method_type: Option<storage_enums::PaymentMethodType>, pub payment_method_data: Option<serde_json::Value>, pub business_sub_label: Option<String>, pub straight_through_algorithm: Option<serde_json::Value>, pub preprocessing_step_id: Option<String>, // providing a location to store mandate details intermediately for transaction pub mandate_details: Option<MandateDataType>, pub error_reason: Option<String>, pub multiple_capture_count: Option<i16>, // reference to the payment at connector side pub connector_response_reference_id: Option<String>, pub amount_capturable: MinorUnit, pub updated_by: String, pub authentication_data: Option<serde_json::Value>, pub encoded_data: Option<String>, pub merchant_connector_id: Option<id_type::MerchantConnectorAccountId>, pub unified_code: Option<String>, pub unified_message: Option<String>, pub external_three_ds_authentication_attempted: Option<bool>, pub authentication_connector: Option<String>, pub authentication_id: Option<id_type::AuthenticationId>, pub mandate_data: Option<MandateDetails>, pub payment_method_billing_address_id: Option<String>, pub fingerprint_id: Option<String>, pub charge_id: Option<String>, pub client_source: Option<String>, pub client_version: Option<String>, pub customer_acceptance: Option<pii::SecretSerdeValue>, pub profile_id: id_type::ProfileId, pub organization_id: id_type::OrganizationId, pub connector_mandate_detail: Option<ConnectorMandateReferenceId>, pub request_extended_authorization: Option<RequestExtendedAuthorizationBool>, pub extended_authorization_applied: Option<ExtendedAuthorizationAppliedBool>, pub capture_before: Option<PrimitiveDateTime>, pub card_discovery: Option<common_enums::CardDiscovery>, pub charges: Option<common_types::payments::ConnectorChargeResponseData>, pub issuer_error_code: Option<String>, pub issuer_error_message: Option<String>, /// 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>, pub setup_future_usage_applied: Option<storage_enums::FutureUsage>, pub routing_approach: Option<storage_enums::RoutingApproach>, pub connector_request_reference_id: Option<String>, pub debit_routing_savings: Option<MinorUnit>, pub network_transaction_id: Option<String>, pub is_overcapture_enabled: Option<OvercaptureEnabledBool>, pub network_details: Option<NetworkDetails>, pub is_stored_credential: Option<bool>, /// stores the authorized amount in case of partial authorization pub authorized_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": "PaymentAttempt", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2479258717367142561
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs pub struct NetAmount { /// The payment amount order_amount: MinorUnit, /// The shipping cost of the order shipping_cost: Option<MinorUnit>, /// Tax amount related to the order order_tax_amount: Option<MinorUnit>, /// The surcharge amount to be added to the order surcharge_amount: Option<MinorUnit>, /// tax on surcharge amount tax_on_surcharge: 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": "NetAmount", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2147481110969155020
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs pub struct PaymentListFilters { pub connector: Vec<String>, pub currency: Vec<storage_enums::Currency>, pub status: Vec<storage_enums::IntentStatus>, pub payment_method: Vec<storage_enums::PaymentMethod>, pub payment_method_type: Vec<storage_enums::PaymentMethodType>, pub authentication_type: Vec<storage_enums::AuthenticationType>, }
{ "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": "PaymentListFilters", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2787408192710952032
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs pub struct PaymentAttemptNew { pub payment_id: id_type::PaymentId, pub merchant_id: id_type::MerchantId, pub attempt_id: String, pub status: storage_enums::AttemptStatus, /// amount + surcharge_amount + tax_amount /// This field will always be derived before updating in the Database pub net_amount: NetAmount, pub currency: Option<storage_enums::Currency>, // pub auto_capture: Option<bool>, pub save_to_locker: Option<bool>, pub connector: Option<String>, pub error_message: Option<String>, pub offer_amount: Option<MinorUnit>, pub payment_method_id: Option<String>, pub payment_method: Option<storage_enums::PaymentMethod>, pub capture_method: Option<storage_enums::CaptureMethod>, #[serde(default, with = "common_utils::custom_serde::iso8601::option")] pub capture_on: Option<PrimitiveDateTime>, pub confirm: bool, pub authentication_type: Option<storage_enums::AuthenticationType>, #[serde(default, with = "common_utils::custom_serde::iso8601::option")] pub created_at: Option<PrimitiveDateTime>, #[serde(default, with = "common_utils::custom_serde::iso8601::option")] pub modified_at: Option<PrimitiveDateTime>, #[serde(default, with = "common_utils::custom_serde::iso8601::option")] pub last_synced: Option<PrimitiveDateTime>, pub cancellation_reason: Option<String>, pub amount_to_capture: Option<MinorUnit>, pub mandate_id: Option<String>, pub browser_info: Option<serde_json::Value>, pub payment_token: Option<String>, pub error_code: Option<String>, pub connector_metadata: Option<serde_json::Value>, pub payment_experience: Option<storage_enums::PaymentExperience>, pub payment_method_type: Option<storage_enums::PaymentMethodType>, pub payment_method_data: Option<serde_json::Value>, pub business_sub_label: Option<String>, pub straight_through_algorithm: Option<serde_json::Value>, pub preprocessing_step_id: Option<String>, pub mandate_details: Option<MandateDataType>, pub error_reason: Option<String>, pub connector_response_reference_id: Option<String>, pub multiple_capture_count: Option<i16>, pub amount_capturable: MinorUnit, pub updated_by: String, pub authentication_data: Option<serde_json::Value>, pub encoded_data: Option<String>, pub merchant_connector_id: Option<id_type::MerchantConnectorAccountId>, pub unified_code: Option<String>, pub unified_message: Option<String>, pub external_three_ds_authentication_attempted: Option<bool>, pub authentication_connector: Option<String>, pub authentication_id: Option<id_type::AuthenticationId>, pub mandate_data: Option<MandateDetails>, pub payment_method_billing_address_id: Option<String>, pub fingerprint_id: Option<String>, pub client_source: Option<String>, pub client_version: Option<String>, pub customer_acceptance: Option<pii::SecretSerdeValue>, pub profile_id: id_type::ProfileId, pub organization_id: id_type::OrganizationId, pub connector_mandate_detail: Option<ConnectorMandateReferenceId>, pub request_extended_authorization: Option<RequestExtendedAuthorizationBool>, pub extended_authorization_applied: Option<ExtendedAuthorizationAppliedBool>, pub capture_before: Option<PrimitiveDateTime>, pub card_discovery: Option<common_enums::CardDiscovery>, /// 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>, pub setup_future_usage_applied: Option<storage_enums::FutureUsage>, pub routing_approach: Option<storage_enums::RoutingApproach>, pub connector_request_reference_id: Option<String>, pub network_transaction_id: Option<String>, pub network_details: Option<NetworkDetails>, pub is_stored_credential: Option<bool>, pub authorized_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": "PaymentAttemptNew", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2926261979198546508
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs pub struct ConfirmIntentResponseUpdate { pub status: storage_enums::AttemptStatus, pub connector_payment_id: Option<String>, pub updated_by: String, pub redirection_data: Option<router_response_types::RedirectForm>, pub connector_metadata: Option<pii::SecretSerdeValue>, pub amount_capturable: Option<MinorUnit>, pub connector_token_details: Option<diesel_models::ConnectorTokenDetails>, pub connector_response_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": "ConfirmIntentResponseUpdate", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_2220666915947671341
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs pub struct PaymentAttemptFeatureMetadata { pub revenue_recovery: Option<PaymentAttemptRevenueRecoveryData>, }
{ "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": "PaymentAttemptFeatureMetadata", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_558474295285333548
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs pub struct PaymentAttemptRevenueRecoveryData { pub attempt_triggered_by: common_enums::TriggeredBy, // stripe specific field used to identify duplicate attempts. pub charge_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": "PaymentAttemptRevenueRecoveryData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-81054266380644669
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_intent.rs pub struct CustomerData { pub name: Option<Secret<String>>, pub email: Option<Email>, pub phone: Option<Secret<String>>, pub phone_country_code: Option<String>, pub tax_registration_id: Option<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": "CustomerData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1551242451718714719
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_intent.rs pub struct PaymentIntentUpdateFields { pub amount: Option<MinorUnit>, pub currency: Option<common_enums::Currency>, pub shipping_cost: Option<MinorUnit>, pub tax_details: Option<diesel_models::TaxDetails>, pub skip_external_tax_calculation: Option<common_enums::TaxCalculationOverride>, pub skip_surcharge_calculation: Option<common_enums::SurchargeCalculationOverride>, pub surcharge_amount: Option<MinorUnit>, pub tax_on_surcharge: Option<MinorUnit>, pub routing_algorithm_id: Option<id_type::RoutingId>, pub capture_method: Option<common_enums::CaptureMethod>, pub authentication_type: Option<common_enums::AuthenticationType>, pub billing_address: Option<Encryptable<Address>>, pub shipping_address: Option<Encryptable<Address>>, pub customer_present: Option<common_enums::PresenceOfCustomerDuringPayment>, pub description: Option<common_utils::types::Description>, pub return_url: Option<common_utils::types::Url>, pub setup_future_usage: Option<common_enums::FutureUsage>, pub apply_mit_exemption: Option<common_enums::MitExemptionRequest>, pub statement_descriptor: Option<common_utils::types::StatementDescriptor>, pub order_details: Option<Vec<Secret<diesel_models::types::OrderDetailsWithAmount>>>, pub allowed_payment_method_types: Option<Vec<common_enums::PaymentMethodType>>, pub metadata: Option<pii::SecretSerdeValue>, pub connector_metadata: Option<pii::SecretSerdeValue>, pub feature_metadata: Option<diesel_models::types::FeatureMetadata>, pub payment_link_config: Option<diesel_models::PaymentLinkConfigRequestForPayments>, pub request_incremental_authorization: Option<common_enums::RequestIncrementalAuthorization>, pub session_expiry: Option<PrimitiveDateTime>, pub frm_metadata: Option<pii::SecretSerdeValue>, pub request_external_three_ds_authentication: Option<common_enums::External3dsAuthenticationRequest>, pub active_attempt_id: Option<Option<id_type::GlobalAttemptId>>, // updated_by is set internally, field not present in request pub updated_by: String, pub force_3ds_challenge: Option<bool>, pub is_iframe_redirection_enabled: Option<bool>, 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": "PaymentIntentUpdateFields", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-1551242451718714719
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_intent.rs pub struct PaymentIntentUpdateFields { pub amount: MinorUnit, pub currency: common_enums::Currency, pub setup_future_usage: Option<common_enums::FutureUsage>, pub status: common_enums::IntentStatus, pub customer_id: Option<id_type::CustomerId>, pub shipping_address_id: Option<String>, pub billing_address_id: Option<String>, pub return_url: Option<String>, pub business_country: Option<common_enums::CountryAlpha2>, pub business_label: Option<String>, pub description: Option<String>, pub statement_descriptor_name: Option<String>, pub statement_descriptor_suffix: Option<String>, pub order_details: Option<Vec<pii::SecretSerdeValue>>, pub metadata: Option<serde_json::Value>, pub frm_metadata: Option<pii::SecretSerdeValue>, pub payment_confirm_source: Option<common_enums::PaymentSource>, pub updated_by: String, pub fingerprint_id: Option<String>, pub session_expiry: Option<PrimitiveDateTime>, pub request_external_three_ds_authentication: Option<bool>, pub customer_details: Option<Encryptable<Secret<serde_json::Value>>>, pub billing_details: Option<Encryptable<Secret<serde_json::Value>>>, pub merchant_order_reference_id: Option<String>, pub shipping_details: Option<Encryptable<Secret<serde_json::Value>>>, pub is_payment_processor_token_flow: Option<bool>, pub tax_details: Option<diesel_models::TaxDetails>, pub force_3ds_challenge: Option<bool>, pub is_iframe_redirection_enabled: Option<bool>, pub tax_status: Option<common_enums::TaxStatus>, pub discount_amount: Option<MinorUnit>, pub order_date: Option<PrimitiveDateTime>, pub shipping_amount_tax: Option<MinorUnit>, pub duty_amount: Option<MinorUnit>, pub is_confirm_operation: bool, pub payment_channel: Option<common_enums::PaymentChannel>, pub feature_metadata: Option<Secret<serde_json::Value>>, pub enable_partial_authorization: Option<primitive_wrappers::EnablePartialAuthorizationBool>, pub enable_overcapture: Option<primitive_wrappers::EnableOvercaptureBool>, }
{ "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": "PaymentIntentUpdateFields", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-4897612972442836980
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_intent.rs pub struct PaymentIntentUpdateInternal { pub amount: Option<MinorUnit>, pub currency: Option<common_enums::Currency>, pub status: Option<common_enums::IntentStatus>, pub amount_captured: Option<MinorUnit>, pub customer_id: Option<id_type::CustomerId>, pub return_url: Option<String>, pub setup_future_usage: Option<common_enums::FutureUsage>, pub off_session: Option<bool>, pub metadata: Option<serde_json::Value>, pub billing_address_id: Option<String>, pub shipping_address_id: Option<String>, pub modified_at: Option<PrimitiveDateTime>, pub active_attempt_id: Option<String>, pub business_country: Option<common_enums::CountryAlpha2>, pub business_label: Option<String>, pub description: Option<String>, pub statement_descriptor_name: Option<String>, pub statement_descriptor_suffix: Option<String>, pub order_details: Option<Vec<pii::SecretSerdeValue>>, pub attempt_count: Option<i16>, // 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<common_enums::PaymentSource>, pub updated_by: String, pub surcharge_applicable: Option<bool>, pub incremental_authorization_allowed: Option<bool>, pub authorization_count: Option<i32>, pub fingerprint_id: Option<String>, pub session_expiry: Option<PrimitiveDateTime>, pub request_external_three_ds_authentication: Option<bool>, pub frm_metadata: Option<pii::SecretSerdeValue>, pub customer_details: Option<Encryptable<Secret<serde_json::Value>>>, pub billing_details: Option<Encryptable<Secret<serde_json::Value>>>, pub merchant_order_reference_id: Option<String>, pub shipping_details: Option<Encryptable<Secret<serde_json::Value>>>, pub is_payment_processor_token_flow: Option<bool>, pub tax_details: Option<diesel_models::TaxDetails>, pub force_3ds_challenge: Option<bool>, pub is_iframe_redirection_enabled: Option<bool>, pub payment_channel: Option<common_enums::PaymentChannel>, pub feature_metadata: Option<Secret<serde_json::Value>>, pub tax_status: Option<common_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<primitive_wrappers::EnableOvercaptureBool>, }
{ "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": "PaymentIntentUpdateInternal", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_4948272974101655864
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs pub struct SubscriptionItem { pub item_price_id: String, pub quantity: Option<u32>, }
{ "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": "SubscriptionItem", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7480067791804279030
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs pub struct SubscriptionCreateRequest { pub customer_id: id_type::CustomerId, pub subscription_id: id_type::SubscriptionId, pub subscription_items: Vec<SubscriptionItem>, pub billing_address: Address, pub auto_collection: SubscriptionAutoCollection, pub connector_params: connector_endpoints::ConnectorParams, }
{ "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": "SubscriptionCreateRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-7588780165789509474
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs pub struct GetSubscriptionPlansRequest { pub limit: Option<u32>, pub offset: Option<u32>, }
{ "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": "GetSubscriptionPlansRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_709750568802539715
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs pub struct GetSubscriptionPlanPricesRequest { pub plan_price_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": "GetSubscriptionPlanPricesRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2558022267144434590
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs pub struct GetSubscriptionEstimateRequest { pub price_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": "GetSubscriptionEstimateRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-255463866076362082
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs pub struct FraudCheckSaleData { pub amount: i64, pub order_details: Option<Vec<OrderDetailsWithAmount>>, pub currency: Option<common_enums::Currency>, pub email: Option<Email>, }
{ "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": "FraudCheckSaleData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-179971543626334598
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs pub struct FraudCheckCheckoutData { pub amount: i64, pub order_details: Option<Vec<OrderDetailsWithAmount>>, pub currency: Option<common_enums::Currency>, pub browser_info: Option<router_request_types::BrowserInformation>, pub payment_method_data: Option<api_models::payments::AdditionalPaymentData>, pub email: Option<Email>, pub gateway: 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": "FraudCheckCheckoutData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-4718132143925731820
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs pub struct FraudCheckTransactionData { pub amount: i64, pub order_details: Option<Vec<OrderDetailsWithAmount>>, pub currency: Option<common_enums::Currency>, pub payment_method: Option<common_enums::PaymentMethod>, pub error_code: Option<String>, pub error_message: Option<String>, pub connector_transaction_id: Option<String>, //The name of the payment gateway or financial institution that processed the transaction. pub connector: 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": "FraudCheckTransactionData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_7089440828350110973
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs pub struct FraudCheckRecordReturnData { pub amount: i64, pub currency: Option<common_enums::Currency>, pub refund_method: RefundMethod, pub refund_transaction_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": "FraudCheckRecordReturnData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-6276734033885156648
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs pub struct FraudCheckFulfillmentData { pub amount: i64, pub order_details: Option<Vec<Secret<serde_json::Value>>>, pub fulfillment_req: FrmFulfillmentRequest, }
{ "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": "FraudCheckFulfillmentData", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-2772546548862612797
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs pub struct FrmFulfillmentRequest { ///unique payment_id for the transaction #[schema(max_length = 255, example = "pay_qiYfHcDou1ycIaxVXKHF")] pub payment_id: common_utils::id_type::PaymentId, ///unique order_id for the order_details in the transaction #[schema(max_length = 255, example = "pay_qiYfHcDou1ycIaxVXKHF")] pub order_id: String, ///denotes the status of the fulfillment... can be one of PARTIAL, COMPLETE, REPLACEMENT, CANCELED #[schema(value_type = Option<FulfillmentStatus>, example = "COMPLETE")] pub fulfillment_status: Option<FulfillmentStatus>, ///contains details of the fulfillment #[schema(value_type = Vec<Fulfillments>)] pub fulfillments: Vec<Fulfillments>, //name of the tracking Company #[schema(max_length = 255, example = "fedex")] pub tracking_company: Option<String>, //tracking ID of the product #[schema(example = r#"["track_8327446667", "track_8327446668"]"#)] pub tracking_numbers: Option<Vec<String>>, //tracking_url for tracking the product pub tracking_urls: Option<Vec<String>>, // The name of the Shipper. pub carrier: Option<String>, // Fulfillment method for the shipment. pub fulfillment_method: Option<String>, // Statuses to indicate shipment state. pub shipment_status: Option<String>, // The date and time items are ready to be shipped. pub shipped_at: 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": "FrmFulfillmentRequest", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_4043101736328674508
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs pub struct Fulfillments { ///shipment_id of the shipped items #[schema(max_length = 255, example = "ship_101")] pub shipment_id: String, ///products sent in the shipment #[schema(value_type = Option<Vec<Product>>)] pub products: Option<Vec<Product>>, ///destination address of the shipment #[schema(value_type = Destination)] pub destination: Destination, }
{ "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": "Fulfillments", "total_crates": null, "trait_name": null }
hyperswitch_struct_hyperswitch_domain_models_-3317381343645520691
clm
struct
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs pub struct Product { pub item_name: String, pub item_quantity: i64, pub item_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": "Product", "total_crates": null, "trait_name": null }