summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-12 17:44:56 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-12 17:44:56 +0800
commitff203b595fc28eb00b23535c35afcdcbdc2a846f (patch)
treee69f2f50a197a1269b036c0b6e151684f7dc9ee3 /interchange
parente13451f98fab003c4cb883075053f9fb09b5c3b1 (diff)
Only profile is needed from order on checkout
Diffstat (limited to 'interchange')
-rw-r--r--interchange/ord.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/interchange/ord.h b/interchange/ord.h
index d6ce999..533c5a9 100644
--- a/interchange/ord.h
+++ b/interchange/ord.h
@@ -38,12 +38,12 @@ void interchange_ord_order(const char *sku,
/*!
* \brief For checking out items in the cart.
- * \param order The order to be checked out.
+ * \param order_profile The order profile/method.
* \param member The member checking out.
* \param handler A pointer to the function when a custom handler is needed to
* arrange the data into the product.
*/
-void interchange_ord_checkout(const struct interchange_ord_order *order,
+void interchange_ord_checkout(const char *order_profile,
const struct interchange_member *member,
void (*handler)(interchange_response *));