feat(connector): [Chargebee] Add record back support for chargebee (#7505)

Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-N7WRTY72X7.local>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
chikke srujan
2025-03-18 18:12:46 +05:30
committed by GitHub
parent e4c7ab8e68
commit e77bb71c6c
8 changed files with 494 additions and 56 deletions

View File

@ -10,8 +10,11 @@ use hyperswitch_domain_models::{
},
};
use super::{ConnectorCommon, ConnectorIntegration};
#[cfg(all(feature = "v2", feature = "revenue_recovery"))]
use super::ConnectorCommon;
use super::ConnectorIntegration;
/// trait RevenueRecovery
#[cfg(all(feature = "v2", feature = "revenue_recovery"))]
pub trait RevenueRecovery:
ConnectorCommon + AdditionalRevenueRecovery + RevenueRecoveryRecordBack
{
@ -36,3 +39,7 @@ pub trait RevenueRecoveryRecordBack:
>
{
}
#[cfg(not(all(feature = "v2", feature = "revenue_recovery")))]
/// trait RevenueRecovery
pub trait RevenueRecovery {}