mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
refactor(merchant_id): create domain type for merchant_id (#5408)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
This commit is contained in:
@ -99,13 +99,13 @@ pub enum UserStatus {
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct MerchantSelectRequest {
|
||||
pub merchant_ids: Vec<String>,
|
||||
pub merchant_ids: Vec<common_utils::id_type::MerchantId>,
|
||||
// TODO: Remove this once the token only api is being used
|
||||
pub need_dashboard_entry_response: Option<bool>,
|
||||
}
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct AcceptInvitationRequest {
|
||||
pub merchant_ids: Vec<String>,
|
||||
pub merchant_ids: Vec<common_utils::id_type::MerchantId>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
|
||||
Reference in New Issue
Block a user