@lean2708/shared-grpc-contracts 1.1.9 → 1.2.0
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.
package/package.json
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package shared.bankaccount.v1;
|
|
4
|
+
|
|
5
|
+
option java_multiple_files = true;
|
|
6
|
+
option java_package = "com.shared.grpc.bankaccount";
|
|
7
|
+
option java_outer_classname = "BankAccountProto";
|
|
8
|
+
|
|
9
|
+
service BankAccountService {
|
|
10
|
+
|
|
11
|
+
rpc GetUserBankAccount(GetUserBankAccountRequest)
|
|
12
|
+
returns (GetUserBankAccountResponse);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
message GetUserBankAccountRequest {
|
|
17
|
+
string user_id = 1;
|
|
18
|
+
|
|
19
|
+
int64 bank_account_id = 2;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message GetUserBankAccountResponse {
|
|
23
|
+
int64 bank_account_id = 1;
|
|
24
|
+
|
|
25
|
+
string user_id = 2;
|
|
26
|
+
|
|
27
|
+
string bank_bin = 3;
|
|
28
|
+
string bank_name = 4;
|
|
29
|
+
|
|
30
|
+
string account_number_encrypted = 5;
|
|
31
|
+
string account_number_last4 = 6;
|
|
32
|
+
string account_holder_name = 7;
|
|
33
|
+
|
|
34
|
+
bool is_default = 8;
|
|
35
|
+
}
|