feat(router): added support for optional defend dispute api call and added evidence submission flow for checkout connector (#979)

This commit is contained in:
Sai Harsha Vardhan
2023-05-03 02:25:53 +05:30
committed by GitHub
parent 0b7bc7bcd2
commit 4728d946e2
13 changed files with 529 additions and 46 deletions

View File

@ -627,7 +627,10 @@ impl Connector {
)
}
pub fn supports_file_storage_module(&self) -> bool {
matches!(self, Self::Stripe)
matches!(self, Self::Stripe | Self::Checkout)
}
pub fn requires_defend_dispute(&self) -> bool {
matches!(self, Self::Checkout)
}
}