mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(router): Return psp_tokenization_enabled in Customer PML (#7519)
This commit is contained in:
@ -113,7 +113,7 @@ pub struct MerchantAccountCreate {
|
||||
pub pm_collect_link_config: Option<BusinessCollectLinkConfig>,
|
||||
|
||||
/// Product Type of this merchant account
|
||||
#[schema(value_type = Option<api_enums::MerchantProductType>)]
|
||||
#[schema(value_type = Option<MerchantProductType>)]
|
||||
pub product_type: Option<api_enums::MerchantProductType>,
|
||||
}
|
||||
|
||||
@ -198,6 +198,7 @@ pub struct MerchantAccountCreateWithoutOrgId {
|
||||
#[schema(value_type = Option<Object>, example = r#"{ "city": "NY", "unit": "245" }"#)]
|
||||
pub metadata: Option<pii::SecretSerdeValue>,
|
||||
|
||||
#[schema(value_type = Option<MerchantProductType>)]
|
||||
pub product_type: Option<api_enums::MerchantProductType>,
|
||||
}
|
||||
|
||||
@ -560,7 +561,7 @@ pub struct MerchantAccountResponse {
|
||||
pub pm_collect_link_config: Option<BusinessCollectLinkConfig>,
|
||||
|
||||
/// Product Type of this merchant account
|
||||
#[schema(value_type = Option<api_enums::MerchantProductType>)]
|
||||
#[schema(value_type = Option<MerchantProductType>)]
|
||||
pub product_type: Option<api_enums::MerchantProductType>,
|
||||
}
|
||||
|
||||
@ -596,7 +597,7 @@ pub struct MerchantAccountResponse {
|
||||
pub recon_status: api_enums::ReconStatus,
|
||||
|
||||
/// Product Type of this merchant account
|
||||
#[schema(value_type = Option<api_enums::MerchantProductType>)]
|
||||
#[schema(value_type = Option<MerchantProductType>)]
|
||||
pub product_type: Option<api_enums::MerchantProductType>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user