From 5b8531659e5b6c26bf5cca8e8f12e37135a1d0bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Fri, 15 Dec 2023 13:32:37 +0100 Subject: [PATCH] wip --- src/Interfaces/Models/Item.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Interfaces/Models/Item.php b/src/Interfaces/Models/Item.php index 6651a1db..0ae3aa5e 100644 --- a/src/Interfaces/Models/Item.php +++ b/src/Interfaces/Models/Item.php @@ -16,4 +16,14 @@ public function buyable(): MorphTo; * Get the itemable model for the item. */ public function itemable(): MorphTo; + + /** + * Determine if the item is a line item. + */ + public function isLineItem(): bool; + + /** + * Determine if the item is a fee. + */ + public function isFee(): bool; }