You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace POSV.Card
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 取消订单
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
public class BaiDuOrderCancelRequest
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门店ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "storeId")]
|
|
|
|
|
public string StoreId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订单Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "orderId")]
|
|
|
|
|
public string OrderId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 取消原因
|
|
|
|
|
///1 不在配送范围内;2餐厅已打烊;3美食已售完;4菜品价格发生变化;5用户取消订单;6重复订单;7餐厅太忙;8联系不上用户;9假订单;53API商户系统向门店推送订单失败;-1自定义输入
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "type")]
|
|
|
|
|
public int Type { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订单Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "reason")]
|
|
|
|
|
public string Reason { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|