using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace Common.Request.samecity
{
public class SameCityOrderParam
{
///
/// 快递公司的编码,一律用小写字母,见《快递公司编码》
///
public string com { get; set; }
///
/// 收件人姓名
///
public string recManName { get; set; }
///
/// 收件人的手机号,手机号和电话号二者其一必填
///
public string recManMobile { get; set; }
///
/// 收件人所在完整地址,如广东深圳市深圳市南山区科技南十二路2号金蝶软件园
///
public string recManPrintAddr { get; set; }
///
/// 寄件人姓名
///
public string sendManName { get; set; }
///
/// 寄件人的手机号,手机号和电话号二者其一必填
///
public string sendManMobile { get; set; }
///
/// 寄件人所在的完整地址,如广东深圳市深圳市南山区科技南十二路2号金蝶软件园B10
///
public string sendManPrintAddr { get; set; }
///
/// 服务类型
///
public string serviceType { get; set; }
///
/// 物品总重量KG,例:1.5,单位kg
///
public double weight { get; set; }
///
/// 备注
///
public string remark { get; set; }
///
/// 签名用随机字符串
///
public string salt { get; set; }
///
/// callBackUrl订单信息回调
///
public string callbackUrl { get; set; }
///
/// 订单类型,默认为0 0: 立即单 1: 预约单
///
public int orderType { get; set; }
///
/// 取货时间(2020-02-02 22:00,指的是预约取件时间)
///
public string pickupTime { get; set; }
///
/// 支付方式,SHIPPER: 寄付(默认),CONSIGNEE: 到付
///
public string payment { get; set; }
///
/// 对应商家版物品来源流水号
///
public string orderSourceNo { get; set; }
///
/// 物品来源
///
public string orderSourceType { get; set; }
///
/// 店铺ID
///
public string storeId { get; set; }
///
/// 小费(分)
///
public int additionFee { get; set; }
///
/// 保险费用(闪送支持)
///
public int insurance { get; set; }
///
/// 保险产品ID(闪送支持)
///
public string insuranceProId { get; set; }
///
/// 商品价格
///
public int price { get; set; }
///
/// 代收价格
///
public int CollectionPrice { get; set; }
public string partnerId { get; set; }
public string partnerKey { get; set; }
///
/// 商品详情(强烈建议提供,方便骑手在取货时确认货品信息 ;顺丰时必填)
///
public List goods { get; set; }
public override string ToString()
{
return JsonConvert.SerializeObject(this, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore });
}
}
}