mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(users): refactor ProdIntent to support product-type context and merchant-scope (#7638)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
use common_enums::CountryAlpha2;
|
||||
use common_enums::{CountryAlpha2, MerchantProductType};
|
||||
use common_utils::{id_type, pii};
|
||||
use masking::Secret;
|
||||
use strum::EnumString;
|
||||
@ -103,6 +103,8 @@ pub struct ProdIntent {
|
||||
pub poc_contact: Option<String>,
|
||||
pub comments: Option<String>,
|
||||
pub is_completed: bool,
|
||||
#[serde(default)]
|
||||
pub product_type: MerchantProductType,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user