diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-12 10:57:01 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-12 13:10:10 +0800 |
commit | d3d334e4769e28e20be2041103ae87620f3f7c96 (patch) | |
tree | e56cbb99223f1ebbfcf0a4b8d53d2a59ca869729 /interchange | |
parent | 1be551eb39df7240b661b2c7e661d31dd242476e (diff) |
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.
Diffstat (limited to 'interchange')
-rw-r--r-- | interchange/ord.h | 4 |
1 files changed, 0 insertions, 4 deletions
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 *)); /*! |