merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit da11b4b50f32adb12200fa69cbfa3ddcc072a357
parent 377cfaf23f88bd5597be5be2a3c3e4e49975cc47
Author: MS <ms@taler.net>
Date:   Thu, 15 Oct 2020 16:13:31 +0200

Doxygen fixes

Diffstat:
Msrc/include/taler_merchant_service.h | 1+
Msrc/lib/merchant_api_delete_reserve.c | 2+-
Msrc/lib/merchant_api_get_reserve.c | 12------------
Msrc/lib/merchant_api_post_instances.c | 29+----------------------------
Msrc/lib/merchant_api_post_order_pay.c | 2+-
Msrc/lib/merchant_api_post_products.c | 6------
Msrc/lib/merchant_api_wallet_post_order_refund.c | 2+-
7 files changed, 5 insertions(+), 49 deletions(-)

diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h @@ -493,6 +493,7 @@ typedef void * @param ctx the context * @param backend_url HTTP base URL for the backend * @param instance_id identity of the instance to get information about + * @param accounts_length how many bank accounts this instance has * @param payto_uris_length length of the @a accounts array * @param payto_uris URIs of the bank accounts of the merchant instance * @param name name of the merchant instance diff --git a/src/lib/merchant_api_delete_reserve.c b/src/lib/merchant_api_delete_reserve.c @@ -113,7 +113,7 @@ handle_delete_reserve_finished (void *cls, * * @param ctx the context * @param backend_url HTTP base URL for the backend - * @param instance_id which instance should be deleted + * @param reserve_pub which reserve should be deleted * @param purge purge instead of just deleting * @param cb function to call with the backend's return * @param cb_cls closure for @a config_cb diff --git a/src/lib/merchant_api_get_reserve.c b/src/lib/merchant_api_get_reserve.c @@ -227,18 +227,6 @@ handle_reserve_get_finished (void *cls, } -/** - * Issue a GET /reserve/$RESERVE_ID request to the backend. Queries the backend - * about the status of a reserve. - * - * @param ctx execution context - * @param backend_url base URL of the merchant backend - * @param reserve_pub which reserve should be queried - * @param tips should we return details about the tips issued from the reserve - * @param cb function to call with the result(s) - * @param cb_cls closure for @a cb - * @return handle for this operation, NULL upon errors - */ struct TALER_MERCHANT_ReserveGetHandle * TALER_MERCHANT_reserve_get (struct GNUNET_CURL_Context *ctx, const char *backend_url, diff --git a/src/lib/merchant_api_post_instances.c b/src/lib/merchant_api_post_instances.c @@ -151,28 +151,7 @@ handle_post_instances_finished (void *cls, } -/** - * Setup an new instance in the backend. - * - * @param ctx the context - * @param backend_url HTTP base URL for the backend - * @param instance_id identity of the instance to get information about - * @param payto_uris_length length of the @a accounts array - * @param payto_uris URIs of the bank accounts of the merchant instance - * @param name name of the merchant instance - * @param address physical address of the merchant instance - * @param jurisdiction jurisdiction of the merchant instance - * @param default_max_wire_fee default maximum wire fee merchant is willing to fully pay - * @param default_wire_fee_amortization default amortization factor for excess wire fees - * @param default_max_deposit_fee default maximum deposit fee merchant is willing to pay - * @param default_wire_transfer_delay default wire transfer delay merchant will ask for - * @param default_pay_delay default validity period for offers merchant makes - * @param cb function to call with the - * backend's instances information - * @param cb_cls closure for @a config_cb - * @return the instances handle; NULL upon error - */ -struct TALER_MERCHANT_InstancesPostHandle * +etruct TALER_MERCHANT_InstancesPostHandle * TALER_MERCHANT_instances_post ( struct GNUNET_CURL_Context *ctx, const char *backend_url, @@ -283,12 +262,6 @@ TALER_MERCHANT_instances_post ( } -/** - * Cancel /instances request. Must not be called by clients after - * the callback was invoked. - * - * @param igh request to cancel. - */ void TALER_MERCHANT_instances_post_cancel ( struct TALER_MERCHANT_InstancesPostHandle *iph) diff --git a/src/lib/merchant_api_post_order_pay.c b/src/lib/merchant_api_post_order_pay.c @@ -168,7 +168,7 @@ check_coin_history (const struct TALER_MERCHANT_PaidCoin *pc, * coin was actually already spent! * * @param oph handle of the original pay operation - * @param response cryptograophic proof returned by the + * @param json cryptograophic proof returned by the * exchange/merchant * @return #GNUNET_OK if proof checks out */ diff --git a/src/lib/merchant_api_post_products.c b/src/lib/merchant_api_post_products.c @@ -239,12 +239,6 @@ TALER_MERCHANT_products_post ( } -/** - * Cancel /products request. Must not be called by clients after - * the callback was invoked. - * - * @param igh request to cancel. - */ void TALER_MERCHANT_products_post_cancel ( struct TALER_MERCHANT_ProductsPostHandle *pph) diff --git a/src/lib/merchant_api_wallet_post_order_refund.c b/src/lib/merchant_api_wallet_post_order_refund.c @@ -72,7 +72,7 @@ struct TALER_MERCHANT_WalletOrderRefundHandle * Convenience function to call the callback in @a owgh with an error code of * @a ec and the exchange body being set to @a reply. * - * @param owgh handle providing callback + * @param orh handle providing callback * @param ec error code to return to application * @param reply JSON reply we got from the exchange, can be NULL */