mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +08:00
feat(customer_v2): customer v2 refactor customer v2 update endpoint (#5490)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in> Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in> Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in> Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -232,7 +232,8 @@ pub async fn list_payment_method_api(
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "v2", feature = "v1"),
|
||||
not(feature = "payment_methods_v2")
|
||||
not(feature = "payment_methods_v2"),
|
||||
not(feature = "customer_v2")
|
||||
))]
|
||||
/// List payment methods for a Customer
|
||||
///
|
||||
@ -355,7 +356,11 @@ pub async fn list_customer_payment_method_for_payment(
|
||||
.await
|
||||
}
|
||||
|
||||
#[cfg(all(feature = "v2", feature = "payment_methods_v2"))]
|
||||
#[cfg(all(
|
||||
feature = "v2",
|
||||
feature = "payment_methods_v2",
|
||||
feature = "customer_v2"
|
||||
))]
|
||||
/// List payment methods for a Customer v2
|
||||
///
|
||||
/// To filter and list the applicable payment methods for a particular Customer ID, to be used in a non-payments context
|
||||
@ -418,7 +423,8 @@ pub async fn list_customer_payment_method_api(
|
||||
|
||||
#[cfg(all(
|
||||
any(feature = "v2", feature = "v1"),
|
||||
not(feature = "payment_methods_v2")
|
||||
not(feature = "payment_methods_v2"),
|
||||
not(feature = "customer_v2")
|
||||
))]
|
||||
/// List payment methods for a Customer
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user