You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
5.5 KiB
86 lines
5.5 KiB
3 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using Jd.Api.Response;
|
||
|
using Jd.Api.Util;
|
||
|
namespace Jd.Api.Request
|
||
|
{
|
||
|
public class AssetBenefitSendRequest : JdRequestBase<AssetBenefitSendResponse>
|
||
|
{
|
||
|
public Nullable<long>
|
||
|
typeId
|
||
|
{get; set;}
|
||
|
|
||
|
public Nullable<long>
|
||
|
itemId
|
||
|
{get; set;}
|
||
|
|
||
|
public Nullable<int>
|
||
|
quantity
|
||
|
{get; set;}
|
||
|
|
||
|
public string
|
||
|
userPin
|
||
|
{get; set;}
|
||
|
|
||
|
public string
|
||
|
token
|
||
|
{get; set;}
|
||
|
|
||
|
public string
|
||
|
requestId
|
||
|
{get; set;}
|
||
|
|
||
|
public string
|
||
|
remark
|
||
|
{get; set;}
|
||
|
|
||
|
public string
|
||
|
ip
|
||
|
{get; set;}
|
||
|
|
||
|
public string
|
||
|
openIdBuyer
|
||
|
{get; set;}
|
||
|
|
||
|
public string
|
||
|
xidBuyer
|
||
|
{get; set;}
|
||
|
|
||
|
public override string ApiName
|
||
|
{
|
||
|
get{return "jingdong.asset.benefit.send";}
|
||
|
}
|
||
|
protected override void PrepareParam(IDictionary<String, Object> parameters)
|
||
|
{
|
||
|
parameters.Add("type_id", this. typeId
|
||
|
);
|
||
|
parameters.Add("item_id", this. itemId
|
||
|
);
|
||
|
parameters.Add("quantity", this. quantity
|
||
|
);
|
||
|
parameters.Add("user_pin", this. userPin
|
||
|
);
|
||
|
parameters.Add("token", this. token
|
||
|
);
|
||
|
parameters.Add("request_id", this. requestId
|
||
|
);
|
||
|
parameters.Add("remark", this. remark
|
||
|
);
|
||
|
parameters.Add("ip", this. ip
|
||
|
);
|
||
|
parameters.Add("open_id_buyer", this. openIdBuyer
|
||
|
);
|
||
|
parameters.Add("xid_buyer", this. xidBuyer
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|