using AlibabaSDK.Api;
|
using AlibabaSDK.Response;
|
using System;
|
using System.Collections.Generic;
|
using System.Text;
|
|
namespace AlibabaSDK.Request
|
{
|
public class AlibabaTradeDeatilGetRequest : IAlibabaApiRequest<AlibabaTradeDeatilGetResponse>
|
{
|
public object ErrorObj()
|
{
|
return new AlibabaTradeDeatilGetResponse();
|
}
|
|
public string GetApiName()
|
{
|
return "/param2/1/com.alibaba.trade/alibaba.trade.get.buyerView";
|
}
|
|
public Dictionary<string, object> GetParameters()
|
{
|
Dictionary<string, object> dic = new Dictionary<string, object>();
|
dic.Add("webSite", webSite);
|
dic.Add("orderId", orderId);
|
// dic.Add("includeFields", includeFields);
|
return dic;
|
}
|
/// <summary>
|
/// 站点信息,指定调用的API是属于国际站(alibaba)还是1688网站(1688)
|
/// </summary>
|
public string webSite { get; set; }
|
|
/// <summary>
|
/// 交易的订单id
|
/// </summary>
|
public string orderId { get; set; }
|
/// <summary>
|
/// 查询结果中包含的域,GuaranteesTerms:保障条款,NativeLogistics:物流信息,RateDetail:评价详情,OrderInvoice:发票信息。默认返回GuaranteesTerms、NativeLogistics、OrderInvoice。
|
/// </summary>
|
public string includeFields { get; set; }
|
|
public void Validate()
|
{
|
|
}
|
}
|
}
|