GiftCardResultJson.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. 文件名:GiftCardResultJson.cs
  17. 文件功能描述:礼品卡返回结果
  18. 创建标识:Senparc - 20181008
  19. ----------------------------------------------------------------*/
  20. using System.CodeDom;
  21. using System.Collections.Generic;
  22. using Senparc.Weixin.Entities;
  23. namespace Senparc.Weixin.MP.AdvancedAPIs.Card
  24. {
  25. /// <summary>
  26. /// 设置支付后投放卡券接口返回结果
  27. /// </summary>
  28. public class AddCardAfterPayResultJson : WxJsonResult
  29. {
  30. public string rule_id { get; set; }
  31. public List<Fail_mchid_Item> fail_mchid_list { get; set; }
  32. public List<string> succ_mchid_list { get; set; }
  33. }
  34. /// <summary>
  35. /// 设置失败的mchid列表
  36. /// </summary>
  37. public class Fail_mchid_Item
  38. {
  39. public string mchid { get; set; }
  40. public int errcode { get; set; }
  41. public string errmsg { get; set; }
  42. public int occupy_rule_id { get; set; }
  43. public string occupy_appid { get; set; }
  44. }
  45. /// <summary>
  46. /// 查询支付后投放卡券规则详情接口返回结果
  47. /// </summary>
  48. public class AfterPay_GetByIdResultJson : WxJsonResult
  49. {
  50. public Rule_Info rule_info { get; set; }
  51. }
  52. /// <summary>
  53. /// 批量查询支付后投放卡券规则详情接口返回结果
  54. /// </summary>
  55. public class AfterPay_BatchGetResultJson : WxJsonResult
  56. {
  57. public int total_count { get; set; }
  58. public List<Rule_Info> rule_list { get; set; }
  59. }
  60. /// <summary>
  61. /// 增加支付即会员规则接口返回结果
  62. /// </summary>
  63. public class AddPayMemberRuleResultJson : WxJsonResult
  64. {
  65. public List<Fail_mchid_Item> fail_mchid_list { get; set; }
  66. public string[] succ_mchid_list { get; set; }
  67. }
  68. /// <summary>
  69. /// 删除支付即会员规则接口返回结果
  70. /// </summary>
  71. public class DeletePayMemberRuleResultJson : WxJsonResult
  72. {
  73. public List<Fail_mchid_Item> fail_mchid_list { get; set; }
  74. public List<Fail_mchid_Item> succ_mchid_list { get; set; }
  75. }
  76. /// <summary>
  77. /// 查询商户号支付即会员规则接口返回结果
  78. /// </summary>
  79. public class GetPayMemberRuleResultJson : WxJsonResult
  80. {
  81. public string card_id { get; set; }
  82. public string occupy_appid { get; set; }
  83. public bool is_locked { get; set; }
  84. }
  85. }