mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
refactor(router): add domain type for merchant_connector_account id (#5685)
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:
committed by
GitHub
parent
f33e1bb65c
commit
771f48cfe0
@ -159,7 +159,8 @@ pub struct RefundResponse {
|
||||
#[schema(value_type = Option<String>)]
|
||||
pub profile_id: Option<common_utils::id_type::ProfileId>,
|
||||
/// The merchant_connector_id of the processor through which this payment went through
|
||||
pub merchant_connector_id: Option<String>,
|
||||
#[schema(value_type = Option<String>)]
|
||||
pub merchant_connector_id: Option<common_utils::id_type::MerchantConnectorAccountId>,
|
||||
/// Charge specific fields for controlling the revert of funds from either platform or connected account
|
||||
#[schema(value_type = Option<ChargeRefunds>)]
|
||||
pub charges: Option<ChargeRefunds>,
|
||||
@ -186,7 +187,8 @@ pub struct RefundListRequest {
|
||||
/// The list of connectors to filter refunds list
|
||||
pub connector: Option<Vec<String>>,
|
||||
/// The list of merchant connector ids to filter the refunds list for selected label
|
||||
pub merchant_connector_id: Option<Vec<String>>,
|
||||
#[schema(value_type = Option<Vec<String>>)]
|
||||
pub merchant_connector_id: Option<Vec<common_utils::id_type::MerchantConnectorAccountId>>,
|
||||
/// The list of currencies to filter refunds list
|
||||
#[schema(value_type = Option<Vec<Currency>>)]
|
||||
pub currency: Option<Vec<enums::Currency>>,
|
||||
|
||||
Reference in New Issue
Block a user