using System; using System.Collections.Generic; using Jd.Api.Response; using Jd.Api.Util; namespace Jd.Api.Request { public class PopCrmAddCouponRequest : JdRequestBase { public string venderName {get; set;} public Nullable validateDays {get; set;} public string quota {get; set;} public string discount {get; set;} public Nullable startTime {get; set;} public Nullable shopId {get; set;} public Nullable endTime {get; set;} public Nullable 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 customerCount {get; set;} public override string ApiName { get{return "jingdong.pop.crm.addCoupon";} } protected override void PrepareParam(IDictionary 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 ); } } }