limiter-proto/proto/limiter_base.thrift
Артем 31de59b17a
TD-407: Add terminal scope (#25)
* added terminal scope (and wallet id for wallet scope)

* added requested changes

* added email scope

* renamed
2022-09-15 18:41:20 +03:00

20 lines
384 B
Thrift

include "proto/domain.thrift"
namespace java dev.vality.limiter.base
namespace erlang limproto.base
struct AmountRange {
1: required AmountBound upper
2: required AmountBound lower
}
union AmountBound {
1: domain.Amount inclusive
2: domain.Amount exclusive
}
struct Route {
1: optional domain.ProviderRef provider
2: optional domain.TerminalRef terminal
}