diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-07-09 15:47:45 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-07-09 15:47:45 -0400 |
commit | 6737ee287534892ead4bfa6cea599886705b7afa (patch) | |
tree | 67b77f787457933e508a1cd0c108ed7acc8b2735 /src/include/taler_merchant_testing_lib.h | |
parent | 071554a7ac031cc859355b5ee353a708c0c5cea5 (diff) | |
download | merchant-6737ee287534892ead4bfa6cea599886705b7afa.tar.gz merchant-6737ee287534892ead4bfa6cea599886705b7afa.tar.bz2 merchant-6737ee287534892ead4bfa6cea599886705b7afa.zip |
test post orders with products and lock uuids
Diffstat (limited to 'src/include/taler_merchant_testing_lib.h')
-rw-r--r-- | src/include/taler_merchant_testing_lib.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/taler_merchant_testing_lib.h b/src/include/taler_merchant_testing_lib.h index a1a283f6..89f45307 100644 --- a/src/include/taler_merchant_testing_lib.h +++ b/src/include/taler_merchant_testing_lib.h @@ -494,6 +494,11 @@ TALER_TESTING_cmd_merchant_post_orders (const char *label, * @param http_status expected HTTP status. * @param order the order to PUT to the merchant. * @param payment_target payment target for the order. + * @param products a string indicating the products this order will be + * purchasing. Should be formatted as + * "[product_id]/[quantity];...". + * @param locks a string of references to lock product commands that should + * be formatted as "[lock_1];[lock_2];...". * @return the command */ struct TALER_TESTING_Command @@ -501,7 +506,9 @@ TALER_TESTING_cmd_merchant_post_orders2 (const char *label, const char *merchant_url, unsigned int http_status, const char *order, - const char *payment_target); + const char *payment_target, + const char *products, + const char *locks); /** |