summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_post_products.c
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-10-13 16:12:42 +0200
committerMS <ms@taler.net>2020-10-13 16:12:42 +0200
commit82358a9d6ce23eca4548caaedb66dc6c981f1f06 (patch)
tree4f13b5d64c853b0e5cf9541a49dc2c78a6da79a9 /src/lib/merchant_api_post_products.c
parent60092876f45ad3b0657adab1e07eb3364c5b4709 (diff)
downloadmerchant-82358a9d6ce23eca4548caaedb66dc6c981f1f06.tar.gz
merchant-82358a9d6ce23eca4548caaedb66dc6c981f1f06.tar.bz2
merchant-82358a9d6ce23eca4548caaedb66dc6c981f1f06.zip
Doxygen fixes
Diffstat (limited to 'src/lib/merchant_api_post_products.c')
-rw-r--r--src/lib/merchant_api_post_products.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/lib/merchant_api_post_products.c b/src/lib/merchant_api_post_products.c
index c3666ec2..32d11b3e 100644
--- a/src/lib/merchant_api_post_products.c
+++ b/src/lib/merchant_api_post_products.c
@@ -151,30 +151,6 @@ handle_post_products_finished (void *cls,
}
-/**
- * Make a POST /products request to add a product to the
- * inventory.
- *
- * @param ctx the context
- * @param backend_url HTTP base URL for the backend
- * @param product_id identifier to use for the product
- * @param description description of the product
- * @param description_i18n Map from IETF BCP 47 language tags to localized descriptions
- * @param unit unit in which the product is measured (liters, kilograms, packages, etc.)
- * @param price the price for one @a unit of the product, zero is used to imply that
- * this product is not sold separately or that the price is not fixed and
- * must be supplied by the front-end. If non-zero, price must include
- * applicable taxes.
- * @param image base64-encoded product image
- * @param taxes list of taxes paid by the merchant
- * @param total_stock in @a units, -1 to indicate "infinite" (i.e. electronic books)
- * @param address where the product is in stock
- * @param next_restock when the next restocking is expected to happen, 0 for unknown,
- * #GNUNET_TIME_UNIT_FOREVER_ABS for 'never'.
- * @param cb function to call with the backend's result
- * @param cb_cls closure for @a cb
- * @return the request handle; NULL upon error
- */
struct TALER_MERCHANT_ProductsPostHandle *
TALER_MERCHANT_products_post (
struct GNUNET_CURL_Context *ctx,