NewGaoKaoApi/PaymentSDK/AliPay/Domain/SpecialPriceDTO.cs

46 lines
1.3 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;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// SpecialPriceDTO Data Structure.
/// </summary>
[Serializable]
public class SpecialPriceDTO : AopObject
{
/// <summary>
/// 最少份数如果有阶梯规则多个值用英文逗号分割例如3,5
/// </summary>
[XmlElement("min_nums")]
public string MinNums { get; set; }
/// <summary>
/// 营销活动skuid
/// </summary>
[XmlArray("promotion_sku_id")]
[XmlArrayItem("string")]
public List<string> PromotionSkuId { get; set; }
/// <summary>
/// 活动价,必须是数字格式,且最多两位小数点。 如果有阶梯规则多个值用英文逗号分割例如10,5
/// </summary>
[XmlElement("special_price")]
public string SpecialPrice { get; set; }
/// <summary>
/// 是否仅特价商品Y/N
/// </summary>
[XmlElement("special_price_only")]
public string SpecialPriceOnly { get; set; }
/// <summary>
/// 特价skuId
/// </summary>
[XmlArray("special_price_sku_id")]
[XmlArrayItem("string")]
public List<string> SpecialPriceSkuId { get; set; }
}
}