mirror of
https://github.com/valitydev/limiter-proto.git
synced 2024-11-06 08:45:17 +00:00
31de59b17a
* added terminal scope (and wallet id for wallet scope) * added requested changes * added email scope * renamed
20 lines
384 B
Thrift
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
|
|
}
|