atyun-protocal 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8e056c138ca5371fc0e4db5adc1cf4c2a6ab5c4
4
- data.tar.gz: 678ee0eb00f7df3c449fdb3fe3c553a6959fced5
3
+ metadata.gz: a4f9004ff450c1de7e8dbbd66c894f4a7cd2ec33
4
+ data.tar.gz: 7c01c242c3d3d54eeba8d30ff0a9e32f07b89ca2
5
5
  SHA512:
6
- metadata.gz: 1e6c0fbade244c240039e13947645cac3f5a876add041f5b9b833d4b12ad67d0b4165b15ee29723d98e1ee4287be3f0c7095a5fbec33df14e604eafd7993d1c8
7
- data.tar.gz: 5e03351720d7c1161bb8cbcecc0620761972896c9c0166c0b9fd8d028a144ef740f6a6aada60f733f6d1b0dfb1234c38d727e77f44e243392de16a983a512b56
6
+ metadata.gz: 32658985291124098bad5c57a58613e1667c85eb1dc5784d56cacda1d268d33abbbde2f6b5c9ba01e86293de68be2b339fe7966b5569b56d398dd5ae20de243b
7
+ data.tar.gz: 24dbee92f574d1d83baf88dccc4415a82ce88e0f5ee52165b8cbd6cfea37d28d531382323ce2cc68af2536d02f5eda2615f2fa647823858049f33501e800e862
@@ -34,6 +34,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
34
34
  optional :result, :string, 1
35
35
  optional :status, :message, 2, "atyun.AlipayStatus"
36
36
  end
37
+ add_message "atyun.CancelOrderRequest" do
38
+ optional :app_id, :string, 1
39
+ optional :app_private_key, :string, 1
40
+ optional :alipay_public_key, :string, 1
41
+ optional :method, :string, 1
42
+ optional :notify_url, :string, 1
43
+ optional :trade_no, :string, 1
44
+ optional :out_trade_no, :string, 1
45
+ optional :operator_id, :string, 1
46
+ end
47
+ add_message "atyun.CancelOrderReply" do
48
+ optional :result, :string, 1
49
+ optional :status, :message, 2, "atyun.AlipayStatus"
50
+ end
37
51
  end
38
52
 
39
53
  module Atyun
@@ -42,4 +56,6 @@ module Atyun
42
56
  AlipayStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("atyun.AlipayStatus").msgclass
43
57
  CheckSignRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("atyun.CheckSignRequest").msgclass
44
58
  CheckSignReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("atyun.CheckSignReply").msgclass
59
+ CancelOrderRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("atyun.CancelOrderRequest").msgclass
60
+ CancelOrderReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("atyun.CancelOrderReply").msgclass
45
61
  end
@@ -16,6 +16,7 @@ module Atyun
16
16
 
17
17
  rpc :GetAlipayUrl, GetAlipayUrlRequest, GetAlipayReply
18
18
  rpc :CheckSign, CheckSignRequest, CheckSignReply
19
+ rpc :CancelOrder, CancelOrderRequest, CancelOrderReply
19
20
  end
20
21
 
21
22
  Stub = Service.rpc_stub_class
@@ -14,6 +14,10 @@ service alipay {
14
14
  rpc CheckSign (CheckSignRequest) returns (CheckSignReply){
15
15
 
16
16
  }
17
+
18
+ rpc CancelOrder (CancelOrderRequest) returns (CancelOrderReply){
19
+
20
+ }
17
21
  }
18
22
 
19
23
  message GetAlipayUrlRequest{
@@ -49,4 +53,20 @@ message CheckSignRequest{
49
53
  message CheckSignReply{
50
54
  string result = 1;
51
55
  AlipayStatus status = 2;
56
+ }
57
+
58
+ message CancelOrderRequest{
59
+ string app_id = 1;
60
+ string app_private_key = 2;
61
+ string alipay_public_key = 3;
62
+ string method = 4;
63
+ string notify_url = 5;
64
+ string trade_no = 6;
65
+ string out_trade_no = 7;
66
+ string operator_id = 8;
67
+ }
68
+
69
+ message CancelOrderReply{
70
+ string result = 1;
71
+ AlipayStatus status = 2;
52
72
  }
@@ -1,5 +1,5 @@
1
1
  module Wechat
2
2
  module Protocal
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atyun-protocal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - icepoint0
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-16 00:00:00.000000000 Z
11
+ date: 2019-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler