From ab9144f3893af9d91b1cfeb394a0c2a217c0cc9d Mon Sep 17 00:00:00 2001 From: 3nderXP Date: Mon, 26 Aug 2024 20:56:04 -0300 Subject: [PATCH] Adding 'summary' method to Deals resource --- src/Resources/Deals.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/Resources/Deals.php b/src/Resources/Deals.php index b2c74c2..9fd5813 100644 --- a/src/Resources/Deals.php +++ b/src/Resources/Deals.php @@ -12,6 +12,23 @@ class Deals extends Entity { use ListsProducts, ListsAttachedFiles, Searches; + /** + * + * Get the deals summary + * + * @param array $options + * + * @return Response + * + */ + + public function summary($options = []) + { + + return $this->request->get('summary', $options); + + } + /** * Get the deals timeline. *