|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace POSV.OtherWaiMai
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订单退款信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
public class BaiduOrderRefundInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退款状态(订单部分退款状态 10商户发起申请 20用户同意 50用户/平台拒绝)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "status")]
|
|
|
|
|
public int Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退款后用户实际支付价 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "total_price")]
|
|
|
|
|
public int Total_price { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退款后商户应收 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "shop_fee")]
|
|
|
|
|
public int Shop_fee { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退款后订单总价 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "order_price")]
|
|
|
|
|
public int Order_price { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退款后餐盒费 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "package_fee")]
|
|
|
|
|
public int Package_fee { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退款后配送费 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "send_fee")]
|
|
|
|
|
public int Send_fee { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退款后优惠总金额 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "discount_fee")]
|
|
|
|
|
public int Discount_fee { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退款后佣金 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "commision")]
|
|
|
|
|
public int Commision { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退款后骑士结算价 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "shop_show_price")]
|
|
|
|
|
public int Shop_show_price { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退款总额 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "refund_price")]
|
|
|
|
|
public int Refund_price { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退回餐盒金额 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "refund_box_price")]
|
|
|
|
|
public int Refund_box_price { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 退回配送费金额 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "refund_send_price")]
|
|
|
|
|
public int Refund_send_price { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 由于退款原订单减少优惠金额 单位:分
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "refund_discount_price")]
|
|
|
|
|
public int Refund_discount_price { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 部分退款拒绝操作者
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "refuse_platform")]
|
|
|
|
|
public string Refuse_platform { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|