Enum of payment connector identifiers for Rust library.
// Source: https://github.com/juspay/hyperswitch | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
use std::collections::HashSet;
use smithy::SmithyModel;
use utoipa::ToSchema;
#[cfg(feature = "payouts")]
use super::enums;
pub use super::enums::{AuthenticationType, PaymentMethod, PayoutType};
pub use crate::PaymentMethodType;
// A connector is an integration to fulfill payments
#[derive(
Clone,
Copy,
Debug,
Eq,
PartialEq,
ToSchema,
serde::Deserialize,
serde::Serialize,
strum::VariantNames,
strum::EnumIter,
strum::Display,
strum::EnumString,
Hash,
SmithyModel,
)]
#[cfg_attr(feature = "diesel", router_derive::diesel_enum(stora
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key