MerchantInfoGetResultJson.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #region Apache License Version 2.0
  2. /*----------------------------------------------------------------
  3. Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
  4. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software distributed under the
  8. License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
  9. either express or implied. See the License for the specific language governing permissions
  10. and limitations under the License.
  11. Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md
  12. ----------------------------------------------------------------*/
  13. #endregion Apache License Version 2.0
  14. /*----------------------------------------------------------------
  15. Copyright (C) 2019 Senparc
  16. 文件名:MerchantInfoGetResultJson.cs
  17. 文件功能描述:获取商户信息的返回结果
  18. 创建标识:Senparc - 20160520
  19. ----------------------------------------------------------------*/
  20. using System;
  21. using System.Collections.Generic;
  22. using System.Linq;
  23. using System.Text;
  24. using System.Threading.Tasks;
  25. using Senparc.Weixin.Entities;
  26. namespace Senparc.Weixin.MP.AdvancedAPIs.Scan
  27. {
  28. /// <summary>
  29. /// 获取商户信息的返回结果
  30. /// </summary>
  31. public class MerchantInfoGetResultJson : WxJsonResult
  32. {
  33. /// <summary>
  34. /// 品牌标签列表,创建商品时传入,商户自定义生成的品牌标识字段。
  35. /// </summary>
  36. public List<string> brand_tag_list { get; set; }
  37. /// <summary>
  38. /// 权限列表,包含商户号段、类目ID、类目名称三者的对应关系。
  39. /// </summary>
  40. public List<MerchantInfoGet_Verified_List> verified_list { get; set; }
  41. }
  42. public class MerchantInfoGet_Verified_List
  43. {
  44. /// <summary>
  45. /// 商户号段,表示该商户下有资质的条码号段。
  46. /// </summary>
  47. public string verified_firm_code { get; set; }
  48. /// <summary>
  49. /// 商户类目列表,包含类目ID与对应的类目名称。
  50. /// </summary>
  51. public List<MerchantInfoGet_Verified_Cate_List> verified_cate_list { get; set; }
  52. }
  53. public class MerchantInfoGet_Verified_Cate_List
  54. {
  55. /// <summary>
  56. /// 商户类目ID,表示该商户下可用于创建商的类目ID
  57. /// </summary>
  58. public string verified_cate_id { get; set; }
  59. /// <summary>
  60. /// 商户类目名称,对应类目ID的名称
  61. /// </summary>
  62. public string verified_cate_name { get; set; }
  63. }
  64. }