mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(business_profile_v2): business profile v2 create and retrieve endpoint (#5606)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
This commit is contained in:
@ -700,8 +700,7 @@ impl<T: DatabaseStore> PayoutsInterface for crate::RouterStore<T> {
|
||||
})
|
||||
}
|
||||
|
||||
#[cfg(feature = "olap")]
|
||||
#[cfg(all(feature = "v2", feature = "customer_v2"))]
|
||||
#[cfg(all(feature = "olap", feature = "v2", feature = "customer_v2"))]
|
||||
#[instrument(skip_all)]
|
||||
async fn filter_payouts_and_attempts(
|
||||
&self,
|
||||
@ -765,7 +764,11 @@ impl<T: DatabaseStore> PayoutsInterface for crate::RouterStore<T> {
|
||||
})
|
||||
}
|
||||
|
||||
#[cfg(feature = "olap")]
|
||||
#[cfg(all(
|
||||
any(feature = "v1", feature = "v2"),
|
||||
feature = "olap",
|
||||
not(feature = "customer_v2")
|
||||
))]
|
||||
#[instrument(skip_all)]
|
||||
async fn filter_active_payout_ids_by_constraints(
|
||||
&self,
|
||||
@ -841,6 +844,16 @@ impl<T: DatabaseStore> PayoutsInterface for crate::RouterStore<T> {
|
||||
.into()
|
||||
})
|
||||
}
|
||||
|
||||
#[cfg(all(feature = "olap", feature = "v2", feature = "customer_v2"))]
|
||||
#[instrument(skip_all)]
|
||||
async fn filter_active_payout_ids_by_constraints(
|
||||
&self,
|
||||
merchant_id: &common_utils::id_type::MerchantId,
|
||||
constraints: &PayoutFetchConstraints,
|
||||
) -> error_stack::Result<Vec<String>, StorageError> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
impl DataModelExt for Payouts {
|
||||
|
||||
Reference in New Issue
Block a user