ActivityQueryResult.cs 1.4 KB

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using Newtonsoft.Json;
  3. namespace Essensoft.AspNetCore.Payment.Alipay.Domain
  4. {
  5. /// <summary>
  6. /// ActivityQueryResult Data Structure.
  7. /// </summary>
  8. [Serializable]
  9. public class ActivityQueryResult : AlipayObject
  10. {
  11. /// <summary>
  12. /// 查询返回结果的code biz_code与biz_msg的对应关系见下: biz_code:OK, biz_msg:正常 biz_code:BENEFITED, biz_msg:您已领取过收藏有礼券 biz_code:BENEFITED_COUPON, biz_msg:您已领取收藏有礼券 biz_code:KEEP_OLD_USER_NO_COUPON, biz_msg:您已收藏该小程序 biz_code:CANCEL_KEEP_OLD_USER_NO_COUPON, biz_msg:您近期已收藏过该小程序 biz_code:ACTIVITY_NOT_EXIST, biz_msg:活动异常,链接失效 biz_code:NOT_START, biz_msg:活动未开始 biz_code:PAUSE, biz_msg:活动已暂停 biz_code:END, biz_msg:活动已结束 biz_code:TIMEOUT, biz_msg:活动已过期 biz_code:NO_COUPON, biz_msg:券无余量 biz_code:UNKNOWN_ERROR, biz_msg:未知异常
  13. /// </summary>
  14. [JsonProperty("biz_code")]
  15. public string BizCode { get; set; }
  16. /// <summary>
  17. /// 对应code的中文描述
  18. /// </summary>
  19. [JsonProperty("biz_msg")]
  20. public string BizMsg { get; set; }
  21. /// <summary>
  22. /// 查询的小程序id
  23. /// </summary>
  24. [JsonProperty("query_app_id")]
  25. public string QueryAppId { get; set; }
  26. }
  27. }