id
stringlengths 20
153
| type
stringclasses 1
value | granularity
stringclasses 14
values | content
stringlengths 16
84.3k
| metadata
dict |
|---|---|---|---|---|
hyperswitch_enum_hyperswitch_connectors_-3972769830734415696
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum StripeExtendedAuthorizationStatus {
Disabled,
Enabled,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "StripeExtendedAuthorizationStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_7769933329171552177
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum StripeOvercaptureStatus {
Available,
Unavailable,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "StripeOvercaptureStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-4641421679359820427
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum StripePaymentMethodDetailsResponse {
//only ideal and bancontact is supported by stripe for recurring payment in bank redirect
Ideal {
ideal: StripeBankRedirectDetails,
},
Bancontact {
bancontact: StripeBankRedirectDetails,
},
//other payment method types supported by stripe. To avoid deserialization error.
Blik,
Eps,
Fpx,
Giropay,
#[serde(rename = "p24")]
Przelewy24,
Card {
card: StripeAdditionalCardDetails,
},
Cashapp {
cashapp: StripeCashappDetails,
},
Klarna,
Affirm,
AfterpayClearpay,
AmazonPay,
ApplePay,
#[serde(rename = "us_bank_account")]
Ach,
#[serde(rename = "sepa_debit")]
Sepa,
#[serde(rename = "au_becs_debit")]
Becs,
#[serde(rename = "bacs_debit")]
Bacs,
#[serde(rename = "wechat_pay")]
Wechatpay,
Alipay,
CustomerBalance,
RevolutPay,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "StripePaymentMethodDetailsResponse",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-3997909256154763919
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum StripeNextActionResponse {
CashappHandleRedirectOrDisplayQrCode(StripeCashappQrResponse),
RedirectToUrl(StripeRedirectToUrlResponse),
AlipayHandleRedirect(StripeRedirectToUrlResponse),
VerifyWithMicrodeposits(StripeVerifyWithMicroDepositsResponse),
WechatPayDisplayQrCode(WechatPayRedirectToQr),
DisplayBankTransferInstructions(StripeBankTransferDetails),
MultibancoDisplayDetails(MultibancoCreditTansferResponse),
NoNextActionBody,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "StripeNextActionResponse",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-11256773625459135
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum FinancialInformation {
AchFinancialInformation(Vec<AchFinancialInformation>),
StripeFinancialInformation(Vec<StripeFinancialInformation>),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "FinancialInformation",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-2005444105817372887
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum AchFinancialDetails {
Aba(AbaDetails),
Swift(SwiftDetails),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "AchFinancialDetails",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-3444584913239946813
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum RefundStatus {
Succeeded,
Failed,
#[default]
Pending,
RequiresAction,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "RefundStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_2344030829040691114
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum StripePaymentMethodOptions {
Card {
mandate_options: Option<StripeMandateOptions>,
#[serde(rename = "payment_method_options[card][network_transaction_id]")]
network_transaction_id: Option<Secret<String>>,
#[serde(flatten)]
mit_exemption: Option<MitExemption>, // To be used for MIT mandate txns
},
Klarna {},
Affirm {},
AfterpayClearpay {},
AmazonPay {},
Eps {},
Giropay {},
Ideal {},
Sofort {},
#[serde(rename = "us_bank_account")]
Ach {},
#[serde(rename = "sepa_debit")]
Sepa {},
#[serde(rename = "au_becs_debit")]
Becs {},
#[serde(rename = "bacs_debit")]
Bacs {},
Bancontact {},
WechatPay {},
Alipay {},
#[serde(rename = "p24")]
Przelewy24 {},
CustomerBalance {},
Multibanco {},
Blik {},
Cashapp {},
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "StripePaymentMethodOptions",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-8820261597339770236
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum LatestAttempt {
PaymentIntentAttempt(Box<LatestPaymentAttempt>),
SetupAttempt(String),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "LatestAttempt",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-5273051423024345866
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum WebhookPaymentMethodType {
AchCreditTransfer,
MultibancoBankTransfers,
#[serde(other)]
Unknown,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "WebhookPaymentMethodType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-1597885489338759824
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum WebhookEventObjectType {
PaymentIntent,
Dispute,
Charge,
Source,
Refund,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "WebhookEventObjectType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_4918927817038163645
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum WebhookEventType {
#[serde(rename = "payment_intent.payment_failed")]
PaymentIntentFailed,
#[serde(rename = "payment_intent.succeeded")]
PaymentIntentSucceed,
#[serde(rename = "charge.dispute.created")]
DisputeCreated,
#[serde(rename = "charge.dispute.closed")]
DisputeClosed,
#[serde(rename = "charge.dispute.updated")]
DisputeUpdated,
#[serde(rename = "charge.dispute.funds_reinstated")]
ChargeDisputeFundsReinstated,
#[serde(rename = "charge.dispute.funds_withdrawn")]
ChargeDisputeFundsWithdrawn,
#[serde(rename = "charge.expired")]
ChargeExpired,
#[serde(rename = "charge.failed")]
ChargeFailed,
#[serde(rename = "charge.pending")]
ChargePending,
#[serde(rename = "charge.captured")]
ChargeCaptured,
#[serde(rename = "charge.refund.updated")]
ChargeRefundUpdated,
#[serde(rename = "charge.succeeded")]
ChargeSucceeded,
#[serde(rename = "charge.updated")]
ChargeUpdated,
#[serde(rename = "charge.refunded")]
ChargeRefunded,
#[serde(rename = "payment_intent.canceled")]
PaymentIntentCanceled,
#[serde(rename = "payment_intent.created")]
PaymentIntentCreated,
#[serde(rename = "payment_intent.processing")]
PaymentIntentProcessing,
#[serde(rename = "payment_intent.requires_action")]
PaymentIntentRequiresAction,
#[serde(rename = "payment_intent.amount_capturable_updated")]
PaymentIntentAmountCapturableUpdated,
#[serde(rename = "source.chargeable")]
SourceChargeable,
#[serde(rename = "source.transaction.created")]
SourceTransactionCreated,
#[serde(rename = "payment_intent.partially_funded")]
PaymentIntentPartiallyFunded,
#[serde(other)]
Unknown,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "WebhookEventType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-5178426804612481596
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs
pub enum WebhookEventStatus {
WarningNeedsResponse,
WarningClosed,
WarningUnderReview,
Won,
Lost,
NeedsResponse,
UnderReview,
ChargeRefunded,
Succeeded,
RequiresPaymentMethod,
RequiresConfirmation,
RequiresAction,
Processing,
RequiresCapture,
Canceled,
Chargeable,
Failed,
#[serde(other)]
Unknown,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "WebhookEventStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-3741462713142241569
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
pub enum StripeConnectPayoutStatus {
Canceled,
Failed,
InTransit,
Paid,
Pending,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "StripeConnectPayoutStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-6843480902183192726
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs
pub enum StripeConnectRecipientAccountCreateRequest {
Bank(RecipientBankAccountRequest),
Card(RecipientCardAccountRequest),
Token(RecipientTokenRequest),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "StripeConnectRecipientAccountCreateRequest",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_8060561118397439629
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs
pub enum CheckbookPaymentStatus {
Unpaid,
InProcess,
Paid,
Mailed,
Printed,
Failed,
Expired,
Void,
#[default]
Processing,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "CheckbookPaymentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-4631304909513416602
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
pub enum PaymentIntent {
AuthorizeWithCapture,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "PaymentIntent",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-5313465728638314010
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
pub enum FinalizeState {
Open,
Completed,
Canceled,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "FinalizeState",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-8487370498529204354
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
pub enum AmazonpayPaymentStatus {
AuthorizationInitiated,
Authorized,
Canceled,
Captured,
CaptureInitiated,
Declined,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "AmazonpayPaymentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_5353976733749588984
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
pub enum ReleaseEnvironment {
Sandbox,
Live,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ReleaseEnvironment",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_connectors_-3444584913239946813
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs
pub enum RefundStatus {
RefundInitiated,
Refunded,
Declined,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "RefundStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_1908523882927746585
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/connector_enums.rs
pub enum Connector {
Authipay,
Adyenplatform,
#[cfg(feature = "dummy_connector")]
#[serde(rename = "stripe_billing_test")]
#[strum(serialize = "stripe_billing_test")]
DummyBillingConnector,
#[cfg(feature = "dummy_connector")]
#[serde(rename = "phonypay")]
#[strum(serialize = "phonypay")]
DummyConnector1,
#[cfg(feature = "dummy_connector")]
#[serde(rename = "fauxpay")]
#[strum(serialize = "fauxpay")]
DummyConnector2,
#[cfg(feature = "dummy_connector")]
#[serde(rename = "pretendpay")]
#[strum(serialize = "pretendpay")]
DummyConnector3,
#[cfg(feature = "dummy_connector")]
#[serde(rename = "stripe_test")]
#[strum(serialize = "stripe_test")]
DummyConnector4,
#[cfg(feature = "dummy_connector")]
#[serde(rename = "adyen_test")]
#[strum(serialize = "adyen_test")]
DummyConnector5,
#[cfg(feature = "dummy_connector")]
#[serde(rename = "checkout_test")]
#[strum(serialize = "checkout_test")]
DummyConnector6,
#[cfg(feature = "dummy_connector")]
#[serde(rename = "paypal_test")]
#[strum(serialize = "paypal_test")]
DummyConnector7,
Aci,
Adyen,
Affirm,
Airwallex,
Amazonpay,
Archipel,
Authorizedotnet,
Bambora,
Bamboraapac,
Bankofamerica,
Barclaycard,
Billwerk,
Bitpay,
Bluesnap,
Blackhawknetwork,
#[serde(alias = "bluecode")]
Calida,
Boku,
Braintree,
Breadpay,
Cardinal,
Cashtocode,
Celero,
Chargebee,
Checkbook,
Checkout,
Coinbase,
Coingate,
Custombilling,
Cryptopay,
CtpMastercard,
CtpVisa,
Cybersource,
Datatrans,
Deutschebank,
Digitalvirgo,
Dlocal,
Dwolla,
Ebanx,
Elavon,
Facilitapay,
Finix,
Fiserv,
Fiservemea,
Fiuu,
Flexiti,
Forte,
Getnet,
Gigadat,
Globalpay,
Globepay,
Gocardless,
Gpayments,
Hipay,
Helcim,
HyperswitchVault,
// Hyperwallet, added as template code for future usage
Inespay,
Iatapay,
Itaubank,
Jpmorgan,
Juspaythreedsserver,
Klarna,
Loonio,
Mifinity,
Mollie,
Moneris,
Multisafepay,
Netcetera,
Nexinets,
Nexixpay,
Nmi,
Nomupay,
Noon,
Nordea,
Novalnet,
Nuvei,
// Opayo, added as template code for future usage
Opennode,
Paybox,
// Payeezy, As psync and rsync are not supported by this connector, it is added as template code for future usage
Payload,
Payme,
Payone,
Paypal,
Paysafe,
Paystack,
Paytm,
Payu,
Peachpayments,
Phonepe,
Placetopay,
Powertranz,
Prophetpay,
Rapyd,
Razorpay,
Recurly,
Redsys,
Santander,
Shift4,
Silverflow,
Square,
Stax,
Stripe,
Stripebilling,
Taxjar,
Threedsecureio,
// Tokenio,
//Thunes,
Tesouro,
Tokenex,
Tokenio,
Trustpay,
Trustpayments,
Tsys,
// UnifiedAuthenticationService,
Vgs,
Volt,
Wellsfargo,
// Wellsfargopayout,
Wise,
Worldline,
Worldpay,
Worldpayvantiv,
Worldpayxml,
Signifyd,
Plaid,
Riskified,
Xendit,
Zen,
Zsl,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "Connector",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-473436325686516364
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/connector_enums.rs
pub enum InvoiceStatus {
InvoiceCreated,
PaymentPending,
PaymentPendingTimeout,
PaymentSucceeded,
PaymentFailed,
PaymentCanceled,
InvoicePaid,
ManualReview,
Voided,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "InvoiceStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-5815164780433672942
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum ApplicationError {
#[error("Application configuration error")]
ConfigurationError,
#[error("Invalid configuration value provided: {0}")]
InvalidConfigurationValueError(String),
#[error("Metrics error")]
MetricsError,
#[error("I/O: {0}")]
IoError(std::io::Error),
#[error("Error while constructing api client: {0}")]
ApiClientError(ApiClientError),
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "ApplicationError",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_1961685875770751982
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum ApiClientError {
#[error("Header map construction failed")]
HeaderMapConstructionFailed,
#[error("Invalid proxy configuration")]
InvalidProxyConfiguration,
#[error("Client construction failed")]
ClientConstructionFailed,
#[error("Certificate decode failed")]
CertificateDecodeFailed,
#[error("Request body serialization failed")]
BodySerializationFailed,
#[error("Unexpected state reached/Invariants conflicted")]
UnexpectedState,
#[error("Failed to parse URL")]
UrlParsingFailed,
#[error("URL encoding of request payload failed")]
UrlEncodingFailed,
#[error("Failed to send request to connector {0}")]
RequestNotSent(String),
#[error("Failed to decode response")]
ResponseDecodingFailed,
#[error("Server responded with Request Timeout")]
RequestTimeoutReceived,
#[error("connection closed before a message could complete")]
ConnectionClosedIncompleteMessage,
#[error("Server responded with Internal Server Error")]
InternalServerErrorReceived,
#[error("Server responded with Bad Gateway")]
BadGatewayReceived,
#[error("Server responded with Service Unavailable")]
ServiceUnavailableReceived,
#[error("Server responded with Gateway Timeout")]
GatewayTimeoutReceived,
#[error("Server responded with unexpected response")]
UnexpectedServerResponse,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "ApiClientError",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-7139900888187062879
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum AttemptStatus {
Started,
AuthenticationFailed,
RouterDeclined,
AuthenticationPending,
AuthenticationSuccessful,
Authorized,
AuthorizationFailed,
Charged,
Authorizing,
CodInitiated,
Voided,
VoidedPostCharge,
VoidInitiated,
CaptureInitiated,
CaptureFailed,
VoidFailed,
AutoRefunded,
PartialCharged,
PartiallyAuthorized,
PartialChargedAndChargeable,
Unresolved,
#[default]
Pending,
Failure,
PaymentMethodAwaited,
ConfirmationAwaited,
DeviceDataCollectionPending,
IntegrityFailure,
Expired,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "AttemptStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-592882691452683851
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum ApplePayPaymentMethodType {
Debit,
Credit,
Prepaid,
Store,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "ApplePayPaymentMethodType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_343054011400645897
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum CardDiscovery {
#[default]
Manual,
SavedCard,
ClickToPay,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "CardDiscovery",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_2693725483780111571
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum RevenueRecoveryAlgorithmType {
#[default]
Monitoring,
Smart,
Cascading,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "RevenueRecoveryAlgorithmType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-3090456413429909781
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum GsmDecision {
Retry,
#[default]
DoDefault,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "GsmDecision",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_8883326717942814630
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum GsmFeature {
Retry,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "GsmFeature",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_7668906361805174588
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum AuthenticationType {
/// If the card is enrolled for 3DS authentication, the 3DS based authentication will be activated. The liability of chargeback shift to the issuer
ThreeDs,
/// 3DS based authentication will not be activated. The liability of chargeback stays with the merchant.
#[default]
NoThreeDs,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "AuthenticationType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_1502877795818352875
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum FraudCheckStatus {
Fraud,
ManualReview,
#[default]
Pending,
Legit,
TransactionFailure,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "FraudCheckStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-3838028417729627244
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum CaptureStatus {
// Capture request initiated
#[default]
Started,
// Capture request was successful
Charged,
// Capture is pending at connector side
Pending,
// Capture request failed
Failed,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "CaptureStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-4187149381304609298
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum AuthorizationStatus {
Success,
Failure,
// Processing state is before calling connector
#[default]
Processing,
// Requires merchant action
Unresolved,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "AuthorizationStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_1990824973901484906
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum PaymentResourceUpdateStatus {
Success,
Failure,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "PaymentResourceUpdateStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_7181435422045663090
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum BlocklistDataKind {
PaymentMethod,
CardBin,
ExtendedCardBin,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "BlocklistDataKind",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_4296392151403122830
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum CaptureMethod {
/// Post the payment authorization, the capture will be executed on the full amount immediately.
#[default]
Automatic,
/// The capture will happen only if the merchant triggers a Capture API request. Allows for a single capture of the authorized amount.
Manual,
/// The capture will happen only if the merchant triggers a Capture API request. Allows for multiple partial captures up to the authorized amount.
ManualMultiple,
/// The capture can be scheduled to automatically get triggered at a specific date & time.
Scheduled,
/// Handles separate auth and capture sequentially; effectively the same as `Automatic` for most connectors.
SequentialAutomatic,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "CaptureMethod",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_7892461800290739992
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum ConnectorType {
/// PayFacs, Acquirers, Gateways, BNPL etc
PaymentProcessor,
/// Fraud, Currency Conversion, Crypto etc
PaymentVas,
/// Accounting, Billing, Invoicing, Tax etc
FinOperations,
/// Inventory, ERP, CRM, KYC etc
FizOperations,
/// Payment Networks like Visa, MasterCard etc
Networks,
/// All types of banks including corporate / commercial / personal / neo banks
BankingEntities,
/// All types of non-banking financial institutions including Insurance, Credit / Lending etc
NonBankingFinance,
/// Acquirers, Gateways etc
PayoutProcessor,
/// PaymentMethods Auth Services
PaymentMethodAuth,
/// 3DS Authentication Service Providers
AuthenticationProcessor,
/// Tax Calculation Processor
TaxProcessor,
/// Represents billing processors that handle subscription management, invoicing,
/// and recurring payments. Examples include Chargebee, Recurly, and Stripe Billing.
BillingProcessor,
/// Represents vaulting processors that handle the storage and management of payment method data
VaultProcessor,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "ConnectorType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-4654261245626234844
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum PaymentAction {
PSync,
CompleteAuthorize,
PaymentAuthenticateCompleteAuthorize,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "PaymentAction",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_7437542122403932550
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum CallConnectorAction {
Trigger,
Avoid,
StatusUpdate {
status: AttemptStatus,
error_code: Option<String>,
error_message: Option<String>,
},
HandleResponse(Vec<u8>),
UCSHandleResponse(Vec<u8>),
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "CallConnectorAction",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_5156997880574142278
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum DocumentKind {
Cnpj,
Cpf,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "DocumentKind",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-7615948011904537824
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum Currency {
AED,
AFN,
ALL,
AMD,
ANG,
AOA,
ARS,
AUD,
AWG,
AZN,
BAM,
BBD,
BDT,
BGN,
BHD,
BIF,
BMD,
BND,
BOB,
BRL,
BSD,
BTN,
BWP,
BYN,
BZD,
CAD,
CDF,
CHF,
CLF,
CLP,
CNY,
COP,
CRC,
CUC,
CUP,
CVE,
CZK,
DJF,
DKK,
DOP,
DZD,
EGP,
ERN,
ETB,
EUR,
FJD,
FKP,
GBP,
GEL,
GHS,
GIP,
GMD,
GNF,
GTQ,
GYD,
HKD,
HNL,
HRK,
HTG,
HUF,
IDR,
ILS,
INR,
IQD,
IRR,
ISK,
JMD,
JOD,
JPY,
KES,
KGS,
KHR,
KMF,
KPW,
KRW,
KWD,
KYD,
KZT,
LAK,
LBP,
LKR,
LRD,
LSL,
LYD,
MAD,
MDL,
MGA,
MKD,
MMK,
MNT,
MOP,
MRU,
MUR,
MVR,
MWK,
MXN,
MYR,
MZN,
NAD,
NGN,
NIO,
NOK,
NPR,
NZD,
OMR,
PAB,
PEN,
PGK,
PHP,
PKR,
PLN,
PYG,
QAR,
RON,
RSD,
RUB,
RWF,
SAR,
SBD,
SCR,
SDG,
SEK,
SGD,
SHP,
SLE,
SLL,
SOS,
SRD,
SSP,
STD,
STN,
SVC,
SYP,
SZL,
THB,
TJS,
TMT,
TND,
TOP,
TRY,
TTD,
TWD,
TZS,
UAH,
UGX,
#[default]
USD,
UYU,
UZS,
VES,
VND,
VUV,
WST,
XAF,
XCD,
XOF,
XPF,
YER,
ZAR,
ZMW,
ZWL,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "Currency",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_5396026393265211466
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum EventClass {
Payments,
Refunds,
Disputes,
Mandates,
#[cfg(feature = "payouts")]
Payouts,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "EventClass",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_2720834682288957129
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum WebhookDeliveryAttempt {
InitialAttempt,
AutomaticRetry,
ManualRetry,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "WebhookDeliveryAttempt",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_6494872303595258616
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum OutgoingWebhookEndpointStatus {
/// The webhook endpoint is active and operational.
Active,
/// The webhook endpoint is temporarily disabled.
Inactive,
/// The webhook endpoint is deprecated and can no longer be reactivated.
Deprecated,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "OutgoingWebhookEndpointStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_1880042760992920518
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum MerchantStorageScheme {
#[default]
PostgresOnly,
RedisKv,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "MerchantStorageScheme",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-4947395789581494335
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum IntentStatus {
/// The payment has succeeded. Refunds and disputes can be initiated.
/// Manual retries are not allowed to be performed.
Succeeded,
/// The payment has failed. Refunds and disputes cannot be initiated.
/// This payment can be retried manually with a new payment attempt.
Failed,
/// This payment has been cancelled.
Cancelled,
/// This payment has been cancelled post capture.
CancelledPostCapture,
/// This payment is still being processed by the payment processor.
/// The status update might happen through webhooks or polling with the connector.
Processing,
/// The payment is waiting on some action from the customer.
RequiresCustomerAction,
/// The payment is waiting on some action from the merchant
/// This would be in case of manual fraud approval
RequiresMerchantAction,
/// The payment is waiting to be confirmed with the payment method by the customer.
RequiresPaymentMethod,
#[default]
RequiresConfirmation,
/// The payment has been authorized, and it waiting to be captured.
RequiresCapture,
/// The payment has been captured partially. The remaining amount is cannot be captured.
PartiallyCaptured,
/// The payment has been captured partially and the remaining amount is capturable
PartiallyCapturedAndCapturable,
/// The payment has been authorized for a partial amount and requires capture
PartiallyAuthorizedAndRequiresCapture,
/// There has been a discrepancy between the amount/currency sent in the request and the amount/currency received by the processor
Conflicted,
/// The payment expired before it could be captured.
Expired,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "IntentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-2115484803176274834
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum FutureUsage {
OffSession,
#[default]
OnSession,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "FutureUsage",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_5078543841468680780
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum PaymentMethodIssuerCode {
JpHdfc,
JpIcici,
JpGooglepay,
JpApplepay,
JpPhonepay,
JpWechat,
JpSofort,
JpGiropay,
JpSepa,
JpBacs,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "PaymentMethodIssuerCode",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-3307010532850946958
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum PaymentMethodStatus {
/// Indicates that the payment method is active and can be used for payments.
Active,
/// Indicates that the payment method is not active and hence cannot be used for payments.
Inactive,
/// Indicates that the payment method is awaiting some data or action before it can be marked
/// as 'active'.
Processing,
/// Indicates that the payment method is awaiting some data before changing state to active
AwaitingData,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "PaymentMethodStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-7385441485500474544
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum PaymentExperience {
/// The URL to which the customer needs to be redirected for completing the payment.
#[default]
RedirectToUrl,
/// Contains the data for invoking the sdk client for completing the payment.
InvokeSdkClient,
/// The QR code data to be displayed to the customer.
DisplayQrCode,
/// Contains data to finish one click payment.
OneClick,
/// Redirect customer to link wallet
LinkWallet,
/// Contains the data for invoking the sdk client for completing the payment.
InvokePaymentApp,
/// Contains the data for displaying wait screen
DisplayWaitScreen,
/// Represents that otp needs to be collect and contains if consent is required
CollectOtp,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "PaymentExperience",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-7707220680320322257
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum SamsungPayCardBrand {
Visa,
MasterCard,
Amex,
Discover,
Unknown,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "SamsungPayCardBrand",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_1106847660662348322
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums.rs
pub enum PaymentMethodType {
Ach,
Affirm,
AfterpayClearpay,
Alfamart,
AliPay,
AliPayHk,
Alma,
AmazonPay,
Paysera,
ApplePay,
Atome,
Bacs,
BancontactCard,
Becs,
Benefit,
Bizum,
Blik,
Bluecode,
Boleto,
BcaBankTransfer,
BniVa,
Breadpay,
BriVa,
BhnCardNetwork,
#[cfg(feature = "v2")]
Card,
CardRedirect,
CimbVa,
#[serde(rename = "classic")]
ClassicReward,
Credit,
CryptoCurrency,
Cashapp,
Dana,
DanamonVa,
Debit,
DuitNow,
Efecty,
Eft,
Eps,
Flexiti,
Fps,
Evoucher,
Giropay,
Givex,
GooglePay,
GoPay,
Gcash,
Ideal,
Interac,
Indomaret,
Klarna,
KakaoPay,
LocalBankRedirect,
MandiriVa,
Knet,
MbWay,
MobilePay,
Momo,
MomoAtm,
Multibanco,
OnlineBankingThailand,
OnlineBankingCzechRepublic,
OnlineBankingFinland,
OnlineBankingFpx,
OnlineBankingPoland,
OnlineBankingSlovakia,
Oxxo,
PagoEfectivo,
PermataBankTransfer,
OpenBankingUk,
PayBright,
Paypal,
Paze,
Pix,
PaySafeCard,
Przelewy24,
PromptPay,
Pse,
RedCompra,
RedPagos,
SamsungPay,
Sepa,
SepaBankTransfer,
SepaGuarenteedDebit,
Skrill,
Sofort,
Swish,
TouchNGo,
Trustly,
Twint,
UpiCollect,
UpiIntent,
UpiQr,
Vipps,
VietQr,
Venmo,
Walley,
WeChatPay,
SevenEleven,
Lawson,
MiniStop,
FamilyMart,
Seicomart,
PayEasy,
LocalBankTransfer,
Mifinity,
#[serde(rename = "open_banking_pis")]
OpenBankingPIS,
DirectCarrierBilling,
InstantBankTransfer,
InstantBankTransferFinland,
InstantBankTransferPoland,
RevolutPay,
IndonesianBankTransfer,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "PaymentMethodType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_4638498731758781489
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums/ui.rs
pub enum ElementPosition {
Left,
#[default]
#[serde(rename = "top left")]
TopLeft,
Top,
#[serde(rename = "top right")]
TopRight,
Right,
#[serde(rename = "bottom right")]
BottomRight,
Bottom,
#[serde(rename = "bottom left")]
BottomLeft,
Center,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "ElementPosition",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_7751055738587985405
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums/ui.rs
pub enum ElementSize {
Variants(SizeVariants),
Percentage(u32),
Pixels(u32),
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "ElementSize",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-2864481856959895066
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums/ui.rs
pub enum SizeVariants {
#[default]
Cover,
Contain,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "SizeVariants",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_2238391117893816390
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums/ui.rs
pub enum PaymentLinkDetailsLayout {
#[default]
Layout1,
Layout2,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "PaymentLinkDetailsLayout",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-5151205272836301803
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums/ui.rs
pub enum PaymentLinkSdkLabelType {
#[default]
Above,
Floating,
Never,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "PaymentLinkSdkLabelType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-8661839433070512135
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums/ui.rs
pub enum PaymentLinkShowSdkTerms {
Always,
#[default]
Auto,
Never,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "PaymentLinkShowSdkTerms",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-6116452614793326379
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums/payments.rs
pub enum ProductType {
#[default]
Physical,
Digital,
Travel,
Ride,
Event,
Accommodation,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "ProductType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_6733014056421182636
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums/accounts.rs
pub enum MerchantProductType {
#[default]
Orchestration,
Vault,
Recon,
Recovery,
CostObservability,
DynamicRouting,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "MerchantProductType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_2718413802888890047
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums/accounts.rs
pub enum MerchantAccountType {
#[default]
Standard,
Platform,
Connected,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "MerchantAccountType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-1668206508625828057
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums/accounts.rs
pub enum OrganizationType {
#[default]
Standard,
Platform,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "OrganizationType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_enums_-2141106584242393533
|
clm
|
enum
|
// hyperswitch/crates/common_enums/src/enums/accounts.rs
pub enum MerchantAccountRequestType {
#[default]
Standard,
Connected,
}
|
{
"chunk": null,
"crate": "common_enums",
"enum_name": "MerchantAccountRequestType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_constraint_graph_-7953363397101090213
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_constraint_graph/src/types.rs
pub enum NodeType<V: ValueNode> {
AllAggregator,
AnyAggregator,
InAggregator(FxHashSet<V>),
Value(NodeValue<V>),
}
|
{
"chunk": null,
"crate": "hyperswitch_constraint_graph",
"enum_name": "NodeType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_constraint_graph_7896198766516080292
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_constraint_graph/src/types.rs
pub enum NodeValue<V: ValueNode> {
Key(<V as ValueNode>::Key),
Value(V),
}
|
{
"chunk": null,
"crate": "hyperswitch_constraint_graph",
"enum_name": "NodeValue",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_constraint_graph_-4645186952899604156
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_constraint_graph/src/types.rs
pub enum Strength {
Weak,
Normal,
Strong,
}
|
{
"chunk": null,
"crate": "hyperswitch_constraint_graph",
"enum_name": "Strength",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_constraint_graph_-8306863471120779704
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_constraint_graph/src/types.rs
pub enum Relation {
Positive,
Negative,
}
|
{
"chunk": null,
"crate": "hyperswitch_constraint_graph",
"enum_name": "Relation",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_constraint_graph_-2785836868093673977
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_constraint_graph/src/types.rs
pub enum RelationResolution {
Positive,
Negative,
Contradiction,
}
|
{
"chunk": null,
"crate": "hyperswitch_constraint_graph",
"enum_name": "RelationResolution",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_constraint_graph_-1710872132017621924
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_constraint_graph/src/error.rs
pub enum ValueTracePredecessor<V: ValueNode> {
Mandatory(Box<Weak<AnalysisTrace<V>>>),
OneOf(Vec<Weak<AnalysisTrace<V>>>),
}
|
{
"chunk": null,
"crate": "hyperswitch_constraint_graph",
"enum_name": "ValueTracePredecessor",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_constraint_graph_-1324327242791718586
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_constraint_graph/src/error.rs
pub enum AnalysisTrace<V: ValueNode> {
Value {
value: NodeValue<V>,
relation: Relation,
predecessors: Option<ValueTracePredecessor<V>>,
info: Option<&'static str>,
metadata: Option<Arc<dyn Metadata>>,
},
AllAggregation {
unsatisfied: Vec<Weak<AnalysisTrace<V>>>,
info: Option<&'static str>,
metadata: Option<Arc<dyn Metadata>>,
},
AnyAggregation {
unsatisfied: Vec<Weak<AnalysisTrace<V>>>,
info: Option<&'static str>,
metadata: Option<Arc<dyn Metadata>>,
},
InAggregation {
expected: Vec<V>,
found: Option<V>,
relation: Relation,
info: Option<&'static str>,
metadata: Option<Arc<dyn Metadata>>,
},
Contradiction {
relation: RelationResolution,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_constraint_graph",
"enum_name": "AnalysisTrace",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_hyperswitch_constraint_graph_6907466647592061145
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_constraint_graph/src/error.rs
pub enum GraphError<V: ValueNode> {
#[error("An edge was not found in the graph")]
EdgeNotFound,
#[error("Attempted to create a conflicting edge between two nodes")]
ConflictingEdgeCreated,
#[error("Cycle detected in graph")]
CycleDetected,
#[error("Domain wasn't found in the Graph")]
DomainNotFound,
#[error("Malformed Graph: {reason}")]
MalformedGraph { reason: String },
#[error("A node was not found in the graph")]
NodeNotFound,
#[error("A value node was not found: {0:#?}")]
ValueNodeNotFound(V),
#[error("No values provided for an 'in' aggregator node")]
NoInAggregatorValues,
#[error("Error during analysis: {0:#?}")]
AnalysisError(Weak<AnalysisTrace<V>>),
}
|
{
"chunk": null,
"crate": "hyperswitch_constraint_graph",
"enum_name": "GraphError",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_connector_configs_507271953704152985
|
clm
|
enum
|
// hyperswitch/crates/connector_configs/src/common_config.rs
pub enum ApplePayData {
ApplePay(payments::ApplePayMetadata),
ApplePayCombined(payments::ApplePayCombinedMetadata),
Zen(ZenApplePay),
}
|
{
"chunk": null,
"crate": "connector_configs",
"enum_name": "ApplePayData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_connector_configs_9090868373264347695
|
clm
|
enum
|
// hyperswitch/crates/connector_configs/src/common_config.rs
pub enum GooglePayData {
Standard(GpayDashboardPayLoad),
Zen(ZenGooglePay),
}
|
{
"chunk": null,
"crate": "connector_configs",
"enum_name": "GooglePayData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_connector_configs_4721251147201955397
|
clm
|
enum
|
// hyperswitch/crates/connector_configs/src/common_config.rs
pub enum GoogleApiModelData {
Standard(payments::GpayMetaData),
Zen(ZenGooglePay),
}
|
{
"chunk": null,
"crate": "connector_configs",
"enum_name": "GoogleApiModelData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_connector_configs_-5841533306990593278
|
clm
|
enum
|
// hyperswitch/crates/connector_configs/src/common_config.rs
pub enum KlarnaEndpoint {
Europe,
NorthAmerica,
Oceania,
}
|
{
"chunk": null,
"crate": "connector_configs",
"enum_name": "KlarnaEndpoint",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_connector_configs_6402828032882347907
|
clm
|
enum
|
// hyperswitch/crates/connector_configs/src/common_config.rs
pub enum InputType {
Text,
Number,
Toggle,
Radio(Vec<String>),
Select(Vec<String>),
MultiSelect(Vec<String>),
}
|
{
"chunk": null,
"crate": "connector_configs",
"enum_name": "InputType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_connector_configs_-8945388730666556143
|
clm
|
enum
|
// hyperswitch/crates/connector_configs/src/connector.rs
pub enum CurrencyAuthValue {
CashtoCode(CashtoCodeCurrencyAuthKeyType),
Payload(PayloadCurrencyAuthKeyType),
}
|
{
"chunk": null,
"crate": "connector_configs",
"enum_name": "CurrencyAuthValue",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_connector_configs_3005145011321094235
|
clm
|
enum
|
// hyperswitch/crates/connector_configs/src/connector.rs
pub enum ConnectorAuthType {
HeaderKey {
api_key: String,
},
BodyKey {
api_key: String,
key1: String,
},
SignatureKey {
api_key: String,
key1: String,
api_secret: String,
},
MultiAuthKey {
api_key: String,
key1: String,
api_secret: String,
key2: String,
},
CurrencyAuthKey {
auth_key_map: HashMap<String, CurrencyAuthValue>,
},
CertificateAuth {
certificate: String,
private_key: String,
},
#[default]
NoKey,
}
|
{
"chunk": null,
"crate": "connector_configs",
"enum_name": "ConnectorAuthType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_connector_configs_5707507535327864353
|
clm
|
enum
|
// hyperswitch/crates/connector_configs/src/connector.rs
pub enum ApplePayTomlConfig {
Standard(Box<payments::ApplePayMetadata>),
Zen(ZenApplePay),
}
|
{
"chunk": null,
"crate": "connector_configs",
"enum_name": "ApplePayTomlConfig",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_connector_configs_-5841533306990593278
|
clm
|
enum
|
// hyperswitch/crates/connector_configs/src/connector.rs
pub enum KlarnaEndpoint {
Europe,
NorthAmerica,
Oceania,
}
|
{
"chunk": null,
"crate": "connector_configs",
"enum_name": "KlarnaEndpoint",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_test_utils_2868172371755026950
|
clm
|
enum
|
// hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub enum Event<'a> {
RunIf(Assert<'a>, Vec<Event<'a>>),
EitherOr(Assert<'a>, Vec<Event<'a>>, Vec<Event<'a>>),
Assert(Assert<'a>),
Trigger(Trigger<'a>),
}
|
{
"chunk": null,
"crate": "test_utils",
"enum_name": "Event",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_test_utils_-1319148981072377867
|
clm
|
enum
|
// hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub enum Trigger<'a> {
Goto(&'a str),
Click(By),
ClickNth(By, usize),
SelectOption(By, &'a str),
ChangeQueryParam(&'a str, &'a str),
SwitchTab(Position),
SwitchFrame(By),
Find(By),
Query(By),
SendKeys(By, &'a str),
Sleep(u64),
}
|
{
"chunk": null,
"crate": "test_utils",
"enum_name": "Trigger",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_test_utils_-8956130128632342553
|
clm
|
enum
|
// hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub enum Position {
Prev,
Next,
}
|
{
"chunk": null,
"crate": "test_utils",
"enum_name": "Position",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_test_utils_6765485326635638104
|
clm
|
enum
|
// hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub enum Selector {
Title,
QueryParamStr,
}
|
{
"chunk": null,
"crate": "test_utils",
"enum_name": "Selector",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_test_utils_-789236419500783873
|
clm
|
enum
|
// hyperswitch/crates/test_utils/tests/connectors/selenium.rs
pub enum Assert<'a> {
Eq(Selector, &'a str),
Contains(Selector, &'a str),
ContainsAny(Selector, Vec<&'a str>),
EitherOfThemExist(&'a str, &'a str),
IsPresent(&'a str),
IsElePresent(By),
IsPresentNow(&'a str),
}
|
{
"chunk": null,
"crate": "test_utils",
"enum_name": "Assert",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_test_utils_3005145011321094235
|
clm
|
enum
|
// hyperswitch/crates/test_utils/src/connector_auth.rs
pub enum ConnectorAuthType {
HeaderKey {
api_key: Secret<String>,
},
BodyKey {
api_key: Secret<String>,
key1: Secret<String>,
},
SignatureKey {
api_key: Secret<String>,
key1: Secret<String>,
api_secret: Secret<String>,
},
MultiAuthKey {
api_key: Secret<String>,
key1: Secret<String>,
api_secret: Secret<String>,
key2: Secret<String>,
},
CurrencyAuthKey {
auth_key_map: HashMap<common_enums::Currency, Secret<String>>,
},
#[default]
NoKey,
}
|
{
"chunk": null,
"crate": "test_utils",
"enum_name": "ConnectorAuthType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_test_utils_6732166156473640256
|
clm
|
enum
|
// hyperswitch/crates/test_utils/src/newman_runner.rs
pub enum Module {
Connector,
Users,
}
|
{
"chunk": null,
"crate": "test_utils",
"enum_name": "Module",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_types_1291798913808322154
|
clm
|
enum
|
// hyperswitch/crates/common_types/src/payment_methods.rs
enum PaymentMethodsEnabledHelper {
V2 {
payment_method_type: common_enums::PaymentMethod,
payment_method_subtypes: Option<Vec<RequestPaymentMethodTypes>>,
},
V1 {
payment_method: common_enums::PaymentMethod,
payment_method_types: Option<Vec<RequestPaymentMethodTypesV1>>,
},
}
|
{
"chunk": null,
"crate": "common_types",
"enum_name": "PaymentMethodsEnabledHelper",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_types_-3135249855492344232
|
clm
|
enum
|
// hyperswitch/crates/common_types/src/payments.rs
pub enum ConnectorChargeResponseData {
/// StripeChargeResponseData
StripeSplitPayment(StripeChargeResponseData),
/// AdyenChargeResponseData
AdyenSplitPayment(AdyenSplitData),
/// XenditChargeResponseData
XenditSplitPayment(XenditChargeResponseData),
}
|
{
"chunk": null,
"crate": "common_types",
"enum_name": "ConnectorChargeResponseData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_types_-5101648382978462982
|
clm
|
enum
|
// hyperswitch/crates/common_types/src/payments.rs
pub enum XenditSplitRequest {
/// Split Between Multiple Accounts
MultipleSplits(XenditMultipleSplitRequest),
/// Collect Fee for Single Account
SingleSplit(XenditSplitSubMerchantData),
}
|
{
"chunk": null,
"crate": "common_types",
"enum_name": "XenditSplitRequest",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_types_7895178252034219411
|
clm
|
enum
|
// hyperswitch/crates/common_types/src/payments.rs
pub enum XenditChargeResponseData {
/// Split Between Multiple Accounts
MultipleSplits(XenditMultipleSplitResponse),
/// Collect Fee for Single Account
SingleSplit(XenditSplitSubMerchantData),
}
|
{
"chunk": null,
"crate": "common_types",
"enum_name": "XenditChargeResponseData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_types_-6331753979778951248
|
clm
|
enum
|
// hyperswitch/crates/common_types/src/payments.rs
pub enum RecoveryAction {
/// Stops the process tracker and update the payment intent.
CancelInvoice,
/// Records the external transaction against payment intent.
ScheduleFailedPayment,
/// Records the external payment and stops the internal process tracker.
SuccessPaymentExternal,
/// Pending payments from billing processor.
PendingPayment,
/// No action required.
NoAction,
/// Invalid event has been received.
InvalidAction,
}
|
{
"chunk": null,
"crate": "common_types",
"enum_name": "RecoveryAction",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_common_types_-6832284332109290606
|
clm
|
enum
|
// hyperswitch/crates/common_types/src/three_ds_decision_rule_engine.rs
pub enum ThreeDSDecision {
/// No 3DS authentication required
#[default]
NoThreeDs,
/// Mandate 3DS Challenge
ChallengeRequested,
/// Prefer 3DS Challenge
ChallengePreferred,
/// Request 3DS Exemption, Type: Transaction Risk Analysis (TRA)
ThreeDsExemptionRequestedTra,
/// Request 3DS Exemption, Type: Low Value Transaction
ThreeDsExemptionRequestedLowValue,
/// No challenge requested by merchant (e.g., delegated authentication)
IssuerThreeDsExemptionRequested,
}
|
{
"chunk": null,
"crate": "common_types",
"enum_name": "ThreeDSDecision",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_smithy-core_-5894200934499188133
|
clm
|
enum
|
// hyperswitch/crates/smithy-core/src/types.rs
pub enum SmithyShape {
#[serde(rename = "structure")]
Structure {
members: HashMap<String, SmithyMember>,
#[serde(skip_serializing_if = "Option::is_none")]
documentation: Option<String>,
#[serde(skip_serializing_if = "Vec::is_empty")]
traits: Vec<SmithyTrait>,
},
#[serde(rename = "string")]
String {
#[serde(skip_serializing_if = "Vec::is_empty")]
traits: Vec<SmithyTrait>,
},
#[serde(rename = "integer")]
Integer {
#[serde(skip_serializing_if = "Vec::is_empty")]
traits: Vec<SmithyTrait>,
},
#[serde(rename = "long")]
Long {
#[serde(skip_serializing_if = "Vec::is_empty")]
traits: Vec<SmithyTrait>,
},
#[serde(rename = "boolean")]
Boolean {
#[serde(skip_serializing_if = "Vec::is_empty")]
traits: Vec<SmithyTrait>,
},
#[serde(rename = "list")]
List {
member: Box<SmithyMember>,
#[serde(skip_serializing_if = "Vec::is_empty")]
traits: Vec<SmithyTrait>,
},
#[serde(rename = "union")]
Union {
members: HashMap<String, SmithyMember>,
#[serde(skip_serializing_if = "Option::is_none")]
documentation: Option<String>,
#[serde(skip_serializing_if = "Vec::is_empty")]
traits: Vec<SmithyTrait>,
},
#[serde(rename = "enum")]
Enum {
values: HashMap<String, SmithyEnumValue>,
#[serde(skip_serializing_if = "Option::is_none")]
documentation: Option<String>,
#[serde(skip_serializing_if = "Vec::is_empty")]
traits: Vec<SmithyTrait>,
},
}
|
{
"chunk": null,
"crate": "smithy-core",
"enum_name": "SmithyShape",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_smithy-core_-2859572704583848520
|
clm
|
enum
|
// hyperswitch/crates/smithy-core/src/types.rs
pub enum SmithyTrait {
#[serde(rename = "smithy.api#pattern")]
Pattern { pattern: String },
#[serde(rename = "smithy.api#range")]
Range { min: Option<i64>, max: Option<i64> },
#[serde(rename = "smithy.api#required")]
Required,
#[serde(rename = "smithy.api#documentation")]
Documentation { documentation: String },
#[serde(rename = "smithy.api#length")]
Length { min: Option<u64>, max: Option<u64> },
#[serde(rename = "smithy.api#httpLabel")]
HttpLabel,
#[serde(rename = "smithy.api#httpQuery")]
HttpQuery { name: String },
#[serde(rename = "smithy.api#mixin")]
Mixin,
}
|
{
"chunk": null,
"crate": "smithy-core",
"enum_name": "SmithyTrait",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_smithy-core_934057513727610414
|
clm
|
enum
|
// hyperswitch/crates/smithy-core/src/types.rs
pub enum SmithyConstraint {
Pattern(String),
Range(Option<i64>, Option<i64>),
Length(Option<u64>, Option<u64>),
Required,
HttpLabel,
HttpQuery(String),
}
|
{
"chunk": null,
"crate": "smithy-core",
"enum_name": "SmithyConstraint",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_config_importer_-2129240278559523018
|
clm
|
enum
|
// hyperswitch/crates/config_importer/src/cli.rs
pub(crate) enum OutputFormat {
/// Converts each environment variable to an object containing `name` and `value` fields.
///
/// ```json
/// {
/// "name": "ENVIRONMENT",
/// "value": "PRODUCTION"
/// }
/// ```
KubernetesJson,
}
|
{
"chunk": null,
"crate": "config_importer",
"enum_name": "OutputFormat",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"total_crates": null,
"trait_name": null
}
|
hyperswitch_enum_currency_conversion_-5688032225394236543
|
clm
|
enum
|
// hyperswitch/crates/currency_conversion/src/error.rs
pub enum CurrencyConversionError {
#[error("Currency Conversion isn't possible")]
DecimalMultiplicationFailed,
#[error("Currency not supported: '{0}'")]
ConversionNotSupported(String),
}
|
{
"chunk": null,
"crate": "currency_conversion",
"enum_name": "CurrencyConversionError",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"is_pub": null,
"lines": null,
"method_name": null,
"num_enums": null,
"num_items": null,
"num_structs": null,
"repo": "hyperswitch",
"start_line": null,
"struct_name": null,
"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.