feat(router): Return psp_tokenization_enabled in Customer PML (#7519)

This commit is contained in:
Anurag Thakur
2025-03-20 15:02:07 +05:30
committed by GitHub
parent a5be11498f
commit a341e82d4a
8 changed files with 130 additions and 12 deletions

View File

@ -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>,
}