This repository has been archived by the owner on Sep 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
增加微购,修正商品属性查询Attribute的错误
- Loading branch information
Showing
12 changed files
with
393 additions
and
4 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
Source/JdSdk/domain/weigou/PaymentShipmentExportService/CombinationPaymentVO.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} | ||
|
||
} |
42 changes: 42 additions & 0 deletions
42
Source/JdSdk/domain/weigou/PaymentShipmentExportService/GetPaymentListResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
Source/JdSdk/domain/weigou/PaymentShipmentExportService/PaymentVO.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
|
||
} | ||
|
||
} |
Oops, something went wrong.