NewGaoKaoApi/PaymentSDK/AliPay/Domain/TemplateFileDTO.cs

37 lines
1.4 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>
/// TemplateFileDTO Data Structure.
/// </summary>
[Serializable]
public class TemplateFileDTO : AopObject
{
/// <summary>
/// 是否支持转赠,当设置为可转赠则可以在支付宝卡包中点击转赠按钮,将拥有的券转赠给其他用户。支持以 $动态参数$ 形式的自定义动态参数传值。
/// </summary>
[XmlElement("can_present")]
public bool CanPresent { get; set; }
/// <summary>
/// 是否支持共享,如果支持共享则可以有多个用户拥有同一张卡券。支持以 $动态参数$ 形式的自定义动态参数传值。
/// </summary>
[XmlElement("can_share")]
public bool CanShare { get; set; }
/// <summary>
/// 卡券模版版本信息当前版本为4。不支持动态参数。
/// </summary>
[XmlElement("format_version")]
public string FormatVersion { get; set; }
/// <summary>
/// 卡券序列号同一第三方提供的序列号需要唯一同一用户重复添加的卡券对应的serialNumber要求一致。支持以 $动态参数$ 形式的自定义动态参数传值。
/// </summary>
[XmlElement("serial_number")]
public string SerialNumber { get; set; }
}
}