refactored payment orchestration
This commit is contained in:
@@ -116,6 +116,7 @@ message PaymentIntent {
|
||||
SettlementMode settlement_mode = 9;
|
||||
Customer customer = 10;
|
||||
string settlement_currency = 11;
|
||||
string ref = 12;
|
||||
}
|
||||
|
||||
message Customer {
|
||||
@@ -167,6 +168,7 @@ message ExecutionStep {
|
||||
string destination_ref = 6;
|
||||
string transfer_ref = 7;
|
||||
map<string, string> metadata = 8;
|
||||
string operation_ref = 9;
|
||||
}
|
||||
|
||||
message ExecutionPlan {
|
||||
@@ -179,12 +181,11 @@ message PaymentStep {
|
||||
string gateway_id = 2; // required for external rails
|
||||
common.gateway.v1.RailOperation action = 3;
|
||||
common.money.v1.Money amount = 4;
|
||||
string ref = 5;
|
||||
string step_id = 6;
|
||||
string instance_id = 7;
|
||||
repeated string depends_on = 8;
|
||||
string commit_policy = 9;
|
||||
repeated string commit_after = 10;
|
||||
string step_id = 5;
|
||||
string instance_id = 6;
|
||||
repeated string depends_on = 7;
|
||||
string commit_policy = 8;
|
||||
repeated string commit_after = 9;
|
||||
}
|
||||
|
||||
message PaymentPlan {
|
||||
|
||||
Reference in New Issue
Block a user