6 changed files with 201 additions and 2 deletions
@ -0,0 +1,32 @@ |
|||
using System; |
|||
using System.Xml.Serialization; |
|||
using System.Collections.Generic; |
|||
using Newtonsoft.Json; |
|||
using Jd.Api.Domain; |
|||
namespace Jd.Api.Domain |
|||
{ |
|||
|
|||
[Serializable] |
|||
public class OpenApiPageVo:JdObject{ |
|||
[JsonProperty("total")] |
|||
public long |
|||
|
|||
total |
|||
{ get; set; } |
|||
[JsonProperty("pageNo")] |
|||
public int |
|||
|
|||
pageNo |
|||
{ get; set; } |
|||
[JsonProperty("pageSize")] |
|||
public int |
|||
|
|||
pageSize |
|||
{ get; set; } |
|||
[JsonProperty("data")] |
|||
public List<string> |
|||
|
|||
data |
|||
{ get; set; } |
|||
} |
|||
} |
@ -0,0 +1,32 @@ |
|||
using System; |
|||
using System.Xml.Serialization; |
|||
using System.Collections.Generic; |
|||
using Newtonsoft.Json; |
|||
using Jd.Api.Domain; |
|||
namespace Jd.Api.Domain |
|||
{ |
|||
|
|||
[Serializable] |
|||
public class OpenApiResDto:JdObject{ |
|||
[JsonProperty("msg")] |
|||
public string |
|||
|
|||
msg |
|||
{ get; set; } |
|||
[JsonProperty("traceId")] |
|||
public string |
|||
|
|||
traceId |
|||
{ get; set; } |
|||
[JsonProperty("code")] |
|||
public int |
|||
|
|||
code |
|||
{ get; set; } |
|||
[JsonProperty("data")] |
|||
public QueryCostDetailsVo |
|||
|
|||
data |
|||
{ get; set; } |
|||
} |
|||
} |
@ -0,0 +1,22 @@ |
|||
using System; |
|||
using System.Xml.Serialization; |
|||
using System.Collections.Generic; |
|||
using Newtonsoft.Json; |
|||
using Jd.Api.Domain; |
|||
namespace Jd.Api.Domain |
|||
{ |
|||
|
|||
[Serializable] |
|||
public class QueryCostDetailsVo:JdObject{ |
|||
[JsonProperty("totalAmount")] |
|||
public string |
|||
|
|||
totalAmount |
|||
{ get; set; } |
|||
[JsonProperty("page")] |
|||
public OpenApiPageVo |
|||
|
|||
page |
|||
{ get; set; } |
|||
} |
|||
} |
@ -0,0 +1,84 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using Jd.Api.Response; |
|||
using Jd.Api.Util; |
|||
namespace Jd.Api.Request |
|||
{ |
|||
public class DspPlatformFinanceOpenapiQuerycostdetailsRequest : JdRequestBase<DspPlatformFinanceOpenapiQuerycostdetailsResponse> |
|||
{ |
|||
public string |
|||
accessPin |
|||
{ get; set; } |
|||
|
|||
public string |
|||
authType |
|||
{ get; set; } |
|||
|
|||
public string |
|||
operatorPin |
|||
{ get; set; } |
|||
|
|||
public string |
|||
beginDate |
|||
{ get; set; } |
|||
|
|||
public string |
|||
endDate |
|||
{ get; set; } |
|||
|
|||
public string |
|||
orderType |
|||
{ get; set; } |
|||
public Nullable<int> |
|||
pageNo |
|||
{ get; set; } |
|||
|
|||
public Nullable<int> |
|||
moneyType |
|||
{ get; set; } |
|||
|
|||
public Nullable<int> |
|||
pageSize |
|||
{ get; set; } |
|||
|
|||
public string |
|||
subPin |
|||
{ get; set; } |
|||
|
|||
public override string ApiName |
|||
{ |
|||
get { return "jingdong.dsp.platform.finance.openapi.querycostdetails"; } |
|||
} |
|||
protected override void PrepareParam(IDictionary<String, Object> parameters) |
|||
{ |
|||
parameters.Add("accessPin", this.accessPin |
|||
); |
|||
parameters.Add("authType", this.authType |
|||
); |
|||
parameters.Add("operatorPin", this.operatorPin |
|||
); |
|||
parameters.Add("beginDate", this.beginDate |
|||
); |
|||
parameters.Add("endDate", this.endDate |
|||
); |
|||
parameters.Add("orderType", this.orderType |
|||
); |
|||
parameters.Add("pageNo", this.pageNo |
|||
); |
|||
parameters.Add("moneyType", this.moneyType |
|||
); |
|||
parameters.Add("pageSize", this.pageSize |
|||
); |
|||
parameters.Add("subPin", this.subPin |
|||
); |
|||
} |
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
@ -0,0 +1,16 @@ |
|||
using System; |
|||
using System.Xml.Serialization; |
|||
using System.Collections.Generic; |
|||
using Newtonsoft.Json; |
|||
using Jd.Api.Domain; |
|||
namespace Jd.Api.Response |
|||
{ |
|||
|
|||
public class DspPlatformFinanceOpenapiQuerycostdetailsResponse:JdResponse{ |
|||
[JsonProperty("returnType")] |
|||
public OpenApiResDto |
|||
|
|||
returnType |
|||
{ get; set; } |
|||
} |
|||
} |
Loading…
Reference in new issue