summaryrefslogtreecommitdiff
path: root/interchange.hxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-17 14:09:33 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-17 14:09:33 +0800
commitb8680f8eecc7c7d4d3c09b6880904f3f732ea4d8 (patch)
treeaac2641f325fcf667ddf75858a13f984eb48c614 /interchange.hxx
parent5b457c0d69377c786436476d67476eee1c922462 (diff)
order takes custom options paramters
Diffstat (limited to 'interchange.hxx')
-rw-r--r--interchange.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/interchange.hxx b/interchange.hxx
index 582a007..cdd3e9a 100644
--- a/interchange.hxx
+++ b/interchange.hxx
@@ -64,10 +64,12 @@ namespace QInterchange {
* \param sku The product or variant SKU of the item.
* \param item The product SKU of the item to order.
* \param quantity The quantity of the item to order.
+ * \param opts Any additional pairs of custom options.
*/
void order(const QString &sku,
const QString &item = "",
- const int quantity = 1);
+ const int quantity = 1,
+ const QVariant &options = {});
signals:
void gotPage(QString const& path,