From 44bac58947136f351d831ca52ea4189fc8404561 Mon Sep 17 00:00:00 2001 From: Aleksey Kashapov Date: Tue, 2 Jul 2024 13:43:10 +0300 Subject: [PATCH] TD-933: Adds support for deviation direction for amount randomization (#93) --- spec/definitions/InvoiceRandomizeAmount.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spec/definitions/InvoiceRandomizeAmount.yaml b/spec/definitions/InvoiceRandomizeAmount.yaml index 0b1bcfa..c718c82 100644 --- a/spec/definitions/InvoiceRandomizeAmount.yaml +++ b/spec/definitions/InvoiceRandomizeAmount.yaml @@ -26,6 +26,15 @@ properties: minimum: 0 maximum: 5 default: 2 + direction: + description: > + Direction of deviation from original amount. + type: string + default: both + enum: + - both + - upward + - downward minAmountCondition: description: > Minimum amount applicable for randomization, in minor monetary