InfoList.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. 文件名:InfoList.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. namespace Senparc.Weixin.MP.AdvancedAPIs.Card
  26. {
  27. /// <summary>
  28. /// 创建子商户的功能的数据
  29. /// </summary>
  30. public class InfoList
  31. {
  32. /// <summary>
  33. /// 子商户名称(12个汉字内),该名称将在制券时填入并显示在卡券页面上
  34. /// </summary>
  35. public string brand_name { get; set; }
  36. /// <summary>
  37. /// 子商户的公众号app_id,配置后子商户卡券券面上的app_id为该app_id。注意:该app_id须经过认证
  38. /// </summary>
  39. public string app_id { get; set; }
  40. /// <summary>
  41. /// 子商户名称(12个汉字内),该名称将在制券时填入并显示在卡券页面上
  42. /// </summary>
  43. public string logo_url { get; set; }
  44. /// <summary>
  45. /// 授权函ID,即通过上传临时素材接口上传授权函后获得的meida_id
  46. /// </summary>
  47. public string protocol { get; set; }
  48. /// <summary>
  49. /// 营业执照或个体工商户营业执照彩照或扫描件
  50. /// </summary>
  51. public string agreement_media_id { get; set; }
  52. /// <summary>
  53. /// 营业执照内登记的经营者身份证彩照或扫描件
  54. /// </summary>
  55. public string operator_media_id { get; set; }
  56. /// <summary>
  57. /// 授权函有效期截止时间(东八区时间,单位为秒),需要与提交的扫描件一致
  58. /// </summary>
  59. public string end_time { get; set; }
  60. /// <summary>
  61. /// 一级类目id,可以通过本文档中接口查询
  62. /// </summary>
  63. public string primary_category_id { get; set; }
  64. /// <summary>
  65. /// 二级类目id,可以通过本文档中接口查询
  66. /// </summary>
  67. public string secondary_category_id { get; set; }
  68. }
  69. }