id
stringlengths 20
153
| type
stringclasses 1
value | granularity
stringclasses 14
values | content
stringlengths 16
84.3k
| metadata
dict |
|---|---|---|---|---|
hyperswitch_struct_hyperswitch_connectors_-4489285327601062834
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
pub struct PayeezyRefundRequest {
transaction_tag: String,
transaction_type: PayeezyTransactionType,
amount: String,
currency_code: String,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PayeezyRefundRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4662012483449392107
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
pub struct RefundResponse {
pub correlation_id: String,
pub transaction_status: RefundStatus,
pub validation_status: String,
pub transaction_type: String,
pub transaction_id: String,
pub transaction_tag: Option<String>,
pub method: Option<String>,
pub amount: String,
pub currency: String,
pub bank_resp_code: String,
pub bank_message: String,
pub gateway_resp_code: String,
pub gateway_message: String,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RefundResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-3332925176862997678
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
pub struct Message {
pub code: String,
pub description: String,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Message",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-9146721041748434177
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
pub struct PayeezyError {
pub messages: Vec<Message>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PayeezyError",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_9015379330867794886
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs
pub struct PayeezyErrorResponse {
pub transaction_status: String,
#[serde(rename = "Error")]
pub error: PayeezyError,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PayeezyErrorResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-1505783408847659942
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeMandateRequest {
#[serde(flatten)]
mandate_type: StripeMandateType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeMandateRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-1223351992491345080
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeBrowserInformation {
#[serde(rename = "payment_method_data[ip]")]
pub ip_address: Option<Secret<String, pii::IpAddress>>,
#[serde(rename = "payment_method_data[user_agent]")]
pub user_agent: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeBrowserInformation",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_1353310350302884885
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct PaymentIntentRequest {
pub amount: MinorUnit, //amount in cents, hence passed as integer
pub currency: String,
pub statement_descriptor_suffix: Option<String>,
pub statement_descriptor: Option<String>,
#[serde(flatten)]
pub meta_data: HashMap<String, String>,
pub return_url: String,
pub confirm: bool,
pub payment_method: Option<Secret<String>>,
pub customer: Option<Secret<String>>,
#[serde(flatten)]
pub setup_mandate_details: Option<StripeMandateRequest>,
pub description: Option<String>,
#[serde(flatten)]
pub shipping: Option<StripeShippingAddress>,
#[serde(flatten)]
pub billing: StripeBillingAddress,
#[serde(flatten)]
pub payment_data: Option<StripePaymentMethodData>,
pub capture_method: StripeCaptureMethod,
#[serde(flatten)]
pub payment_method_options: Option<StripePaymentMethodOptions>, // For mandate txns using network_txns_id, needs to be validated
pub setup_future_usage: Option<enums::FutureUsage>,
pub off_session: Option<bool>,
#[serde(rename = "payment_method_types[0]")]
pub payment_method_types: Option<StripePaymentMethodType>,
#[serde(rename = "expand[0]")]
pub expand: Option<ExpandableObjects>,
#[serde(flatten)]
pub browser_info: Option<StripeBrowserInformation>,
#[serde(flatten)]
pub charges: Option<IntentCharges>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentIntentRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4889994308606057197
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct IntentCharges {
pub application_fee_amount: Option<MinorUnit>,
#[serde(
rename = "transfer_data[destination]",
skip_serializing_if = "Option::is_none"
)]
pub destination_account_id: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "IntentCharges",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-1931449414406003980
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeMetadata {
// merchant_reference_id
#[serde(rename(serialize = "metadata[order_id]"))]
pub order_id: Option<String>,
// to check whether the order_id is refund_id or payment_id
// before deployment, order id is set to payment_id in refunds but now it is set as refund_id
// it is set as string instead of bool because stripe pass it as string even if we set it as bool
#[serde(rename(serialize = "metadata[is_refund_id_as_reference]"))]
pub is_refund_id_as_reference: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeMetadata",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_3390771007730126159
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct SetupIntentRequest {
pub confirm: bool,
pub usage: Option<enums::FutureUsage>,
pub customer: Option<Secret<String>>,
pub off_session: Option<bool>,
pub return_url: Option<String>,
#[serde(flatten)]
pub payment_data: StripePaymentMethodData,
pub payment_method_options: Option<StripePaymentMethodOptions>, // For mandate txns using network_txns_id, needs to be validated
#[serde(flatten)]
pub meta_data: Option<HashMap<String, String>>,
#[serde(rename = "payment_method_types[0]")]
pub payment_method_types: Option<StripePaymentMethodType>,
#[serde(rename = "expand[0]")]
pub expand: Option<ExpandableObjects>,
#[serde(flatten)]
pub browser_info: Option<StripeBrowserInformation>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "SetupIntentRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_2484252735424812477
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeCardData {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
#[serde(rename = "payment_method_data[card][number]")]
pub payment_method_data_card_number: cards::CardNumber,
#[serde(rename = "payment_method_data[card][exp_month]")]
pub payment_method_data_card_exp_month: Secret<String>,
#[serde(rename = "payment_method_data[card][exp_year]")]
pub payment_method_data_card_exp_year: Secret<String>,
#[serde(rename = "payment_method_data[card][cvc]")]
pub payment_method_data_card_cvc: Option<Secret<String>>,
#[serde(rename = "payment_method_options[card][request_three_d_secure]")]
pub payment_method_auth_type: Option<Auth3ds>,
#[serde(rename = "payment_method_options[card][network]")]
pub payment_method_data_card_preferred_network: Option<StripeCardNetwork>,
#[serde(skip_serializing_if = "Option::is_none")]
#[serde(rename = "payment_method_options[card][request_incremental_authorization]")]
pub request_incremental_authorization: Option<StripeRequestIncrementalAuthorization>,
#[serde(skip_serializing_if = "Option::is_none")]
#[serde(rename = "payment_method_options[card][request_extended_authorization]")]
request_extended_authorization: Option<StripeRequestExtendedAuthorization>,
#[serde(rename = "payment_method_options[card][request_overcapture]")]
pub request_overcapture: Option<StripeRequestOvercaptureBool>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeCardData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_572234589659154662
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripePayLaterData {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePayLaterData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_1565461195943113638
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct TokenRequest {
#[serde(flatten)]
pub token_data: StripePaymentMethodData,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "TokenRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-7786183517980577380
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeTokenResponse {
pub id: Secret<String>,
pub object: String,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeTokenResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4432557817354269726
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct CustomerRequest {
pub description: Option<String>,
pub email: Option<Email>,
pub phone: Option<Secret<String>>,
pub name: Option<Secret<String>>,
pub source: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CustomerRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-169304803956025106
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeCustomerResponse {
pub id: String,
pub description: Option<String>,
pub email: Option<Email>,
pub phone: Option<Secret<String>>,
pub name: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeCustomerResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_8133522944444918572
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct ChargesRequest {
pub amount: MinorUnit,
pub currency: String,
pub customer: Secret<String>,
pub source: Secret<String>,
#[serde(flatten)]
pub meta_data: Option<HashMap<String, String>>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ChargesRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_1107166948108775686
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct ChargesResponse {
pub id: String,
pub amount: MinorUnit,
pub amount_captured: MinorUnit,
pub currency: String,
pub status: StripePaymentStatus,
pub source: StripeSourceResponse,
pub failure_code: Option<String>,
pub failure_message: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ChargesResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_2809504843996724702
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeGiropay {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeGiropay",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6395579953501320362
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeIdeal {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
#[serde(rename = "payment_method_data[ideal][bank]")]
ideal_bank_name: Option<StripeBankNames>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeIdeal",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6145549161788621063
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeBancontactCard {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeBancontactCard",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_5418760168100840106
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripePrezelewy24 {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
#[serde(rename = "payment_method_data[p24][bank]")]
bank_name: Option<StripeBankNames>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripePrezelewy24",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_9204068582852267228
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeEps {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
#[serde(rename = "payment_method_data[eps][bank]")]
bank_name: Option<StripeBankNames>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeEps",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-5991462327401395784
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeBlik {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
#[serde(rename = "payment_method_options[blik][code]")]
pub code: Secret<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeBlik",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4340141508553853693
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeOnlineBankingFpx {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeOnlineBankingFpx",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-5283531162554477690
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct AchTransferData {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
#[serde(rename = "payment_method_options[customer_balance][bank_transfer][type]")]
pub bank_transfer_type: StripeCreditTransferTypes,
#[serde(rename = "payment_method_types[0]")]
pub payment_method_type: StripePaymentMethodType,
#[serde(rename = "payment_method_options[customer_balance][funding_type]")]
pub balance_funding_type: BankTransferType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AchTransferData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-9035893386704201354
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct MultibancoTransferData {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripeCreditTransferTypes,
#[serde(rename = "payment_method_types[0]")]
pub payment_method_type: StripeCreditTransferTypes,
#[serde(rename = "payment_method_data[billing_details][email]")]
pub email: Email,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MultibancoTransferData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7924116671654186100
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct BacsBankTransferData {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
#[serde(rename = "payment_method_options[customer_balance][bank_transfer][type]")]
pub bank_transfer_type: BankTransferType,
#[serde(rename = "payment_method_options[customer_balance][funding_type]")]
pub balance_funding_type: BankTransferType,
#[serde(rename = "payment_method_types[0]")]
pub payment_method_type: StripePaymentMethodType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "BacsBankTransferData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-3219294493041124347
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct SepaBankTransferData {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
#[serde(rename = "payment_method_options[customer_balance][bank_transfer][type]")]
pub bank_transfer_type: BankTransferType,
#[serde(rename = "payment_method_options[customer_balance][funding_type]")]
pub balance_funding_type: BankTransferType,
#[serde(rename = "payment_method_types[0]")]
pub payment_method_type: StripePaymentMethodType,
#[serde(
rename = "payment_method_options[customer_balance][bank_transfer][eu_bank_transfer][country]"
)]
pub country: enums::CountryAlpha2,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "SepaBankTransferData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_332936821714593198
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct AchCreditTransferSourceRequest {
#[serde(rename = "type")]
pub transfer_type: StripeCreditTransferTypes,
#[serde(flatten)]
pub payment_method_data: AchTransferData,
pub currency: enums::Currency,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AchCreditTransferSourceRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-6708692333591061673
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct MultibancoCreditTransferSourceRequest {
#[serde(rename = "type")]
pub transfer_type: StripeCreditTransferTypes,
#[serde(flatten)]
pub payment_method_data: MultibancoTransferData,
pub currency: enums::Currency,
pub amount: Option<MinorUnit>,
#[serde(rename = "redirect[return_url]")]
pub return_url: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MultibancoCreditTransferSourceRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_485941248965079949
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeBillingAddressCardToken {
#[serde(rename = "billing_details[name]")]
pub name: Option<Secret<String>>,
#[serde(rename = "billing_details[email]")]
pub email: Option<Email>,
#[serde(rename = "billing_details[phone]")]
pub phone: Option<Secret<String>>,
#[serde(rename = "billing_details[address][line1]")]
pub address_line1: Option<Secret<String>>,
#[serde(rename = "billing_details[address][line2]")]
pub address_line2: Option<Secret<String>>,
#[serde(rename = "billing_details[address][state]")]
pub state: Option<Secret<String>>,
#[serde(rename = "billing_details[address][city]")]
pub city: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeBillingAddressCardToken",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-2060394415129498770
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeCardToken {
#[serde(rename = "type")]
pub payment_method_type: Option<StripePaymentMethodType>,
#[serde(rename = "card[number]")]
pub token_card_number: cards::CardNumber,
#[serde(rename = "card[exp_month]")]
pub token_card_exp_month: Secret<String>,
#[serde(rename = "card[exp_year]")]
pub token_card_exp_year: Secret<String>,
#[serde(rename = "card[cvc]")]
pub token_card_cvc: Secret<String>,
#[serde(flatten)]
pub billing: StripeBillingAddressCardToken,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeCardToken",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-2119343204065974505
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeBankDebitData {
#[serde(flatten)]
pub bank_specific_data: Option<BankDebitData>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeBankDebitData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_3002750721817463226
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct BankTransferData {
pub email: Email,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "BankTransferData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6358109741222125224
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeApplePayPredecrypt {
#[serde(rename = "card[number]")]
number: cards::CardNumber,
#[serde(rename = "card[exp_year]")]
exp_year: Secret<String>,
#[serde(rename = "card[exp_month]")]
exp_month: Secret<String>,
#[serde(rename = "card[cryptogram]")]
cryptogram: Secret<String>,
#[serde(rename = "card[eci]")]
eci: Option<String>,
#[serde(rename = "card[tokenization_method]")]
tokenization_method: String,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeApplePayPredecrypt",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_2200108547814894249
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeApplePay {
pub pk_token: Secret<String>,
pub pk_token_instrument_name: String,
pub pk_token_payment_network: String,
pub pk_token_transaction_id: Secret<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeApplePay",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4589376946742404382
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct GooglePayToken {
#[serde(rename = "payment_method_data[type]")]
pub payment_type: StripePaymentMethodType,
#[serde(rename = "payment_method_data[card][token]")]
pub token: Secret<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GooglePayToken",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8190453988769779472
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct ApplepayPayment {
#[serde(rename = "payment_method_data[card][token]")]
pub token: Secret<String>,
#[serde(rename = "payment_method_data[type]")]
pub payment_method_types: StripePaymentMethodType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ApplepayPayment",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-1137270526630875016
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct AmazonpayPayment {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_types: StripePaymentMethodType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AmazonpayPayment",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-6900216775143715505
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct RevolutpayPayment {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_types: StripePaymentMethodType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RevolutpayPayment",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-196939716542493776
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct AlipayPayment {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AlipayPayment",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_1711049845294754109
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct CashappPayment {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CashappPayment",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4551742669907893152
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct WechatpayPayment {
#[serde(rename = "payment_method_data[type]")]
pub payment_method_data_type: StripePaymentMethodType,
#[serde(rename = "payment_method_options[wechat_pay][client]")]
pub client: WechatClient,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "WechatpayPayment",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_656643248490176324
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct GooglepayPayment {
#[serde(rename = "payment_method_data[card][token]")]
pub token: Secret<String>,
#[serde(rename = "payment_method_data[type]")]
pub payment_method_types: StripePaymentMethodType,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "GooglepayPayment",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7691530412012507186
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeSplitPaymentRequest {
pub charge_type: Option<PaymentChargeType>,
pub application_fees: Option<MinorUnit>,
pub transfer_account_id: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeSplitPaymentRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7901302463057680177
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeIncrementalAuthRequest {
pub amount: MinorUnit,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeIncrementalAuthRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-2722394740956741037
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct PaymentIntentResponse {
pub id: String,
pub object: String,
pub amount: MinorUnit,
#[serde(default, deserialize_with = "deserialize_zero_minor_amount_as_none")]
// stripe gives amount_captured as 0 for payment intents instead of null
pub amount_received: Option<MinorUnit>,
pub amount_capturable: Option<MinorUnit>,
pub currency: String,
pub status: StripePaymentStatus,
pub client_secret: Option<Secret<String>>,
pub created: i32,
pub customer: Option<Secret<String>>,
pub payment_method: Option<Secret<String>>,
pub description: Option<String>,
pub statement_descriptor: Option<String>,
pub statement_descriptor_suffix: Option<String>,
pub metadata: StripeMetadata,
pub next_action: Option<StripeNextActionResponse>,
pub payment_method_options: Option<StripePaymentMethodOptions>,
pub last_payment_error: Option<ErrorDetails>,
pub latest_attempt: Option<LatestAttempt>, //need a merchant to test this
pub latest_charge: Option<StripeChargeEnum>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentIntentResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6576915983975263966
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeSourceResponse {
pub id: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub ach_credit_transfer: Option<AchCreditTransferResponse>,
#[serde(skip_serializing_if = "Option::is_none")]
pub multibanco: Option<MultibancoCreditTansferResponse>,
pub receiver: AchReceiverDetails,
pub status: StripePaymentStatus,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeSourceResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-2188848140776007685
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct AchCreditTransferResponse {
pub account_number: Secret<String>,
pub bank_name: Secret<String>,
pub routing_number: Secret<String>,
pub swift_code: Secret<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AchCreditTransferResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6891424235940419050
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct MultibancoCreditTansferResponse {
pub reference: Secret<String>,
pub entity: Secret<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MultibancoCreditTansferResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-9137847948695329125
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct AchReceiverDetails {
pub amount_received: MinorUnit,
pub amount_charged: MinorUnit,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AchReceiverDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-369715585512598522
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct SepaAndBacsBankTransferInstructions {
pub bacs_bank_instructions: Option<BacsFinancialDetails>,
pub sepa_bank_instructions: Option<SepaFinancialDetails>,
pub receiver: SepaAndBacsReceiver,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "SepaAndBacsBankTransferInstructions",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-5466823317395372725
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct QrCodeNextInstructions {
pub image_data_url: Url,
pub display_to_timestamp: Option<i64>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "QrCodeNextInstructions",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-7482922188089267966
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct SepaAndBacsReceiver {
pub amount_received: MinorUnit,
pub amount_remaining: MinorUnit,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "SepaAndBacsReceiver",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-184130581155607190
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct PaymentSyncResponse {
#[serde(flatten)]
pub intent_fields: PaymentIntentResponse,
pub last_payment_error: Option<ErrorDetails>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentSyncResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-7471621258233356000
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct PaymentIntentSyncResponse {
#[serde(flatten)]
payment_intent_fields: PaymentIntentResponse,
pub latest_charge: Option<StripeChargeEnum>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentIntentSyncResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-71811177844889259
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeCharge {
pub id: String,
pub payment_method_details: Option<StripePaymentMethodDetailsResponse>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeCharge",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-3021067847845201914
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeBankRedirectDetails {
#[serde(rename = "generated_sepa_debit")]
attached_payment_method: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeBankRedirectDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_119376064470244628
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeCashappDetails {
buyer_id: Option<String>,
cashtag: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeCashappDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7068821164540753370
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeAdditionalCardDetails {
checks: Option<Value>,
three_d_secure: Option<Value>,
network_transaction_id: Option<String>,
extended_authorization: Option<StripeExtendedAuthorizationResponse>,
#[serde(default, with = "common_utils::custom_serde::timestamp::option")]
capture_before: Option<PrimitiveDateTime>,
overcapture: Option<StripeOvercaptureResponse>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeAdditionalCardDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8160476844149641232
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeExtendedAuthorizationResponse {
status: Option<StripeExtendedAuthorizationStatus>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeExtendedAuthorizationResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4437112664651857239
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeOvercaptureResponse {
status: Option<StripeOvercaptureStatus>,
#[serde(default, deserialize_with = "deserialize_zero_minor_amount_as_none")]
// stripe gives amount_captured as 0 for payment intents instead of null
maximum_amount_capturable: Option<MinorUnit>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeOvercaptureResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_394625697159208663
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct SetupIntentSyncResponse {
#[serde(flatten)]
setup_intent_fields: SetupIntentResponse,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "SetupIntentSyncResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4182892997936497443
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct SetupIntentResponse {
pub id: String,
pub object: String,
pub status: StripePaymentStatus, // Change to SetupStatus
pub client_secret: Secret<String>,
pub customer: Option<Secret<String>>,
pub payment_method: Option<String>,
pub statement_descriptor: Option<String>,
pub statement_descriptor_suffix: Option<String>,
pub metadata: StripeMetadata,
pub next_action: Option<StripeNextActionResponse>,
pub payment_method_options: Option<StripePaymentMethodOptions>,
pub latest_attempt: Option<LatestAttempt>,
pub last_setup_error: Option<ErrorDetails>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "SetupIntentResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7915192714975343155
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
struct Wrapper {
#[serde(rename = "type")]
_ignore: String,
#[serde(flatten, with = "StripeNextActionResponse")]
inner: StripeNextActionResponse,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "Wrapper",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8954849477149244196
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeRedirectToUrlResponse {
return_url: String,
url: Url,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeRedirectToUrlResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-5250486126349460258
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct WechatPayRedirectToQr {
// This data contains url, it should be converted to QR code.
// Note: The url in this data is not redirection url
data: Url,
// This is the image source, this image_data_url can directly be used by sdk to show the QR code
image_data_url: Url,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "WechatPayRedirectToQr",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-5454900227371355147
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeVerifyWithMicroDepositsResponse {
hosted_verification_url: Url,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeVerifyWithMicroDepositsResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_5533563456658528725
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeBankTransferDetails {
pub amount_remaining: MinorUnit,
pub currency: String,
pub financial_addresses: FinancialInformation,
pub hosted_instructions_url: Option<String>,
pub reference: Option<String>,
#[serde(rename = "type")]
pub bank_transfer_type: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeBankTransferDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-1342001331265810341
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeCashappQrResponse {
pub mobile_auth_url: Url,
pub qr_code: QrCodeResponse,
pub hosted_instructions_url: Url,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeCashappQrResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8763746282749457071
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct QrCodeResponse {
pub expires_at: Option<i64>,
pub image_url_png: Url,
pub image_url_svg: Url,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "QrCodeResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_8521554148131036005
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct AbaDetails {
pub account_number: Secret<String>,
pub bank_name: Secret<String>,
pub routing_number: Secret<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AbaDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-5152325271663784943
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct SwiftDetails {
pub account_number: Secret<String>,
pub bank_name: Secret<String>,
pub swift_code: Secret<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "SwiftDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-2420422312165045267
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeFinancialInformation {
pub iban: Option<SepaFinancialDetails>,
pub sort_code: Option<BacsFinancialDetails>,
pub supported_networks: Vec<String>,
#[serde(rename = "type")]
pub financial_info_type: String,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeFinancialInformation",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_5685074814329427443
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct AchFinancialInformation {
#[serde(flatten)]
pub financial_details: AchFinancialDetails,
pub supported_networks: Vec<String>,
#[serde(rename = "type")]
pub financial_info_type: String,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "AchFinancialInformation",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-3720406051240749502
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct SepaFinancialDetails {
pub account_holder_name: Secret<String>,
pub bic: Secret<String>,
pub country: Secret<String>,
pub iban: Secret<String>,
pub reference: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "SepaFinancialDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-1081543284889095792
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct BacsFinancialDetails {
pub account_holder_name: Secret<String>,
pub account_number: Secret<String>,
pub sort_code: Secret<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "BacsFinancialDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-3908783485025093644
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct RefundRequest {
pub amount: Option<MinorUnit>, //amount in cents, hence passed as integer
pub payment_intent: String,
#[serde(flatten)]
pub meta_data: StripeMetadata,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RefundRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-6668678154546694543
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct ChargeRefundRequest {
pub charge: String,
pub refund_application_fee: Option<bool>,
pub reverse_transfer: Option<bool>,
pub amount: Option<MinorUnit>, //amount in cents, hence passed as integer
#[serde(flatten)]
pub meta_data: StripeMetadata,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ChargeRefundRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4662012483449392107
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct RefundResponse {
pub id: String,
pub object: String,
pub amount: MinorUnit,
pub currency: String,
pub metadata: StripeMetadata,
pub payment_intent: String,
pub status: RefundStatus,
pub failure_reason: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "RefundResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7105961364673595842
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct ErrorDetails {
pub code: Option<String>,
#[serde(rename = "type")]
pub error_type: Option<String>,
pub message: Option<String>,
pub param: Option<String>,
pub decline_code: Option<String>,
pub payment_intent: Option<PaymentIntentErrorResponse>,
pub network_advice_code: Option<String>,
pub network_decline_code: Option<String>,
pub advice_code: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "ErrorDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-1781971787868615226
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct PaymentIntentErrorResponse {
pub id: String,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "PaymentIntentErrorResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4334158833734480404
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct ErrorResponse {
pub error: ErrorDetails,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_connectors_-1224157176792689427
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeShippingAddress {
#[serde(rename = "shipping[address][city]")]
pub city: Option<String>,
#[serde(rename = "shipping[address][country]")]
pub country: Option<api_enums::CountryAlpha2>,
#[serde(rename = "shipping[address][line1]")]
pub line1: Option<Secret<String>>,
#[serde(rename = "shipping[address][line2]")]
pub line2: Option<Secret<String>>,
#[serde(rename = "shipping[address][postal_code]")]
pub zip: Option<Secret<String>>,
#[serde(rename = "shipping[address][state]")]
pub state: Option<Secret<String>>,
#[serde(rename = "shipping[name]")]
pub name: Option<Secret<String>>,
#[serde(rename = "shipping[phone]")]
pub phone: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeShippingAddress",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-1839367610187650061
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeBillingAddress {
#[serde(rename = "payment_method_data[billing_details][email]")]
pub email: Option<Email>,
#[serde(rename = "payment_method_data[billing_details][address][country]")]
pub country: Option<api_enums::CountryAlpha2>,
#[serde(rename = "payment_method_data[billing_details][name]")]
pub name: Option<Secret<String>>,
#[serde(rename = "payment_method_data[billing_details][address][city]")]
pub city: Option<String>,
#[serde(rename = "payment_method_data[billing_details][address][line1]")]
pub address_line1: Option<Secret<String>>,
#[serde(rename = "payment_method_data[billing_details][address][line2]")]
pub address_line2: Option<Secret<String>>,
#[serde(rename = "payment_method_data[billing_details][address][postal_code]")]
pub zip_code: Option<Secret<String>>,
#[serde(rename = "payment_method_data[billing_details][address][state]")]
pub state: Option<Secret<String>>,
#[serde(rename = "payment_method_data[billing_details][phone]")]
pub phone: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeBillingAddress",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8304862284923649290
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeRedirectResponse {
pub payment_intent: Option<String>,
pub payment_intent_client_secret: Option<Secret<String>>,
pub source_redirect_slug: Option<String>,
pub redirect_status: Option<StripePaymentStatus>,
pub source_type: Option<Secret<String>>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeRedirectResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_5163830560542955825
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct CancelRequest {
cancellation_reason: Option<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CancelRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-908890132247155810
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct UpdateMetadataRequest {
#[serde(flatten)]
pub metadata: HashMap<String, String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "UpdateMetadataRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-642478693034790289
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct MitExemption {
#[serde(rename = "payment_method_options[card][mit_exemption][network_transaction_id]")]
pub network_transaction_id: Secret<String>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "MitExemption",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7910178012657176717
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct LatestPaymentAttempt {
pub payment_method_options: Option<StripePaymentMethodOptions>,
pub payment_method_details: Option<StripePaymentMethodDetailsResponse>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "LatestPaymentAttempt",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6900732609266915661
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct StripeMandateOptions {
reference: Secret<String>, // Extendable, But only important field to be captured
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "StripeMandateOptions",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_3364033640090203977
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct CaptureRequest {
/// If amount_to_capture is None stripe captures the amount in the payment intent.
amount_to_capture: Option<MinorUnit>,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "CaptureRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_2147881277289604088
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct WebhookEventDataResource {
pub object: Value,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "WebhookEventDataResource",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7778921824700613534
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct WebhookEventObjectResource {
pub data: WebhookEventDataResource,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "WebhookEventObjectResource",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-6107463859778772689
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct WebhookEvent {
#[serde(rename = "type")]
pub event_type: WebhookEventType,
#[serde(rename = "data")]
pub event_data: WebhookEventData,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "WebhookEvent",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4205738674507330123
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct WebhookEventTypeBody {
#[serde(rename = "type")]
pub event_type: WebhookEventType,
#[serde(rename = "data")]
pub event_data: WebhookStatusData,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "WebhookEventTypeBody",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_8182568002672581838
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct WebhookEventData {
#[serde(rename = "object")]
pub event_object: WebhookEventObjectData,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "WebhookEventData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-1013529217574974367
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub struct WebhookStatusData {
#[serde(rename = "object")]
pub event_object: WebhookStatusObjectData,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": null,
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": "WebhookStatusData",
"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.