diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 9 | ||||
-rw-r--r-- | src/include/taler_testing_lib.h | 18 |
2 files changed, 25 insertions, 2 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 2d57b6530..bfdc062b5 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -4305,9 +4305,9 @@ TALER_EXCHANGE_management_update_aml_officer_cancel ( struct TALER_EXCHANGE_AmlDecisionSummary { /** - * When was the last decision made. + * What is the current monthly threshold. */ - struct GNUNET_TIME_Timestamp last_decision_time; + struct TALER_Amount threshold; /** * Account the decision was made for. @@ -4315,6 +4315,11 @@ struct TALER_EXCHANGE_AmlDecisionSummary struct TALER_PaytoHashP h_payto; /** + * RowID of this decision. + */ + uint64_t rowid; + + /** * Current decision state. */ enum TALER_AmlDecisionState current_state; diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 940233232..cf4279514 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -2774,6 +2774,24 @@ TALER_TESTING_cmd_check_aml_decision ( unsigned int expected_http_status); +/** + * Fetch AML decisions. + * + * @param label command label + * @param ref_officer command that previously created an + * officer + * @param filter AML state to filter by + * @param expected_http_status expected HTTP response status + * @return the command + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_check_aml_decisions ( + const char *label, + const char *ref_officer, + enum TALER_AmlDecisionState filter, + unsigned int expected_http_status); + + /* *** Generic trait logic for implementing traits ********* */ |