feat(connector): [Xendit] Template PR (#6593)

Co-authored-by: Amey Wale <amey.wale@Amey-Wale-D5XH7W90PR.local>
This commit is contained in:
AmeyWale-HS
2024-11-21 23:35:31 +05:30
committed by GitHub
parent f24578310f
commit 9bc363f140
24 changed files with 1274 additions and 3 deletions

View File

@ -57,7 +57,7 @@ pub use hyperswitch_connectors::connectors::{
powertranz::Powertranz, razorpay, razorpay::Razorpay, shift4, shift4::Shift4, square,
square::Square, stax, stax::Stax, taxjar, taxjar::Taxjar, thunes, thunes::Thunes, tsys,
tsys::Tsys, volt, volt::Volt, worldline, worldline::Worldline, worldpay, worldpay::Worldpay,
zen, zen::Zen, zsl, zsl::Zsl,
xendit, xendit::Xendit, zen, zen::Zen, zsl, zsl::Zsl,
};
#[cfg(feature = "dummy_connector")]

View File

@ -496,6 +496,9 @@ impl ConnectorData {
enums::Connector::Worldpay => {
Ok(ConnectorEnum::Old(Box::new(connector::Worldpay::new())))
}
// enums::Connector::Xendit => {
// Ok(ConnectorEnum::Old(Box::new(connector::Xendit::new())))
// }
enums::Connector::Mifinity => {
Ok(ConnectorEnum::Old(Box::new(connector::Mifinity::new())))
}

View File

@ -303,6 +303,7 @@ impl ForeignTryFrom<api_enums::Connector> for common_enums::RoutableConnectors {
api_enums::Connector::Wise => Self::Wise,
api_enums::Connector::Worldline => Self::Worldline,
api_enums::Connector::Worldpay => Self::Worldpay,
// api_enums::Connector::Xendit => Self::Xendit,
api_enums::Connector::Zen => Self::Zen,
api_enums::Connector::Zsl => Self::Zsl,
#[cfg(feature = "dummy_connector")]