@postpaybr/protos 1.1.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.
Files changed (79) hide show
  1. package/package.json +28 -0
  2. package/src/account-entry.proto +86 -0
  3. package/src/address.proto +64 -0
  4. package/src/admin-card-verification.proto +90 -0
  5. package/src/administrator.proto +192 -0
  6. package/src/anticipation.proto +86 -0
  7. package/src/asset.proto +44 -0
  8. package/src/auth.proto +29 -0
  9. package/src/bank-account.proto +62 -0
  10. package/src/card-vault.proto +36 -0
  11. package/src/card-verification.proto +30 -0
  12. package/src/card.proto +138 -0
  13. package/src/charge-schedule.proto +22 -0
  14. package/src/charge.proto +610 -0
  15. package/src/context.proto +174 -0
  16. package/src/customer.proto +234 -0
  17. package/src/daily-balance.proto +32 -0
  18. package/src/document-verification.proto +111 -0
  19. package/src/email.proto +76 -0
  20. package/src/expo-push.proto +27 -0
  21. package/src/fee.proto +65 -0
  22. package/src/location.proto +40 -0
  23. package/src/notification.proto +207 -0
  24. package/src/order.proto +189 -0
  25. package/src/payable.proto +246 -0
  26. package/src/payer.proto +24 -0
  27. package/src/payment-calculator.proto +165 -0
  28. package/src/payment-card.proto +217 -0
  29. package/src/payment-gateway.proto +94 -0
  30. package/src/payment-pix.proto +115 -0
  31. package/src/receipt.proto +212 -0
  32. package/src/recipient-payment-gateway.proto +101 -0
  33. package/src/recipient.proto +237 -0
  34. package/src/role.proto +57 -0
  35. package/src/sms.proto +36 -0
  36. package/src/tax.proto +323 -0
  37. package/src/transfer.proto +206 -0
  38. package/src/two-factor.proto +67 -0
  39. package/src/typescript/account-entry.ts +177 -0
  40. package/src/typescript/address.ts +133 -0
  41. package/src/typescript/admin-card-verification.ts +181 -0
  42. package/src/typescript/administrator.ts +375 -0
  43. package/src/typescript/anticipation.ts +187 -0
  44. package/src/typescript/asset.ts +123 -0
  45. package/src/typescript/auth.ts +84 -0
  46. package/src/typescript/bank-account.ts +157 -0
  47. package/src/typescript/card-vault.ts +92 -0
  48. package/src/typescript/card-verification.ts +93 -0
  49. package/src/typescript/card.ts +283 -0
  50. package/src/typescript/charge-schedule.ts +86 -0
  51. package/src/typescript/charge.ts +930 -0
  52. package/src/typescript/context.ts +296 -0
  53. package/src/typescript/customer.ts +425 -0
  54. package/src/typescript/daily-balance.ts +94 -0
  55. package/src/typescript/document-verification.ts +219 -0
  56. package/src/typescript/email.ts +183 -0
  57. package/src/typescript/expo-push.ts +75 -0
  58. package/src/typescript/fee.ts +131 -0
  59. package/src/typescript/location.ts +96 -0
  60. package/src/typescript/notification.ts +372 -0
  61. package/src/typescript/order.ts +311 -0
  62. package/src/typescript/payable.ts +414 -0
  63. package/src/typescript/payer.ts +68 -0
  64. package/src/typescript/payment-calculator.ts +252 -0
  65. package/src/typescript/payment-card.ts +290 -0
  66. package/src/typescript/payment-gateway.ts +209 -0
  67. package/src/typescript/payment-pix.ts +170 -0
  68. package/src/typescript/receipt.ts +344 -0
  69. package/src/typescript/recipient-payment-gateway.ts +209 -0
  70. package/src/typescript/recipient.ts +413 -0
  71. package/src/typescript/role.ts +144 -0
  72. package/src/typescript/sms.ts +96 -0
  73. package/src/typescript/tax.ts +463 -0
  74. package/src/typescript/transfer.ts +260 -0
  75. package/src/typescript/two-factor.ts +177 -0
  76. package/src/typescript/user.ts +413 -0
  77. package/src/typescript/wallet.ts +63 -0
  78. package/src/user.proto +214 -0
  79. package/src/wallet.proto +18 -0
@@ -0,0 +1,610 @@
1
+ syntax = "proto3";
2
+
3
+ package charge;
4
+
5
+ service ChargeService {
6
+ rpc createCharge (CreateChargeRequest) returns (ChargeResponse);
7
+ rpc updateCharge (UpdateChargeRequest) returns (ChargeResponse);
8
+ rpc getChargeById (GetChargeByIdRequest) returns (ChargeResponse);
9
+ rpc getChargeAdministratorDetails (GetChargeByIdRequest) returns (getChargeAdministratorDetailsResponse);
10
+ rpc getAllCharges (GetAllChargesRequest) returns (GetAllChargesResponse);
11
+ rpc getChargesByOrderId (GetChargesByOrderIdRequest) returns (GetChargesByOrderIdResponse);
12
+ rpc getChargeByTxid (GetChargeByTxidRequest) returns (ChargeResponse);
13
+ rpc getScheduledChargeDetail (GetScheduledChargeDetailRequest) returns (ScheduledChargeDetailResponse);
14
+ rpc getLiquidatedChargesForTransfer (getLiquidatedChargesForTransferRequest) returns (getLiquidatedChargesForTransferResponse);
15
+ rpc forceConfirm (ForceConfirmRequest) returns (ChargeResponse);
16
+ rpc forceDueDate (ForceDueDateRequest) returns (ChargeResponse);
17
+ rpc getChargeCustomerName (GetChargeCustomerNameRequest) returns (GetChargeCustomerNameResponse);
18
+ rpc getConfirmedChargesByIds (GetConfirmedChargesByIdsRequest) returns (GetConfirmedChargesByIdsResponse);
19
+ rpc cancelScheduledCharge (cancelScheduledChargeRequest) returns (ChargeResponse);
20
+ rpc createVerificationCardCharge (CreateVerificationCardChargeRequest) returns (ChargeResponse);
21
+ rpc cancelChargeByTxid (cancelChargeByTxidRequest) returns (CancelPaymentResponse);
22
+ rpc forceLiquidation (ForceLiquidationRequest) returns (ForceLiquidationResponse);
23
+ rpc addPayableToCharge (AddPayableToChargeRequest) returns (ChargeResponse);
24
+ rpc getChargeClientDetails (GetChargeByIdRequest) returns (ChargeClientDetailsResponse);
25
+ rpc getChargesHistory (GetChargesHistoryRequest) returns (GetChargesHistoryResponse);
26
+ rpc getLastChargesByCustomerId (GetLastChargesRequest) returns (GetLastChargesResponse);
27
+ rpc cancelChargeById (cancelChargeByIdRequest) returns (CancelPaymentResponse);
28
+ rpc getChargeRecipientId (GetChargeByIdRequest) returns (GetChargeRecipientIdResponse);
29
+ rpc getChargesTimeline (GetChargesTimelineRequest) returns (GetChargesTimelineResponse);
30
+ rpc getChargesComparisonTimeline (GetChargesComparisonTimelineRequest) returns (GetChargesComparisonTimelineResponse);
31
+ rpc getLiquidTotalAmount (getLiquidTotalAmountRequest) returns (getLiquidTotalAmountResponse);
32
+ rpc confirmCharges (ConfirmChargesRequest) returns (ChargesBatchResponse);
33
+ rpc forceChargesDueDate (ForceChargesDueDateRequest) returns (ChargesBatchResponse);
34
+ rpc forceChargesLiquidation (ForceChargesLiquidationRequest) returns (ChargesBatchResponse);
35
+ rpc cancelCharges (CancelChargesRequest) returns (ChargesBatchResponse);
36
+ rpc getOrderPaymentSummary (GetOrderPaymentSummaryRequest) returns (GetOrderPaymentSummaryResponse);
37
+ }
38
+
39
+ message DateFilter {
40
+ optional string startDate = 1;
41
+ optional string endDate = 2;
42
+ }
43
+
44
+ message PaginationFilter {
45
+ optional int32 limit = 1;
46
+ optional int32 offset = 2;
47
+ }
48
+
49
+ message Charge {
50
+ string id = 1;
51
+ double amount = 2;
52
+ string paymentMethod = 3;
53
+ string status = 4;
54
+ string dueAt = 5;
55
+ string txid = 6;
56
+ string brcode = 7;
57
+ string pushToken = 8;
58
+ int32 installmentNumber = 9;
59
+ double installmentValue = 10;
60
+ double fee = 11;
61
+ double baseFee = 12;
62
+ double feePercentage = 13;
63
+ bool isScheduled = 14;
64
+ double discountPercentage = 15;
65
+ double discountAmount = 16;
66
+ string createdAt = 17;
67
+ string gatewayId = 18;
68
+ string cardId = 19;
69
+ string orderId = 20;
70
+ string orderScheduleId = 21;
71
+ repeated string payableIds = 22;
72
+ optional string taxId = 23;
73
+ ChargeSchedule chargeSchedule = 24;
74
+ string endToEndId = 25;
75
+ string type = 26;
76
+ map<string, string> metadata = 27;
77
+ }
78
+
79
+ message ChargeSchedule {
80
+ string id = 1;
81
+ string executionDate = 2;
82
+ bool isExecuted = 3;
83
+ string createdAt = 4;
84
+ string updatedAt = 5;
85
+ Charge charge = 6;
86
+ }
87
+
88
+ message CreateChargeRequest {
89
+ double amount = 1;
90
+ string paymentMethod = 2;
91
+ string gatewayId = 3;
92
+ string dueAt = 4;
93
+ string orderId = 5;
94
+ string orderType = 6;
95
+ double baseFee = 7;
96
+ double feePercentage = 8;
97
+ double fee = 9;
98
+ optional string taxId = 10;
99
+ double discountPercentage = 11;
100
+ double discountAmount = 12;
101
+ string cardId = 13;
102
+ optional string txid = 14;
103
+ string pushToken = 15;
104
+ int32 installmentNumber = 16;
105
+ double installmentValue = 17;
106
+ string recipientId = 18;
107
+ }
108
+
109
+ message UpdateChargeRequest {
110
+ string id = 1;
111
+ optional double amount = 2;
112
+ optional string paymentMethod = 3;
113
+ optional string status = 4;
114
+ optional string pushToken = 5;
115
+ optional string txid = 6;
116
+ optional string brcode = 7;
117
+ optional string endToEndId = 8;
118
+ map<string, string> metadata = 9;
119
+ optional string orderId = 10;
120
+ optional string gatewayId = 11;
121
+ optional int32 installmentNumber = 12;
122
+ optional double installmentValue = 13;
123
+ optional string cardId = 14;
124
+ optional double fee = 15;
125
+ optional double baseFee = 16;
126
+ optional double feePercentage = 17;
127
+ optional double discountPercentage = 18;
128
+ optional double discountAmount = 19;
129
+ optional string taxId = 20;
130
+ optional string dueAt = 21;
131
+ optional string orderType = 22;
132
+ optional bool isRetry = 23;
133
+ }
134
+
135
+ message GetChargeByIdRequest {
136
+ string id = 1;
137
+ }
138
+
139
+ message GetAllChargesRequest {
140
+ optional int32 pageIndex = 1;
141
+ optional int32 pageSize = 2;
142
+ repeated string statuses = 3;
143
+ optional string globalFilter = 4;
144
+ optional string startDate = 5;
145
+ optional string endDate = 6;
146
+ optional string recipientId = 7;
147
+ repeated string gatewayIds = 8;
148
+ optional bool isScheduled = 9;
149
+ }
150
+
151
+ message GetAllChargesResponse {
152
+ repeated Charge charges = 1;
153
+ }
154
+
155
+ message GetChargesByOrderIdRequest {
156
+ string id = 1;
157
+ }
158
+
159
+ message GetChargesByOrderIdResponse {
160
+ repeated Charge charges = 1;
161
+ }
162
+
163
+ message GetChargeByTxidRequest {
164
+ string txid = 1;
165
+ }
166
+
167
+ message ChargeResponse {
168
+ Charge charge = 1;
169
+ }
170
+
171
+ message GetScheduledChargeDetailRequest {
172
+ string id = 1;
173
+ }
174
+
175
+ message ScheduledChargeDetailResponse {
176
+ ScheduledChargeDetail scheduledChargeDetail = 1;
177
+ }
178
+
179
+ message ScheduledChargeDetail {
180
+ string id = 1;
181
+ double amount = 2;
182
+ string method = 3;
183
+ string status = 4;
184
+ string dueAt = 5;
185
+ string createdAt = 6;
186
+ string executionDate = 7;
187
+ double fee = 8;
188
+ optional Tax tax = 9;
189
+ optional CardDetails card = 10;
190
+ }
191
+
192
+ message CardDetails {
193
+ string id = 1;
194
+ string brand = 2;
195
+ string shadowNumber = 3;
196
+ string nickname = 4;
197
+ }
198
+
199
+
200
+ message getLiquidatedChargesForTransferRequest {}
201
+
202
+ message getLiquidatedChargesForTransferResponse {
203
+ repeated Charge charges = 1;
204
+ }
205
+
206
+ message getChargeAdministratorDetailsResponse {
207
+ string id = 1;
208
+ string customer = 2;
209
+ string status = 3;
210
+ string createdAt = 4;
211
+ double amount = 5;
212
+ string dueAt = 6;
213
+ string paymentMethod = 7;
214
+ double fee = 8;
215
+ double baseFee = 9;
216
+ double feePercentage = 10;
217
+ int32 installmentNumber = 11;
218
+ double installmentValue = 12;
219
+ double discountPercentage = 13;
220
+ double discountAmount = 14;
221
+ string txid = 15;
222
+ string gatewayId = 16;
223
+ optional string cardId = 17;
224
+ optional string orderId = 18;
225
+ optional string orderScheduleId = 19;
226
+ map<string, string> metadata = 20;
227
+ optional string failureReason = 21;
228
+ optional string failureDetails = 22;
229
+ repeated ChargeSplit splits = 23;
230
+ optional TaxPayload tax = 24;
231
+ optional ChargeScheduleDetail schedule = 25;
232
+ }
233
+
234
+ message ChargeScheduleDetail {
235
+ string executionDate = 2;
236
+ bool isExecuted = 3;
237
+ }
238
+
239
+ message ChargeSplit {
240
+ string recipientAccount = 1;
241
+ double amount = 2;
242
+ string status = 3;
243
+ int32 installment = 4;
244
+ string dueAt = 5;
245
+ bool isAnticipated = 6;
246
+ string processedAt = 7;
247
+ string id = 8;
248
+ }
249
+
250
+ message Tax {
251
+ string id = 1;
252
+ string type = 2;
253
+ string status = 3;
254
+ string description = 4;
255
+ double amount = 5;
256
+ int32 year = 6;
257
+ optional string dueAt = 7;
258
+ string documentId = 8;
259
+ string code = 9;
260
+ bool isSingleQuota = 10;
261
+ int32 quota = 11;
262
+ double fee = 12;
263
+ double fine = 13;
264
+ double discountPercentage = 14;
265
+ double discountAmount = 15;
266
+ int32 state = 16;
267
+ int32 city = 17;
268
+ string recipientId = 18;
269
+ string metaType = 19;
270
+ Meta meta = 20;
271
+ Payer payer = 21;
272
+ OrderItemEntity orderItem = 22;
273
+ optional Receipt receipt = 23;
274
+ }
275
+
276
+ message completeTax {
277
+ string id = 1;
278
+ string type = 2;
279
+ string status = 3;
280
+ string description = 4;
281
+ double amount = 5;
282
+ int32 year = 6;
283
+ string dueAt = 7;
284
+ string documentId = 8;
285
+ string code = 9;
286
+ bool isSingleQuota = 10;
287
+ optional int32 quota = 11;
288
+ }
289
+
290
+ message Location {
291
+ int32 state = 1;
292
+ int32 city = 2;
293
+ string recipientId = 3;
294
+ }
295
+
296
+ message TaxPayload {
297
+ completeTax tax = 1;
298
+ Payer payer = 2;
299
+ Location location = 3;
300
+ string metaType = 4;
301
+ Meta meta = 5;
302
+ }
303
+
304
+ message Meta {
305
+ optional Address address = 1;
306
+ optional string licensePlate = 2;
307
+ optional string model = 3;
308
+ optional int32 yearManufacture = 4;
309
+ optional string renavam = 5;
310
+ }
311
+
312
+ message Address {
313
+ string street = 1;
314
+ string number = 2;
315
+ string complement = 3;
316
+ string neighborhood = 4;
317
+ string city = 5;
318
+ string state = 6;
319
+ string zipCode = 7;
320
+ }
321
+
322
+ message Payer {
323
+ string id = 1;
324
+ string name = 2;
325
+ string document = 3;
326
+ string phone = 4;
327
+ repeated Tax taxes = 5;
328
+ }
329
+
330
+ message Order {
331
+ string id = 1;
332
+ double totalAmount = 2;
333
+ string status = 3;
334
+ string createdAt = 4;
335
+ repeated OrderItemEntity items = 5;
336
+ repeated Charge charges = 6;
337
+ Customer customer = 7;
338
+ }
339
+
340
+ message OrderItemEntity {
341
+ string id = 1;
342
+ Recipient recipient = 2;
343
+ Tax tax = 3;
344
+ Order order = 4;
345
+ }
346
+
347
+ message Receipt {
348
+ string id = 1;
349
+ double amount = 2;
350
+ string protocol = 3;
351
+ optional string transactionId = 4;
352
+ string createdAt = 5;
353
+ }
354
+
355
+ message Customer {
356
+ string id = 1;
357
+ string username = 2;
358
+ string otherName = 3;
359
+ string document = 4;
360
+ string email = 5;
361
+ bool emailVerified = 6;
362
+ string phone = 7;
363
+ }
364
+
365
+ message Recipient {
366
+ string id = 1;
367
+ string code = 2;
368
+ string commercialName = 3;
369
+ string socialReason = 4;
370
+ string holderType = 5;
371
+ string document = 6;
372
+ string cnaeId = 7;
373
+ string legalType = 8;
374
+ string contactName = 10;
375
+ string contactEmail = 11;
376
+ string contactPhone = 12;
377
+ bool isAutomaticAnticipationEnabled = 13;
378
+ string foundation = 14;
379
+ optional string avatarUrl = 15;
380
+ }
381
+
382
+ message ForceConfirmRequest {
383
+ string chargeId = 1;
384
+ }
385
+
386
+ message ForceDueDateRequest {
387
+ string chargeId = 1;
388
+ }
389
+
390
+ message GetChargeCustomerNameRequest {
391
+ string id = 1;
392
+ }
393
+
394
+ message GetChargeCustomerNameResponse {
395
+ string customerName = 1;
396
+ }
397
+
398
+ message GetConfirmedChargesByIdsRequest {
399
+ repeated string ids = 1;
400
+ }
401
+
402
+ message GetConfirmedChargesByIdsResponse {
403
+ repeated Charge charges = 1;
404
+ }
405
+
406
+ message cancelScheduledChargeRequest {
407
+ string customerId = 1;
408
+ string id = 2;
409
+ }
410
+
411
+ message CreateVerificationCardChargeRequest {
412
+ double amount = 1;
413
+ string cardId = 2;
414
+ string gatewayId = 3;
415
+ }
416
+
417
+ message cancelChargeByTxidRequest {
418
+ string txid = 1;
419
+ }
420
+
421
+ message CancelPaymentResponse {
422
+ bool success = 1;
423
+ }
424
+
425
+ message ForceLiquidationRequest {
426
+ string chargeId = 1;
427
+ }
428
+
429
+ message ForceLiquidationResponse {
430
+ bool success = 1;
431
+ }
432
+
433
+ message AddPayableToChargeRequest {
434
+ string chargeId = 1;
435
+ string payableId = 2;
436
+ }
437
+
438
+ message ChargeClientDetailsResponse {
439
+ string id = 1;
440
+ string status = 2;
441
+ string createdAt = 3;
442
+ double amount = 4;
443
+ string dueAt = 5;
444
+ string paymentMethod = 6;
445
+ string txid = 7;
446
+ string gatewayId = 8;
447
+ optional string failureReason = 9;
448
+ optional string failureDetails = 10;
449
+ double fee = 11;
450
+ double baseFee = 12;
451
+ double feePercentage = 13;
452
+ optional int32 installmentNumber = 14;
453
+ optional double installmentValue = 15;
454
+ optional CardDetails card = 16;
455
+ double discountPercentage = 17;
456
+ double discountAmount = 18;
457
+ optional TaxPayload tax = 19;
458
+ optional ChargeScheduleDetail schedule = 20;
459
+ optional string orderId = 21;
460
+ }
461
+
462
+ message GetChargesHistoryRequest {
463
+ ChargeHistoryFilter data = 1;
464
+ PaginationFilter pagination = 2;
465
+ DateFilter date = 3;
466
+ }
467
+
468
+ message ChargeHistoryFilter {
469
+ string customerId = 1;
470
+ string status = 2;
471
+ }
472
+
473
+ message GetChargesHistoryResponse {
474
+ repeated ChargeCardItem charges = 1;
475
+ int32 count = 2;
476
+ }
477
+
478
+ message ChargeCardItem {
479
+ string id = 1;
480
+ string createdAt = 2;
481
+ string paymentMethod = 3;
482
+ string propertyDocument = 4;
483
+ string propertyDetail = 5;
484
+ int32 installmentNumber = 6;
485
+ double installmentValue = 7;
486
+ optional ChargeScheduleDetail schedule = 8;
487
+ string taxType = 9;
488
+ string status = 10;
489
+ }
490
+
491
+ message GetLastChargesRequest {
492
+ string customerId = 1;
493
+ }
494
+
495
+ message GetLastChargesResponse {
496
+ repeated ChargeCardItem charges = 1;
497
+ }
498
+
499
+ message cancelChargeByIdRequest {
500
+ string id = 1;
501
+ }
502
+
503
+ message GetChargeRecipientIdResponse {
504
+ string recipientId = 1;
505
+ }
506
+
507
+ message GetChargesTimelineRequest {
508
+ optional string recipientId = 1;
509
+ optional string startDate = 2;
510
+ optional string endDate = 3;
511
+ }
512
+
513
+ message TimelineDataPoint {
514
+ string date = 1;
515
+ double liquidated = 2;
516
+ double processing = 3;
517
+ double scheduled = 4;
518
+ double pending = 5;
519
+ double cancelled = 6;
520
+ }
521
+
522
+ message ComparisonDataPoint {
523
+ string date = 1;
524
+ double liquidated = 2;
525
+ }
526
+
527
+ message GetChargesTimelineResponse {
528
+ repeated TimelineDataPoint timeline = 1;
529
+ }
530
+
531
+ message GetChargesComparisonTimelineRequest {
532
+ optional string recipientId = 1;
533
+ optional string primaryPeriodStart = 2;
534
+ optional string primaryPeriodEnd = 3;
535
+ optional string secondaryPeriodStart = 4;
536
+ optional string secondaryPeriodEnd = 5;
537
+ }
538
+
539
+ message ChargeComparisonTimeline {
540
+ repeated ComparisonDataPoint primary = 1;
541
+ repeated ComparisonDataPoint secondary = 2;
542
+ }
543
+
544
+ message GetChargesComparisonTimelineResponse {
545
+ ChargeComparisonTimeline comparisonTimeline = 1;
546
+ }
547
+
548
+ message getLiquidTotalAmountRequest {
549
+ string recipientId = 1;
550
+ optional string startDate = 2;
551
+ optional string endDate = 3;
552
+ }
553
+
554
+ message getLiquidTotalAmountResponse {
555
+ double total = 1;
556
+ }
557
+
558
+ message ConfirmChargesRequest {
559
+ repeated string chargeIds = 1;
560
+ }
561
+
562
+ message ForceChargesDueDateRequest {
563
+ repeated string chargeIds = 1;
564
+ }
565
+
566
+ message ForceChargesLiquidationRequest {
567
+ repeated string chargeIds = 1;
568
+ }
569
+
570
+ message CancelChargesRequest {
571
+ repeated string chargeIds = 1;
572
+ }
573
+
574
+ message ChargesBatchResponse {
575
+ int32 successful = 1;
576
+ int32 failed = 2;
577
+ }
578
+
579
+ message GetOrderPaymentSummaryRequest {
580
+ string orderId = 1;
581
+ string orderType = 2;
582
+ string customerId = 3;
583
+ }
584
+
585
+ message GetOrderPaymentSummaryResponse {
586
+ double totalPaid = 1;
587
+ double totalPending = 2;
588
+ repeated IndividualPayment paymentsMade = 3;
589
+ repeated IndividualPayment scheduledPayments = 4;
590
+ IndividualPayment nextPayment = 5;
591
+ }
592
+
593
+ message IndividualPayment {
594
+ string id = 1;
595
+ string createdAt = 2;
596
+ string paymentMethod = 3;
597
+ string propertyDocument = 4;
598
+ string propertyDetail = 5;
599
+ int32 installmentNumber = 6;
600
+ double installmentValue = 7;
601
+ string status = 8;
602
+ optional PaymentSchedule schedule = 9;
603
+ string taxType = 10;
604
+ }
605
+
606
+ message PaymentSchedule {
607
+ string executionDate = 1;
608
+ bool isExecuted = 2;
609
+ }
610
+