id
stringlengths 20
153
| type
stringclasses 1
value | granularity
stringclasses 14
values | content
stringlengths 16
84.3k
| metadata
dict |
|---|---|---|---|---|
hyperswitch_enum_hyperswitch_domain_models_-971998950424122116
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum RealTimePaymentData {
DuitNow {},
Fps {},
PromptPay {},
VietQr {},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "RealTimePaymentData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_6177735035806771950
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum BankRedirectData {
BancontactCard {
card_number: Option<cards::CardNumber>,
card_exp_month: Option<Secret<String>>,
card_exp_year: Option<Secret<String>>,
card_holder_name: Option<Secret<String>>,
},
Bizum {},
Blik {
blik_code: Option<String>,
},
Eps {
bank_name: Option<common_enums::BankNames>,
country: Option<api_enums::CountryAlpha2>,
},
Giropay {
bank_account_bic: Option<Secret<String>>,
bank_account_iban: Option<Secret<String>>,
country: Option<api_enums::CountryAlpha2>,
},
Ideal {
bank_name: Option<common_enums::BankNames>,
},
Interac {
country: Option<api_enums::CountryAlpha2>,
email: Option<Email>,
},
OnlineBankingCzechRepublic {
issuer: common_enums::BankNames,
},
OnlineBankingFinland {
email: Option<Email>,
},
OnlineBankingPoland {
issuer: common_enums::BankNames,
},
OnlineBankingSlovakia {
issuer: common_enums::BankNames,
},
OpenBankingUk {
issuer: Option<common_enums::BankNames>,
country: Option<api_enums::CountryAlpha2>,
},
Przelewy24 {
bank_name: Option<common_enums::BankNames>,
},
Sofort {
country: Option<api_enums::CountryAlpha2>,
preferred_language: Option<String>,
},
Trustly {
country: Option<api_enums::CountryAlpha2>,
},
OnlineBankingFpx {
issuer: common_enums::BankNames,
},
OnlineBankingThailand {
issuer: common_enums::BankNames,
},
LocalBankRedirect {},
Eft {
provider: String,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "BankRedirectData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-1691373548941739483
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum OpenBankingData {
OpenBankingPIS {},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "OpenBankingData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-4688984757611227811
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum UpiData {
UpiCollect(UpiCollectData),
UpiIntent(UpiIntentData),
UpiQr(UpiQrData),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "UpiData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-3303825357112314082
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum VoucherData {
Boleto(Box<BoletoVoucherData>),
Efecty,
PagoEfectivo,
RedCompra,
RedPagos,
Alfamart(Box<AlfamartVoucherData>),
Indomaret(Box<IndomaretVoucherData>),
Oxxo,
SevenEleven(Box<JCSVoucherData>),
Lawson(Box<JCSVoucherData>),
MiniStop(Box<JCSVoucherData>),
FamilyMart(Box<JCSVoucherData>),
Seicomart(Box<JCSVoucherData>),
PayEasy(Box<JCSVoucherData>),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "VoucherData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-1448874273664260450
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum GiftCardData {
Givex(GiftCardDetails),
PaySafeCard {},
BhnCardNetwork(BHNGiftCardDetails),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "GiftCardData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_166489056947752695
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum BankDebitData {
AchBankDebit {
account_number: Secret<String>,
routing_number: Secret<String>,
card_holder_name: Option<Secret<String>>,
bank_account_holder_name: Option<Secret<String>>,
bank_name: Option<common_enums::BankNames>,
bank_type: Option<common_enums::BankType>,
bank_holder_type: Option<common_enums::BankHolderType>,
},
SepaBankDebit {
iban: Secret<String>,
bank_account_holder_name: Option<Secret<String>>,
},
SepaGuarenteedBankDebit {
iban: Secret<String>,
bank_account_holder_name: Option<Secret<String>>,
},
BecsBankDebit {
account_number: Secret<String>,
bsb_number: Secret<String>,
bank_account_holder_name: Option<Secret<String>>,
},
BacsBankDebit {
account_number: Secret<String>,
sort_code: Secret<String>,
bank_account_holder_name: Option<Secret<String>>,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "BankDebitData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_3002750721817463226
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum BankTransferData {
AchBankTransfer {},
SepaBankTransfer {},
BacsBankTransfer {},
MultibancoBankTransfer {},
PermataBankTransfer {},
BcaBankTransfer {},
BniVaBankTransfer {},
BriVaBankTransfer {},
CimbVaBankTransfer {},
DanamonVaBankTransfer {},
MandiriVaBankTransfer {},
Pix {
/// Unique key for pix transfer
pix_key: Option<Secret<String>>,
/// CPF is a Brazilian tax identification number
cpf: Option<Secret<String>>,
/// CNPJ is a Brazilian company tax identification number
cnpj: Option<Secret<String>>,
/// Source bank account UUID
source_bank_account_id: Option<MaskedBankAccount>,
/// Destination bank account UUID.
destination_bank_account_id: Option<MaskedBankAccount>,
/// The expiration date and time for the Pix QR code
expiry_date: Option<time::PrimitiveDateTime>,
},
Pse {},
LocalBankTransfer {
bank_code: Option<String>,
},
InstantBankTransfer {},
InstantBankTransferFinland {},
InstantBankTransferPoland {},
IndonesianBankTransfer {
bank_name: Option<common_enums::BankNames>,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "BankTransferData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-8741701685960079453
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum MobilePaymentData {
DirectCarrierBilling {
/// The phone number of the user
msisdn: String,
/// Unique user identifier
client_uid: Option<String>,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "MobilePaymentData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_5480256531744372150
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs
pub enum PaymentMethodsData {
Card(CardDetailsPaymentMethod),
BankDetails(payment_methods::PaymentMethodDataBankCreds), //PaymentMethodDataBankCreds and its transformations should be moved to the domain models
WalletDetails(payment_methods::PaymentMethodDataWalletInfo), //PaymentMethodDataWalletInfo and its transformations should be moved to the domain models
NetworkToken(NetworkTokenDetailsPaymentMethod),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentMethodsData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-6656900606526996012
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/routing.rs
pub enum PreRoutingConnectorChoice {
Single(routing::RoutableConnectorChoice),
Multiple(Vec<routing::RoutableConnectorChoice>),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PreRoutingConnectorChoice",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_191171607888801324
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/routing.rs
pub enum PaymentRoutingInfoSerde {
OnlyAlgorithm(Box<routing::StraightThroughAlgorithm>),
WithDetails(Box<PaymentRoutingInfoInner>),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentRoutingInfoSerde",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_2044830382933366088
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/mandates.rs
pub enum MandateDataType {
SingleUse(MandateAmountData),
MultiUse(Option<MandateAmountData>),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "MandateDataType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-6603495107356594687
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/api.rs
pub enum ApplicationResponse<R> {
Json(R),
StatusOk,
TextPlain(String),
JsonForRedirection(api_models::payments::RedirectionResponse),
Form(Box<RedirectionFormData>),
PaymentLinkForm(Box<PaymentLinkAction>),
FileData((Vec<u8>, mime::Mime)),
JsonWithHeaders((R, Vec<(String, masking::Maskable<String>)>)),
GenericLinkForm(Box<GenericLinks>),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "ApplicationResponse",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-5288274805094025959
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/api.rs
pub enum PaymentLinkAction {
PaymentLinkFormData(PaymentLinkFormData),
PaymentLinkStatus(PaymentLinkStatusData),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentLinkAction",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_4835458514438144372
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/api.rs
pub enum GenericLinksData {
ExpiredLink(GenericExpiredLinkData),
PaymentMethodCollect(GenericLinkFormData),
PayoutLink(GenericLinkFormData),
PayoutLinkStatus(GenericLinkStatusData),
PaymentMethodCollectStatus(GenericLinkStatusData),
SecurePaymentLink(PaymentLinkFormData),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "GenericLinksData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-2529932358699055036
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/relay.rs
pub enum RelayData {
Refund(RelayRefundData),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "RelayData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_5820408405582102217
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/relay.rs
pub enum RelayUpdate {
ErrorUpdate {
error_code: String,
error_message: String,
status: enums::RelayStatus,
},
StatusUpdate {
connector_reference_id: Option<String>,
status: common_enums::RelayStatus,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "RelayUpdate",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_7933947481255094803
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/vault.rs
pub enum PaymentMethodVaultingData {
Card(payment_methods::CardDetail),
#[cfg(feature = "v2")]
NetworkToken(payment_method_data::NetworkTokenDetails),
CardNumber(cards::CardNumber),
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentMethodVaultingData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-8689869397649741353
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
pub enum PaymentAttemptUpdate {
Update {
net_amount: NetAmount,
currency: storage_enums::Currency,
status: storage_enums::AttemptStatus,
authentication_type: Option<storage_enums::AuthenticationType>,
payment_method: Option<storage_enums::PaymentMethod>,
payment_token: Option<String>,
payment_method_data: Option<serde_json::Value>,
payment_method_type: Option<storage_enums::PaymentMethodType>,
payment_experience: Option<storage_enums::PaymentExperience>,
business_sub_label: Option<String>,
amount_to_capture: Option<MinorUnit>,
capture_method: Option<storage_enums::CaptureMethod>,
fingerprint_id: Option<String>,
payment_method_billing_address_id: Option<String>,
updated_by: String,
network_transaction_id: Option<String>,
},
UpdateTrackers {
payment_token: Option<String>,
connector: Option<String>,
straight_through_algorithm: Option<serde_json::Value>,
amount_capturable: Option<MinorUnit>,
surcharge_amount: Option<MinorUnit>,
tax_amount: Option<MinorUnit>,
updated_by: String,
merchant_connector_id: Option<id_type::MerchantConnectorAccountId>,
routing_approach: Option<storage_enums::RoutingApproach>,
is_stored_credential: Option<bool>,
},
AuthenticationTypeUpdate {
authentication_type: storage_enums::AuthenticationType,
updated_by: String,
},
ConfirmUpdate {
net_amount: NetAmount,
currency: storage_enums::Currency,
status: storage_enums::AttemptStatus,
authentication_type: Option<storage_enums::AuthenticationType>,
capture_method: Option<storage_enums::CaptureMethod>,
payment_method: Option<storage_enums::PaymentMethod>,
browser_info: Option<serde_json::Value>,
connector: Option<String>,
payment_token: Option<String>,
payment_method_data: Option<serde_json::Value>,
payment_method_type: Option<storage_enums::PaymentMethodType>,
payment_experience: Option<storage_enums::PaymentExperience>,
business_sub_label: Option<String>,
straight_through_algorithm: Option<serde_json::Value>,
error_code: Option<Option<String>>,
error_message: Option<Option<String>>,
updated_by: String,
merchant_connector_id: Option<id_type::MerchantConnectorAccountId>,
external_three_ds_authentication_attempted: Option<bool>,
authentication_connector: Option<String>,
authentication_id: Option<id_type::AuthenticationId>,
payment_method_billing_address_id: Option<String>,
fingerprint_id: Option<String>,
payment_method_id: Option<String>,
client_source: Option<String>,
client_version: Option<String>,
customer_acceptance: Option<pii::SecretSerdeValue>,
connector_mandate_detail: Option<ConnectorMandateReferenceId>,
card_discovery: Option<common_enums::CardDiscovery>,
routing_approach: Option<storage_enums::RoutingApproach>,
connector_request_reference_id: Option<String>,
network_transaction_id: Option<String>,
is_stored_credential: Option<bool>,
request_extended_authorization: Option<RequestExtendedAuthorizationBool>,
},
RejectUpdate {
status: storage_enums::AttemptStatus,
error_code: Option<Option<String>>,
error_message: Option<Option<String>>,
updated_by: String,
},
BlocklistUpdate {
status: storage_enums::AttemptStatus,
error_code: Option<Option<String>>,
error_message: Option<Option<String>>,
updated_by: String,
},
PaymentMethodDetailsUpdate {
payment_method_id: Option<String>,
updated_by: String,
},
ConnectorMandateDetailUpdate {
connector_mandate_detail: Option<ConnectorMandateReferenceId>,
updated_by: String,
},
VoidUpdate {
status: storage_enums::AttemptStatus,
cancellation_reason: Option<String>,
updated_by: String,
},
ResponseUpdate {
status: storage_enums::AttemptStatus,
connector: Option<String>,
connector_transaction_id: Option<String>,
network_transaction_id: Option<String>,
authentication_type: Option<storage_enums::AuthenticationType>,
payment_method_id: Option<String>,
mandate_id: Option<String>,
connector_metadata: Option<serde_json::Value>,
payment_token: Option<String>,
error_code: Option<Option<String>>,
error_message: Option<Option<String>>,
error_reason: Option<Option<String>>,
connector_response_reference_id: Option<String>,
amount_capturable: Option<MinorUnit>,
updated_by: String,
authentication_data: Option<serde_json::Value>,
encoded_data: Option<String>,
unified_code: Option<Option<String>>,
unified_message: Option<Option<String>>,
capture_before: Option<PrimitiveDateTime>,
extended_authorization_applied: Option<ExtendedAuthorizationAppliedBool>,
payment_method_data: Option<serde_json::Value>,
connector_mandate_detail: Option<ConnectorMandateReferenceId>,
charges: Option<common_types::payments::ConnectorChargeResponseData>,
setup_future_usage_applied: Option<storage_enums::FutureUsage>,
debit_routing_savings: Option<MinorUnit>,
is_overcapture_enabled: Option<OvercaptureEnabledBool>,
authorized_amount: Option<MinorUnit>,
},
UnresolvedResponseUpdate {
status: storage_enums::AttemptStatus,
connector: Option<String>,
connector_transaction_id: Option<String>,
payment_method_id: Option<String>,
error_code: Option<Option<String>>,
error_message: Option<Option<String>>,
error_reason: Option<Option<String>>,
connector_response_reference_id: Option<String>,
updated_by: String,
},
StatusUpdate {
status: storage_enums::AttemptStatus,
updated_by: String,
},
ErrorUpdate {
connector: Option<String>,
status: storage_enums::AttemptStatus,
error_code: Option<Option<String>>,
error_message: Option<Option<String>>,
error_reason: Option<Option<String>>,
amount_capturable: Option<MinorUnit>,
updated_by: String,
unified_code: Option<Option<String>>,
unified_message: Option<Option<String>>,
connector_transaction_id: Option<String>,
payment_method_data: Option<serde_json::Value>,
authentication_type: Option<storage_enums::AuthenticationType>,
issuer_error_code: Option<String>,
issuer_error_message: Option<String>,
network_details: Option<NetworkDetails>,
},
CaptureUpdate {
amount_to_capture: Option<MinorUnit>,
multiple_capture_count: Option<i16>,
updated_by: String,
},
AmountToCaptureUpdate {
status: storage_enums::AttemptStatus,
amount_capturable: MinorUnit,
updated_by: String,
},
PreprocessingUpdate {
status: storage_enums::AttemptStatus,
payment_method_id: Option<String>,
connector_metadata: Option<serde_json::Value>,
preprocessing_step_id: Option<String>,
connector_transaction_id: Option<String>,
connector_response_reference_id: Option<String>,
updated_by: String,
},
ConnectorResponse {
authentication_data: Option<serde_json::Value>,
encoded_data: Option<String>,
connector_transaction_id: Option<String>,
connector: Option<String>,
charges: Option<common_types::payments::ConnectorChargeResponseData>,
updated_by: String,
},
IncrementalAuthorizationAmountUpdate {
net_amount: NetAmount,
amount_capturable: MinorUnit,
},
AuthenticationUpdate {
status: storage_enums::AttemptStatus,
external_three_ds_authentication_attempted: Option<bool>,
authentication_connector: Option<String>,
authentication_id: Option<id_type::AuthenticationId>,
updated_by: String,
},
ManualUpdate {
status: Option<storage_enums::AttemptStatus>,
error_code: Option<String>,
error_message: Option<String>,
error_reason: Option<String>,
updated_by: String,
unified_code: Option<String>,
unified_message: Option<String>,
connector_transaction_id: Option<String>,
},
PostSessionTokensUpdate {
updated_by: String,
connector_metadata: Option<serde_json::Value>,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentAttemptUpdate",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-8689869397649741353
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_attempt.rs
pub enum PaymentAttemptUpdate {
/// Update the payment attempt on confirming the intent, before calling the connector
ConfirmIntent {
status: storage_enums::AttemptStatus,
updated_by: String,
connector: String,
merchant_connector_id: Option<id_type::MerchantConnectorAccountId>,
authentication_type: storage_enums::AuthenticationType,
connector_request_reference_id: Option<String>,
connector_response_reference_id: Option<String>,
},
/// Update the payment attempt on confirming the intent, before calling the connector, when payment_method_id is present
ConfirmIntentTokenized {
status: storage_enums::AttemptStatus,
updated_by: String,
connector: String,
merchant_connector_id: id_type::MerchantConnectorAccountId,
authentication_type: storage_enums::AuthenticationType,
payment_method_id: id_type::GlobalPaymentMethodId,
connector_request_reference_id: Option<String>,
},
/// Update the payment attempt on confirming the intent, after calling the connector on success response
ConfirmIntentResponse(Box<ConfirmIntentResponseUpdate>),
/// Update the payment attempt after force syncing with the connector
SyncUpdate {
status: storage_enums::AttemptStatus,
amount_capturable: Option<MinorUnit>,
updated_by: String,
},
PreCaptureUpdate {
amount_to_capture: Option<MinorUnit>,
updated_by: String,
},
/// Update the payment after attempting capture with the connector
CaptureUpdate {
status: storage_enums::AttemptStatus,
amount_capturable: Option<MinorUnit>,
updated_by: String,
},
/// Update the payment attempt on confirming the intent, after calling the connector on error response
ErrorUpdate {
status: storage_enums::AttemptStatus,
amount_capturable: Option<MinorUnit>,
error: ErrorDetails,
updated_by: String,
connector_payment_id: Option<String>,
},
VoidUpdate {
status: storage_enums::AttemptStatus,
cancellation_reason: Option<String>,
updated_by: String,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentAttemptUpdate",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-5640679825721202287
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_intent.rs
pub enum PaymentIntentUpdate {
ResponseUpdate {
status: common_enums::IntentStatus,
amount_captured: Option<MinorUnit>,
updated_by: String,
fingerprint_id: Option<String>,
incremental_authorization_allowed: Option<bool>,
feature_metadata: Option<Secret<serde_json::Value>>,
},
MetadataUpdate {
metadata: serde_json::Value,
updated_by: String,
},
Update(Box<PaymentIntentUpdateFields>),
PaymentCreateUpdate {
return_url: Option<String>,
status: Option<common_enums::IntentStatus>,
customer_id: Option<id_type::CustomerId>,
shipping_address_id: Option<String>,
billing_address_id: Option<String>,
customer_details: Option<Encryptable<Secret<serde_json::Value>>>,
updated_by: String,
},
MerchantStatusUpdate {
status: common_enums::IntentStatus,
shipping_address_id: Option<String>,
billing_address_id: Option<String>,
updated_by: String,
},
PGStatusUpdate {
status: common_enums::IntentStatus,
incremental_authorization_allowed: Option<bool>,
updated_by: String,
feature_metadata: Option<Secret<serde_json::Value>>,
},
PaymentAttemptAndAttemptCountUpdate {
active_attempt_id: String,
attempt_count: i16,
updated_by: String,
},
StatusAndAttemptUpdate {
status: common_enums::IntentStatus,
active_attempt_id: String,
attempt_count: i16,
updated_by: String,
},
ApproveUpdate {
status: common_enums::IntentStatus,
merchant_decision: Option<String>,
updated_by: String,
},
RejectUpdate {
status: common_enums::IntentStatus,
merchant_decision: Option<String>,
updated_by: String,
},
SurchargeApplicableUpdate {
surcharge_applicable: bool,
updated_by: String,
},
IncrementalAuthorizationAmountUpdate {
amount: MinorUnit,
},
AuthorizationCountUpdate {
authorization_count: i32,
},
CompleteAuthorizeUpdate {
shipping_address_id: Option<String>,
},
ManualUpdate {
status: Option<common_enums::IntentStatus>,
updated_by: String,
},
SessionResponseUpdate {
tax_details: diesel_models::TaxDetails,
shipping_address_id: Option<String>,
updated_by: String,
shipping_details: Option<Encryptable<Secret<serde_json::Value>>>,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentIntentUpdate",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-5640679825721202287
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payments/payment_intent.rs
pub enum PaymentIntentUpdate {
/// PreUpdate tracker of ConfirmIntent
ConfirmIntent {
status: common_enums::IntentStatus,
active_attempt_id: Option<id_type::GlobalAttemptId>,
updated_by: String,
},
/// PostUpdate tracker of ConfirmIntent
ConfirmIntentPostUpdate {
status: common_enums::IntentStatus,
amount_captured: Option<MinorUnit>,
updated_by: String,
feature_metadata: Option<Box<diesel_models::types::FeatureMetadata>>,
},
/// SyncUpdate of ConfirmIntent in PostUpdateTrackers
SyncUpdate {
status: common_enums::IntentStatus,
amount_captured: Option<MinorUnit>,
updated_by: String,
},
CaptureUpdate {
status: common_enums::IntentStatus,
amount_captured: Option<MinorUnit>,
updated_by: String,
},
/// Update the payment intent details on payment sdk session call, before calling the connector.
SessionIntentUpdate {
prerouting_algorithm: routing::PaymentRoutingInfo,
updated_by: String,
},
RecordUpdate {
status: common_enums::IntentStatus,
feature_metadata: Box<Option<diesel_models::types::FeatureMetadata>>,
updated_by: String,
active_attempt_id: Option<id_type::GlobalAttemptId>,
},
/// UpdateIntent
UpdateIntent(Box<PaymentIntentUpdateFields>),
/// VoidUpdate for payment cancellation
VoidUpdate {
status: common_enums::IntentStatus,
updated_by: String,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PaymentIntentUpdate",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-4888847291531907528
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/subscriptions.rs
pub enum SubscriptionAutoCollection {
On,
Off,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "SubscriptionAutoCollection",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-546996149498173283
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs
pub enum RefundMethod {
StoreCredit,
OriginalPaymentInstrument,
NewPaymentInstrument,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "RefundMethod",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-8085929289445003711
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs
pub enum FulfillmentStatus {
PARTIAL,
COMPLETE,
REPLACEMENT,
CANCELED,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "FulfillmentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-3998999148180953030
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
pub enum UasAuthenticationResponseData {
PreAuthentication {
authentication_details: PreAuthenticationDetails,
},
Authentication {
authentication_details: AuthenticationDetails,
},
PostAuthentication {
authentication_details: PostAuthenticationDetails,
},
Confirmation {},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "UasAuthenticationResponseData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-3236015552389402583
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
pub enum AuthNFlowType {
Challenge(Box<ChallengeParams>),
Frictionless,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "AuthNFlowType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_3907137163114377539
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_request_types/authentication.rs
pub enum MessageCategory {
Payment,
NonPayment,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "MessageCategory",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-8313529235133367293
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs
pub enum SubscriptionStatus {
Pending,
Trial,
Active,
Paused,
Unpaid,
Onetime,
Cancelled,
Failed,
Created,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "SubscriptionStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_9190329272371649519
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs
pub enum PeriodUnit {
Day,
Week,
Month,
Year,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PeriodUnit",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_5965899831679991698
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/router_response_types/fraud_check.rs
pub enum FraudCheckResponseData {
TransactionResponse {
resource_id: ResponseId,
status: diesel_models::enums::FraudCheckStatus,
connector_metadata: Option<serde_json::Value>,
reason: Option<serde_json::Value>,
score: Option<i32>,
},
FulfillmentResponse {
order_id: String,
shipment_ids: Vec<String>,
},
RecordReturnResponse {
resource_id: ResponseId,
connector_metadata: Option<serde_json::Value>,
return_id: Option<String>,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "FraudCheckResponseData",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_-5396055275170193095
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/errors/api_error_response.rs
pub enum ErrorType {
InvalidRequestError,
ObjectNotFound,
RouterError,
ProcessingError,
BadGateway,
ServerNotAvailable,
DuplicateRequest,
ValidationError,
ConnectorError,
LockTimeout,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "ErrorType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_3229958009812985049
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/errors/api_error_response.rs
pub enum ApiErrorResponse {
#[error(error_type = ErrorType::ConnectorError, code = "CE_00", message = "{code}: {message}", ignore = "status_code")]
ExternalConnectorError {
code: String,
message: String,
connector: String,
status_code: u16,
reason: Option<String>,
},
#[error(error_type = ErrorType::ProcessingError, code = "CE_01", message = "Payment failed during authorization with connector. Retry payment")]
PaymentAuthorizationFailed { data: Option<serde_json::Value> },
#[error(error_type = ErrorType::ProcessingError, code = "CE_02", message = "Payment failed during authentication with connector. Retry payment")]
PaymentAuthenticationFailed { data: Option<serde_json::Value> },
#[error(error_type = ErrorType::ProcessingError, code = "CE_03", message = "Capture attempt failed while processing with connector")]
PaymentCaptureFailed { data: Option<serde_json::Value> },
#[error(error_type = ErrorType::ProcessingError, code = "CE_04", message = "The card data is invalid")]
InvalidCardData { data: Option<serde_json::Value> },
#[error(error_type = ErrorType::ProcessingError, code = "CE_05", message = "The card has expired")]
CardExpired { data: Option<serde_json::Value> },
#[error(error_type = ErrorType::ProcessingError, code = "CE_06", message = "Refund failed while processing with connector. Retry refund")]
RefundFailed { data: Option<serde_json::Value> },
#[error(error_type = ErrorType::ProcessingError, code = "CE_07", message = "Verification failed while processing with connector. Retry operation")]
VerificationFailed { data: Option<serde_json::Value> },
#[error(error_type = ErrorType::ProcessingError, code = "CE_08", message = "Dispute operation failed while processing with connector. Retry operation")]
DisputeFailed { data: Option<serde_json::Value> },
#[error(error_type = ErrorType::LockTimeout, code = "HE_00", message = "Resource is busy. Please try again later.")]
ResourceBusy,
#[error(error_type = ErrorType::ServerNotAvailable, code = "HE_00", message = "Something went wrong")]
InternalServerError,
#[error(error_type = ErrorType::ServerNotAvailable, code= "HE_00", message = "{component} health check is failing with error: {message}")]
HealthCheckError {
component: &'static str,
message: String,
},
#[error(error_type = ErrorType::ValidationError, code = "HE_00", message = "Failed to convert currency to minor unit")]
CurrencyConversionFailed,
#[error(error_type = ErrorType::DuplicateRequest, code = "HE_01", message = "Duplicate refund request. Refund already attempted with the refund ID")]
DuplicateRefundRequest,
#[error(error_type = ErrorType::DuplicateRequest, code = "HE_01", message = "Duplicate mandate request. Mandate already attempted with the Mandate ID")]
DuplicateMandate,
#[error(error_type = ErrorType::DuplicateRequest, code = "HE_01", message = "The merchant account with the specified details already exists in our records")]
DuplicateMerchantAccount,
#[error(error_type = ErrorType::DuplicateRequest, code = "HE_01", message = "The merchant connector account with the specified profile_id '{profile_id}' and connector_label '{connector_label}' already exists in our records")]
DuplicateMerchantConnectorAccount {
profile_id: String,
connector_label: String,
},
#[error(error_type = ErrorType::DuplicateRequest, code = "HE_01", message = "The payment method with the specified details already exists in our records")]
DuplicatePaymentMethod,
#[error(error_type = ErrorType::DuplicateRequest, code = "HE_01", message = "The payment with the specified payment_id already exists in our records")]
DuplicatePayment {
payment_id: common_utils::id_type::PaymentId,
},
#[error(error_type = ErrorType::DuplicateRequest, code = "HE_01", message = "The payout with the specified payout_id '{payout_id:?}' already exists in our records")]
DuplicatePayout {
payout_id: common_utils::id_type::PayoutId,
},
#[error(error_type = ErrorType::DuplicateRequest, code = "HE_01", message = "The config with the specified key already exists in our records")]
DuplicateConfig,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Refund does not exist in our records")]
RefundNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Payment Link does not exist in our records")]
PaymentLinkNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Customer does not exist in our records")]
CustomerNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Config key does not exist in our records.")]
ConfigNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Payment does not exist in our records")]
PaymentNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Payment method does not exist in our records")]
PaymentMethodNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Merchant account does not exist in our records")]
MerchantAccountNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Merchant connector account does not exist in our records")]
MerchantConnectorAccountNotFound { id: String },
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Business profile with the given id '{id}' does not exist in our records")]
ProfileNotFound { id: String },
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Profile acquirer with id '{profile_acquirer_id}' not found for profile '{profile_id}'.")]
ProfileAcquirerNotFound {
profile_acquirer_id: String,
profile_id: String,
},
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Poll with the given id '{id}' does not exist in our records")]
PollNotFound { id: String },
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Resource ID does not exist in our records")]
ResourceIdNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Mandate does not exist in our records")]
MandateNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Authentication does not exist in our records")]
AuthenticationNotFound { id: String },
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Failed to update mandate")]
MandateUpdateFailed,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "API Key does not exist in our records")]
ApiKeyNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Payout does not exist in our records")]
PayoutNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Event does not exist in our records")]
EventNotFound,
#[error(error_type = ErrorType::ValidationError, code = "HE_03", message = "Invalid mandate id passed from connector")]
MandateSerializationFailed,
#[error(error_type = ErrorType::ValidationError, code = "HE_03", message = "Unable to parse the mandate identifier passed from connector")]
MandateDeserializationFailed,
#[error(error_type = ErrorType::ValidationError, code = "HE_03", message = "Return URL is not configured and not passed in payments request")]
ReturnUrlUnavailable,
#[error(error_type = ErrorType::ValidationError, code = "HE_03", message = "This refund is not possible through Hyperswitch. Please raise the refund through {connector} dashboard")]
RefundNotPossible { connector: String },
#[error(error_type = ErrorType::ValidationError, code = "HE_03", message = "Mandate Validation Failed" )]
MandateValidationFailed { reason: String },
#[error(error_type= ErrorType::ValidationError, code = "HE_03", message = "The payment has not succeeded yet. Please pass a successful payment to initiate refund")]
PaymentNotSucceeded,
#[error(error_type = ErrorType::ValidationError, code = "HE_03", message = "The specified merchant connector account is disabled")]
MerchantConnectorAccountDisabled,
#[error(error_type = ErrorType::ValidationError, code = "HE_03", message = "{code}: {message}")]
PaymentBlockedError {
code: u16,
message: String,
status: String,
reason: String,
},
#[error(error_type = ErrorType::ValidationError, code = "HE_03", message = "File validation failed")]
FileValidationFailed { reason: String },
#[error(error_type = ErrorType::ValidationError, code = "HE_03", message = "Dispute status validation failed")]
DisputeStatusValidationFailed { reason: String },
#[error(error_type= ErrorType::ObjectNotFound, code = "HE_04", message = "Successful payment not found for the given payment id")]
SuccessfulPaymentNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_04", message = "The connector provided in the request is incorrect or not available")]
IncorrectConnectorNameGiven,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_04", message = "Address does not exist in our records")]
AddressNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_04", message = "Dispute does not exist in our records")]
DisputeNotFound { dispute_id: String },
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_04", message = "File does not exist in our records")]
FileNotFound,
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_04", message = "File not available")]
FileNotAvailable,
#[error(error_type = ErrorType::ProcessingError, code = "HE_05", message = "Missing tenant id")]
MissingTenantId,
#[error(error_type = ErrorType::ProcessingError, code = "HE_05", message = "Invalid tenant id: {tenant_id}")]
InvalidTenant { tenant_id: String },
#[error(error_type = ErrorType::ValidationError, code = "HE_06", message = "Failed to convert amount to {amount_type} type")]
AmountConversionFailed { amount_type: &'static str },
#[error(error_type = ErrorType::ServerNotAvailable, code = "IR_00", message = "{message:?}")]
NotImplemented { message: NotImplementedMessage },
#[error(
error_type = ErrorType::InvalidRequestError, code = "IR_01",
message = "API key not provided or invalid API key used"
)]
Unauthorized,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_02", message = "Unrecognized request URL")]
InvalidRequestUrl,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_03", message = "The HTTP method is not applicable for this API")]
InvalidHttpMethod,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_04", message = "Missing required param: {field_name}")]
MissingRequiredField { field_name: &'static str },
#[error(
error_type = ErrorType::InvalidRequestError, code = "IR_05",
message = "{field_name} contains invalid data. Expected format is {expected_format}"
)]
InvalidDataFormat {
field_name: String,
expected_format: String,
},
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_06", message = "{message}")]
InvalidRequestData { message: String },
/// Typically used when a field has invalid value, or deserialization of the value contained in a field fails.
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_07", message = "Invalid value provided: {field_name}")]
InvalidDataValue { field_name: &'static str },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_08", message = "Client secret was not provided")]
ClientSecretNotGiven,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_08", message = "Client secret has expired")]
ClientSecretExpired,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_09", message = "The client_secret provided does not match the client_secret associated with the Payment")]
ClientSecretInvalid,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_10", message = "Customer has active mandate/subsciption")]
MandateActive,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_11", message = "Customer has already been redacted")]
CustomerRedacted,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_12", message = "Reached maximum refund attempts")]
MaximumRefundCount,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_13", message = "The refund amount exceeds the amount captured")]
RefundAmountExceedsPaymentAmount,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_14", message = "This Payment could not be {current_flow} because it has a {field_name} of {current_value}. The expected state is {states}")]
PaymentUnexpectedState {
current_flow: String,
field_name: String,
current_value: String,
states: String,
},
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_15", message = "Invalid Ephemeral Key for the customer")]
InvalidEphemeralKey,
/// Typically used when information involving multiple fields or previously provided information doesn't satisfy a condition.
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_16", message = "{message}")]
PreconditionFailed { message: String },
#[error(
error_type = ErrorType::InvalidRequestError, code = "IR_17",
message = "Access forbidden, invalid JWT token was used"
)]
InvalidJwtToken,
#[error(
error_type = ErrorType::InvalidRequestError, code = "IR_18",
message = "{message}",
)]
GenericUnauthorized { message: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_19", message = "{message}")]
NotSupported { message: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_20", message = "{flow} flow not supported by the {connector} connector")]
FlowNotSupported { flow: String, connector: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_21", message = "Missing required params")]
MissingRequiredFields { field_names: Vec<&'static str> },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_22", message = "Access forbidden. Not authorized to access this resource {resource}")]
AccessForbidden { resource: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_23", message = "{message}")]
FileProviderNotSupported { message: String },
#[error(
error_type = ErrorType::ProcessingError, code = "IR_24",
message = "Invalid {wallet_name} wallet token"
)]
InvalidWalletToken { wallet_name: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_25", message = "Cannot delete the default payment method")]
PaymentMethodDeleteFailed,
#[error(
error_type = ErrorType::InvalidRequestError, code = "IR_26",
message = "Invalid Cookie"
)]
InvalidCookie,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_27", message = "Extended card info does not exist")]
ExtendedCardInfoNotFound,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_28", message = "{message}")]
CurrencyNotSupported { message: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_29", message = "{message}")]
UnprocessableEntity { message: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_30", message = "Merchant connector account is configured with invalid {config}")]
InvalidConnectorConfiguration { config: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_31", message = "Card with the provided iin does not exist")]
InvalidCardIin,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_32", message = "The provided card IIN length is invalid, please provide an iin with 6 or 8 digits")]
InvalidCardIinLength,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_33", message = "File not found / valid in the request")]
MissingFile,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_34", message = "Dispute id not found in the request")]
MissingDisputeId,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_35", message = "File purpose not found in the request or is invalid")]
MissingFilePurpose,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_36", message = "File content type not found / valid")]
MissingFileContentType,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_37", message = "{message}")]
GenericNotFoundError { message: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_38", message = "{message}")]
GenericDuplicateError { message: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_39", message = "required payment method is not configured or configured incorrectly for all configured connectors")]
IncorrectPaymentMethodConfiguration,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_40", message = "{message}")]
LinkConfigurationError { message: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_41", message = "Payout validation failed")]
PayoutFailed { data: Option<serde_json::Value> },
#[error(
error_type = ErrorType::InvalidRequestError, code = "IR_42",
message = "Cookies are not found in the request"
)]
CookieNotFound,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_43", message = "API does not support platform account operation")]
PlatformAccountAuthNotSupported,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_44", message = "Invalid platform account operation")]
InvalidPlatformOperation,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_45", message = "External vault failed during processing with connector")]
ExternalVaultFailed,
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_46", message = "Field {fields} doesn't match with the ones used during mandate creation")]
MandatePaymentDataMismatch { fields: String },
#[error(error_type = ErrorType::InvalidRequestError, code = "IR_47", message = "Connector '{connector}' rejected field '{field_name}': length {received_length} exceeds maximum of {max_length}")]
MaxFieldLengthViolated {
connector: String,
field_name: String,
max_length: usize,
received_length: usize,
},
#[error(error_type = ErrorType::InvalidRequestError, code = "WE_01", message = "Failed to authenticate the webhook")]
WebhookAuthenticationFailed,
#[error(error_type = ErrorType::InvalidRequestError, code = "WE_02", message = "Bad request received in webhook")]
WebhookBadRequest,
#[error(error_type = ErrorType::RouterError, code = "WE_03", message = "There was some issue processing the webhook")]
WebhookProcessingFailure,
#[error(error_type = ErrorType::ObjectNotFound, code = "WE_04", message = "Webhook resource not found")]
WebhookResourceNotFound,
#[error(error_type = ErrorType::InvalidRequestError, code = "WE_05", message = "Unable to process the webhook body")]
WebhookUnprocessableEntity,
#[error(error_type = ErrorType::InvalidRequestError, code = "WE_06", message = "Merchant Secret set my merchant for webhook source verification is invalid")]
WebhookInvalidMerchantSecret,
#[error(error_type = ErrorType::ServerNotAvailable, code = "IE", message = "{reason} as data mismatched for {field_names}")]
IntegrityCheckFailed {
reason: String,
field_names: String,
connector_transaction_id: Option<String>,
},
#[error(error_type = ErrorType::ObjectNotFound, code = "HE_02", message = "Tokenization record not found for the given token_id {id}")]
TokenizationRecordNotFound { id: String },
#[error(error_type = ErrorType::ConnectorError, code = "CE_00", message = "Subscription operation: {operation} failed with connector")]
SubscriptionError { operation: String },
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "ApiErrorResponse",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_8838892943890925109
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/errors/api_error_response.rs
pub enum NotImplementedMessage {
Reason(String),
Default,
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "NotImplementedMessage",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_1147699954489147083
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payouts/payouts.rs
pub enum PayoutsUpdate {
Update {
amount: MinorUnit,
destination_currency: storage_enums::Currency,
source_currency: storage_enums::Currency,
description: Option<String>,
recurring: bool,
auto_fulfill: bool,
return_url: Option<String>,
entity_type: storage_enums::PayoutEntityType,
metadata: Option<pii::SecretSerdeValue>,
profile_id: Option<id_type::ProfileId>,
status: Option<storage_enums::PayoutStatus>,
confirm: Option<bool>,
payout_type: Option<storage_enums::PayoutType>,
address_id: Option<String>,
customer_id: Option<id_type::CustomerId>,
},
PayoutMethodIdUpdate {
payout_method_id: String,
},
RecurringUpdate {
recurring: bool,
},
AttemptCountUpdate {
attempt_count: i16,
},
StatusUpdate {
status: storage_enums::PayoutStatus,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PayoutsUpdate",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_domain_models_8702275869400126762
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs
pub enum PayoutAttemptUpdate {
StatusUpdate {
connector_payout_id: Option<String>,
status: storage_enums::PayoutStatus,
error_message: Option<String>,
error_code: Option<String>,
is_eligible: Option<bool>,
unified_code: Option<UnifiedCode>,
unified_message: Option<UnifiedMessage>,
payout_connector_metadata: Option<pii::SecretSerdeValue>,
},
PayoutTokenUpdate {
payout_token: String,
},
BusinessUpdate {
business_country: Option<storage_enums::CountryAlpha2>,
business_label: Option<String>,
address_id: Option<String>,
customer_id: Option<id_type::CustomerId>,
},
UpdateRouting {
connector: String,
routing_info: Option<serde_json::Value>,
merchant_connector_id: Option<id_type::MerchantConnectorAccountId>,
},
AdditionalPayoutMethodDataUpdate {
additional_payout_method_data: Option<payout_method_utils::AdditionalPayoutMethodData>,
},
}
|
{
"chunk": null,
"crate": "hyperswitch_domain_models",
"enum_name": "PayoutAttemptUpdate",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-3967756015059984867
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/utils.rs
pub enum CardIssuer {
AmericanExpress,
Master,
Maestro,
Visa,
Discover,
DinersClub,
JCB,
CarteBlanche,
CartesBancaires,
UnionPay,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "CardIssuer",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_8584530910177799027
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs
pub enum Source {
Card(PowertranzCard),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "Source",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_8619990763844775590
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
pub enum StaxTokenRequest {
Card(StaxTokenizeData),
Bank(StaxBankTokenizeData),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "StaxTokenRequest",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-7921199528269147629
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
pub enum StaxPaymentResponseTypes {
Charge,
PreAuth,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "StaxPaymentResponseTypes",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-341739551090252044
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/stax/transformers.rs
pub enum StaxWebhookEventType {
PreAuth,
Capture,
Charge,
Void,
Refund,
#[serde(other)]
Unknown,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "StaxWebhookEventType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_8705108724230450672
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum TesouroApiResponse<T> {
TesouroApiSuccessResponse(TesouroApiResponseData<T>),
TesouroErrorResponse(TesouroApiErrorResponse),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TesouroApiResponse",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_9077305448722238025
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum AuthorizeTransactionResponseType {
AuthorizationApproval,
AuthorizationDecline,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "AuthorizeTransactionResponseType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-1676845918659648626
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum CaptureTransactionResponseType {
CaptureAuthorizationApproval,
CaptureAuthorizationDecline,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "CaptureTransactionResponseType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_5625673809206429758
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum ReverseTransactionResponseType {
ReverseTransactionApproval,
ReverseTransactionDecline,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ReverseTransactionResponseType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_7871896451403470507
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum RefundTransactionResponseType {
RefundPreviousPaymentApproval,
RefundPreviousPaymentDecline,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "RefundTransactionResponseType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-8063254650730186759
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum TesouroGrantType {
ClientCredentials,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TesouroGrantType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-7524502008913196964
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum TesouroAuthorizationIntent {
FinalAuthorization,
PreAuthorization,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TesouroAuthorizationIntent",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_7274879780074031329
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum TesouroChannel {
Ecommerce,
MailOrderTelephoneOrder,
Retail,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TesouroChannel",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_6170539503014342534
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum TesouroAutomaticCapture {
Never,
OnApproval,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TesouroAutomaticCapture",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-112383015671011092
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum TesouroWalletType {
ApplePay,
GooglePay,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TesouroWalletType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-821180512310370862
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum TesouroPaymentMethodDetails {
CardWithPanDetails(TesouroCardWithPanDetails),
NetworkTokenPassThroughDetails(TesouroNetworkTokenPassThroughDetails),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TesouroPaymentMethodDetails",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-3278752046079751886
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum TesouroPaymentEntryMode {
PaymentMethodNotOnFile,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TesouroPaymentEntryMode",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_1916214673097417510
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs
pub enum TesouroSyncStatus {
AcceptedSale,
ApprovedAuthorization,
ApprovedCapture,
ApprovedReversal,
DeclinedAuthorization,
DeclinedCapture,
DeclinedReversal,
GenericPaymentTransaction,
Authorization,
Capture,
Reversal,
ApprovedRefund,
ApprovedRefundAuthorization,
DeclinedRefund,
DeclinedRefundAuthorization,
Refund,
RefundAuthorization,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TesouroSyncStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-6047908924486600584
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/sift/transformers.rs
pub enum SiftPaymentStatus {
Succeeded,
Failed,
#[default]
Processing,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "SiftPaymentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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/sift/transformers.rs
pub enum RefundStatus {
Succeeded,
Failed,
#[default]
Processing,
}
|
{
"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_6519640882180675246
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs
enum LastEvent {
Authorised,
Refused,
Cancelled,
Captured,
Settled,
SentForAuthorisation,
SentForRefund,
Refunded,
RefundRequested,
RefundFailed,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "LastEvent",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-8025157197011562649
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs
enum AutoCapture {
Off,
#[serde(rename = "0")]
On,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "AutoCapture",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-3329806364593005440
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs
pub enum WorldpayxmlPaymentStatus {
Succeeded,
Failed,
#[default]
Processing,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "WorldpayxmlPaymentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_1751000027424904493
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs
pub enum CoingatePaymentStatus {
New,
Pending,
Confirming,
Paid,
Invalid,
Expired,
Canceled,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "CoingatePaymentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_793674379279286762
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs
pub enum CoingateRefundStatus {
Pending,
Completed,
Rejected,
Processing,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "CoingateRefundStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-4881619804123931235
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
pub enum TsysPaymentsRequest {
Auth(TsysPaymentAuthSaleRequest),
Sale(TsysPaymentAuthSaleRequest),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TsysPaymentsRequest",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_4937749266692916022
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
pub enum TsysPaymentStatus {
Pass,
Fail,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TsysPaymentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_4674269428414309745
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
pub enum TsysTransactionStatus {
Approved,
Declined,
Void,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TsysTransactionStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_3914478665495634723
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
pub enum TsysResponseTypes {
SuccessResponse(TsysResponse),
ErrorResponse(TsysErrorResponse),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TsysResponseTypes",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-5432044721711924567
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
pub enum TsysPaymentsResponse {
AuthResponse(TsysResponseTypes),
SaleResponse(TsysResponseTypes),
CaptureResponse(TsysResponseTypes),
VoidResponse(TsysResponseTypes),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TsysPaymentsResponse",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_5799862102780036579
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs
pub enum SearchResponseTypes {
SuccessResponse(TsysPaymentsSyncResponse),
ErrorResponse(TsysErrorResponse),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "SearchResponseTypes",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_7861062571841106019
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
pub enum CustomerAccountType {
Guest,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "CustomerAccountType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_8584530910177799027
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
pub enum Source {
DesktopWeb,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "Source",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_1020674317597744250
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
pub enum FulfilmentStatus {
Fulfilled,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "FulfilmentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-104956915372740698
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
pub enum PaymentStatus {
Captured,
Created,
Submitted,
Approved,
Declined,
Processing,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "PaymentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_808121147807761604
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
pub enum RiskifiedTransactionResponse {
FailedResponse(RiskifiedFailedTransactionResponse),
SuccessResponse(RiskifiedPaymentsResponse),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "RiskifiedTransactionResponse",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_5673591148015904485
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
pub enum TransactionStatus {
Approved,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "TransactionStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-7587168594934273504
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
pub enum FulfillmentRequestStatus {
Success,
Cancelled,
Error,
Failure,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "FulfillmentRequestStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_8458776473403175954
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs
pub enum RiskifiedWebhookStatus {
Approved,
Declined,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "RiskifiedWebhookStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-5841533306990593278
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
pub enum KlarnaEndpoint {
Europe,
NorthAmerica,
Oceania,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"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_hyperswitch_connectors_-452712919448363081
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
pub enum PaymentMethodSpecifics {
KlarnaCheckout(KlarnaCheckoutRequestData),
KlarnaSdk,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "PaymentMethodSpecifics",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-7411918667554394715
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
pub enum KlarnaAuthResponse {
KlarnaPaymentsAuthResponse(PaymentsResponse),
KlarnaCheckoutAuthResponse(CheckoutResponse),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "KlarnaAuthResponse",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_3764325503075152746
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
pub enum KlarnaSessionIntent {
Buy,
Tokenize,
BuyAndTokenize,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "KlarnaSessionIntent",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_4243966631624788135
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
pub enum KlarnaFraudStatus {
Accepted,
Pending,
Rejected,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "KlarnaFraudStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-1183863024928901093
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
pub enum KlarnaCheckoutStatus {
CheckoutComplete,
CheckoutIncomplete,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "KlarnaCheckoutStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_3922902187832036727
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
pub enum KlarnaPsyncResponse {
KlarnaSDKPsyncResponse(KlarnaSDKSyncResponse),
KlarnaCheckoutPSyncResponse(KlarnaCheckoutSyncResponse),
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "KlarnaPsyncResponse",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-3179629598127072334
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs
pub enum KlarnaPaymentStatus {
Authorized,
PartCaptured,
Captured,
Cancelled,
Expired,
Closed,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "KlarnaPaymentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_3352377285081605987
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeeAutoCollection {
On,
Off,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeeAutoCollection",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_8540062570839098168
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeeSubscriptionStatus {
Future,
#[serde(rename = "in_trial")]
InTrial,
Active,
#[serde(rename = "non_renewing")]
NonRenewing,
Paused,
Cancelled,
Transferred,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeeSubscriptionStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_5308936295032927923
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeePaymentStatus {
Succeeded,
Failed,
#[default]
Processing,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeePaymentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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/chargebee/transformers.rs
pub enum RefundStatus {
Succeeded,
Failed,
#[default]
Processing,
}
|
{
"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_-9071933939745249792
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeeEventType {
PaymentSucceeded,
PaymentFailed,
InvoiceDeleted,
InvoiceGenerated,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeeEventType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_1680968681893259540
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeeTransactionPaymentMethod {
Card,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeeTransactionPaymentMethod",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_5559442627480542210
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeeFundingType {
Credit,
Debit,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeeFundingType",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-6858921631255359928
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeeTranasactionStatus {
// Waiting for response from the payment gateway.
InProgress,
// The transaction is successful.
Success,
// Transaction failed.
Failure,
// No response received while trying to charge the card.
Timeout,
// Indicates that a successful payment transaction has failed now due to a late failure notification from the payment gateway,
// typically caused by issues like insufficient funds or a closed bank account.
LateFailure,
// Connection with Gateway got terminated abruptly. So, status of this transaction needs to be resolved manually
NeedsAttention,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeeTranasactionStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_1683394559526590455
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeeGateway {
Stripe,
Braintree,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeeGateway",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_1896381086124145407
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeeRecordPaymentMethod {
Other,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeeRecordPaymentMethod",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-7648898854581616650
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeeRecordStatus {
Success,
Failure,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeeRecordStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_9040768712386818469
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeePricingModel {
FlatFee,
PerUnit,
Tiered,
Volume,
Stairstep,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeePricingModel",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-5970767914258351188
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeePeriodUnit {
Day,
Week,
Month,
Year,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeePeriodUnit",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_3181456571783088831
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeeTrialPeriodUnit {
Day,
Month,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeeTrialPeriodUnit",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_5757412895479312977
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs
pub enum ChargebeeInvoiceStatus {
Paid,
Posted,
PaymentDue,
NotPaid,
Voided,
#[serde(other)]
Pending,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "ChargebeeInvoiceStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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_-4524933729509912889
|
clm
|
enum
|
// hyperswitch/crates/hyperswitch_connectors/src/connectors/nordea/responses.rs
pub enum NordeaPaymentStatus {
#[default]
PendingConfirmation,
PendingSecondConfirmation,
PendingUserApproval,
OnHold,
Confirmed,
Rejected,
Paid,
InsufficientFunds,
LimitExceeded,
UserApprovalFailed,
UserApprovalTimeout,
UserApprovalCancelled,
Unknown,
}
|
{
"chunk": null,
"crate": "hyperswitch_connectors",
"enum_name": "NordeaPaymentStatus",
"file_size": null,
"for_type": null,
"function_name": null,
"is_async": null,
"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.