TD-341: Pin route based on list of characteristics (#49)

* TD-341: Pin route based on list of characteristics

* Review fixes

* Review fixes
This commit is contained in:
ndiezel0 2022-08-22 14:08:22 +05:00 committed by GitHub
parent 09e7a75668
commit 53dab99962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2823,12 +2823,24 @@ struct RoutingDelegate {
3: required RoutingRulesetRef ruleset
}
enum RoutingPinFeature {
currency
payment_tool
party_id
client_ip
}
struct RoutingPin {
1: required set<RoutingPinFeature> features
}
struct RoutingCandidate {
1: optional string description
2: required Predicate allowed
3: required TerminalRef terminal
4: optional i32 weight = CANDIDATE_WEIGHT
5: optional i32 priority = CANDIDATE_PRIORITY
6: optional RoutingPin pin
4: optional i32 weight = CANDIDATE_WEIGHT
}
/* Root config */