mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 20:23:43 +08:00
feat(connector): Add support for get plans for Chargebee (#9281)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -161,6 +161,7 @@ impl ConnectorAuthTypeAndMetadataValidation<'_> {
|
||||
}
|
||||
api_enums::Connector::Chargebee => {
|
||||
chargebee::transformers::ChargebeeAuthType::try_from(self.auth_type)?;
|
||||
chargebee::transformers::ChargebeeMetadata::try_from(self.connector_meta_data)?;
|
||||
Ok(())
|
||||
}
|
||||
api_enums::Connector::Celero => {
|
||||
|
||||
@ -106,6 +106,8 @@ pub type BoxedFilesConnectorIntegrationInterface<T, Req, Resp> =
|
||||
BoxedConnectorIntegrationInterface<T, common_types::FilesFlowData, Req, Resp>;
|
||||
pub type BoxedRevenueRecoveryRecordBackInterface<T, Req, Res> =
|
||||
BoxedConnectorIntegrationInterface<T, common_types::InvoiceRecordBackData, Req, Res>;
|
||||
pub type BoxedGetSubscriptionPlansInterface<T, Req, Res> =
|
||||
BoxedConnectorIntegrationInterface<T, common_types::GetSubscriptionPlansData, Req, Res>;
|
||||
pub type BoxedBillingConnectorInvoiceSyncIntegrationInterface<T, Req, Res> =
|
||||
BoxedConnectorIntegrationInterface<
|
||||
T,
|
||||
|
||||
Reference in New Issue
Block a user