#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing permissions
and limitations under the License.
Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md
----------------------------------------------------------------*/
#endregion Apache License Version 2.0
/*----------------------------------------------------------------
Copyright (C) 2019 Senparc
文件名:OrderResult.cs
文件功能描述:根据订单ID获取订单详情返回结果
创建标识:Senparc - 2015828
修改标识:Senparc - 20160127
修改描述:v13.5.6 添加receiver_zone属性。感谢@nsoff
----------------------------------------------------------------*/
using System.Collections.Generic;
using Senparc.Weixin.Entities;
namespace Senparc.Weixin.MP.AdvancedAPIs.MerChant
{
///
/// 根据订单ID获取订单详情返回结果
///
public class GetByIdOrderResult : WxJsonResult
{
///
/// 订单详情
///
public Order order { get; set; }
}
public class Order
{
///
/// 订单ID
///
public string order_id { get; set; }
///
/// 订单状态
///
public int order_status { get; set; }
///
/// 订单总价格(单位 : 分)
///
public int order_total_price { get; set; }
///
/// 订单创建时间
///
public string order_create_time { get; set; }
///
/// 订单运费价格(单位 : 分)
///
public int order_express_price { get; set; }
///
/// 买家微信OPENID
///
public string buyer_openid { get; set; }
///
/// 买家微信昵称
///
public string buyer_nick { get; set; }
///
/// 收货人姓名
///
public string receiver_name { get; set; }
///
/// 收货地址省份
///
public string receiver_province { get; set; }
///
/// 收货地址城市
///
public string receiver_city { get; set; }
///
/// 收货详细地址
///
public string receiver_address { get; set; }
///
/// 收货人移动电话
///
public string receiver_mobile { get; set; }
///
/// 收货人固定电话
///
public string receiver_phone { get; set; }
///
/// 商品ID
///
public string product_id { get; set; }
///
/// 商品名称
///
public string product_name { get; set; }
///
/// 商品价格(单位 : 分)
///
public int product_price { get; set; }
///
/// 商品SKU
///
public string product_sku { get; set; }
///
/// 商品个数
///
public int product_count { get; set; }
///
/// 商品图片
///
public string product_img { get; set; }
///
/// 运单ID
///
public string delivery_id { get; set; }
///
/// 物流公司编码
///
public string delivery_company { get; set; }
///
/// 交易ID
///
public string trans_id { get; set; }
///
/// 收货人区
///
public string receiver_zone { get; set; }
}
///
/// 根据订单状态/创建时间获取订单详情返回结果
///
public class GetByFilterResult : WxJsonResult
{
public List order_list { get; set; }
}
}