NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayInsAutoServiceCouponV...

55 lines
2.2 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayInsAutoServiceCouponVerifyModel Data Structure.
/// </summary>
[Serializable]
public class AlipayInsAutoServiceCouponVerifyModel : AopObject
{
/// <summary>
/// 业务扩展数据,根据核销服务类型不同业务相关扩展数据以json格式返回,蚂蚁根据json格式解析。
/// </summary>
[XmlElement("biz_data")]
public string BizData { get; set; }
/// <summary>
/// 蚂蚁内部券码ID,蚂蚁内部发送券时同步给服务商的唯一券码,服务商需要将蚂蚁内部券码和服务商自己的券码进行映射,引导核销阶段蚂蚁会将蚂蚁的这个券码传给服务商,服务商根据映射关系找到自己的券码进行核销,核销时需要将蚂蚁的券码也返回给蚂蚁。
/// </summary>
[XmlElement("coupon_id")]
public string CouponId { get; set; }
/// <summary>
/// 核销事件类型,枚举包含如下三种值(00: 预约 01: 取消预约 10: 核销 ) 用于用户线下预约,取消预约,核销服务时服务商将对应的动作同步给蚂蚁,方便在卡券中展示。
/// </summary>
[XmlElement("event")]
public string Event { get; set; }
/// <summary>
/// 核销业务时间,服务核销的真正时间, 格式yyyy-MM-dd HH:mm:ss
/// </summary>
[XmlElement("event_date")]
public string EventDate { get; set; }
/// <summary>
/// 外部业务单号,唯一,券核销时的服务商的外部业务单号,幂等字段用于控制幂等。
/// </summary>
[XmlElement("out_biz_no")]
public string OutBizNo { get; set; }
/// <summary>
/// 服务商券码ID, 服务商在核销用户的券码时候的唯一标识,该券码会和蚂蚁内部的券码有一一映射关系。
/// </summary>
[XmlElement("sp_coupon_id")]
public string SpCouponId { get; set; }
/// <summary>
/// 蚂蚁会员ID
/// </summary>
[XmlElement("user_id")]
public string UserId { get; set; }
}
}