using AlibabaSDK.Api;
|
using AlibabaSDK.Domain;
|
using AlibabaSDK.Response;
|
using System;
|
using System.Collections.Generic;
|
using System.Text;
|
|
namespace AlibabaSDK.Request
|
{
|
public class FxTradeCreatePreviewRequest : IAlibabaApiRequest<FxTradeCreatePreviewResponse>
|
{
|
public object ErrorObj()
|
{
|
return new FxTradeCreatePreviewResponse();
|
}
|
|
public string GetApiName()
|
{
|
return "/param2/1/com.alibaba.fenxiao/alibaba.trade.createFenxiaoOrder.preview";
|
}
|
|
public Dictionary<string, object> GetParameters()
|
{
|
Dictionary<string, object> dic = new Dictionary<string, object>();
|
dic.Add("flow", flow);
|
dic.Add("addressParam", addressParam);
|
dic.Add("cargoParamList", cargoParamList);
|
return dic;
|
}
|
|
/// <summary>
|
///收货地址信息
|
/// </summary>
|
public FXOrderAddressParam addressParam { get; set; }
|
|
/// <summary>
|
/// 商品信息
|
/// </summary>
|
public List<FXOrderCargoParamList> cargoParamList { get; set; }
|
|
/// <summary>
|
/// 发票信息
|
/// </summary>
|
public TradeInvoice invoiceParam { get; set; }
|
|
/// <summary>
|
/// general(创建大市场订单),saleproxy(创建分销订单)。saleproxy流程将校验分销关系,ttpft(批发团下单)
|
/// </summary>
|
public string flow { get; set; }
|
public void Validate()
|
{
|
|
}
|
}
|
}
|