NewGaoKaoApi/PaymentSDK/AliPay/Domain/TemplateProfitDTO.cs

31 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>
/// TemplateProfitDTO Data Structure.
/// </summary>
[Serializable]
public class TemplateProfitDTO : AopObject
{
/// <summary>
/// 利益前缀如“立减10元”利益前缀为立减。随机立减券、减至券不填会使用默认值其它类型可空。支持自定义动态参数传值但动态参数需定义为$_r_profit_pre_desc$。
/// </summary>
[XmlElement("profit_pre_desc")]
public string ProfitPreDesc { get; set; }
/// <summary>
/// 利益单位如“立减10元”利益单位为元。除商品券、兑换券可空之外其它类型不填均有默认值。支持自定义动态参数传值但动态参数需定义为$_r_profit_unit$。
/// </summary>
[XmlElement("profit_unit")]
public string ProfitUnit { get; set; }
/// <summary>
/// 利益值如“立减10元”利益值为10。与卡券的子类型联动使用。除商品券、随机立减券、兑换券可自定义文案之外其它类型利益值均限制为数字。支持自定义动态参数传值但动态参数需定义为$_r_profit_value$。
/// </summary>
[XmlElement("profit_value")]
public string ProfitValue { get; set; }
}
}