diff options
Diffstat (limited to 'src/include/taler_merchant_testing_lib.h')
-rw-r--r-- | src/include/taler_merchant_testing_lib.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/include/taler_merchant_testing_lib.h b/src/include/taler_merchant_testing_lib.h index 02f386c4..886b052b 100644 --- a/src/include/taler_merchant_testing_lib.h +++ b/src/include/taler_merchant_testing_lib.h @@ -1498,7 +1498,8 @@ TALER_TESTING_cmd_merchant_kyc_get (const char *label, * POST /templates request. * @param template_id the ID of the template to query * @param template_description description of the template - * @param image base64-encoded template image + * @param pos_key base32-encoded key to verify the payment + * @param pos_alg is an option that show the amount of the order. it is linked with the pos_key * @param template_contract where the contract of the company is * @param http_status expected HTTP response code. * @return the command. @@ -1509,7 +1510,8 @@ TALER_TESTING_cmd_merchant_post_templates2 ( const char *merchant_url, const char *template_id, const char *template_description, - const char *image, + const char *pos_key, + const enum TALER_MerchantConfirmationAlgorithm pos_alg, json_t *template_contract, unsigned int http_status); @@ -1541,7 +1543,8 @@ TALER_TESTING_cmd_merchant_post_templates (const char *label, * PATCH /template request. * @param template_id the ID of the template to query * @param template_description description of the template - * @param image base64-encoded template image + * @param pos_key base32-encoded key to verify the payment + * @param pos_alg is an option that show the amount of the order. it is linked with the pos_key * @param template_contract contract of the company * @param http_status expected HTTP response code. * @return the command. @@ -1552,7 +1555,8 @@ TALER_TESTING_cmd_merchant_patch_template ( const char *merchant_url, const char *template_id, const char *template_description, - const char *image, + const char *pos_key, + const enum TALER_MerchantConfirmationAlgorithm pos_alg, json_t *template_contract, unsigned int http_status); @@ -1867,6 +1871,7 @@ TALER_TESTING_cmd_checkserver2 (const char *label, op (proposal_reference, const char *) \ op (template_description, const char *) \ op (template_pos_key, const char *) \ + op (template_pos_alg, const enum TALER_MerchantConfirmationAlgorithm) \ op (template_id, const char *) \ op (template_contract, const json_t) \ op (event_type, const char *) \ |