mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 03:13:56 +08:00
feat(subscription): Add endpoint to get Subscription estimate (#9637)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Gaurav Rawat <104276743+GauravRawat369@users.noreply.github.com>
This commit is contained in:
@ -11,10 +11,11 @@ use hyperswitch_domain_models::{
|
||||
flow_common_types::{
|
||||
AccessTokenFlowData, AuthenticationTokenFlowData, BillingConnectorInvoiceSyncFlowData,
|
||||
BillingConnectorPaymentsSyncFlowData, DisputesFlowData, ExternalAuthenticationFlowData,
|
||||
ExternalVaultProxyFlowData, FilesFlowData, GetSubscriptionPlanPricesData,
|
||||
GetSubscriptionPlansData, GiftCardBalanceCheckFlowData, InvoiceRecordBackData,
|
||||
MandateRevokeFlowData, PaymentFlowData, RefundFlowData, SubscriptionCreateData,
|
||||
SubscriptionCustomerData, UasFlowData, VaultConnectorFlowData, WebhookSourceVerifyData,
|
||||
ExternalVaultProxyFlowData, FilesFlowData, GetSubscriptionEstimateData,
|
||||
GetSubscriptionPlanPricesData, GetSubscriptionPlansData, GiftCardBalanceCheckFlowData,
|
||||
InvoiceRecordBackData, MandateRevokeFlowData, PaymentFlowData, RefundFlowData,
|
||||
SubscriptionCreateData, SubscriptionCustomerData, UasFlowData, VaultConnectorFlowData,
|
||||
WebhookSourceVerifyData,
|
||||
},
|
||||
RouterDataV2,
|
||||
},
|
||||
@ -895,6 +896,7 @@ default_router_data_conversion!(GetSubscriptionPlansData);
|
||||
default_router_data_conversion!(GetSubscriptionPlanPricesData);
|
||||
default_router_data_conversion!(SubscriptionCreateData);
|
||||
default_router_data_conversion!(SubscriptionCustomerData);
|
||||
default_router_data_conversion!(GetSubscriptionEstimateData);
|
||||
|
||||
impl<T, Req: Clone, Resp: Clone> RouterDataConversion<T, Req, Resp> for UasFlowData {
|
||||
fn from_old_router_data(
|
||||
|
||||
Reference in New Issue
Block a user