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:
AkshayaFoiger
2024-12-24 14:37:19 +05:30
committed by GitHub
parent 5e4eded8fa
commit a423ff53d3
124 changed files with 1490 additions and 252 deletions

View File

@ -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,
}