From d3d334e4769e28e20be2041103ae87620f3f7c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 12 Mar 2023 10:57:01 +0800 Subject: Remove internal order/basket/cart code Such code can later be part of our own e-commerce library, if we ever make one. For now, we can just rely on Interchange's response for the cart values. --- interchange/ord.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'interchange') diff --git a/interchange/ord.h b/interchange/ord.h index ce6bb65..2202243 100644 --- a/interchange/ord.h +++ b/interchange/ord.h @@ -30,14 +30,10 @@ extern "C" { /*! * \brief For putting an item to a cart. * \param sku The SKU of the item to order. - * \param catalog The catalog from which the item is. - * \param order The address of an order instance. * \param handler A pointer to the function when a custom handler is needed to * arrange the data into the order. */ void interchange_ord_order(const char *sku, - const struct interchange_catalog *catalog, - struct interchange_ord_order **order, void (*handler)(interchange_response *)); /*! -- cgit v1.2.3