shared-grpc-contracts 1.0.1__py3-none-any.whl
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.
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package shared.booking.v1;
|
|
4
|
+
|
|
5
|
+
option java_multiple_files = true;
|
|
6
|
+
option java_package = "com.shared.grpc.booking.v1";
|
|
7
|
+
option java_outer_classname = "BookingPaymentProto";
|
|
8
|
+
|
|
9
|
+
service BookingPaymentService {
|
|
10
|
+
|
|
11
|
+
rpc GetBookingPaymentInfo(BookingPaymentInfoRequest)
|
|
12
|
+
returns (BookingPaymentInfoResponse);
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
message BookingPaymentInfoRequest {
|
|
17
|
+
int64 booking_id = 1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message BookingPaymentInfoResponse {
|
|
21
|
+
bool success = 1;
|
|
22
|
+
BookingPaymentInfo booking = 2;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message BookingPaymentInfo {
|
|
26
|
+
|
|
27
|
+
int64 booking_id = 1;
|
|
28
|
+
|
|
29
|
+
string booking_code = 2;
|
|
30
|
+
|
|
31
|
+
string user_id = 3;
|
|
32
|
+
|
|
33
|
+
string booking_status = 4;
|
|
34
|
+
|
|
35
|
+
string total_amount = 5;
|
|
36
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: shared-grpc-contracts
|
|
3
|
+
Version: 1.0.1
|
|
4
|
+
Summary: Shared gRPC Protocol Buffer contracts
|
|
5
|
+
Author: lean2708
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/daoduytien2004/shared-grpc-contracts
|
|
8
|
+
Project-URL: Repository, https://github.com/daoduytien2004/shared-grpc-contracts
|
|
9
|
+
Project-URL: Issues, https://github.com/daoduytien2004/shared-grpc-contracts/issues
|
|
10
|
+
Requires-Python: >=3.10
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
shared_grpc_contracts/proto/shared/booking/v1/booking_payment.proto,sha256=XTsjGRoeZ6uO0jrso_S6QKpA2ZLULD1dc0p2wf1ZJ_Y,646
|
|
2
|
+
shared_grpc_contracts-1.0.1.dist-info/METADATA,sha256=XcXlivoUlMoYNtj9uME0Q9-J5WZR9lR8Rt8Qypvq7-s,421
|
|
3
|
+
shared_grpc_contracts-1.0.1.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
4
|
+
shared_grpc_contracts-1.0.1.dist-info/top_level.txt,sha256=g0YtH-hyTcKNZmSHyfRPwc3rhvqIEWNwQZKBojm734M,22
|
|
5
|
+
shared_grpc_contracts-1.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
shared_grpc_contracts
|