NewGaoKaoApi/PaymentSDK/AliPay/Domain/PreOrderConfigInfo.cs

33 lines
1.0 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;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// PreOrderConfigInfo Data Structure.
/// </summary>
[Serializable]
public class PreOrderConfigInfo : AopObject
{
/// <summary>
/// OPEN表示打开点餐服务 CLOSED表示关闭点餐服务不传表示不做更新
/// </summary>
[XmlElement("pre_order_status")]
public string PreOrderStatus { get; set; }
/// <summary>
/// 最早可提前预订时间,格式: hh:mm00:15表示15分钟02:00表示2个小时。不设置默认为提前5分钟00:05。
/// </summary>
[XmlElement("time_before")]
public string TimeBefore { get; set; }
/// <summary>
/// 自提时段配置列表,按照周规则设置
/// </summary>
[XmlArray("time_period_config_list")]
[XmlArrayItem("time_period_config")]
public List<TimePeriodConfig> TimePeriodConfigList { get; set; }
}
}