Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/KbAdvertIdentifyResponse.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

53 lines
1.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// KbAdvertIdentifyResponse Data Structure.
/// </summary>
[Serializable]
public class KbAdvertIdentifyResponse : AopObject
{
/// <summary>
/// 根据benefit_type确定ID含义 SINGLE_VOUCHER时benefit_ids为券ID
/// </summary>
[JsonProperty("benefit_ids")]
public List<string> BenefitIds { get; set; }
/// <summary>
/// 发放权益类型 SINGLE_VOUCHER单券
/// </summary>
[JsonProperty("benefit_type")]
public string BenefitType { get; set; }
/// <summary>
/// 返回码 success: 成功 invalid-arguments: 无效参数 retry-exception: 异常请重试 isv.user-already-get-voucher用户已经领过该券同时券状态为有效
/// isv.item_inventory_not_enough:优惠领光了 isv.item_not_in_this_shop_sales:不是该商家的优惠,不能领取
/// isv.voucher_activity_not_started:活动未开始 isv.voucher_activity_expired:活动已结束
/// isv.crowd_limit_not_match_error:暂无领取资格,详情请咨询商家 isv.member_crowd_limit_not_match_error:会员专属,请先注册会员
/// </summary>
[JsonProperty("code")]
public string Code { get; set; }
/// <summary>
/// JSON格式数据需要ISV自行解析
/// </summary>
[JsonProperty("ext_info")]
public string ExtInfo { get; set; }
/// <summary>
/// 主键的值
/// </summary>
[JsonProperty("identify")]
public string Identify { get; set; }
/// <summary>
/// 主键类型
/// </summary>
[JsonProperty("identify_type")]
public string IdentifyType { get; set; }
}
}