DC-129 Allow to define more flexible conditions in provision terms (#602)

This commit is contained in:
Andrey Fadeev 2020-07-28 18:05:05 +03:00 committed by GitHub
parent b18f037a2c
commit dbb733fca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2065,6 +2065,7 @@ struct ProvisionTermSet {
} }
struct PaymentsProvisionTerms { struct PaymentsProvisionTerms {
11: optional Predicate allow
1: optional CurrencySelector currencies 1: optional CurrencySelector currencies
2: optional CategorySelector categories 2: optional CategorySelector categories
3: optional PaymentMethodSelector payment_methods 3: optional PaymentMethodSelector payment_methods
@ -2113,6 +2114,7 @@ struct WalletProvisionTerms {
} }
struct WithdrawalProvisionTerms { struct WithdrawalProvisionTerms {
5: optional Predicate allow
1: optional CurrencySelector currencies 1: optional CurrencySelector currencies
2: optional PayoutMethodSelector payout_methods 2: optional PayoutMethodSelector payout_methods
3: optional CashLimitSelector cash_limit 3: optional CashLimitSelector cash_limit
@ -2120,6 +2122,7 @@ struct WithdrawalProvisionTerms {
} }
struct P2PProvisionTerms { struct P2PProvisionTerms {
5: optional Predicate allow
1: optional CurrencySelector currencies 1: optional CurrencySelector currencies
2: optional CashLimitSelector cash_limit 2: optional CashLimitSelector cash_limit
3: optional CashFlowSelector cash_flow 3: optional CashFlowSelector cash_flow