using AlibabaSDK.Api; using AlibabaSDK.Response; using System; using System.Collections.Generic; using System.Text; namespace AlibabaSDK.Request { public class AlibabaGetLogisticsInfosRequest : IAlibabaApiRequest { public object ErrorObj() { return new AlibabaGetLogisticsInfosResponse(); } public string GetApiName() { return "/param2/1/com.alibaba.logistics/alibaba.trade.getLogisticsInfos.buyerView"; } public Dictionary GetParameters() { Dictionary dic = new Dictionary(); dic.Add("orderId", orderId); dic.Add("fields", fields); dic.Add("webSite", webSite); return dic; } /// /// 订单号 /// public long orderId { get; set; } /// /// 需要返回的字段,目前有:company.name,sender,receiver,sendgood。返回的字段要用英文逗号分隔开 /// public string fields { get; set; } /// /// 是1688业务还是icbu业务 1688或者alibaba /// public string webSite { get; set; } public void Validate() { } } }