mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
feat: core changes for extended authorization (#6766)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
use std::collections::HashSet;
|
||||
|
||||
use utoipa::ToSchema;
|
||||
|
||||
pub use super::enums::{PaymentMethod, PayoutType};
|
||||
pub use crate::PaymentMethodType;
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
@ -453,6 +456,15 @@ impl Connector {
|
||||
matches!(self, Self::Airwallex)
|
||||
}
|
||||
|
||||
pub fn get_payment_methods_supporting_extended_authorization(self) -> HashSet<PaymentMethod> {
|
||||
HashSet::new()
|
||||
}
|
||||
pub fn get_payment_method_types_supporting_extended_authorization(
|
||||
self,
|
||||
) -> HashSet<PaymentMethodType> {
|
||||
HashSet::new()
|
||||
}
|
||||
|
||||
pub fn should_acknowledge_webhook_for_resource_not_found_errors(self) -> bool {
|
||||
matches!(self, Self::Adyenplatform)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user