NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayMarketingVoucherConfi...

49 lines
1.5 KiB
C#
Raw 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>
/// AlipayMarketingVoucherConfirmModel Data Structure.
/// </summary>
[Serializable]
public class AlipayMarketingVoucherConfirmModel : AopObject
{
/// <summary>
/// 用于决定在用户确认领券后是否重定向。可枚举true表示需要重定向false表示不需要重定向不区分大小写
/// </summary>
[XmlElement("need_redirect")]
public bool NeedRedirect { get; set; }
/// <summary>
/// 外部业务单号。用作幂等控制。同一个template_id、user_id、out_biz_no返回相同的发券码
/// </summary>
[XmlElement("out_biz_no")]
public string OutBizNo { get; set; }
/// <summary>
/// 重定向地址,用于接收支付宝返回的领取码
/// </summary>
[XmlElement("redirect_uri")]
public string RedirectUri { get; set; }
/// <summary>
/// 券模板ID
/// </summary>
[XmlElement("template_id")]
public string TemplateId { get; set; }
/// <summary>
/// 指定用户确认页面的主题名称。目前提供5套主题分别为red, blue, yellow, green, orange
/// </summary>
[XmlElement("theme")]
public string Theme { get; set; }
/// <summary>
/// 支付宝用户ID
/// </summary>
[XmlElement("user_id")]
public string UserId { get; set; }
}
}