id
stringlengths 20
153
| type
stringclasses 1
value | granularity
stringclasses 14
values | content
stringlengths 16
84.3k
| metadata
dict |
|---|---|---|---|---|
hyperswitch_struct_hyperswitch_connectors_5008283357401050528
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct PayLaterRequest {
flow: Flow,
payment_method: PaymentMethod,
}
|
{
"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": "PayLaterRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-9084147294698347308
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct CryptoRequest {
flow: Flow,
payment_method: PaymentMethod,
}
|
{
"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": "CryptoRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-935783394743507447
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct VoucherRequest {
flow: Flow,
payment_method: PaymentMethod,
}
|
{
"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": "VoucherRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_802089356384088318
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct BankRedirectRequest {
payment_method: PaymentMethod,
flow: Flow,
}
|
{
"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": "BankRedirectRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_3222782295792015972
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Cards3DSRequest {
#[serde(rename = "card[number]")]
pub card_number: CardNumber,
#[serde(rename = "card[expMonth]")]
pub card_exp_month: Secret<String>,
#[serde(rename = "card[expYear]")]
pub card_exp_year: Secret<String>,
return_url: 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": "Cards3DSRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7662544844208553077
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct CardsNon3DSRequest {
card: CardPayment,
description: 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": "CardsNon3DSRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6363859089428879992
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Flow {
pub return_url: 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": "Flow",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-9139326631494959332
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct PaymentMethod {
#[serde(rename = "type")]
method_type: PaymentMethodType,
billing: Billing,
}
|
{
"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": "PaymentMethod",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_1437646820501028180
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Billing {
name: Option<Secret<String>>,
email: Option<pii::Email>,
address: Option<Address>,
#[serde(skip_serializing_if = "Option::is_none")]
vat: 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": "Billing",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_5230333063434461868
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Address {
line1: Option<Secret<String>>,
line2: Option<Secret<String>>,
zip: Option<Secret<String>>,
state: Option<Secret<String>>,
city: Option<String>,
country: Option<api_models::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": "Address",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-6860233612902232663
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct DeviceData;
|
{
"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": "DeviceData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-2685950571151159995
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Card {
pub number: CardNumber,
pub exp_month: Secret<String>,
pub exp_year: Secret<String>,
pub cardholder_name: 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": "Card",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7076109850824780467
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Shift4WebhookObjectEventType {
#[serde(rename = "type")]
pub event_type: Shift4WebhookEvent,
}
|
{
"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": "Shift4WebhookObjectEventType",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_3817427889971570970
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Shift4WebhookObjectData {
pub id: String,
pub refunds: Option<Vec<RefundIdObject>>,
}
|
{
"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": "Shift4WebhookObjectData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6287106156795413258
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct RefundIdObject {
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": "RefundIdObject",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8888487263984814576
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Shift4WebhookObjectId {
#[serde(rename = "type")]
pub event_type: Shift4WebhookEvent,
pub data: Shift4WebhookObjectData,
}
|
{
"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": "Shift4WebhookObjectId",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_2397423627378132573
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Shift4WebhookObjectResource {
pub data: serde_json::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": "Shift4WebhookObjectResource",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8792322289322688725
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Shift4NonThreeDsResponse {
pub id: String,
pub currency: String,
pub amount: u32,
pub status: Shift4PaymentStatus,
pub captured: bool,
pub refunded: bool,
pub flow: Option<FlowResponse>,
}
|
{
"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": "Shift4NonThreeDsResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7070395658081565236
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Shift4ThreeDsResponse {
pub enrolled: bool,
pub version: Option<String>,
#[serde(rename = "redirectUrl")]
pub redirect_url: Option<Url>,
pub token: Token,
}
|
{
"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": "Shift4ThreeDsResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-2854177179218133462
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Token {
pub id: Secret<String>,
pub created: i64,
#[serde(rename = "objectType")]
pub object_type: String,
pub first6: String,
pub last4: String,
pub fingerprint: Secret<String>,
pub brand: String,
#[serde(rename = "type")]
pub token_type: String,
pub country: String,
pub used: bool,
#[serde(rename = "threeDSecureInfo")]
pub three_d_secure_info: ThreeDSecureInfo,
}
|
{
"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": "Token",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4458411109052258583
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct ThreeDSecureInfo {
pub amount: MinorUnit,
pub currency: String,
pub enrolled: bool,
#[serde(rename = "liabilityShift")]
pub liability_shift: Option<String>,
pub version: String,
#[serde(rename = "authenticationFlow")]
pub authentication_flow: Option<SecretSerdeValue>,
}
|
{
"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": "ThreeDSecureInfo",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4336527957602169664
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct FlowResponse {
pub next_action: Option<NextAction>,
pub redirect: Option<Redirect>,
pub return_url: Option<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": "FlowResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_3931081933027247774
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Redirect {
pub redirect_url: Option<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": "Redirect",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-5993101450404090503
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Shift4CardToken {
pub 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": "Shift4CardToken",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_2597645020467092447
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct Shift4RefundRequest {
charge_id: String,
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": "Shift4RefundRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4662012483449392107
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct RefundResponse {
pub id: String,
pub amount: i64,
pub currency: String,
pub charge: String,
pub status: Shift4RefundStatus,
}
|
{
"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_-4334158833734480404
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct ErrorResponse {
pub error: ApiErrorResponse,
}
|
{
"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_3229958009812985049
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs
pub struct ApiErrorResponse {
pub code: Option<String>,
pub 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": "ApiErrorResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-448720514380417623
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutRouterData<T> {
pub amount: MinorUnit,
pub router_data: T,
}
|
{
"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": "CheckoutRouterData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_3760422567831787046
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutGooglePayData {
protocol_version: Secret<String>,
signature: Secret<String>,
signed_message: 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": "CheckoutGooglePayData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4368505367125971822
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutApplePayData {
version: Secret<String>,
data: Secret<String>,
signature: Secret<String>,
header: CheckoutApplePayHeader,
}
|
{
"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": "CheckoutApplePayData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_158474953355619514
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutApplePayHeader {
ephemeral_public_key: Secret<String>,
public_key_hash: Secret<String>,
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": "CheckoutApplePayHeader",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-3730763900367643844
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutTokenResponse {
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": "CheckoutTokenResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4424439122841386098
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutAddress {
pub address_line1: Option<Secret<String>>,
pub address_line2: Option<Secret<String>>,
pub city: Option<String>,
pub state: Option<Secret<String>>,
pub zip: Option<Secret<String>>,
pub country: Option<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": "CheckoutAddress",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_1781211108308503330
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutAccountHolderDetails {
pub first_name: Option<Secret<String>>,
pub last_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": "CheckoutAccountHolderDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_3547257732690761449
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CardSource {
#[serde(rename = "type")]
pub source_type: CheckoutSourceTypes,
pub number: cards::CardNumber,
pub expiry_month: Secret<String>,
pub expiry_year: Secret<String>,
pub cvv: Option<Secret<String>>,
pub billing_address: Option<CheckoutAddress>,
pub account_holder: Option<CheckoutAccountHolderDetails>,
}
|
{
"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": "CardSource",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_3893069813764072251
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct WalletSource {
#[serde(rename = "type")]
pub source_type: CheckoutSourceTypes,
pub token: Secret<String>,
pub billing_address: Option<CheckoutAddress>,
}
|
{
"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": "WalletSource",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8897844177032810191
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct MandateSource {
#[serde(rename = "type")]
pub source_type: CheckoutSourceTypes,
#[serde(rename = "id")]
pub source_id: Option<String>,
pub billing_address: Option<CheckoutAddress>,
}
|
{
"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": "MandateSource",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8524721357966272195
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct GooglePayPredecrypt {
#[serde(rename = "type")]
_type: String,
token: cards::CardNumber,
token_type: String,
expiry_month: Secret<String>,
expiry_year: Secret<String>,
eci: String,
cryptogram: Option<Secret<String>>,
pub billing_address: Option<CheckoutAddress>,
}
|
{
"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": "GooglePayPredecrypt",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_8453009130817348035
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct ApplePayPredecrypt {
token: cards::CardNumber,
#[serde(rename = "type")]
decrypt_type: String,
token_type: String,
expiry_month: Secret<String>,
expiry_year: Secret<String>,
eci: Option<String>,
cryptogram: Secret<String>,
pub billing_address: Option<CheckoutAddress>,
}
|
{
"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": "ApplePayPredecrypt",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_5823706960146614776
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct ReturnUrl {
pub success_url: Option<String>,
pub failure_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": "ReturnUrl",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6344503314522016122
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutCustomer {
pub name: Option<Secret<String>>,
pub email: Option<common_utils::pii::Email>,
pub phone: Option<CheckoutPhoneDetails>,
pub tax_number: 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": "CheckoutCustomer",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_5282892668200727257
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutPhoneDetails {
pub country_code: Option<String>,
pub number: 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": "CheckoutPhoneDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4434977136349889393
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutProcessing {
pub order_id: Option<String>,
pub tax_amount: Option<MinorUnit>,
pub discount_amount: Option<MinorUnit>,
pub duty_amount: Option<MinorUnit>,
pub shipping_amount: Option<MinorUnit>,
pub shipping_tax_amount: 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": "CheckoutProcessing",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4003664791458339027
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutShipping {
pub address: Option<CheckoutAddress>,
pub from_address_zip: 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": "CheckoutShipping",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-7125725941049831726
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutLineItem {
pub commodity_code: Option<String>,
pub discount_amount: Option<MinorUnit>,
pub name: Option<String>,
pub quantity: Option<u16>,
pub reference: Option<String>,
pub tax_exempt: Option<bool>,
pub tax_amount: Option<MinorUnit>,
pub total_amount: Option<MinorUnit>,
pub unit_of_measure: Option<String>,
pub unit_price: 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": "CheckoutLineItem",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8461136498876861764
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct PaymentsRequest {
pub source: PaymentSource,
pub amount: MinorUnit,
pub currency: String,
pub processing_channel_id: Secret<String>,
#[serde(rename = "3ds")]
pub three_ds: CheckoutThreeDS,
#[serde(flatten)]
pub return_url: ReturnUrl,
pub capture: bool,
pub reference: String,
pub metadata: Option<Secret<serde_json::Value>>,
pub payment_type: CheckoutPaymentType,
pub merchant_initiated: Option<bool>,
pub previous_payment_id: Option<String>,
pub store_for_future_use: Option<bool>,
// Level 2/3 data fields
pub customer: Option<CheckoutCustomer>,
pub processing: Option<CheckoutProcessing>,
pub shipping: Option<CheckoutShipping>,
pub items: Option<Vec<CheckoutLineItem>>,
pub partial_authorization: Option<CheckoutPartialAuthorization>,
pub payment_ip: Option<Secret<String, common_utils::pii::IpAddress>>,
}
|
{
"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": "PaymentsRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8543345036591645250
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutPartialAuthorization {
pub enabled: bool,
}
|
{
"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": "CheckoutPartialAuthorization",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_1555636892717699776
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutMeta {
pub psync_flow: CheckoutPaymentIntent,
}
|
{
"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": "CheckoutMeta",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_2962133989560835825
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutThreeDS {
enabled: bool,
force_3ds: bool,
eci: Option<String>,
cryptogram: Option<Secret<String>>,
xid: Option<String>,
version: Option<String>,
challenge_indicator: CheckoutChallengeIndicator,
}
|
{
"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": "CheckoutThreeDS",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_5761430495789578088
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct Href {
#[serde(rename = "href")]
redirection_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": "Href",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4507619932514513600
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct Links {
redirect: Option<Href>,
}
|
{
"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": "Links",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_8584530910177799027
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct Source {
id: Option<String>,
avs_check: Option<String>,
cvv_check: 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": "Source",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6260182417145264066
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct PaymentsResponse {
id: String,
amount: Option<MinorUnit>,
currency: Option<String>,
scheme_id: Option<String>,
processing: Option<PaymentProcessingDetails>,
action_id: Option<String>,
status: CheckoutPaymentStatus,
#[serde(rename = "_links")]
links: Links,
balances: Option<Balances>,
reference: Option<String>,
response_code: Option<String>,
response_summary: Option<String>,
approved: Option<bool>,
processed_on: Option<String>,
source: Option<Source>,
}
|
{
"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": "PaymentsResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6446379954920625172
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct PaymentProcessingDetails {
/// The Merchant Advice Code (MAC) provided by Mastercard, which contains additional information about the transaction.
pub partner_merchant_advice_code: Option<String>,
/// The original authorization response code sent by the scheme.
pub partner_response_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": "PaymentProcessingDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-5510472562163035055
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct Balances {
available_to_capture: i32,
}
|
{
"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": "Balances",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6715520123569657185
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct PaymentVoidRequest {
reference: 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": "PaymentVoidRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-6319635780171891402
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct PaymentVoidResponse {
#[serde(skip)]
pub(super) status: u16,
action_id: String,
reference: String,
scheme_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": "PaymentVoidResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_2290924977950271759
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct PaymentCaptureRequest {
pub amount: Option<MinorUnit>,
pub capture_type: Option<CaptureType>,
pub processing_channel_id: 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": "PaymentCaptureRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_5247190478775515610
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct PaymentCaptureResponse {
pub action_id: String,
pub reference: Option<String>,
pub scheme_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": "PaymentCaptureResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-3908783485025093644
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct RefundRequest {
amount: Option<MinorUnit>,
reference: 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": "RefundRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4662012483449392107
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct RefundResponse {
action_id: String,
reference: 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_-6612047316983960622
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutRefundResponse {
pub(super) status: u16,
pub(super) response: RefundResponse,
}
|
{
"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": "CheckoutRefundResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8423821328713895017
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutErrorResponse {
pub request_id: Option<String>,
pub error_type: Option<String>,
pub error_codes: Option<Vec<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": "CheckoutErrorResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_8578189403187694975
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct ActionResponse {
#[serde(rename = "id")]
pub action_id: String,
pub amount: MinorUnit,
#[serde(rename = "type")]
pub action_type: ActionType,
pub approved: Option<bool>,
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": "ActionResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-3720169394979772202
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutRedirectResponse {
pub status: Option<CheckoutRedirectResponseStatus>,
#[serde(rename = "cko-session-id")]
pub cko_session_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": "CheckoutRedirectResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-3052523103738591798
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutWebhookEventTypeBody {
#[serde(rename = "type")]
pub transaction_type: CheckoutWebhookEventType,
}
|
{
"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": "CheckoutWebhookEventTypeBody",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_853166318878797599
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutWebhookData {
pub id: String,
pub payment_id: Option<String>,
pub action_id: Option<String>,
pub reference: Option<String>,
pub amount: MinorUnit,
pub balances: Option<Balances>,
pub response_code: Option<String>,
pub response_summary: Option<String>,
pub currency: String,
pub processed_on: Option<String>,
pub approved: Option<bool>,
}
|
{
"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": "CheckoutWebhookData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_2765718825924171610
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutWebhookBody {
#[serde(rename = "type")]
pub transaction_type: CheckoutWebhookEventType,
pub data: CheckoutWebhookData,
#[serde(rename = "_links")]
pub links: Links,
pub source: Option<Source>,
}
|
{
"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": "CheckoutWebhookBody",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_2298868839072227860
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutDisputeWebhookData {
pub id: String,
pub payment_id: Option<String>,
pub action_id: Option<String>,
pub amount: MinorUnit,
pub currency: enums::Currency,
#[serde(default, with = "common_utils::custom_serde::iso8601::option")]
pub evidence_required_by: Option<PrimitiveDateTime>,
pub reason_code: Option<String>,
#[serde(default, with = "common_utils::custom_serde::iso8601::option")]
pub date: Option<PrimitiveDateTime>,
}
|
{
"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": "CheckoutDisputeWebhookData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-7758001387092049376
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutDisputeWebhookBody {
#[serde(rename = "type")]
pub transaction_type: CheckoutDisputeTransactionType,
pub data: CheckoutDisputeWebhookData,
#[serde(default, with = "common_utils::custom_serde::iso8601::option")]
pub created_on: Option<PrimitiveDateTime>,
}
|
{
"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": "CheckoutDisputeWebhookBody",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7862787603713985558
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutWebhookObjectResource {
pub data: serde_json::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": "CheckoutWebhookObjectResource",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-813934460490774057
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct CheckoutFileRequest {
pub purpose: &'static str,
#[serde(skip)]
pub file: Vec<u8>,
#[serde(skip)]
pub file_key: String,
#[serde(skip)]
pub file_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": "CheckoutFileRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_5088222015791006138
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct FileUploadResponse {
#[serde(rename = "id")]
pub file_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": "FileUploadResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6203981116269496424
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs
pub struct Evidence {
pub proof_of_delivery_or_service_file: Option<String>,
pub invoice_or_receipt_file: Option<String>,
pub invoice_showing_distinct_transactions_file: Option<String>,
pub customer_communication_file: Option<String>,
pub refund_or_cancellation_policy_file: Option<String>,
pub recurring_transaction_agreement_file: Option<String>,
pub additional_evidence_file: 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": "Evidence",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_3079454279798482725
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs
pub struct KatapultPaymentsRequest {
amount: StringMinorUnit,
card: KatapultCard,
}
|
{
"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": "KatapultPaymentsRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-1645281759853183297
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs
pub struct KatapultCard {
number: cards::CardNumber,
expiry_month: Secret<String>,
expiry_year: Secret<String>,
cvc: Secret<String>,
complete: bool,
}
|
{
"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": "KatapultCard",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-8726191894392527520
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs
pub struct KatapultPaymentsResponse {
status: KatapultPaymentStatus,
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": "KatapultPaymentsResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4919491897071938219
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs
pub struct KatapultRefundRequest {
pub amount: StringMinorUnit,
}
|
{
"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": "KatapultRefundRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4662012483449392107
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs
pub struct RefundResponse {
id: String,
status: RefundStatus,
}
|
{
"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_-4427715161592407405
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs
pub struct KatapultErrorResponse {
pub status_code: u16,
pub code: String,
pub message: String,
pub reason: Option<String>,
pub network_advice_code: Option<String>,
pub network_decline_code: Option<String>,
pub network_error_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": "KatapultErrorResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-76716672340251683
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenRouterData<T> {
pub amount: String,
pub router_data: T,
}
|
{
"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": "ZenRouterData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7379263082243921304
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ApiRequest {
merchant_transaction_id: String,
payment_channel: ZenPaymentChannels,
amount: String,
currency: enums::Currency,
payment_specific_data: ZenPaymentSpecificData,
customer: ZenCustomerDetails,
custom_ipn_url: String,
items: Vec<ZenItemObject>,
}
|
{
"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": "ApiRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_1115145654763488419
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct CheckoutRequest {
amount: String,
currency: enums::Currency,
custom_ipn_url: String,
items: Vec<ZenItemObject>,
merchant_transaction_id: String,
signature: Option<Secret<String>>,
specified_payment_channel: ZenPaymentChannels,
terminal_uuid: Secret<String>,
url_redirect: 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": "CheckoutRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4761563351565358215
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenCustomerDetails {
email: pii::Email,
ip: Secret<String, pii::IpAddress>,
}
|
{
"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": "ZenCustomerDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_7310996569977709047
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenPaymentData {
browser_details: ZenBrowserDetails,
#[serde(rename = "type")]
payment_type: ZenPaymentTypes,
#[serde(skip_serializing_if = "Option::is_none")]
token: Option<Secret<String>>,
#[serde(skip_serializing_if = "Option::is_none")]
card: Option<ZenCardDetails>,
descriptor: String,
return_verify_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": "ZenPaymentData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-7318255646139166210
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenGeneralPaymentData {
#[serde(rename = "type")]
payment_type: ZenPaymentTypes,
return_url: 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": "ZenGeneralPaymentData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_1441420982956602294
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenBrowserDetails {
color_depth: String,
java_enabled: bool,
lang: String,
screen_height: String,
screen_width: String,
timezone: String,
accept_header: String,
window_size: String,
user_agent: 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": "ZenBrowserDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4388605453351721750
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenCardDetails {
number: CardNumber,
expiry_date: Secret<String>,
cvv: 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": "ZenCardDetails",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-5236355803657264961
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenItemObject {
name: String,
price: String,
quantity: u16,
line_amount_total: 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": "ZenItemObject",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-5850388558956561543
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct SessionObject {
pub apple_pay: Option<WalletSessionData>,
pub google_pay: Option<WalletSessionData>,
}
|
{
"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": "SessionObject",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_6782075970121154519
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct WalletSessionData {
pub terminal_uuid: Option<Secret<String>>,
pub pay_wall_secret: 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": "WalletSessionData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_4047140533615093351
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ApiResponse {
status: ZenPaymentStatus,
id: String,
// merchant_transaction_id: Option<String>,
merchant_action: Option<ZenMerchantAction>,
reject_code: Option<String>,
reject_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": "ApiResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_1743456293693576883
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct CheckoutResponse {
redirect_url: 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": "CheckoutResponse",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-1550235206833796944
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenMerchantAction {
action: ZenActions,
data: ZenMerchantActionData,
}
|
{
"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": "ZenMerchantAction",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4972797423213796562
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenMerchantActionData {
redirect_url: 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": "ZenMerchantActionData",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_3587331223089925129
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenRefundRequest {
amount: String,
transaction_id: String,
currency: enums::Currency,
merchant_transaction_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": "ZenRefundRequest",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_-4662012483449392107
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct RefundResponse {
id: String,
status: RefundStatus,
reject_code: Option<String>,
reject_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_5658562851008712114
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenWebhookBody {
#[serde(rename = "transactionId")]
pub id: String,
pub merchant_transaction_id: String,
pub amount: String,
pub currency: String,
pub status: ZenPaymentStatus,
}
|
{
"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": "ZenWebhookBody",
"total_crates": null,
"trait_name": null
}
|
hyperswitch_struct_hyperswitch_connectors_1867747856292513600
|
clm
|
struct
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/zen/transformers.rs
pub struct ZenWebhookSignature {
pub hash: 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": "ZenWebhookSignature",
"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.