mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +08:00
feat(router): add endpoint for listing connector features (#6612)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Pa1NarK <69745008+pixincreate@users.noreply.github.com>
This commit is contained in:
@ -3574,3 +3574,42 @@ pub enum StripeChargeType {
|
||||
Direct,
|
||||
Destination,
|
||||
}
|
||||
|
||||
/// Connector Access Method
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
Eq,
|
||||
PartialEq,
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
ToSchema,
|
||||
)]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum PaymentConnectorCategory {
|
||||
PaymentGateway,
|
||||
AlternativePaymentMethod,
|
||||
BankAcquirer,
|
||||
}
|
||||
|
||||
/// The status of the feature
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
Eq,
|
||||
PartialEq,
|
||||
serde::Deserialize,
|
||||
serde::Serialize,
|
||||
strum::Display,
|
||||
ToSchema,
|
||||
)]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum FeatureStatus {
|
||||
NotSupported,
|
||||
Supported,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user