id
stringlengths 20
153
| type
stringclasses 1
value | granularity
stringclasses 14
values | content
stringlengths 16
84.3k
| metadata
dict |
|---|---|---|---|---|
hyperswitch_struct_router_-8670138440805515077
|
clm
|
struct
|
// hyperswitch/crates/router/src/types.rs
pub struct RedirectPaymentFlowResponse {
pub payments_response: api_models::payments::PaymentsResponse,
pub business_profile: domain::Profile,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RedirectPaymentFlowResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-8670138440805515077
|
clm
|
struct
|
// hyperswitch/crates/router/src/types.rs
pub struct RedirectPaymentFlowResponse<D> {
pub payment_data: D,
pub profile: domain::Profile,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RedirectPaymentFlowResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6819569236769604740
|
clm
|
struct
|
// hyperswitch/crates/router/src/types.rs
pub struct AuthenticatePaymentFlowResponse {
pub payments_response: api_models::payments::PaymentsResponse,
pub poll_config: PollConfig,
pub business_profile: domain::Profile,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AuthenticatePaymentFlowResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_8314903123401337006
|
clm
|
struct
|
// hyperswitch/crates/router/src/types.rs
pub struct ConnectorResponse {
pub merchant_id: common_utils::id_type::MerchantId,
pub connector: String,
pub payment_id: common_utils::id_type::PaymentId,
pub amount: i64,
pub connector_transaction_id: String,
pub return_url: Option<String>,
pub three_ds_form: Option<services::RedirectForm>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ConnectorResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-2992948987199317108
|
clm
|
struct
|
// hyperswitch/crates/router/src/types.rs
pub struct ConnectorsList {
pub connectors: Vec<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ConnectorsList",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-565986603917253213
|
clm
|
struct
|
// hyperswitch/crates/router/src/middleware.rs
struct LocaleQueryParam {
locale: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "LocaleQueryParam",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2312016419044898251
|
clm
|
struct
|
// hyperswitch/crates/router/src/utils.rs
struct CustomJsonError {
err: JsonPayloadError,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CustomJsonError",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5879945625197154337
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/webhooks.rs
pub struct StripeOutgoingWebhook {
id: String,
#[serde(rename = "type")]
stype: &'static str,
object: &'static str,
data: StripeWebhookObject,
created: u64,
// api_version: "2019-11-05", // not used
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeOutgoingWebhook",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4503227539983543187
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/webhooks.rs
pub struct StripeDisputeResponse {
pub id: String,
pub amount: String,
pub currency: Currency,
pub payment_intent: id_type::PaymentId,
pub reason: Option<String>,
pub status: StripeDisputeStatus,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeDisputeResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5174526852522873405
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/webhooks.rs
pub struct StripeMandateResponse {
pub mandate_id: String,
pub status: StripeMandateStatus,
pub payment_method_id: String,
pub payment_method: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeMandateResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2320263306248412285
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/webhooks.rs
pub struct StripePayoutResponse {
pub id: id_type::PayoutId,
pub amount: i64,
pub currency: String,
pub payout_type: Option<common_enums::PayoutType>,
pub status: StripePayoutStatus,
pub name: Option<masking::Secret<String>>,
pub email: Option<Email>,
pub phone: Option<masking::Secret<String>>,
pub phone_country_code: Option<String>,
pub created: Option<i64>,
pub metadata: Option<pii::SecretSerdeValue>,
pub entity_type: common_enums::PayoutEntityType,
pub recurring: bool,
pub error_message: Option<String>,
pub error_code: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePayoutResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-9039434313670479967
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/customers/types.rs
pub struct Shipping {
pub address: StripeAddressDetails,
pub name: Option<masking::Secret<String>>,
pub carrier: Option<String>,
pub phone: Option<masking::Secret<String>>,
pub tracking_number: Option<masking::Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Shipping",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_9031259487283259187
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/customers/types.rs
pub struct StripeAddressDetails {
pub city: Option<String>,
pub country: Option<api_enums::CountryAlpha2>,
pub line1: Option<masking::Secret<String>>,
pub line2: Option<masking::Secret<String>>,
pub postal_code: Option<masking::Secret<String>>,
pub state: Option<masking::Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeAddressDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_789467710613756192
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/customers/types.rs
pub struct CreateCustomerRequest {
pub email: Option<Email>,
pub invoice_prefix: Option<String>,
pub name: Option<masking::Secret<String>>,
pub phone: Option<masking::Secret<String>>,
pub address: Option<StripeAddressDetails>,
pub metadata: Option<pii::SecretSerdeValue>,
pub description: Option<Description>,
pub shipping: Option<Shipping>,
pub payment_method: Option<String>, // not used
pub balance: Option<i64>, // not used
pub cash_balance: Option<pii::SecretSerdeValue>, // not used
pub coupon: Option<String>, // not used
pub invoice_settings: Option<pii::SecretSerdeValue>, // not used
pub next_invoice_sequence: Option<String>, // not used
pub preferred_locales: Option<String>, // not used
pub promotion_code: Option<String>, // not used
pub source: Option<String>, // not used
pub tax: Option<pii::SecretSerdeValue>, // not used
pub tax_exempt: Option<String>, // not used
pub tax_id_data: Option<String>, // not used
pub test_clock: Option<String>, // not used
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CreateCustomerRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1132670298751807858
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/customers/types.rs
pub struct CustomerUpdateRequest {
pub description: Option<Description>,
pub email: Option<Email>,
pub phone: Option<masking::Secret<String, masking::WithType>>,
pub name: Option<masking::Secret<String>>,
pub address: Option<StripeAddressDetails>,
pub metadata: Option<pii::SecretSerdeValue>,
pub shipping: Option<Shipping>,
pub payment_method: Option<String>, // not used
pub balance: Option<i64>, // not used
pub cash_balance: Option<pii::SecretSerdeValue>, // not used
pub coupon: Option<String>, // not used
pub default_source: Option<String>, // not used
pub invoice_settings: Option<pii::SecretSerdeValue>, // not used
pub next_invoice_sequence: Option<String>, // not used
pub preferred_locales: Option<String>, // not used
pub promotion_code: Option<String>, // not used
pub source: Option<String>, // not used
pub tax: Option<pii::SecretSerdeValue>, // not used
pub tax_exempt: Option<String>, // not used
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CustomerUpdateRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7042972230106521390
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/customers/types.rs
pub struct CreateCustomerResponse {
pub id: id_type::CustomerId,
pub object: String,
pub created: u64,
pub description: Option<Description>,
pub email: Option<Email>,
pub metadata: Option<pii::SecretSerdeValue>,
pub name: Option<masking::Secret<String>>,
pub phone: Option<masking::Secret<String, masking::WithType>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CreateCustomerResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-1148749039517756290
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/customers/types.rs
pub struct CustomerDeleteResponse {
pub id: id_type::CustomerId,
pub deleted: bool,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CustomerDeleteResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_794407318022084435
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/customers/types.rs
pub struct CustomerPaymentMethodListResponse {
pub object: &'static str,
pub data: Vec<PaymentMethodData>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CustomerPaymentMethodListResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-1142116857452012702
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/customers/types.rs
pub struct PaymentMethodData {
pub id: Option<String>,
pub object: &'static str,
pub card: Option<CardDetails>,
pub created: Option<time::PrimitiveDateTime>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentMethodData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-4523008056189052339
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/customers/types.rs
pub struct CardDetails {
pub country: Option<String>,
pub last4: Option<String>,
pub exp_month: Option<masking::Secret<String>>,
pub exp_year: Option<masking::Secret<String>>,
pub fingerprint: Option<masking::Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CardDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6641194861080841871
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct StripeBillingDetails {
pub address: Option<AddressDetails>,
pub email: Option<Email>,
pub name: Option<String>,
pub phone: Option<masking::Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeBillingDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2080817366621394540
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct StripeCard {
pub number: cards::CardNumber,
pub exp_month: masking::Secret<String>,
pub exp_year: masking::Secret<String>,
pub cvc: masking::Secret<String>,
pub holder_name: Option<masking::Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeCard",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6083928116377021459
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct StripeUpi {
pub vpa_id: masking::Secret<String, UpiVpaMaskingStrategy>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeUpi",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-7529999789321152381
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct StripePaymentMethodData {
#[serde(rename = "type")]
pub stype: StripePaymentMethodType,
pub billing_details: Option<StripeBillingDetails>,
#[serde(flatten)]
pub payment_method_details: Option<StripePaymentMethodDetails>, // enum
pub metadata: Option<SecretSerdeValue>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentMethodData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-9039434313670479967
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct Shipping {
pub address: AddressDetails,
pub name: Option<masking::Secret<String>>,
pub carrier: Option<String>,
pub phone: Option<masking::Secret<String>>,
pub tracking_number: Option<masking::Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Shipping",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6036092050537433131
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct AddressDetails {
pub city: Option<String>,
pub country: Option<api_enums::CountryAlpha2>,
pub line1: Option<masking::Secret<String>>,
pub line2: Option<masking::Secret<String>>,
pub postal_code: Option<masking::Secret<String>>,
pub state: Option<masking::Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AddressDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4620108802471482216
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct MandateData {
pub customer_acceptance: CustomerAcceptance,
pub mandate_type: Option<StripeMandateType>,
pub amount: Option<i64>,
#[serde(default, with = "common_utils::custom_serde::timestamp::option")]
pub start_date: Option<PrimitiveDateTime>,
#[serde(default, with = "common_utils::custom_serde::timestamp::option")]
pub end_date: Option<PrimitiveDateTime>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MandateData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4417626220555311131
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct CustomerAcceptance {
#[serde(rename = "type")]
pub acceptance_type: Option<AcceptanceType>,
pub accepted_at: Option<PrimitiveDateTime>,
pub online: Option<OnlineMandate>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CustomerAcceptance",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6645977102091206457
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct OnlineMandate {
pub ip_address: masking::Secret<String, IpAddress>,
pub user_agent: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "OnlineMandate",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_201909100454608701
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct StripePaymentIntentRequest {
pub id: Option<id_type::PaymentId>,
pub amount: Option<i64>, // amount in cents, hence passed as integer
pub connector: Option<Vec<api_enums::RoutableConnectors>>,
pub currency: Option<String>,
#[serde(rename = "amount_to_capture")]
pub amount_capturable: Option<i64>,
pub confirm: Option<bool>,
pub capture_method: Option<api_enums::CaptureMethod>,
pub customer: Option<id_type::CustomerId>,
pub description: Option<String>,
pub payment_method_data: Option<StripePaymentMethodData>,
pub receipt_email: Option<Email>,
pub return_url: Option<url::Url>,
pub setup_future_usage: Option<api_enums::FutureUsage>,
pub shipping: Option<Shipping>,
pub statement_descriptor: Option<String>,
pub statement_descriptor_suffix: Option<String>,
pub metadata: Option<serde_json::Value>,
pub client_secret: Option<masking::Secret<String>>,
pub payment_method_options: Option<StripePaymentMethodOptions>,
pub merchant_connector_details: Option<admin::MerchantConnectorDetailsWrap>,
pub mandate: Option<String>,
pub off_session: Option<bool>,
pub payment_method_types: Option<api_enums::PaymentMethodType>,
pub receipt_ipaddress: Option<String>,
pub user_agent: Option<String>,
pub mandate_data: Option<MandateData>,
pub automatic_payment_methods: Option<SecretSerdeValue>, // not used
pub payment_method: Option<String>, // not used
pub confirmation_method: Option<String>, // not used
pub error_on_requires_action: Option<String>, // not used
pub radar_options: Option<SecretSerdeValue>, // not used
pub connector_metadata: Option<payments::ConnectorMetadata>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentIntentRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_284372873370558981
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct StripePaymentCancelRequest {
cancellation_reason: Option<CancellationReason>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentCancelRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_3763049368317332947
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct StripePaymentIntentResponse {
pub id: id_type::PaymentId,
pub object: &'static str,
pub amount: i64,
pub amount_received: Option<i64>,
pub amount_capturable: i64,
pub currency: String,
pub status: StripePaymentStatus,
pub client_secret: Option<masking::Secret<String>>,
pub created: Option<i64>,
pub customer: Option<id_type::CustomerId>,
pub refunds: Option<Vec<stripe_refunds::StripeRefundResponse>>,
pub mandate: Option<String>,
pub metadata: Option<serde_json::Value>,
pub charges: Charges,
pub connector: Option<String>,
pub description: Option<String>,
pub mandate_data: Option<payments::MandateData>,
pub setup_future_usage: Option<api_models::enums::FutureUsage>,
pub off_session: Option<bool>,
pub authentication_type: Option<api_models::enums::AuthenticationType>,
pub next_action: Option<StripeNextAction>,
pub cancellation_reason: Option<String>,
pub payment_method: Option<api_models::enums::PaymentMethod>,
pub payment_method_data: Option<payments::PaymentMethodDataResponse>,
pub shipping: Option<payments::Address>,
pub billing: Option<payments::Address>,
#[serde(with = "common_utils::custom_serde::iso8601::option")]
pub capture_on: Option<PrimitiveDateTime>,
pub payment_token: Option<String>,
pub email: Option<Email>,
pub phone: Option<masking::Secret<String>>,
pub statement_descriptor_suffix: Option<String>,
pub statement_descriptor_name: Option<String>,
pub capture_method: Option<api_models::enums::CaptureMethod>,
pub name: Option<masking::Secret<String>>,
pub last_payment_error: Option<LastPaymentError>,
pub connector_transaction_id: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentIntentResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7652848482053597182
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct LastPaymentError {
charge: Option<String>,
code: Option<String>,
decline_code: Option<String>,
message: String,
param: Option<String>,
payment_method: StripePaymentMethod,
#[serde(rename = "type")]
error_type: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "LastPaymentError",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-2207257251569584662
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct StripePaymentMethod {
#[serde(rename = "id")]
payment_method_id: String,
object: &'static str,
card: Option<StripeCard>,
created: u64,
#[serde(rename = "type")]
method_type: String,
livemode: bool,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentMethod",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-3094673000624267985
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct Charges {
object: &'static str,
data: Vec<String>,
has_more: bool,
total_count: i32,
url: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Charges",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-988046899695789059
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct StripePaymentListConstraints {
pub customer: Option<id_type::CustomerId>,
pub starting_after: Option<id_type::PaymentId>,
pub ending_before: Option<id_type::PaymentId>,
#[serde(default = "default_limit")]
pub limit: u32,
pub created: Option<i64>,
#[serde(rename = "created[lt]")]
pub created_lt: Option<i64>,
#[serde(rename = "created[gt]")]
pub created_gt: Option<i64>,
#[serde(rename = "created[lte]")]
pub created_lte: Option<i64>,
#[serde(rename = "created[gte]")]
pub created_gte: Option<i64>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentListConstraints",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5901858907477538321
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct StripePaymentIntentListResponse {
pub object: String,
pub url: String,
pub has_more: bool,
pub data: Vec<StripePaymentIntentResponse>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentIntentListResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-4651789535301080079
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct MandateOption {
#[serde(default, with = "common_utils::custom_serde::timestamp::option")]
pub accepted_at: Option<PrimitiveDateTime>,
pub user_agent: Option<String>,
pub ip_address: Option<masking::Secret<String, IpAddress>>,
pub mandate_type: Option<StripeMandateType>,
pub amount: Option<i64>,
#[serde(default, with = "common_utils::custom_serde::timestamp::option")]
pub start_date: Option<PrimitiveDateTime>,
#[serde(default, with = "common_utils::custom_serde::timestamp::option")]
pub end_date: Option<PrimitiveDateTime>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MandateOption",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6493080833572519092
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct RedirectUrl {
pub return_url: Option<String>,
pub url: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RedirectUrl",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-3378050963915443048
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/payment_intents/types.rs
pub struct StripePaymentRetrieveBody {
pub client_secret: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentRetrieveBody",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6641194861080841871
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/setup_intents/types.rs
pub struct StripeBillingDetails {
pub address: Option<payments::AddressDetails>,
pub email: Option<pii::Email>,
pub name: Option<String>,
pub phone: Option<pii::Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeBillingDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2080817366621394540
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/setup_intents/types.rs
pub struct StripeCard {
pub number: cards::CardNumber,
pub exp_month: pii::Secret<String>,
pub exp_year: pii::Secret<String>,
pub cvc: pii::Secret<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeCard",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-7529999789321152381
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/setup_intents/types.rs
pub struct StripePaymentMethodData {
#[serde(rename = "type")]
pub stype: StripePaymentMethodType,
pub billing_details: Option<StripeBillingDetails>,
#[serde(flatten)]
pub payment_method_details: Option<StripePaymentMethodDetails>, // enum
pub metadata: Option<Value>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentMethodData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-9039434313670479967
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/setup_intents/types.rs
pub struct Shipping {
pub address: Option<payments::AddressDetails>,
pub name: Option<String>,
pub carrier: Option<String>,
pub phone: Option<pii::Secret<String>>,
pub tracking_number: Option<pii::Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Shipping",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_538194712005826793
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/setup_intents/types.rs
pub struct StripeSetupIntentRequest {
pub confirm: Option<bool>,
pub customer: Option<id_type::CustomerId>,
pub connector: Option<Vec<api_enums::RoutableConnectors>>,
pub description: Option<String>,
pub currency: Option<String>,
pub payment_method_data: Option<StripePaymentMethodData>,
pub receipt_email: Option<pii::Email>,
pub return_url: Option<url::Url>,
pub setup_future_usage: Option<api_enums::FutureUsage>,
pub shipping: Option<Shipping>,
pub billing_details: Option<StripeBillingDetails>,
pub statement_descriptor: Option<String>,
pub statement_descriptor_suffix: Option<String>,
pub metadata: Option<secret::SecretSerdeValue>,
pub client_secret: Option<pii::Secret<String>>,
pub payment_method_options: Option<payment_intent::StripePaymentMethodOptions>,
pub payment_method: Option<String>,
pub merchant_connector_details: Option<admin::MerchantConnectorDetailsWrap>,
pub receipt_ipaddress: Option<String>,
pub user_agent: Option<String>,
pub mandate_data: Option<payment_intent::MandateData>,
pub connector_metadata: Option<payments::ConnectorMetadata>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeSetupIntentRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_284372873370558981
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/setup_intents/types.rs
pub struct StripePaymentCancelRequest {
cancellation_reason: Option<CancellationReason>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentCancelRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6493080833572519092
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/setup_intents/types.rs
pub struct RedirectUrl {
pub return_url: Option<String>,
pub url: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RedirectUrl",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-4741910520514029672
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/setup_intents/types.rs
pub struct StripeSetupIntentResponse {
pub id: id_type::PaymentId,
pub object: String,
pub status: StripeSetupStatus,
pub client_secret: Option<masking::Secret<String>>,
pub metadata: Option<Value>,
#[serde(with = "common_utils::custom_serde::iso8601::option")]
pub created: Option<time::PrimitiveDateTime>,
pub customer: Option<id_type::CustomerId>,
pub refunds: Option<Vec<stripe_refunds::StripeRefundResponse>>,
pub mandate_id: Option<String>,
pub next_action: Option<StripeNextAction>,
pub last_payment_error: Option<LastPaymentError>,
pub charges: payment_intent::Charges,
pub connector_transaction_id: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeSetupIntentResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7652848482053597182
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/setup_intents/types.rs
pub struct LastPaymentError {
charge: Option<String>,
code: Option<String>,
decline_code: Option<String>,
message: String,
param: Option<String>,
payment_method: StripePaymentMethod,
#[serde(rename = "type")]
error_type: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "LastPaymentError",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-2207257251569584662
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/setup_intents/types.rs
pub struct StripePaymentMethod {
#[serde(rename = "id")]
payment_method_id: String,
object: &'static str,
card: Option<StripeCard>,
created: u64,
#[serde(rename = "type")]
method_type: String,
livemode: bool,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentMethod",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-988046899695789059
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/setup_intents/types.rs
pub struct StripePaymentListConstraints {
pub customer: Option<id_type::CustomerId>,
pub starting_after: Option<id_type::PaymentId>,
pub ending_before: Option<id_type::PaymentId>,
#[serde(default = "default_limit")]
pub limit: u32,
pub created: Option<i64>,
#[serde(rename = "created[lt]")]
pub created_lt: Option<i64>,
#[serde(rename = "created[gt]")]
pub created_gt: Option<i64>,
#[serde(rename = "created[lte]")]
pub created_lte: Option<i64>,
#[serde(rename = "created[gte]")]
pub created_gte: Option<i64>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePaymentListConstraints",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-8005758735265290799
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/refunds/types.rs
pub struct StripeCreateRefundRequest {
pub refund_id: Option<String>,
pub amount: Option<i64>,
pub payment_intent: common_utils::id_type::PaymentId,
pub reason: Option<String>,
pub metadata: Option<pii::SecretSerdeValue>,
pub merchant_connector_details: Option<admin::MerchantConnectorDetailsWrap>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeCreateRefundRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6950777611608635694
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/refunds/types.rs
pub struct StripeUpdateRefundRequest {
#[serde(skip)]
pub refund_id: String,
pub metadata: Option<pii::SecretSerdeValue>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeUpdateRefundRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_3222215581289284639
|
clm
|
struct
|
// hyperswitch/crates/router/src/compatibility/stripe/refunds/types.rs
pub struct StripeRefundResponse {
pub id: String,
pub amount: i64,
pub currency: String,
pub payment_intent: common_utils::id_type::PaymentId,
pub status: StripeRefundStatus,
pub created: Option<i64>,
pub metadata: pii::SecretSerdeValue,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeRefundResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-768950881560222032
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct VaultFingerprintRequest {
pub data: String,
pub key: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "VaultFingerprintRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-5554973372023860092
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct VaultFingerprintResponse {
pub fingerprint_id: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "VaultFingerprintResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6824681784079634687
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct AddVaultRequest<D> {
pub entity_id: id_type::GlobalCustomerId,
pub vault_id: domain::VaultId,
pub data: D,
pub ttl: i64,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AddVaultRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7048401448464679416
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct AddVaultResponse {
#[cfg(feature = "v2")]
pub entity_id: Option<id_type::GlobalCustomerId>,
#[cfg(feature = "v1")]
pub entity_id: Option<id_type::CustomerId>,
#[cfg(feature = "v2")]
pub vault_id: domain::VaultId,
#[cfg(feature = "v1")]
pub vault_id: String,
pub fingerprint_id: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AddVaultResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-5572205969570018338
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct AddVault;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AddVault",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2654513230235686245
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct GetVaultFingerprint;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GetVaultFingerprint",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6418981572004366474
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct VaultRetrieve;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "VaultRetrieve",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_298429017699518654
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct VaultDelete;
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "VaultDelete",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2747113967812033362
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct VaultRetrieveRequest {
pub entity_id: id_type::GlobalCustomerId,
pub vault_id: domain::VaultId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "VaultRetrieveRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-9002065636853742226
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct VaultRetrieveResponse {
pub data: domain::PaymentMethodVaultingData,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "VaultRetrieveResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-1305761374154830780
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct VaultDeleteRequest {
pub entity_id: id_type::GlobalCustomerId,
pub vault_id: domain::VaultId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "VaultDeleteRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-8814999056111385830
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct VaultDeleteResponse {
pub entity_id: id_type::GlobalCustomerId,
pub vault_id: domain::VaultId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "VaultDeleteResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-9098458556547630459
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct CardData {
pub card_number: CardNumber,
pub exp_month: Secret<String>,
pub exp_year: Secret<String>,
pub card_security_code: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CardData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-9098458556547630459
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct CardData {
pub card_number: CardNumber,
pub exp_month: Secret<String>,
pub exp_year: Secret<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub card_security_code: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CardData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_822312234757182205
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct OrderData {
pub consent_id: String,
pub customer_id: id_type::CustomerId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "OrderData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_822312234757182205
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct OrderData {
pub consent_id: String,
pub customer_id: id_type::GlobalCustomerId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "OrderData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-3648101355429798393
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct ApiPayload {
pub service: String,
pub card_data: Secret<String>, //encrypted card data
pub order_data: OrderData,
pub key_id: String,
pub should_send_token: bool,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ApiPayload",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-8542589923666758116
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct CardNetworkTokenResponse {
pub payload: Secret<String>, //encrypted payload
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CardNetworkTokenResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5631530567178258686
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct CardNetworkTokenResponsePayload {
pub card_brand: api_enums::CardNetwork,
pub card_fingerprint: Option<Secret<String>>,
pub card_reference: String,
pub correlation_id: String,
pub customer_id: String,
pub par: String,
pub token: CardNumber,
pub token_expiry_month: Secret<String>,
pub token_expiry_year: Secret<String>,
pub token_isin: String,
pub token_last_four: String,
pub token_status: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CardNetworkTokenResponsePayload",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7119167897294690003
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct GenerateNetworkTokenResponsePayload {
pub card_brand: api_enums::CardNetwork,
pub card_fingerprint: Option<Secret<String>>,
pub card_reference: String,
pub correlation_id: String,
pub customer_id: String,
pub par: String,
pub token: NetworkToken,
pub token_expiry_month: Secret<String>,
pub token_expiry_year: Secret<String>,
pub token_isin: String,
pub token_last_four: String,
pub token_status: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GenerateNetworkTokenResponsePayload",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-7486890068338621957
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct GetCardToken {
pub card_reference: String,
pub customer_id: id_type::CustomerId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GetCardToken",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-7486890068338621957
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct GetCardToken {
pub card_reference: String,
pub customer_id: id_type::GlobalCustomerId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GetCardToken",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6902015792949180456
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct AuthenticationDetails {
pub cryptogram: Secret<String>,
pub token: CardNumber, //network token
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AuthenticationDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6902015792949180456
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct AuthenticationDetails {
pub cryptogram: Secret<String>,
pub token: NetworkToken, //network token
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AuthenticationDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-799251294507178268
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct TokenDetails {
pub exp_month: Secret<String>,
pub exp_year: Secret<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TokenDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6395770689371055844
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct TokenResponse {
pub authentication_details: AuthenticationDetails,
pub network: api_enums::CardNetwork,
pub token_details: TokenDetails,
pub eci: Option<String>,
pub card_type: Option<String>,
pub issuer: Option<String>,
pub nickname: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TokenResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5009866433227587282
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct DeleteCardToken {
pub card_reference: String, //network token requestor ref id
pub customer_id: id_type::CustomerId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DeleteCardToken",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_5009866433227587282
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct DeleteCardToken {
pub card_reference: String, //network token requestor ref id
pub customer_id: id_type::GlobalCustomerId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DeleteCardToken",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1810368495595744920
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct NetworkTokenErrorInfo {
pub code: String,
pub developer_message: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "NetworkTokenErrorInfo",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_8931769975034815035
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct NetworkTokenErrorResponse {
pub error_message: String,
pub error_info: NetworkTokenErrorInfo,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "NetworkTokenErrorResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4726170238550598272
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct DeleteNetworkTokenResponse {
pub status: DeleteNetworkTokenStatus,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "DeleteNetworkTokenResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7544138147327536556
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct CheckTokenStatus {
pub card_reference: String,
pub customer_id: id_type::CustomerId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CheckTokenStatus",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7544138147327536556
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct CheckTokenStatus {
pub card_reference: String,
pub customer_id: id_type::GlobalCustomerId,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CheckTokenStatus",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_7511656820417725553
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct CheckTokenStatusResponse {
pub token_status: TokenStatus,
pub token_expiry_month: Secret<String>,
pub token_expiry_year: Secret<String>,
pub card_last_4: String,
pub card_expiry: String,
pub token_last_4: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CheckTokenStatusResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6718346426389771656
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct NetworkTokenRequestorData {
pub card_reference: String,
pub customer_id: String,
pub expiry_year: Secret<String>,
pub expiry_month: Secret<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "NetworkTokenRequestorData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4563102629676460157
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct NetworkTokenMetaDataUpdateBody {
pub token: NetworkTokenRequestorData,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "NetworkTokenMetaDataUpdateBody",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_6510718833588744407
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/payment_methods.rs
pub struct PanMetadataUpdateBody {
pub card: NetworkTokenRequestorData,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PanMetadataUpdateBody",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-4186472285554630971
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/fraud_check.rs
pub struct FrmRouterData {
pub merchant_id: common_utils::id_type::MerchantId,
pub connector: String,
// TODO: change this to PaymentId type
pub payment_id: String,
pub attempt_id: String,
pub request: FrmRequest,
pub response: FrmResponse,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "FrmRouterData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_1929977190241538261
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/api.rs
pub struct SessionConnectorData {
pub payment_method_sub_type: api_enums::PaymentMethodType,
pub payment_method_type: api_enums::PaymentMethod,
pub connector: ConnectorData,
pub business_sub_label: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "SessionConnectorData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6542842390434724476
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/api.rs
pub struct TaxCalculateConnectorData {
pub connector: ConnectorEnum,
pub connector_name: enums::TaxConnectors,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TaxCalculateConnectorData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_3493376437781541788
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/storage/revenue_recovery_redis_operation.rs
pub struct PaymentProcessorTokenDetails {
pub payment_processor_token: String,
pub expiry_month: Option<Secret<String>>,
pub expiry_year: Option<Secret<String>>,
pub card_issuer: Option<String>,
pub last_four_digits: Option<String>,
pub card_network: Option<CardNetwork>,
pub card_type: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentProcessorTokenDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-7540893913688568639
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/storage/revenue_recovery_redis_operation.rs
pub struct PaymentProcessorTokenStatus {
/// Payment processor token details including card information and token ID
pub payment_processor_token_details: PaymentProcessorTokenDetails,
/// Payment intent ID that originally inserted this token
pub inserted_by_attempt_id: id_type::GlobalAttemptId,
/// Error code associated with the token failure
pub error_code: Option<String>,
/// Daily retry count history for the last 30 days (date -> retry_count)
pub daily_retry_history: HashMap<Date, i32>,
/// Scheduled time for the next retry attempt
pub scheduled_at: Option<PrimitiveDateTime>,
/// Indicates if the token is a hard decline (no retries allowed)
pub is_hard_decline: Option<bool>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentProcessorTokenStatus",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_4795238181358277019
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/storage/revenue_recovery_redis_operation.rs
pub struct TokenRetryInfo {
pub monthly_wait_hours: i64, // Hours to wait for 30-day limit reset
pub daily_wait_hours: i64, // Hours to wait for daily limit reset
pub total_30_day_retries: i32, // Current total retry count in 30-day window
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TokenRetryInfo",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_2348438244311882408
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/storage/revenue_recovery_redis_operation.rs
pub struct PaymentProcessorTokenWithRetryInfo {
/// The complete token status information
pub token_status: PaymentProcessorTokenStatus,
/// Hours to wait before next retry attempt (max of daily/monthly wait)
pub retry_wait_time_hours: i64,
/// Number of retries remaining in the 30-day rolling window
pub monthly_retry_remaining: i32,
// Current total retry count in 30-day window
pub total_30_day_retries: i32,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentProcessorTokenWithRetryInfo",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6217286655308603352
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/storage/payment_method.rs
pub struct CardTokenData {
pub payment_method_id: Option<String>,
pub locker_id: Option<String>,
pub token: String,
pub network_token_locker_id: Option<String>,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CardTokenData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_router_-6217286655308603352
|
clm
|
struct
|
// hyperswitch/crates/router/src/types/storage/payment_method.rs
pub struct CardTokenData {
pub payment_method_id: common_utils::id_type::GlobalPaymentMethodId,
pub locker_id: Option<String>,
pub token: String,
}
|
{
"chunk": null,
"crate": "router",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CardTokenData",
"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.