6 changed files with 105 additions and 10 deletions
@ -0,0 +1,40 @@ |
|||
using BBWY.JDSDK.Response; |
|||
using Jd.Api; |
|||
using Jd.Api.Response; |
|||
using Newtonsoft.Json; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
|
|||
namespace Jd.Api.Request |
|||
{ |
|||
public class WareWriteUpdateWareSaleAttrvalueAliasRequest : JdRequestBase<WareWriteUpdateWareSaleAttrvalueAliasResponse> |
|||
{ |
|||
public override string ApiName => "jingdong.ware.write.updateWareSaleAttrvalueAlias"; |
|||
|
|||
public Nullable<long> wareId { get; set; } |
|||
|
|||
public IList<WareWriteUpdateWareSaleAttrvalueAliasRequestItem> props { get; set; } |
|||
|
|||
|
|||
|
|||
protected override void PrepareParam(IDictionary<string, object> paramters) |
|||
{ |
|||
paramters.Add("wareId", wareId); |
|||
paramters.Add("props", props); |
|||
} |
|||
} |
|||
|
|||
public class WareWriteUpdateWareSaleAttrvalueAliasRequestItem |
|||
{ |
|||
public string attrId { get; set; } |
|||
|
|||
public IList<string> attrValues { get; set; } |
|||
|
|||
public IList<string> attrValueAlias { get; set; } |
|||
|
|||
|
|||
[JsonProperty("@type")] |
|||
public string type { get; set; } = "com.jd.pop.ware.ic.api.domain.Prop"; |
|||
} |
|||
} |
@ -0,0 +1,8 @@ |
|||
using Jd.Api; |
|||
|
|||
namespace Jd.Api.Response |
|||
{ |
|||
public class WareWriteUpdateWareSaleAttrvalueAliasResponse : JdResponse |
|||
{ |
|||
} |
|||
} |
Loading…
Reference in new issue