refactored notificatoin / tgsettle responsibility boundaries
This commit is contained in:
@@ -7,14 +7,14 @@ option go_package = "github.com/tech/sendico/pkg/proto/payments/transfer/v1;tran
|
||||
import "api/proto/common/money/v1/money.proto";
|
||||
import "api/proto/payments/endpoint/v1/endpoint.proto";
|
||||
|
||||
|
||||
// -------------------------
|
||||
// Base value movement
|
||||
// -------------------------
|
||||
// TransferIntent describes a value movement between two payment endpoints.
|
||||
message TransferIntent {
|
||||
// source is the originating payment endpoint.
|
||||
payments.endpoint.v1.PaymentEndpoint source = 1;
|
||||
// destination is the receiving payment endpoint.
|
||||
payments.endpoint.v1.PaymentEndpoint destination = 2;
|
||||
// amount is the monetary value to transfer.
|
||||
common.money.v1.Money amount = 3;
|
||||
|
||||
// comment is an optional human-readable note for the transfer.
|
||||
string comment = 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user