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.
121 lines
9.6 KiB
121 lines
9.6 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using Jd.Api.Response;
|
|
using Jd.Api.Util;
|
|
namespace Jd.Api.Request
|
|
{
|
|
public class PopCrmAddCouponRequest : JdRequestBase<PopCrmAddCouponResponse>
|
|
{
|
|
public string
|
|
venderName
|
|
{get; set;}
|
|
|
|
public Nullable<int>
|
|
validateDays
|
|
{get; set;}
|
|
|
|
public string
|
|
quota
|
|
{get; set;}
|
|
|
|
public string
|
|
discount
|
|
{get; set;}
|
|
|
|
public Nullable<DateTime>
|
|
startTime
|
|
{get; set;}
|
|
|
|
public Nullable<long>
|
|
shopId
|
|
{get; set;}
|
|
|
|
public Nullable<DateTime>
|
|
endTime
|
|
{get; set;}
|
|
|
|
public Nullable<int>
|
|
batchCount
|
|
{get; set;}
|
|
|
|
public string
|
|
mktActivityId
|
|
{get; set;}
|
|
|
|
public string
|
|
appKey
|
|
{get; set;}
|
|
|
|
public string
|
|
taskInstId
|
|
{get; set;}
|
|
|
|
public string
|
|
mktActivityInstId
|
|
{get; set;}
|
|
|
|
public string
|
|
taskId
|
|
{get; set;}
|
|
|
|
public string
|
|
marketingName
|
|
{get; set;}
|
|
|
|
public string
|
|
strategyInstId
|
|
{get; set;}
|
|
|
|
public Nullable<int>
|
|
customerCount
|
|
{get; set;}
|
|
|
|
public override string ApiName
|
|
{
|
|
get{return "jingdong.pop.crm.addCoupon";}
|
|
}
|
|
protected override void PrepareParam(IDictionary<String, Object> parameters)
|
|
{
|
|
parameters.Add("vender_name", this. venderName
|
|
);
|
|
parameters.Add("validate_days", this. validateDays
|
|
);
|
|
parameters.Add("quota", this. quota
|
|
);
|
|
parameters.Add("discount", this. discount
|
|
);
|
|
parameters.Add("start_time", this. startTime
|
|
);
|
|
parameters.Add("shop_id", this. shopId
|
|
);
|
|
parameters.Add("end_time", this. endTime
|
|
);
|
|
parameters.Add("batch_count", this. batchCount
|
|
);
|
|
parameters.Add("mkt_activity_id", this. mktActivityId
|
|
);
|
|
parameters.Add("app_key", this. appKey
|
|
);
|
|
parameters.Add("task_inst_id", this. taskInstId
|
|
);
|
|
parameters.Add("mkt_activity_inst_id", this. mktActivityInstId
|
|
);
|
|
parameters.Add("task_id", this. taskId
|
|
);
|
|
parameters.Add("marketing_name", this. marketingName
|
|
);
|
|
parameters.Add("strategy_inst_id", this. strategyInstId
|
|
);
|
|
parameters.Add("customer_count", this. customerCount
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|