NewGaoKaoApi/PaymentSDK/AliPay/Domain/MTimeControlInfo.cs

31 lines
1.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>
/// MTimeControlInfo Data Structure.
/// </summary>
[Serializable]
public class MTimeControlInfo : AopObject
{
/// <summary>
/// 权益时间段限制周期类型枚举值按天DAY、自然周WEEK
/// </summary>
[XmlElement("time_dimension_type")]
public string TimeDimensionType { get; set; }
/// <summary>
/// 时间值该值只有time_dimension_type=WEEK时可用指定时间段例如每周一、周二、周日的06:00:00到20:04:59可用设置值为“06:00:00,20:04:59”多个时间区间中间用“^”隔开,最多支持5段
/// </summary>
[XmlElement("times")]
public string Times { get; set; }
/// <summary>
/// 维度所所对应的值当time_dimension_type=WEEK时values取值范围为1~7分表代表周一到周日而time_dimension_type=DAYvalues取值示例为“2018-12-12,2018-12-22”不支持"^"分隔,如需要设置多个日期时段,请设置多个时间组
/// </summary>
[XmlElement("values")]
public string Values { get; set; }
}
}