Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
增加微购,修正商品属性查询Attribute的错误
  • Loading branch information
starpeng committed May 31, 2014
1 parent f193a85 commit a26db0a
Show file tree
Hide file tree
Showing 12 changed files with 393 additions and 4 deletions.
Binary file added Releases/JdSdk2.NET 2014.05.31.zip
Binary file not shown.
5 changes: 5 additions & 0 deletions Source/JdSdk/JdSdk.Net20.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@
<Compile Include="domain\website\ware\Sku.cs" />
<Compile Include="domain\website\ware\Ware.cs" />
<Compile Include="domain\website\ware\WareImg.cs" />
<Compile Include="domain\weigou\PaymentShipmentExportService\CombinationPaymentVO.cs" />
<Compile Include="domain\weigou\PaymentShipmentExportService\GetPaymentListResult.cs" />
<Compile Include="domain\weigou\PaymentShipmentExportService\PaymentVO.cs" />
<Compile Include="domain\wms\WmsProductionServices\ReceivingTask.cs" />
<Compile Include="domain\wms\WmsProductionServices\ResponseOrderOtherDetail.cs" />
<Compile Include="domain\zhijian\QTArticleService\QTArticle.cs" />
Expand Down Expand Up @@ -519,6 +522,7 @@
<Compile Include="request\website\ware\WareGetRequest.cs" />
<Compile Include="request\website\ware\WareSearchByCidRequst.cs" />
<Compile Include="request\website\ware\WareSearchRequst.cs" />
<Compile Include="request\weigou\OrderPaymentGetRequest.cs" />
<Compile Include="request\wms\LogisticsCarriersListRequest.cs" />
<Compile Include="request\wms\LogisticsOrderAddRequest.cs" />
<Compile Include="request\wms\LogisticsOrderDeleteRequest.cs" />
Expand Down Expand Up @@ -1028,6 +1032,7 @@
<Compile Include="response\website\ware\WareGetResponse.cs" />
<Compile Include="response\website\ware\WareSearchByCidResponse.cs" />
<Compile Include="response\website\ware\WareSearchResponse.cs" />
<Compile Include="response\weigou\OrderPaymentGetResponse.cs" />
<Compile Include="response\wms\CarriersDetail.cs" />
<Compile Include="response\wms\HashMap.cs" />
<Compile Include="response\wms\LogisticsCarriersListResponse.cs" />
Expand Down
5 changes: 5 additions & 0 deletions Source/JdSdk/JdSdk.Net40.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@
<Compile Include="domain\website\ware\Sku.cs" />
<Compile Include="domain\website\ware\Ware.cs" />
<Compile Include="domain\website\ware\WareImg.cs" />
<Compile Include="domain\weigou\PaymentShipmentExportService\CombinationPaymentVO.cs" />
<Compile Include="domain\weigou\PaymentShipmentExportService\GetPaymentListResult.cs" />
<Compile Include="domain\weigou\PaymentShipmentExportService\PaymentVO.cs" />
<Compile Include="domain\wms\WmsProductionServices\ReceivingTask.cs" />
<Compile Include="domain\wms\WmsProductionServices\ResponseOrderOtherDetail.cs" />
<Compile Include="domain\zhijian\QTArticleService\QTArticle.cs" />
Expand Down Expand Up @@ -519,6 +522,7 @@
<Compile Include="request\website\ware\WareGetRequest.cs" />
<Compile Include="request\website\ware\WareSearchByCidRequst.cs" />
<Compile Include="request\website\ware\WareSearchRequst.cs" />
<Compile Include="request\weigou\OrderPaymentGetRequest.cs" />
<Compile Include="request\wms\LogisticsCarriersListRequest.cs" />
<Compile Include="request\wms\LogisticsOrderAddRequest.cs" />
<Compile Include="request\wms\LogisticsOrderDeleteRequest.cs" />
Expand Down Expand Up @@ -1028,6 +1032,7 @@
<Compile Include="response\website\ware\WareGetResponse.cs" />
<Compile Include="response\website\ware\WareSearchByCidResponse.cs" />
<Compile Include="response\website\ware\WareSearchResponse.cs" />
<Compile Include="response\weigou\OrderPaymentGetResponse.cs" />
<Compile Include="response\wms\CarriersDetail.cs" />
<Compile Include="response\wms\HashMap.cs" />
<Compile Include="response\wms\LogisticsCarriersListResponse.cs" />
Expand Down
4 changes: 2 additions & 2 deletions Source/JdSdk/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2014.04.15.0")]
[assembly: AssemblyFileVersion("2014.04.15.0")]
[assembly: AssemblyVersion("2014.05.31.0")]
[assembly: AssemblyFileVersion("2014.05.31.0")]



Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System;
using System.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace JdSdk.Domain.Weigou.PaymentShipmentExportService
{
 [Serializable]
public class CombinationPaymentVO : JdObject
{
[JsonProperty("mainPaymentVO")]
public PaymentVO MainPaymentVO
{
get;
set;
}

[JsonProperty("subPaymentVO")]
public PaymentVO SubPaymentVO
{
get;
set;
}

}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
using System;
using System.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace JdSdk.Domain.Weigou.PaymentShipmentExportService
{
 [Serializable]
public class GetPaymentListResult : JdObject
{
[JsonProperty("paymentTypeVOList")]
public List<CombinationPaymentVO> PaymentTypeVOList
{
get;
set;
}

[JsonProperty("resultCode")]
public Nullable<Int32> ResultCode
{
get;
set;
}

[JsonProperty("resultFlag")]
public Nullable<Boolean> ResultFlag
{
get;
set;
}

[JsonProperty("message")]
public String Message
{
get;
set;
}

}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;
using System.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace JdSdk.Domain.Weigou.PaymentShipmentExportService
{
 [Serializable]
public class PaymentVO : JdObject
{
[JsonProperty("paymentId")]
public Nullable<Int32> PaymentId
{
get;
set;
}

}

}
143 changes: 143 additions & 0 deletions Source/JdSdk/request/weigou/OrderPaymentGetRequest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
using System;
using System.Xml.Serialization;
using System.Collections;
using System.Collections.Generic;
using Newtonsoft.Json;
using JdSdk.Request;
using JdSdk.Response.Weigou;

namespace JdSdk.Request.Weigou
{
 public class OrderPaymentGetRequest : JdRequestBase<OrderPaymentGetResponse>
{
public String ServerName
{
get;
set;
}

public String UserIP
{
get;
set;
}

public Nullable<Int64> CountKey
{
get;
set;
}

public String ServerIp
{
get;
set;
}

public Nullable<Int32> OriginId
{
get;
set;
}

public Nullable<Int64> Id
{
get;
set;
}

public Nullable<Int32> ProvinceId
{
get;
set;
}

public Nullable<Int32> CityId
{
get;
set;
}

public Nullable<Int32> CountyId
{
get;
set;
}

public Nullable<Int32> TownId
{
get;
set;
}

public String Name
{
get;
set;
}

public String Address
{
get;
set;
}

public String Email
{
get;
set;
}

public String Mobile
{
get;
set;
}

public String Phone
{
get;
set;
}

public String Postcode
{
get;
set;
}

public Nullable<Int32> PickId
{
get;
set;
}

public override String ApiName
{
get{ return "jingdong.order.payment.get"; }
}

protected override void PrepareParam(IDictionary<String, Object> paramters)
{
paramters.Add("serverName" ,this.ServerName);
paramters.Add("userIP" ,this.UserIP);
paramters.Add("countKey" ,this.CountKey);
paramters.Add("serverIp" ,this.ServerIp);
paramters.Add("originId" ,this.OriginId);
paramters.Add("id" ,this.Id);
paramters.Add("provinceId" ,this.ProvinceId);
paramters.Add("cityId" ,this.CityId);
paramters.Add("countyId" ,this.CountyId);
paramters.Add("townId" ,this.TownId);
paramters.Add("name" ,this.Name);
paramters.Add("address" ,this.Address);
paramters.Add("email" ,this.Email);
paramters.Add("mobile" ,this.Mobile);
paramters.Add("phone" ,this.Phone);
paramters.Add("postcode" ,this.Postcode);
paramters.Add("pickId" ,this.PickId);
}

}

}
Loading

0 comments on commit a26db0a

Please sign in to comment.