From da8ce137362e3cbdff43b1002bb3f05696eefc6f Mon Sep 17 00:00:00 2001 From: Kirill Sukhorukov Date: Thu, 22 Aug 2024 17:15:24 +0300 Subject: [PATCH] Add support for new filters of GET /api/v5/store/offers method - filter[min/maxPrice] - filter[priceType] - filter[min/maxQuantity] --- src/Model/Filter/Store/OfferFilterType.php | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/src/Model/Filter/Store/OfferFilterType.php b/src/Model/Filter/Store/OfferFilterType.php index 3589050..6921782 100644 --- a/src/Model/Filter/Store/OfferFilterType.php +++ b/src/Model/Filter/Store/OfferFilterType.php @@ -83,4 +83,52 @@ class OfferFilterType * @Form\SerializedName("sinceId") */ public $sinceId; + + /** + * @var int[] + * + * @Form\Type("int[]") + * @Form\SerializedName("groups") + */ + public $groups; + + /** + * @var string + * + * @Form\Type("string") + * @Form\SerializedName("priceType") + */ + public $priceType; + + /** + * @var int + * + * @Form\Type("int") + * @Form\SerializedName("minPrice") + */ + public $minPrice; + + /** + * @var int + * + * @Form\Type("int") + * @Form\SerializedName("maxPrice") + */ + public $maxPrice; + + /** + * @var int + * + * @Form\Type("int") + * @Form\SerializedName("minQuantity") + */ + public $minQuantity; + + /** + * @var int + * + * @Form\Type("int") + * @Form\SerializedName("maxQuantity") + */ + public $maxQuantity; }