mirror of
https://github.com/valitydev/limiter-proto.git
synced 2024-11-06 00:35:18 +00:00
TD-407: Add terminal scope (#25)
* added terminal scope (and wallet id for wallet scope) * added requested changes * added email scope * renamed
This commit is contained in:
parent
61581846b4
commit
31de59b17a
@ -12,3 +12,8 @@ union AmountBound {
|
||||
1: domain.Amount inclusive
|
||||
2: domain.Amount exclusive
|
||||
}
|
||||
|
||||
struct Route {
|
||||
1: optional domain.ProviderRef provider
|
||||
2: optional domain.TerminalRef terminal
|
||||
}
|
||||
|
@ -127,7 +127,9 @@ union LimitScopeType {
|
||||
* See: https://github.com/valitydev/damsel/blob/2e1dbc1a/proto/domain.thrift#L1824-L1830
|
||||
*/
|
||||
5: LimitScopeEmptyDetails payment_tool
|
||||
|
||||
6: LimitScopeEmptyDetails provider
|
||||
7: LimitScopeEmptyDetails terminal
|
||||
8: LimitScopeEmptyDetails payer_contact_email
|
||||
}
|
||||
|
||||
struct LimitScopeEmptyDetails {}
|
||||
|
@ -1,5 +1,5 @@
|
||||
include "proto/base.thrift"
|
||||
include "proto/domain.thrift"
|
||||
include "limiter_base.thrift"
|
||||
|
||||
namespace java dev.vality.limiter.payproc.context
|
||||
namespace erlang limproto.context.payproc
|
||||
@ -40,4 +40,5 @@ struct InvoicePayment {
|
||||
2: optional domain.InvoicePaymentAdjustment adjustment
|
||||
3: optional domain.InvoicePaymentRefund refund
|
||||
4: optional domain.InvoicePaymentChargeback chargeback
|
||||
5: optional limiter_base.Route route
|
||||
}
|
||||
|
@ -1,4 +1,7 @@
|
||||
include "proto/withdrawals_domain.thrift"
|
||||
include "proto/domain.thrift"
|
||||
include "proto/base.thrift"
|
||||
include "limiter_base.thrift"
|
||||
|
||||
namespace java dev.vality.limiter.withdrawal.context
|
||||
namespace erlang limproto.context.withdrawal
|
||||
@ -20,4 +23,6 @@ struct OperationWithdrawal {}
|
||||
|
||||
struct Withdrawal {
|
||||
1: optional withdrawals_domain.Withdrawal withdrawal
|
||||
2: optional limiter_base.Route route
|
||||
3: optional base.ID wallet_id
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user