atyun-protocal 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/alipay_pb.rb +16 -0
- data/lib/alipay_services_pb.rb +1 -0
- data/lib/protocals/alipay.proto +20 -0
- data/lib/wechat/protocal/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a4f9004ff450c1de7e8dbbd66c894f4a7cd2ec33
|
|
4
|
+
data.tar.gz: 7c01c242c3d3d54eeba8d30ff0a9e32f07b89ca2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32658985291124098bad5c57a58613e1667c85eb1dc5784d56cacda1d268d33abbbde2f6b5c9ba01e86293de68be2b339fe7966b5569b56d398dd5ae20de243b
|
|
7
|
+
data.tar.gz: 24dbee92f574d1d83baf88dccc4415a82ce88e0f5ee52165b8cbd6cfea37d28d531382323ce2cc68af2536d02f5eda2615f2fa647823858049f33501e800e862
|
data/lib/alipay_pb.rb
CHANGED
|
@@ -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
|
data/lib/alipay_services_pb.rb
CHANGED
data/lib/protocals/alipay.proto
CHANGED
|
@@ -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
|
}
|
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.
|
|
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-
|
|
11
|
+
date: 2019-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|