diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-12 11:08:10 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-12 11:59:14 +0800 |
commit | 6ea1859f82fdde343be5d7d649d40e43223395e3 (patch) | |
tree | 0d64bffaf48878425241442dd68cab2d2de4f076 /interchange.hxx | |
parent | 82f3e8426f4092831d25a97e05a91ce3663bc3c6 (diff) |
Order now takes only SKU
Diffstat (limited to 'interchange.hxx')
-rw-r--r-- | interchange.hxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/interchange.hxx b/interchange.hxx index 8a4dfc3..b8b36d5 100644 --- a/interchange.hxx +++ b/interchange.hxx @@ -28,13 +28,6 @@ namespace QInterchange { * \brief Destructor. */ ~Interchange(); - /*! - * \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 order. - */ - void order(QString const& sku, Catalog const& catalog, Ord& order); public slots: /*! @@ -65,6 +58,11 @@ namespace QInterchange { * \brief For fetching data about all active products. */ void defaultAllProducts(); + /*! + * \brief For putting an item to a cart. + * \param sku The SKU of the item to order. + */ + void order(QString const& sku); signals: void gotCatalog(QString const& response); |