summaryrefslogtreecommitdiff
path: root/icclient/ord.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-25 10:20:12 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-25 10:20:12 +0800
commit7f934ce683df5252fa6350dcc15e187b1c7623cf (patch)
treef600fc0cdfc9f4397580e44044468858167d0aa9 /icclient/ord.h
parenta606c79d52d2027afaafd424a25fa6a4598aa8d7 (diff)
Rename remaining icclient to interchange
Diffstat (limited to 'icclient/ord.h')
-rw-r--r--icclient/ord.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/icclient/ord.h b/icclient/ord.h
deleted file mode 100644
index eccc822..0000000
--- a/icclient/ord.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef ICCLIENT_ORD_H
-#define ICCLIENT_ORD_H
-
-struct icclient_ord_item {
- struct icclient_product *product;
- unsigned int quantity;
-};
-
-struct icclient_ord_order {
- double subtotal;
- double shipping;
- double total_cost;
- char *profile;
- size_t nitems;
- struct icclient_ord_item *items[];
-};
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/*!
- * \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.
- */
-void icclient_ord_order(const char *sku, const struct icclient_catalog *catalog,
- struct icclient_ord_order **order);
-void icclient_ord_checkout(const struct icclient_ord_order *order, const struct icclient_member *member);
-void icclient_ord_free(struct icclient_ord_order *order);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif