CAPI-380: search invoice by rrn (#409)

* add rrn to invoice search

* update swag
This commit is contained in:
Roman Pushkov 2019-08-21 11:55:19 +03:00 committed by GitHub
parent bd1e719ed7
commit f94257c1c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,7 @@ process_request('SearchInvoices', Req, Context) ->
<<"invoice_amount" >> => genlib_map:get('invoiceAmount', Req),
<<"payment_token_provider" >> => genlib_map:get('bankCardTokenProvider', Req),
<<"payment_system" >> => genlib_map:get('bankCardPaymentSystem', Req),
<<"payment_rrn" >> => genlib_map:get('rrn', Req),
<<"payment_first6" >> => genlib_map:get('first6', Req),
<<"payment_last4" >> => genlib_map:get('last4', Req)
},

View File

@ -1022,6 +1022,7 @@ search_invoices_ok_test(Config) ->
%
% {first6, <<"424242">>},
% {last4, <<"2222">>},
% {rrn, <<"090909090909">>},
{bankCardTokenProvider, <<"applepay">>},
{bankCardPaymentSystem, <<"visa">>},
{paymentAmount, 10000},

@ -1 +1 @@
Subproject commit 5351bce83b776c1474e7462175d721ca2a1ff7e4
Subproject commit 200eea9d0da834fbb8acbc5d77a0c09abd90897a