id
stringlengths 20
153
| type
stringclasses 1
value | granularity
stringclasses 14
values | content
stringlengths 16
84.3k
| metadata
dict |
|---|---|---|---|---|
hyperswitch_struct_hyperswitch_domain_models_6228147878226367622
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/connector_endpoints.rs
pub struct Connectors {
pub aci: ConnectorParams,
pub authipay: ConnectorParams,
pub adyen: AdyenParamsWithThreeBaseUrls,
pub adyenplatform: ConnectorParams,
pub affirm: ConnectorParams,
pub airwallex: ConnectorParams,
pub amazonpay: ConnectorParams,
pub applepay: ConnectorParams,
pub archipel: ConnectorParams,
pub authorizedotnet: ConnectorParams,
pub bambora: ConnectorParams,
pub bamboraapac: ConnectorParams,
pub bankofamerica: ConnectorParams,
pub barclaycard: ConnectorParams,
pub billwerk: ConnectorParams,
pub bitpay: ConnectorParams,
pub blackhawknetwork: ConnectorParams,
pub calida: ConnectorParams,
pub bluesnap: ConnectorParamsWithSecondaryBaseUrl,
pub boku: ConnectorParams,
pub braintree: ConnectorParams,
pub breadpay: ConnectorParams,
pub cashtocode: ConnectorParams,
pub celero: ConnectorParams,
pub chargebee: ConnectorParams,
pub checkbook: ConnectorParams,
pub checkout: ConnectorParams,
pub coinbase: ConnectorParams,
pub coingate: ConnectorParams,
pub cryptopay: ConnectorParams,
pub ctp_mastercard: NoParams,
pub ctp_visa: NoParams,
pub custombilling: NoParams,
pub cybersource: ConnectorParams,
pub datatrans: ConnectorParamsWithSecondaryBaseUrl,
pub deutschebank: ConnectorParams,
pub digitalvirgo: ConnectorParams,
pub dlocal: ConnectorParams,
#[cfg(feature = "dummy_connector")]
pub dummyconnector: ConnectorParams,
pub dwolla: ConnectorParams,
pub ebanx: ConnectorParams,
pub elavon: ConnectorParams,
pub facilitapay: ConnectorParams,
pub finix: ConnectorParams,
pub fiserv: ConnectorParams,
pub fiservemea: ConnectorParams,
pub fiuu: ConnectorParamsWithThreeUrls,
pub flexiti: ConnectorParams,
pub forte: ConnectorParams,
pub getnet: ConnectorParams,
pub gigadat: ConnectorParams,
pub globalpay: ConnectorParams,
pub globepay: ConnectorParams,
pub gocardless: ConnectorParams,
pub gpayments: ConnectorParams,
pub helcim: ConnectorParams,
pub hipay: ConnectorParamsWithThreeUrls,
pub hyperswitch_vault: ConnectorParams,
pub hyperwallet: ConnectorParams,
pub iatapay: ConnectorParams,
pub inespay: ConnectorParams,
pub itaubank: ConnectorParams,
pub jpmorgan: ConnectorParams,
pub juspaythreedsserver: ConnectorParams,
pub cardinal: NoParams,
pub katapult: ConnectorParams,
pub klarna: ConnectorParams,
pub loonio: ConnectorParams,
pub mifinity: ConnectorParams,
pub mollie: ConnectorParams,
pub moneris: ConnectorParams,
pub mpgs: ConnectorParams,
pub multisafepay: ConnectorParams,
pub netcetera: ConnectorParams,
pub nexinets: ConnectorParams,
pub nexixpay: ConnectorParams,
pub nmi: ConnectorParams,
pub nomupay: ConnectorParams,
pub noon: ConnectorParamsWithModeType,
pub nordea: ConnectorParams,
pub novalnet: ConnectorParams,
pub nuvei: ConnectorParams,
pub opayo: ConnectorParams,
pub opennode: ConnectorParams,
pub paybox: ConnectorParamsWithSecondaryBaseUrl,
pub payeezy: ConnectorParams,
pub payload: ConnectorParams,
pub payme: ConnectorParams,
pub payone: ConnectorParams,
pub paypal: ConnectorParams,
pub paysafe: ConnectorParams,
pub paystack: ConnectorParams,
pub paytm: ConnectorParams,
pub payu: ConnectorParams,
pub peachpayments: ConnectorParams,
pub phonepe: ConnectorParams,
pub placetopay: ConnectorParams,
pub plaid: ConnectorParams,
pub powertranz: ConnectorParams,
pub prophetpay: ConnectorParams,
pub rapyd: ConnectorParams,
pub razorpay: ConnectorParamsWithKeys,
pub recurly: ConnectorParams,
pub redsys: ConnectorParams,
pub riskified: ConnectorParams,
pub santander: ConnectorParams,
pub shift4: ConnectorParams,
pub sift: ConnectorParams,
pub silverflow: ConnectorParams,
pub signifyd: ConnectorParams,
pub square: ConnectorParams,
pub stax: ConnectorParams,
pub stripe: ConnectorParamsWithFileUploadUrl,
pub stripebilling: ConnectorParams,
pub taxjar: ConnectorParams,
pub tesouro: ConnectorParams,
pub threedsecureio: ConnectorParams,
pub thunes: ConnectorParams,
pub tokenex: ConnectorParams,
pub tokenio: ConnectorParams,
pub trustpay: ConnectorParamsWithMoreUrls,
pub trustpayments: ConnectorParams,
pub tsys: ConnectorParams,
pub unified_authentication_service: ConnectorParams,
pub vgs: ConnectorParams,
pub volt: ConnectorParams,
pub wellsfargo: ConnectorParams,
pub wellsfargopayout: ConnectorParams,
pub wise: ConnectorParams,
pub worldline: ConnectorParams,
pub worldpay: ConnectorParams,
pub worldpayvantiv: ConnectorParamsWithThreeUrls,
pub worldpayxml: ConnectorParams,
pub xendit: ConnectorParams,
pub zen: ConnectorParams,
pub zsl: 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": "Connectors",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-8598922644065856341
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/connector_endpoints.rs
pub struct ConnectorParams {
/// base url
pub base_url: String,
/// secondary base url
pub secondary_base_url: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ConnectorParams",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-9198170725143440868
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/connector_endpoints.rs
pub struct NoParams;
|
{
"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": "NoParams",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_5659343573278096753
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/connector_endpoints.rs
pub struct ConnectorParamsWithKeys {
/// base url
pub base_url: String,
/// api key
pub api_key: Secret<String>,
/// merchant ID
pub merchant_id: 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": "ConnectorParamsWithKeys",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-3437996535968762742
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/connector_endpoints.rs
pub struct ConnectorParamsWithModeType {
/// base url
pub base_url: String,
/// secondary base url
pub secondary_base_url: Option<String>,
/// Can take values like Test or Live for Noon
pub key_mode: 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": "ConnectorParamsWithModeType",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-1959654600944007978
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/connector_endpoints.rs
pub struct ConnectorParamsWithMoreUrls {
/// base url
pub base_url: String,
/// base url for bank redirects
pub base_url_bank_redirects: 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": "ConnectorParamsWithMoreUrls",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-1718824009800527126
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/connector_endpoints.rs
pub struct ConnectorParamsWithFileUploadUrl {
/// base url
pub base_url: String,
/// base url for file upload
pub base_url_file_upload: 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": "ConnectorParamsWithFileUploadUrl",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-6579626489721746431
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/connector_endpoints.rs
pub struct AdyenParamsWithThreeBaseUrls {
/// base url
pub base_url: String,
/// secondary base url
#[cfg(feature = "payouts")]
pub payout_base_url: String,
/// third base url
pub dispute_base_url: 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": "AdyenParamsWithThreeBaseUrls",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_1784444654931561502
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/connector_endpoints.rs
pub struct ConnectorParamsWithSecondaryBaseUrl {
/// base url
pub base_url: String,
/// secondary base url
pub secondary_base_url: 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": "ConnectorParamsWithSecondaryBaseUrl",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_1566084862379034487
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/connector_endpoints.rs
pub struct ConnectorParamsWithThreeUrls {
/// base url
pub base_url: String,
/// secondary base url
pub secondary_base_url: String,
/// third base url
pub third_base_url: 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": "ConnectorParamsWithThreeUrls",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-6023843586621278242
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/subscription.rs
pub struct ClientSecret(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": "ClientSecret",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_4169397843493596988
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/subscription.rs
pub struct Subscription {
pub id: common_utils::id_type::SubscriptionId,
pub status: String,
pub billing_processor: Option<String>,
pub payment_method_id: Option<String>,
pub merchant_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>,
pub client_secret: Option<String>,
pub connector_subscription_id: Option<String>,
pub merchant_id: common_utils::id_type::MerchantId,
pub customer_id: common_utils::id_type::CustomerId,
pub metadata: Option<SecretSerdeValue>,
pub created_at: PrimitiveDateTime,
pub modified_at: PrimitiveDateTime,
pub profile_id: common_utils::id_type::ProfileId,
pub merchant_reference_id: Option<String>,
pub plan_id: Option<String>,
pub item_price_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": "Subscription",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_5230333063434461868
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/address.rs
pub struct Address {
pub address: Option<AddressDetails>,
pub phone: Option<PhoneDetails>,
pub email: Option<common_utils::pii::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": "Address",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_6036092050537433131
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/address.rs
pub struct AddressDetails {
pub city: Option<String>,
pub country: Option<common_enums::CountryAlpha2>,
pub line1: Option<Secret<String>>,
pub line2: Option<Secret<String>>,
pub line3: Option<Secret<String>>,
pub zip: Option<Secret<String>>,
pub state: Option<Secret<String>>,
pub first_name: Option<Secret<String>>,
pub last_name: Option<Secret<String>>,
pub origin_zip: 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": "AddressDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_7989570868416047356
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/address.rs
pub struct PhoneDetails {
pub number: Option<Secret<String>>,
pub country_code: 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": "PhoneDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_8629375156376823887
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/bulk_tokenization.rs
pub struct CardNetworkTokenizeRequest {
pub data: TokenizeDataRequest,
pub customer: CustomerDetails,
pub billing: Option<Address>,
pub metadata: Option<pii::SecretSerdeValue>,
pub payment_method_issuer: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CardNetworkTokenizeRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_5318930640728483715
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/bulk_tokenization.rs
pub struct TokenizeCardRequest {
pub raw_card_number: CardNumber,
pub card_expiry_month: masking::Secret<String>,
pub card_expiry_year: masking::Secret<String>,
pub card_cvc: Option<masking::Secret<String>>,
pub card_holder_name: Option<masking::Secret<String>>,
pub nick_name: Option<masking::Secret<String>>,
pub card_issuing_country: Option<String>,
pub card_network: Option<enums::CardNetwork>,
pub card_issuer: Option<String>,
pub card_type: Option<payment_methods_api::CardType>,
}
|
{
"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": "TokenizeCardRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_8927482229518797433
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/bulk_tokenization.rs
pub struct TokenizePaymentMethodRequest {
pub payment_method_id: String,
pub card_cvc: Option<masking::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": "TokenizePaymentMethodRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_4915896565861322090
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/bulk_tokenization.rs
pub struct CardNetworkTokenizeRecord {
// Card details
pub raw_card_number: Option<CardNumber>,
pub card_expiry_month: Option<masking::Secret<String>>,
pub card_expiry_year: Option<masking::Secret<String>>,
pub card_cvc: Option<masking::Secret<String>>,
pub card_holder_name: Option<masking::Secret<String>>,
pub nick_name: Option<masking::Secret<String>>,
pub card_issuing_country: Option<String>,
pub card_network: Option<enums::CardNetwork>,
pub card_issuer: Option<String>,
pub card_type: Option<payment_methods_api::CardType>,
// Payment method details
pub payment_method_id: Option<String>,
pub payment_method_type: Option<payment_methods_api::CardType>,
pub payment_method_issuer: Option<String>,
// Customer details
pub customer_id: id_type::CustomerId,
#[serde(rename = "name")]
pub customer_name: Option<masking::Secret<String>>,
#[serde(rename = "email")]
pub customer_email: Option<pii::Email>,
#[serde(rename = "phone")]
pub customer_phone: Option<masking::Secret<String>>,
#[serde(rename = "phone_country_code")]
pub customer_phone_country_code: Option<String>,
#[serde(rename = "tax_registration_id")]
pub customer_tax_registration_id: Option<masking::Secret<String>>,
// Billing details
pub billing_address_city: Option<String>,
pub billing_address_country: Option<enums::CountryAlpha2>,
pub billing_address_line1: Option<masking::Secret<String>>,
pub billing_address_line2: Option<masking::Secret<String>>,
pub billing_address_line3: Option<masking::Secret<String>>,
pub billing_address_zip: Option<masking::Secret<String>>,
pub billing_address_state: Option<masking::Secret<String>>,
pub billing_address_first_name: Option<masking::Secret<String>>,
pub billing_address_last_name: Option<masking::Secret<String>>,
pub billing_phone_number: Option<masking::Secret<String>>,
pub billing_phone_country_code: Option<String>,
pub billing_email: Option<pii::Email>,
// Other details
pub line_number: Option<u64>,
pub merchant_id: Option<id_type::MerchantId>,
}
|
{
"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": "CardNetworkTokenizeRecord",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-8146062455870102446
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/type_encryption.rs
pub struct EncryptedJsonType<T>(T);
|
{
"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": "EncryptedJsonType",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-8527664123217894838
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct RouterData<Flow, Request, Response> {
pub flow: PhantomData<Flow>,
pub merchant_id: id_type::MerchantId,
pub customer_id: Option<id_type::CustomerId>,
pub connector_customer: Option<String>,
pub connector: String,
// TODO: This should be a PaymentId type.
// Make this change after all the connector dependency has been removed from connectors
pub payment_id: String,
pub attempt_id: String,
pub tenant_id: id_type::TenantId,
pub status: common_enums::enums::AttemptStatus,
pub payment_method: common_enums::enums::PaymentMethod,
pub payment_method_type: Option<common_enums::enums::PaymentMethodType>,
pub connector_auth_type: ConnectorAuthType,
pub description: Option<String>,
pub address: PaymentAddress,
pub auth_type: common_enums::enums::AuthenticationType,
pub connector_meta_data: Option<common_utils::pii::SecretSerdeValue>,
pub connector_wallets_details: Option<common_utils::pii::SecretSerdeValue>,
pub amount_captured: Option<i64>,
pub access_token: Option<AccessToken>,
pub session_token: Option<String>,
pub reference_id: Option<String>,
pub payment_method_token: Option<PaymentMethodToken>,
pub recurring_mandate_payment_data: Option<RecurringMandatePaymentData>,
pub preprocessing_id: Option<String>,
/// This is the balance amount for gift cards or voucher
pub payment_method_balance: Option<PaymentMethodBalance>,
///for switching between two different versions of the same connector
pub connector_api_version: Option<String>,
/// Contains flow-specific data required to construct a request and send it to the connector.
pub request: Request,
/// Contains flow-specific data that the connector responds with.
pub response: Result<Response, ErrorResponse>,
/// Contains a reference ID that should be sent in the connector request
pub connector_request_reference_id: String,
#[cfg(feature = "payouts")]
/// Contains payout method data
pub payout_method_data: Option<api_models::payouts::PayoutMethodData>,
#[cfg(feature = "payouts")]
/// Contains payout's quote ID
pub quote_id: Option<String>,
pub test_mode: Option<bool>,
pub connector_http_status_code: Option<u16>,
pub external_latency: Option<u128>,
/// Contains apple pay flow type simplified or manual
pub apple_pay_flow: Option<payment_method_data::ApplePayFlow>,
pub frm_metadata: Option<common_utils::pii::SecretSerdeValue>,
pub dispute_id: Option<String>,
pub refund_id: Option<String>,
/// This field is used to store various data regarding the response from connector
pub connector_response: Option<ConnectorResponseData>,
pub payment_method_status: Option<common_enums::PaymentMethodStatus>,
// minor amount for amount framework
pub minor_amount_captured: Option<MinorUnit>,
pub minor_amount_capturable: Option<MinorUnit>,
// stores the authorized amount in case of partial authorization
pub authorized_amount: Option<MinorUnit>,
pub integrity_check: Result<(), IntegrityCheckError>,
pub additional_merchant_data: Option<api_models::admin::AdditionalMerchantData>,
pub header_payload: Option<payments::HeaderPayload>,
pub connector_mandate_request_reference_id: Option<String>,
pub l2_l3_data: Option<Box<L2L3Data>>,
pub authentication_id: Option<id_type::AuthenticationId>,
/// Contains the type of sca exemption required for the transaction
pub psd2_sca_exemption_type: Option<common_enums::ScaExemptionType>,
/// Contains stringified connector raw response body
pub raw_connector_response: Option<Secret<String>>,
/// Indicates whether the payment ID was provided by the merchant (true),
/// or generated internally by Hyperswitch (false)
pub is_payment_id_from_merchant: Option<bool>,
}
|
{
"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": "RouterData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_884450914045648083
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct L2L3Data {
pub order_date: Option<time::PrimitiveDateTime>,
pub tax_status: Option<common_enums::TaxStatus>,
pub customer_tax_registration_id: Option<Secret<String>>,
pub order_details: Option<Vec<api_models::payments::OrderDetailsWithAmount>>,
pub discount_amount: Option<MinorUnit>,
pub shipping_cost: Option<MinorUnit>,
pub shipping_amount_tax: Option<MinorUnit>,
pub duty_amount: Option<MinorUnit>,
pub order_tax_amount: Option<MinorUnit>,
pub merchant_order_reference_id: Option<String>,
pub customer_id: Option<id_type::CustomerId>,
pub billing_address_city: Option<String>,
pub merchant_tax_registration_id: Option<Secret<String>>,
pub customer_email: Option<common_utils::pii::Email>,
pub customer_name: Option<Secret<String>>,
pub customer_phone_number: Option<Secret<String>>,
pub customer_phone_country_code: Option<String>,
pub shipping_details: Option<AddressDetails>,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "L2L3Data",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-1921745642545664391
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct AccessTokenAuthenticationResponse {
pub code: Secret<String>,
pub expires: i64,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AccessTokenAuthenticationResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_2993013272865525012
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct AccessToken {
pub token: Secret<String>,
pub expires: i64,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AccessToken",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_4230633298436336795
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct ApplePayPredecryptDataInternal {
pub application_primary_account_number: cards::CardNumber,
pub application_expiration_date: String,
pub currency_code: String,
pub transaction_amount: i64,
pub device_manufacturer_identifier: Secret<String>,
pub payment_data_type: Secret<String>,
pub payment_data: ApplePayCryptogramDataInternal,
}
|
{
"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": "ApplePayPredecryptDataInternal",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-8573799468881234261
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct ApplePayCryptogramDataInternal {
pub online_payment_cryptogram: Secret<String>,
pub eci_indicator: 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": "ApplePayCryptogramDataInternal",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_5327219233122758112
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct GooglePayPredecryptDataInternal {
pub message_expiration: String,
pub message_id: String,
#[serde(rename = "paymentMethod")]
pub payment_method_type: String,
pub payment_method_details: GooglePayPaymentMethodDetails,
}
|
{
"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": "GooglePayPredecryptDataInternal",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-8018644243833255292
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct GooglePayPaymentMethodDetails {
pub auth_method: common_enums::enums::GooglePayAuthMethod,
pub expiration_month: cards::CardExpirationMonth,
pub expiration_year: cards::CardExpirationYear,
pub pan: cards::CardNumber,
pub cryptogram: Option<Secret<String>>,
pub eci_indicator: Option<String>,
pub card_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": "GooglePayPaymentMethodDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_3377308086300166211
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct PazeDecryptedData {
pub client_id: Secret<String>,
pub profile_id: String,
pub token: PazeToken,
pub payment_card_network: common_enums::enums::CardNetwork,
pub dynamic_data: Vec<PazeDynamicData>,
pub billing_address: PazeAddress,
pub consumer: PazeConsumer,
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": "PazeDecryptedData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_8813149175539012354
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct PazeToken {
pub payment_token: NetworkTokenNumber,
pub token_expiration_month: Secret<String>,
pub token_expiration_year: Secret<String>,
pub payment_account_reference: 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": "PazeToken",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_4691483191269483912
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct PazeDynamicData {
pub dynamic_data_value: Option<Secret<String>>,
pub dynamic_data_type: Option<String>,
pub dynamic_data_expiration: 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": "PazeDynamicData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-860393600111449578
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct PazeAddress {
pub name: Option<Secret<String>>,
pub line1: Option<Secret<String>>,
pub line2: Option<Secret<String>>,
pub line3: Option<Secret<String>>,
pub city: Option<Secret<String>>,
pub state: Option<Secret<String>>,
pub zip: Option<Secret<String>>,
pub country_code: Option<common_enums::enums::CountryAlpha2>,
}
|
{
"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": "PazeAddress",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_4462636478620671267
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct PazeConsumer {
// This is consumer data not customer data.
pub first_name: Option<Secret<String>>,
pub last_name: Option<Secret<String>>,
pub full_name: Secret<String>,
pub email_address: common_utils::pii::Email,
pub mobile_number: Option<PazePhoneNumber>,
pub country_code: Option<common_enums::enums::CountryAlpha2>,
pub language_code: 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": "PazeConsumer",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-8136222428269867300
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct PazePhoneNumber {
pub country_code: Secret<String>,
pub phone_number: 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": "PazePhoneNumber",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-9109056990570865171
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct RecurringMandatePaymentData {
pub payment_method_type: Option<common_enums::enums::PaymentMethodType>, //required for making recurring payment using saved payment method through stripe
pub original_payment_authorized_amount: Option<i64>,
pub original_payment_authorized_currency: Option<common_enums::enums::Currency>,
pub mandate_metadata: Option<common_utils::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": "RecurringMandatePaymentData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-4674702734175274358
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct PaymentMethodBalance {
pub amount: MinorUnit,
pub currency: common_enums::enums::Currency,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentMethodBalance",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-29530295170617857
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct ConnectorResponseData {
pub additional_payment_method_data: Option<AdditionalPaymentMethodConnectorResponse>,
extended_authorization_response_data: Option<ExtendedAuthorizationResponseData>,
is_overcapture_enabled: Option<primitive_wrappers::OvercaptureEnabledBool>,
}
|
{
"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": "ConnectorResponseData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_5121567354640665851
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct ExtendedAuthorizationResponseData {
pub extended_authentication_applied:
Option<primitive_wrappers::ExtendedAuthorizationAppliedBool>,
pub capture_before: Option<time::PrimitiveDateTime>,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ExtendedAuthorizationResponseData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_157662871723422721
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct KlarnaSdkResponse {
pub payment_type: 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": "KlarnaSdkResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-4334158833734480404
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_data.rs
pub struct ErrorResponse {
pub code: String,
pub message: String,
pub reason: Option<String>,
pub status_code: u16,
pub attempt_status: Option<common_enums::enums::AttemptStatus>,
pub connector_transaction_id: Option<String>,
pub network_decline_code: Option<String>,
pub network_advice_code: Option<String>,
pub network_error_message: Option<String>,
pub connector_metadata: Option<Secret<serde_json::Value>>,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ErrorResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_6727869018384184606
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/business_profile.rs
pub struct Profile {
profile_id: common_utils::id_type::ProfileId,
pub merchant_id: common_utils::id_type::MerchantId,
pub profile_name: String,
pub created_at: time::PrimitiveDateTime,
pub modified_at: time::PrimitiveDateTime,
pub return_url: Option<String>,
pub enable_payment_response_hash: bool,
pub payment_response_hash_key: Option<String>,
pub redirect_to_merchant_with_http_post: bool,
pub webhook_details: Option<WebhookDetails>,
pub metadata: Option<pii::SecretSerdeValue>,
pub routing_algorithm: Option<serde_json::Value>,
pub intent_fulfillment_time: Option<i64>,
pub frm_routing_algorithm: Option<serde_json::Value>,
pub payout_routing_algorithm: Option<serde_json::Value>,
pub is_recon_enabled: bool,
pub applepay_verified_domains: Option<Vec<String>>,
pub payment_link_config: Option<BusinessPaymentLinkConfig>,
pub session_expiry: Option<i64>,
pub authentication_connector_details: Option<AuthenticationConnectorDetails>,
pub payout_link_config: Option<BusinessPayoutLinkConfig>,
pub is_extended_card_info_enabled: Option<bool>,
pub extended_card_info_config: Option<pii::SecretSerdeValue>,
pub is_connector_agnostic_mit_enabled: Option<bool>,
pub use_billing_as_payment_method_billing: Option<bool>,
pub collect_shipping_details_from_wallet_connector: Option<bool>,
pub collect_billing_details_from_wallet_connector: Option<bool>,
pub outgoing_webhook_custom_http_headers: OptionalEncryptableValue,
pub always_collect_billing_details_from_wallet_connector: Option<bool>,
pub always_collect_shipping_details_from_wallet_connector: Option<bool>,
pub tax_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>,
pub is_tax_connector_enabled: bool,
pub is_l2_l3_enabled: bool,
pub version: common_enums::ApiVersion,
pub dynamic_routing_algorithm: Option<serde_json::Value>,
pub is_network_tokenization_enabled: bool,
pub is_auto_retries_enabled: bool,
pub max_auto_retries_enabled: Option<i16>,
pub always_request_extended_authorization:
Option<primitive_wrappers::AlwaysRequestExtendedAuthorization>,
pub is_click_to_pay_enabled: bool,
pub authentication_product_ids:
Option<common_types::payments::AuthenticationConnectorAccountMap>,
pub card_testing_guard_config: Option<CardTestingGuardConfig>,
pub card_testing_secret_key: OptionalEncryptableName,
pub is_clear_pan_retries_enabled: bool,
pub force_3ds_challenge: bool,
pub is_debit_routing_enabled: bool,
pub merchant_business_country: Option<common_enums::CountryAlpha2>,
pub is_iframe_redirection_enabled: Option<bool>,
pub is_pre_network_tokenization_enabled: bool,
pub three_ds_decision_rule_algorithm: Option<serde_json::Value>,
pub acquirer_config_map: Option<common_types::domain::AcquirerConfigMap>,
pub merchant_category_code: Option<api_enums::MerchantCategoryCode>,
pub merchant_country_code: Option<common_types::payments::MerchantCountryCode>,
pub dispute_polling_interval: Option<primitive_wrappers::DisputePollingIntervalInHours>,
pub is_manual_retry_enabled: Option<bool>,
pub always_enable_overcapture: Option<primitive_wrappers::AlwaysEnableOvercaptureBool>,
pub external_vault_details: ExternalVaultDetails,
pub billing_processor_id: Option<common_utils::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": "Profile",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-4958313656351920334
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/business_profile.rs
pub struct ProfileGeneralUpdate {
pub profile_name: Option<String>,
pub return_url: Option<String>,
pub enable_payment_response_hash: Option<bool>,
pub payment_response_hash_key: Option<String>,
pub redirect_to_merchant_with_http_post: Option<bool>,
pub webhook_details: Option<WebhookDetails>,
pub metadata: Option<pii::SecretSerdeValue>,
pub routing_algorithm: Option<serde_json::Value>,
pub intent_fulfillment_time: Option<i64>,
pub frm_routing_algorithm: Option<serde_json::Value>,
pub payout_routing_algorithm: Option<serde_json::Value>,
pub applepay_verified_domains: Option<Vec<String>>,
pub payment_link_config: Option<BusinessPaymentLinkConfig>,
pub session_expiry: Option<i64>,
pub authentication_connector_details: Option<AuthenticationConnectorDetails>,
pub payout_link_config: Option<BusinessPayoutLinkConfig>,
pub extended_card_info_config: Option<pii::SecretSerdeValue>,
pub use_billing_as_payment_method_billing: Option<bool>,
pub collect_shipping_details_from_wallet_connector: Option<bool>,
pub collect_billing_details_from_wallet_connector: Option<bool>,
pub is_connector_agnostic_mit_enabled: Option<bool>,
pub outgoing_webhook_custom_http_headers: OptionalEncryptableValue,
pub always_collect_billing_details_from_wallet_connector: Option<bool>,
pub always_collect_shipping_details_from_wallet_connector: Option<bool>,
pub always_request_extended_authorization:
Option<primitive_wrappers::AlwaysRequestExtendedAuthorization>,
pub tax_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>,
pub is_tax_connector_enabled: Option<bool>,
pub is_l2_l3_enabled: Option<bool>,
pub dynamic_routing_algorithm: Option<serde_json::Value>,
pub is_network_tokenization_enabled: Option<bool>,
pub is_auto_retries_enabled: Option<bool>,
pub max_auto_retries_enabled: Option<i16>,
pub is_click_to_pay_enabled: Option<bool>,
pub authentication_product_ids:
Option<common_types::payments::AuthenticationConnectorAccountMap>,
pub card_testing_guard_config: Option<CardTestingGuardConfig>,
pub card_testing_secret_key: OptionalEncryptableName,
pub is_clear_pan_retries_enabled: Option<bool>,
pub force_3ds_challenge: Option<bool>,
pub is_debit_routing_enabled: Option<bool>,
pub merchant_business_country: Option<api_enums::CountryAlpha2>,
pub is_iframe_redirection_enabled: Option<bool>,
pub is_pre_network_tokenization_enabled: Option<bool>,
pub merchant_category_code: Option<api_enums::MerchantCategoryCode>,
pub merchant_country_code: Option<common_types::payments::MerchantCountryCode>,
pub dispute_polling_interval: Option<primitive_wrappers::DisputePollingIntervalInHours>,
pub is_manual_retry_enabled: Option<bool>,
pub always_enable_overcapture: Option<primitive_wrappers::AlwaysEnableOvercaptureBool>,
pub is_external_vault_enabled: Option<common_enums::ExternalVaultEnabled>,
pub external_vault_connector_details: Option<ExternalVaultConnectorDetails>,
pub billing_processor_id: Option<common_utils::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": "ProfileGeneralUpdate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_6727869018384184606
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/business_profile.rs
pub struct Profile {
id: common_utils::id_type::ProfileId,
pub merchant_id: common_utils::id_type::MerchantId,
pub profile_name: String,
pub created_at: time::PrimitiveDateTime,
pub modified_at: time::PrimitiveDateTime,
pub return_url: Option<common_utils::types::Url>,
pub enable_payment_response_hash: bool,
pub payment_response_hash_key: Option<String>,
pub redirect_to_merchant_with_http_post: bool,
pub webhook_details: Option<WebhookDetails>,
pub metadata: Option<pii::SecretSerdeValue>,
pub is_recon_enabled: bool,
pub applepay_verified_domains: Option<Vec<String>>,
pub payment_link_config: Option<BusinessPaymentLinkConfig>,
pub session_expiry: Option<i64>,
pub authentication_connector_details: Option<AuthenticationConnectorDetails>,
pub payout_link_config: Option<BusinessPayoutLinkConfig>,
pub is_extended_card_info_enabled: Option<bool>,
pub extended_card_info_config: Option<pii::SecretSerdeValue>,
pub is_connector_agnostic_mit_enabled: Option<bool>,
pub use_billing_as_payment_method_billing: Option<bool>,
pub collect_shipping_details_from_wallet_connector: Option<bool>,
pub collect_billing_details_from_wallet_connector: Option<bool>,
pub outgoing_webhook_custom_http_headers: OptionalEncryptableValue,
pub always_collect_billing_details_from_wallet_connector: Option<bool>,
pub always_collect_shipping_details_from_wallet_connector: Option<bool>,
pub routing_algorithm_id: Option<common_utils::id_type::RoutingId>,
pub order_fulfillment_time: Option<i64>,
pub order_fulfillment_time_origin: Option<common_enums::OrderFulfillmentTimeOrigin>,
pub frm_routing_algorithm_id: Option<String>,
pub payout_routing_algorithm_id: Option<common_utils::id_type::RoutingId>,
pub default_fallback_routing: Option<pii::SecretSerdeValue>,
pub should_collect_cvv_during_payment:
Option<primitive_wrappers::ShouldCollectCvvDuringPayment>,
pub tax_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>,
pub is_tax_connector_enabled: bool,
pub version: common_enums::ApiVersion,
pub is_network_tokenization_enabled: bool,
pub is_click_to_pay_enabled: bool,
pub authentication_product_ids:
Option<common_types::payments::AuthenticationConnectorAccountMap>,
pub three_ds_decision_manager_config: Option<common_types::payments::DecisionManagerRecord>,
pub card_testing_guard_config: Option<CardTestingGuardConfig>,
pub card_testing_secret_key: OptionalEncryptableName,
pub is_clear_pan_retries_enabled: bool,
pub is_debit_routing_enabled: bool,
pub merchant_business_country: Option<api_enums::CountryAlpha2>,
pub revenue_recovery_retry_algorithm_type: Option<common_enums::RevenueRecoveryAlgorithmType>,
pub revenue_recovery_retry_algorithm_data: Option<RevenueRecoveryAlgorithmData>,
pub is_iframe_redirection_enabled: Option<bool>,
pub is_external_vault_enabled: Option<bool>,
pub external_vault_connector_details: Option<ExternalVaultConnectorDetails>,
pub merchant_category_code: Option<api_enums::MerchantCategoryCode>,
pub merchant_country_code: Option<common_types::payments::MerchantCountryCode>,
pub split_txns_enabled: common_enums::SplitTxnsEnabled,
pub billing_processor_id: Option<common_utils::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": "Profile",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-4958313656351920334
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/business_profile.rs
pub struct ProfileGeneralUpdate {
pub profile_name: Option<String>,
pub return_url: Option<common_utils::types::Url>,
pub enable_payment_response_hash: Option<bool>,
pub payment_response_hash_key: Option<String>,
pub redirect_to_merchant_with_http_post: Option<bool>,
pub webhook_details: Option<WebhookDetails>,
pub metadata: Option<pii::SecretSerdeValue>,
pub applepay_verified_domains: Option<Vec<String>>,
pub payment_link_config: Option<BusinessPaymentLinkConfig>,
pub session_expiry: Option<i64>,
pub authentication_connector_details: Option<AuthenticationConnectorDetails>,
pub payout_link_config: Option<BusinessPayoutLinkConfig>,
pub extended_card_info_config: Option<pii::SecretSerdeValue>,
pub use_billing_as_payment_method_billing: Option<bool>,
pub collect_shipping_details_from_wallet_connector: Option<bool>,
pub collect_billing_details_from_wallet_connector: Option<bool>,
pub is_connector_agnostic_mit_enabled: Option<bool>,
pub outgoing_webhook_custom_http_headers: OptionalEncryptableValue,
pub always_collect_billing_details_from_wallet_connector: Option<bool>,
pub always_collect_shipping_details_from_wallet_connector: Option<bool>,
pub order_fulfillment_time: Option<i64>,
pub order_fulfillment_time_origin: Option<common_enums::OrderFulfillmentTimeOrigin>,
pub is_network_tokenization_enabled: Option<bool>,
pub is_click_to_pay_enabled: Option<bool>,
pub authentication_product_ids:
Option<common_types::payments::AuthenticationConnectorAccountMap>,
pub three_ds_decision_manager_config: Option<common_types::payments::DecisionManagerRecord>,
pub card_testing_guard_config: Option<CardTestingGuardConfig>,
pub card_testing_secret_key: OptionalEncryptableName,
pub is_debit_routing_enabled: Option<bool>,
pub merchant_business_country: Option<api_enums::CountryAlpha2>,
pub is_iframe_redirection_enabled: Option<bool>,
pub is_external_vault_enabled: Option<bool>,
pub external_vault_connector_details: Option<ExternalVaultConnectorDetails>,
pub merchant_category_code: Option<api_enums::MerchantCategoryCode>,
pub merchant_country_code: Option<common_types::payments::MerchantCountryCode>,
pub revenue_recovery_retry_algorithm_type: Option<common_enums::RevenueRecoveryAlgorithmType>,
pub split_txns_enabled: Option<common_enums::SplitTxnsEnabled>,
pub billing_processor_id: Option<common_utils::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": "ProfileGeneralUpdate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-5925699648724492173
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/invoice.rs
pub struct Invoice {
pub id: common_utils::id_type::InvoiceId,
pub subscription_id: common_utils::id_type::SubscriptionId,
pub merchant_id: common_utils::id_type::MerchantId,
pub profile_id: common_utils::id_type::ProfileId,
pub merchant_connector_id: common_utils::id_type::MerchantConnectorAccountId,
pub payment_intent_id: Option<common_utils::id_type::PaymentId>,
pub payment_method_id: Option<String>,
pub customer_id: common_utils::id_type::CustomerId,
pub amount: MinorUnit,
pub currency: String,
pub status: common_enums::connector_enums::InvoiceStatus,
pub provider_name: common_enums::connector_enums::Connector,
pub metadata: Option<SecretSerdeValue>,
pub connector_invoice_id: Option<common_utils::id_type::InvoiceId>,
}
|
{
"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": "Invoice",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_4204571164121596823
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/invoice.rs
pub struct AmountAndCurrencyUpdate {
pub amount: MinorUnit,
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": "AmountAndCurrencyUpdate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_3086404747863693592
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/invoice.rs
pub struct ConnectorAndStatusUpdate {
pub connector_invoice_id: common_utils::id_type::InvoiceId,
pub status: common_enums::connector_enums::InvoiceStatus,
}
|
{
"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": "ConnectorAndStatusUpdate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-5922715387160237548
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/invoice.rs
pub struct PaymentAndStatusUpdate {
pub payment_method_id: Option<Secret<String>>,
pub payment_intent_id: Option<common_utils::id_type::PaymentId>,
pub status: common_enums::connector_enums::InvoiceStatus,
pub connector_invoice_id: Option<common_utils::id_type::InvoiceId>,
}
|
{
"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": "PaymentAndStatusUpdate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_5351092095839977380
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/card_testing_guard_data.rs
pub struct CardTestingGuardData {
pub is_card_ip_blocking_enabled: bool,
pub card_ip_blocking_cache_key: String,
pub is_guest_user_card_blocking_enabled: bool,
pub guest_user_card_blocking_cache_key: String,
pub is_customer_id_blocking_enabled: bool,
pub customer_id_blocking_cache_key: String,
pub card_testing_guard_expiry: i32,
}
|
{
"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": "CardTestingGuardData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-8051645323253493976
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/customer.rs
pub struct Customer {
pub customer_id: id_type::CustomerId,
pub merchant_id: id_type::MerchantId,
#[encrypt]
pub name: Option<Encryptable<Secret<String>>>,
#[encrypt]
pub email: Option<Encryptable<Secret<String, pii::EmailStrategy>>>,
#[encrypt]
pub phone: Option<Encryptable<Secret<String>>>,
pub phone_country_code: Option<String>,
pub description: Option<Description>,
pub created_at: PrimitiveDateTime,
pub metadata: Option<pii::SecretSerdeValue>,
pub modified_at: PrimitiveDateTime,
pub connector_customer: Option<pii::SecretSerdeValue>,
pub address_id: Option<String>,
pub default_payment_method_id: Option<String>,
pub updated_by: Option<String>,
pub version: common_enums::ApiVersion,
#[encrypt]
pub tax_registration_id: Option<Encryptable<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": "Customer",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-8051645323253493976
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/customer.rs
pub struct Customer {
pub merchant_id: id_type::MerchantId,
#[encrypt]
pub name: Option<Encryptable<Secret<String>>>,
#[encrypt]
pub email: Option<Encryptable<Secret<String, pii::EmailStrategy>>>,
#[encrypt]
pub phone: Option<Encryptable<Secret<String>>>,
pub phone_country_code: Option<String>,
pub description: Option<Description>,
pub created_at: PrimitiveDateTime,
pub metadata: Option<pii::SecretSerdeValue>,
pub connector_customer: Option<common_types::customers::ConnectorCustomerMap>,
pub modified_at: PrimitiveDateTime,
pub default_payment_method_id: Option<id_type::GlobalPaymentMethodId>,
pub updated_by: Option<String>,
pub merchant_reference_id: Option<id_type::CustomerId>,
pub default_billing_address: Option<Encryption>,
pub default_shipping_address: Option<Encryption>,
pub id: id_type::GlobalCustomerId,
pub version: common_enums::ApiVersion,
pub status: DeleteStatus,
#[encrypt]
pub tax_registration_id: Option<Encryptable<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": "Customer",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_1381820382122679359
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/customer.rs
pub struct CustomerGeneralUpdate {
pub name: crypto::OptionalEncryptableName,
pub email: Box<crypto::OptionalEncryptableEmail>,
pub phone: Box<crypto::OptionalEncryptablePhone>,
pub description: Option<Description>,
pub phone_country_code: Option<String>,
pub metadata: Option<pii::SecretSerdeValue>,
pub connector_customer: Box<Option<common_types::customers::ConnectorCustomerMap>>,
pub default_billing_address: Option<Encryption>,
pub default_shipping_address: Option<Encryption>,
pub default_payment_method_id: Option<Option<id_type::GlobalPaymentMethodId>>,
pub status: Option<DeleteStatus>,
pub tax_registration_id: crypto::OptionalEncryptableSecretString,
}
|
{
"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": "CustomerGeneralUpdate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_2884641232986637241
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct RefundsResponseData {
pub connector_refund_id: String,
pub refund_status: common_enums::RefundStatus,
// pub amount_received: Option<i32>, // Calculation for amount received not in place yet
}
|
{
"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": "RefundsResponseData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-345804560448643499
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct ConnectorCustomerResponseData {
pub connector_customer_id: String,
pub name: Option<String>,
pub email: Option<String>,
pub billing_address: Option<AddressDetails>,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ConnectorCustomerResponseData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_5958854888682992090
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct GiftCardBalanceCheckResponseData {
pub balance: MinorUnit,
pub currency: common_enums::Currency,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GiftCardBalanceCheckResponseData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-7234025936043772982
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct TaxCalculationResponseData {
pub order_tax_amount: MinorUnit,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TaxCalculationResponseData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_7141346566722850495
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct MandateReference {
pub connector_mandate_id: Option<String>,
pub payment_method_id: Option<String>,
pub mandate_metadata: Option<pii::SecretSerdeValue>,
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": "MandateReference",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-3310181574703896683
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct UploadFileResponse {
pub provider_file_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": "UploadFileResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_5521897749621719271
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct RetrieveFileResponse {
pub file_data: Vec<u8>,
}
|
{
"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": "RetrieveFileResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_1861890260460726231
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct PayoutsResponseData {
pub status: Option<common_enums::PayoutStatus>,
pub connector_payout_id: Option<String>,
pub payout_eligible: Option<bool>,
pub should_add_next_step_to_process_tracker: bool,
pub error_code: Option<String>,
pub error_message: Option<String>,
pub payout_connector_metadata: Option<pii::SecretSerdeValue>,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PayoutsResponseData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-8425699262216069454
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct VerifyWebhookSourceResponseData {
pub verify_webhook_status: VerifyWebhookStatus,
}
|
{
"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": "VerifyWebhookSourceResponseData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-158543952677428509
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct MandateRevokeResponseData {
pub mandate_status: common_enums::MandateStatus,
}
|
{
"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": "MandateRevokeResponseData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-6170343445402989200
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct CompleteAuthorizeRedirectResponse {
pub params: Option<masking::Secret<String>>,
pub payload: Option<pii::SecretSerdeValue>,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CompleteAuthorizeRedirectResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-178602798259315729
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct PaymentMethodDetails {
/// Indicates whether mandates are supported by this payment method.
pub mandates: common_enums::FeatureStatus,
/// Indicates whether refund is supported by this payment method.
pub refunds: common_enums::FeatureStatus,
/// List of supported capture methods
pub supported_capture_methods: Vec<common_enums::CaptureMethod>,
/// Payment method specific features
pub specific_features: Option<api_models::feature_matrix::PaymentMethodSpecificFeatures>,
}
|
{
"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": "PaymentMethodDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_33365682014349070
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types.rs
pub struct ConnectorInfo {
/// Display name of the Connector
pub display_name: &'static str,
/// Description of the connector.
pub description: &'static str,
/// Connector Type
pub connector_type: common_enums::HyperswitchConnectorCategory,
/// Integration status of the connector
pub integration_status: common_enums::ConnectorIntegrationStatus,
}
|
{
"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": "ConnectorInfo",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_4837555992946804059
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/gsm.rs
pub struct GatewayStatusMap {
pub connector: String,
pub flow: String,
pub sub_flow: String,
pub code: String,
pub message: String,
pub status: String,
pub router_error: Option<String>,
pub unified_code: Option<String>,
pub unified_message: Option<String>,
pub error_category: Option<common_enums::ErrorCategory>,
pub feature_data: common_types::domain::GsmFeatureData,
pub feature: common_enums::GsmFeature,
}
|
{
"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": "GatewayStatusMap",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-3646984079678530851
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/gsm.rs
pub struct GatewayStatusMappingUpdate {
pub status: Option<String>,
pub router_error: Option<Option<String>>,
pub decision: Option<common_enums::GsmDecision>,
pub step_up_possible: Option<bool>,
pub unified_code: Option<String>,
pub unified_message: Option<String>,
pub error_category: Option<common_enums::ErrorCategory>,
pub clear_pan_possible: Option<bool>,
pub feature_data: Option<common_types::domain::GsmFeatureData>,
pub feature: Option<common_enums::GsmFeature>,
}
|
{
"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": "GatewayStatusMappingUpdate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-3160876434501852371
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/revenue_recovery.rs
pub struct RevenueRecoveryAttemptData {
/// transaction amount against invoice, accepted in minor unit.
pub amount: util_types::MinorUnit,
/// currency of the transaction
pub currency: common_enums::Currency,
/// merchant reference id at billing connector. ex: invoice_id
pub merchant_reference_id: id_type::PaymentReferenceId,
/// transaction id reference at payment connector
pub connector_transaction_id: Option<util_types::ConnectorTransactionId>,
/// error code sent by billing connector.
pub error_code: Option<String>,
/// error message sent by billing connector.
pub error_message: Option<String>,
/// mandate token at payment processor end.
pub processor_payment_method_token: String,
/// customer id at payment connector for which mandate is attached.
pub connector_customer_id: String,
/// Payment gateway identifier id at billing processor.
pub connector_account_reference_id: String,
/// timestamp at which transaction has been created at billing connector
pub transaction_created_at: Option<PrimitiveDateTime>,
/// transaction status at billing connector equivalent to payment attempt status.
pub status: common_enums::AttemptStatus,
/// payment method of payment attempt.
pub payment_method_type: common_enums::PaymentMethod,
/// payment method sub type of the payment attempt.
pub payment_method_sub_type: common_enums::PaymentMethodType,
/// 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>,
/// Number of attempts made for an invoice
pub retry_count: Option<u16>,
/// Time when next invoice will be generated which will be equal to the end time of the current invoice
pub invoice_next_billing_time: Option<PrimitiveDateTime>,
/// Time at which the invoice created
pub invoice_billing_started_at_time: Option<PrimitiveDateTime>,
/// stripe specific id used to validate duplicate attempts in revenue recovery flow
pub charge_id: Option<String>,
/// Additional card details
pub card_info: api_payments::AdditionalCardInfo,
}
|
{
"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": "RevenueRecoveryAttemptData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_1524074724186599145
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/revenue_recovery.rs
pub struct RevenueRecoveryInvoiceData {
/// invoice amount at billing connector
pub amount: util_types::MinorUnit,
/// currency of the amount.
pub currency: common_enums::Currency,
/// merchant reference id at billing connector. ex: invoice_id
pub merchant_reference_id: id_type::PaymentReferenceId,
/// billing address id of the invoice
pub billing_address: Option<api_payments::Address>,
/// Retry count of the invoice
pub retry_count: Option<u16>,
/// Ending date of the invoice or the Next billing time of the Subscription
pub next_billing_at: Option<PrimitiveDateTime>,
/// Invoice Starting Time
pub billing_started_at: Option<PrimitiveDateTime>,
/// metadata of the merchant
pub metadata: Option<pii::SecretSerdeValue>,
/// Allow partial authorization for this payment
pub enable_partial_authorization: Option<primitive_wrappers::EnablePartialAuthorizationBool>,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RevenueRecoveryInvoiceData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-2952711084169717434
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/revenue_recovery.rs
pub struct RecoveryPaymentIntent {
pub payment_id: id_type::GlobalPaymentId,
pub status: common_enums::IntentStatus,
pub feature_metadata: Option<api_payments::FeatureMetadata>,
pub merchant_id: id_type::MerchantId,
pub merchant_reference_id: Option<id_type::PaymentReferenceId>,
pub invoice_amount: util_types::MinorUnit,
pub invoice_currency: common_enums::Currency,
pub created_at: Option<PrimitiveDateTime>,
pub billing_address: Option<api_payments::Address>,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RecoveryPaymentIntent",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-579373549832534313
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/revenue_recovery.rs
pub struct RecoveryPaymentAttempt {
pub attempt_id: id_type::GlobalAttemptId,
pub attempt_status: common_enums::AttemptStatus,
pub feature_metadata: Option<api_payments::PaymentAttemptFeatureMetadata>,
pub amount: util_types::MinorUnit,
pub network_advice_code: Option<String>,
pub network_decline_code: Option<String>,
pub error_code: Option<String>,
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": "RecoveryPaymentAttempt",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_1295633550002333597
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/authentication.rs
pub struct Authentication {
pub authentication_id: common_utils::id_type::AuthenticationId,
pub merchant_id: common_utils::id_type::MerchantId,
pub authentication_connector: Option<String>,
pub connector_authentication_id: Option<String>,
pub authentication_data: Option<Value>,
pub payment_method_id: String,
pub authentication_type: Option<common_enums::DecoupledAuthenticationType>,
pub authentication_status: common_enums::AuthenticationStatus,
pub authentication_lifecycle_status: common_enums::AuthenticationLifecycleStatus,
#[serde(with = "common_utils::custom_serde::iso8601")]
pub created_at: time::PrimitiveDateTime,
#[serde(with = "common_utils::custom_serde::iso8601")]
pub modified_at: time::PrimitiveDateTime,
pub error_message: Option<String>,
pub error_code: Option<String>,
pub connector_metadata: Option<Value>,
pub maximum_supported_version: Option<common_utils::types::SemanticVersion>,
pub threeds_server_transaction_id: Option<String>,
pub cavv: Option<String>,
pub authentication_flow_type: Option<String>,
pub message_version: Option<common_utils::types::SemanticVersion>,
pub eci: Option<String>,
pub trans_status: Option<common_enums::TransactionStatus>,
pub acquirer_bin: Option<String>,
pub acquirer_merchant_id: Option<String>,
pub three_ds_method_data: Option<String>,
pub three_ds_method_url: Option<String>,
pub acs_url: Option<String>,
pub challenge_request: Option<String>,
pub acs_reference_number: Option<String>,
pub acs_trans_id: Option<String>,
pub acs_signed_content: Option<String>,
pub profile_id: common_utils::id_type::ProfileId,
pub payment_id: Option<common_utils::id_type::PaymentId>,
pub merchant_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>,
pub ds_trans_id: Option<String>,
pub directory_server_id: Option<String>,
pub acquirer_country_code: Option<String>,
pub service_details: Option<Value>,
pub organization_id: common_utils::id_type::OrganizationId,
pub authentication_client_secret: Option<String>,
pub force_3ds_challenge: Option<bool>,
pub psd2_sca_exemption_type: Option<common_enums::ScaExemptionType>,
pub return_url: Option<String>,
pub amount: Option<common_utils::types::MinorUnit>,
pub currency: Option<common_enums::Currency>,
#[encrypt(ty = Value)]
pub billing_address: Option<Encryptable<crate::address::Address>>,
#[encrypt(ty = Value)]
pub shipping_address: Option<Encryptable<crate::address::Address>>,
pub browser_info: Option<Value>,
pub email: Option<Encryptable<Secret<String, pii::EmailStrategy>>>,
}
|
{
"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": "Authentication",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_2180864520696536572
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/authentication.rs
pub struct PgRedirectResponseForAuthentication {
pub authentication_id: common_utils::id_type::AuthenticationId,
pub status: common_enums::TransactionStatus,
pub gateway_id: String,
pub customer_id: Option<common_utils::id_type::CustomerId>,
pub amount: Option<common_utils::types::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": "PgRedirectResponseForAuthentication",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-2685950571151159995
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct Card {
pub card_number: cards::CardNumber,
pub card_exp_month: Secret<String>,
pub card_exp_year: Secret<String>,
pub card_cvc: 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 card_holder_name: Option<Secret<String>>,
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": "Card",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-587762942725715558
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct ExternalVaultCard {
pub card_number: Secret<String>,
pub card_exp_month: Secret<String>,
pub card_exp_year: Secret<String>,
pub card_cvc: Secret<String>,
pub bin_number: Option<String>,
pub last_four: Option<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 card_holder_name: Option<Secret<String>>,
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": "ExternalVaultCard",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-2621674497896837030
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct VaultToken {
pub card_cvc: Secret<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": "VaultToken",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_1112637038797213529
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct CardDetailsForNetworkTransactionId {
pub card_number: cards::CardNumber,
pub card_exp_month: Secret<String>,
pub card_exp_year: 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 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": "CardDetailsForNetworkTransactionId",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-524042458506208103
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct CardDetail {
pub card_number: cards::CardNumber,
pub card_exp_month: Secret<String>,
pub card_exp_year: Secret<String>,
pub card_issuer: Option<String>,
pub card_network: Option<api_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 card_holder_name: Option<Secret<String>>,
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": "CardDetail",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-2119069257874648243
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct MifinityData {
pub date_of_birth: Secret<Date>,
pub language_preference: 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": "MifinityData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-6586140654739735822
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct PazeWalletData {
pub complete_response: 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": "PazeWalletData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-7674516462591786462
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct SamsungPayWalletData {
pub payment_credential: SamsungPayWalletCredentials,
}
|
{
"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": "SamsungPayWalletData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-1019974778973928118
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct SamsungPayWalletCredentials {
pub method: Option<String>,
pub recurring_payment: Option<bool>,
pub card_brand: common_enums::SamsungPayCardBrand,
pub dpan_last_four_digits: Option<String>,
#[serde(rename = "card_last4digits")]
pub card_last_four_digits: String,
#[serde(rename = "3_d_s")]
pub token_data: SamsungPayTokenData,
}
|
{
"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": "SamsungPayWalletCredentials",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-3041667216773666381
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct SamsungPayTokenData {
#[serde(rename = "type")]
pub three_ds_type: Option<String>,
pub version: String,
pub data: 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": "SamsungPayTokenData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_8430394365906944631
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct GooglePayWalletData {
/// The type of payment method
pub pm_type: String,
/// User-facing message to describe the payment method that funds this transaction.
pub description: String,
/// The information of the payment method
pub info: GooglePayPaymentMethodInfo,
/// The tokenization data of Google pay
pub tokenization_data: common_types::payments::GpayTokenizationData,
}
|
{
"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": "GooglePayWalletData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-1619028795022396421
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct ApplePayRedirectData {}
|
{
"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": "ApplePayRedirectData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_672976937441413029
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct RevolutPayData {}
|
{
"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": "RevolutPayData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-4305448046468837646
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct GooglePayRedirectData {}
|
{
"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": "GooglePayRedirectData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_1553079530291432149
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct GooglePayThirdPartySdkData {
pub token: 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": "GooglePayThirdPartySdkData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_3829782775147826946
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct ApplePayThirdPartySdkData {
pub token: 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": "ApplePayThirdPartySdkData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-9056259415697959981
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct WeChatPayRedirection {}
|
{
"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": "WeChatPayRedirection",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_3796947519455757800
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct WeChatPay {}
|
{
"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": "WeChatPay",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_7244167328524690654
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct WeChatPayQr {}
|
{
"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": "WeChatPayQr",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-5623890046942808279
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct CashappQr {}
|
{
"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": "CashappQr",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-3158554998490323424
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct PaypalRedirection {
/// paypal's email address
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": "PaypalRedirection",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-4989879841340882848
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct AliPayQr {}
|
{
"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": "AliPayQr",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-6880024474712085967
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct AliPayRedirection {}
|
{
"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": "AliPayRedirection",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_1832404586804282143
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct AliPayHkRedirection {}
|
{
"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": "AliPayHkRedirection",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_2416158959953465556
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct AmazonPayRedirect {}
|
{
"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": "AmazonPayRedirect",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_-2873975121649359288
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct BluecodeQrRedirect {}
|
{
"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": "BluecodeQrRedirect",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_domain_models_4237501822680104721
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub struct PayseraData {}
|
{
"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": "PayseraData",
"total_crates": null,
"trait_name": null
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.