diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-08-10 16:31:06 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-08-10 16:31:06 -0400 |
commit | 050de4d39ca58446b02887bf5770864589e788cb (patch) | |
tree | 87725fd978f9c032151958ac2061d112865be827 /src/include/taler_merchant_service.h | |
parent | 280bbb526c245ac69762e989816cb4c4848cd22c (diff) | |
download | merchant-050de4d39ca58446b02887bf5770864589e788cb.tar.gz merchant-050de4d39ca58446b02887bf5770864589e788cb.tar.bz2 merchant-050de4d39ca58446b02887bf5770864589e788cb.zip |
add await_refund_obtained option to GET /orders/ in merchant lib
Diffstat (limited to 'src/include/taler_merchant_service.h')
-rw-r--r-- | src/include/taler_merchant_service.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h index 17d0f16f..46d14ead 100644 --- a/src/include/taler_merchant_service.h +++ b/src/include/taler_merchant_service.h @@ -1549,6 +1549,8 @@ typedef void * @param min_refund long poll for the service to approve a refund exceeding this value; * use NULL to not wait for any refund (only for payment). Only makes sense * with a non-zero @a timeout. Can be NULL. + * @param await_refund_obtained long poll for the order's refunds to be + * picked up by the wallet. * @param cb callback which will work the response gotten from the backend * @param cb_cls closure to pass to @a cb * @return handle for this operation, NULL upon errors @@ -1561,6 +1563,7 @@ TALER_MERCHANT_wallet_order_get (struct GNUNET_CURL_Context *ctx, struct GNUNET_TIME_Relative timeout, const char *session_id, const struct TALER_Amount *min_refund, + bool await_refund_obtained, TALER_MERCHANT_OrderWalletGetCallback cb, void *cb_cls); |