Open jacky-htg opened 1 year ago
message CashPayment {
string id = 1;
string company_id = 2;
string code = 3;
string date = 4;
string reference_no = 5;
Receivable receivable = 6;
string purchase_id = 7;
double amount = 8;
string payee = 9;
string description = 10;
string created_at = 11;
string created_by = 12;
string updated_at = 13;
string updated_by = 14;
}
service CashPaymentService {
rpc Create(CashPayment) returns (CashPayment) {}
rpc View(Id) returns (CashPayment) {}
rpc Update(Id) returns (CashPayment) {}
rpc List(EmptyMessage) returns (stream CashPayment) {}
}
see file of proto/ledgers/cash_payment_service.proto