using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace POSV.Card
{
///
/// 取消订单
///
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class BaiDuOrderCancelRequest
{
///
/// 门店ID
///
[JsonProperty(PropertyName = "storeId")]
public string StoreId { get; set; }
///
/// 订单Id
///
[JsonProperty(PropertyName = "orderId")]
public string OrderId { get; set; }
///
/// 取消原因
///1 不在配送范围内;2餐厅已打烊;3美食已售完;4菜品价格发生变化;5用户取消订单;6重复订单;7餐厅太忙;8联系不上用户;9假订单;53API商户系统向门店推送订单失败;-1自定义输入
///
[JsonProperty(PropertyName = "type")]
public int Type { get; set; }
///
/// 订单Id
///
[JsonProperty(PropertyName = "reason")]
public string Reason { get; set; }
}
}