summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
Diffstat (limited to 'interchange')
-rw-r--r--interchange/ord.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/interchange/ord.h b/interchange/ord.h
index 8407704..dffd902 100644
--- a/interchange/ord.h
+++ b/interchange/ord.h
@@ -38,6 +38,15 @@ void interchange_ord_order(const char *sku,
void (*handler)(interchange_response *));
/*!
+ * \brief For removing an item from a cart.
+ * \param name The name given, in the cart, to the item.
+ * \param nextpage The page to expect response from, whatever the result is.
+ * \param parser Function for parsing the formatted response.
+ */
+void interchange_ord_remove(const char *name, const char *nextpage,
+ void (*parser)(interchange_response *));
+
+/*!
* \brief For checking out items in the cart.
* \param order_profile The order profile/method.
* \param member The member checking out.