182 lines
6.1 KiB
C#
182 lines
6.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace New_College
|
|
{
|
|
|
|
|
|
|
|
|
|
public class XETOrdersRequest
|
|
{
|
|
public string access_token { get; set; }
|
|
public int page { get; set; }
|
|
public int page_size { get; set; }
|
|
public string user_id { get; set; }
|
|
|
|
|
|
}
|
|
|
|
public class XETOrdersResponse
|
|
{
|
|
|
|
public int code { get; set; }
|
|
public string msg { get; set; }
|
|
public XETOrdersData data { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public class XETOrdersData
|
|
{
|
|
public List<OrderItem> list { get; set; }
|
|
public int page { get; set; }
|
|
public int page_size { get; set; }
|
|
public int total { get; set; }
|
|
}
|
|
|
|
public class OrderItem
|
|
{
|
|
public Buyer_Info buyer_info { get; set; }
|
|
public Good_List[] good_list { get; set; }
|
|
public Order_Info order_info { get; set; }
|
|
public Payment_Info payment_info { get; set; }
|
|
public Price_Info price_info { get; set; }
|
|
public Ship_Info ship_info { get; set; }
|
|
}
|
|
|
|
public class Buyer_Info
|
|
{
|
|
public string avatar_url { get; set; }
|
|
public string comment { get; set; }
|
|
public string nickname { get; set; }
|
|
public string phone_number { get; set; }
|
|
}
|
|
|
|
public class Order_Info
|
|
{
|
|
public int?[] activity_type_bitmap { get; set; }
|
|
public int actual_fee { get; set; }
|
|
public int aftersale_show_state { get; set; }
|
|
public string aftersale_show_state_time { get; set; }
|
|
public string app_id { get; set; }
|
|
public string channel_bus_id { get; set; }
|
|
public int channel_type { get; set; }
|
|
public int check_state { get; set; }
|
|
public string created_time { get; set; }
|
|
public int deduct_amount { get; set; }
|
|
public int discount_amount { get; set; }
|
|
public object[] distribute_type_bitmap { get; set; }
|
|
public int freight_actual_price { get; set; }
|
|
public int freight_original_price { get; set; }
|
|
public int goods_buy_num { get; set; }
|
|
public string goods_name { get; set; }
|
|
public int goods_original_total_price { get; set; }
|
|
public string goods_spu_sub_type { get; set; }
|
|
public int goods_spu_type { get; set; }
|
|
public int modified_amount { get; set; }
|
|
public int order_close_type { get; set; }
|
|
public string order_id { get; set; }
|
|
public int order_state { get; set; }
|
|
public string order_state_time { get; set; }
|
|
public int order_type { get; set; }
|
|
public int pay_state { get; set; }
|
|
public string pay_state_time { get; set; }
|
|
public int pay_type { get; set; }
|
|
public int refund_fee { get; set; }
|
|
public string refund_time { get; set; }
|
|
public string relation_order_appid { get; set; }
|
|
public string relation_order_id { get; set; }
|
|
public int relation_order_type { get; set; }
|
|
public int settle_state { get; set; }
|
|
public string settle_state_time { get; set; }
|
|
public int share_type { get; set; }
|
|
public string share_user_id { get; set; }
|
|
public int ship_way_choose_type { get; set; }
|
|
public int sub_order_type { get; set; }
|
|
public string trade_id { get; set; }
|
|
public string update_time { get; set; }
|
|
public int use_collection { get; set; }
|
|
public string user_id { get; set; }
|
|
public int wx_app_type { get; set; }
|
|
}
|
|
|
|
public class Payment_Info
|
|
{
|
|
public string out_order_id { get; set; }
|
|
public string third_order_id { get; set; }
|
|
}
|
|
|
|
public class Price_Info
|
|
{
|
|
public int actual_price { get; set; }
|
|
public int freight_modified_price { get; set; }
|
|
public int freight_price { get; set; }
|
|
public int origin_price { get; set; }
|
|
public int total_modified_amount { get; set; }
|
|
public int total_price { get; set; }
|
|
}
|
|
|
|
public class Ship_Info
|
|
{
|
|
public string city { get; set; }
|
|
public string company { get; set; }
|
|
public string confirm_time { get; set; }
|
|
public string county { get; set; }
|
|
public string detail { get; set; }
|
|
public string express_id { get; set; }
|
|
public string invalid_time { get; set; }
|
|
public string phone { get; set; }
|
|
public string province { get; set; }
|
|
public string receiver { get; set; }
|
|
public string remark { get; set; }
|
|
public string ship_time { get; set; }
|
|
public string user_id { get; set; }
|
|
}
|
|
|
|
public class Good_List
|
|
{
|
|
public int buy_num { get; set; }
|
|
public int check_state { get; set; }
|
|
public Discounts_Info discounts_info { get; set; }
|
|
public string expire_desc { get; set; }
|
|
public string expire_end { get; set; }
|
|
public string expire_start { get; set; }
|
|
public string goods_desc { get; set; }
|
|
public string goods_image { get; set; }
|
|
public string goods_name { get; set; }
|
|
public string goods_sn { get; set; }
|
|
public string goods_spec_desc { get; set; }
|
|
public int period_type { get; set; }
|
|
public int refund_state { get; set; }
|
|
public string refund_state_desc { get; set; }
|
|
public string relation_goods_id { get; set; }
|
|
public int relation_goods_type { get; set; }
|
|
public string relation_goods_type_desc { get; set; }
|
|
public string resource_id { get; set; }
|
|
public int resource_type { get; set; }
|
|
public int ship_state { get; set; }
|
|
public string ship_state_desc { get; set; }
|
|
public string sku_id { get; set; }
|
|
public string sku_spec_code { get; set; }
|
|
public string spu_id { get; set; }
|
|
public string spu_type { get; set; }
|
|
public int total_price { get; set; }
|
|
public int unit_price { get; set; }
|
|
}
|
|
|
|
public class Discounts_Info
|
|
{
|
|
public int discount_amount_total { get; set; }
|
|
public int discount_count { get; set; }
|
|
public object[] discount_detail { get; set; }
|
|
}
|
|
|
|
|
|
|
|
}
|