zhaojs
2023-09-15 fc13938ff90213060532d99a600dea4a84456885
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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()
        {
            
        }
    }
}