Skip to content

Commit

Permalink
Support for ProductGroup level in filter and response
Browse files Browse the repository at this point in the history
  • Loading branch information
kifril committed Jul 9, 2024
1 parent bc5d044 commit 097a615
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Model/Entity/Store/ProductGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,10 @@ class ProductGroup
* @JMS\SerializedName("active")
*/
public $active;

/**
* @JMS\Type("int")
* @JMS\SerializedName("lvl")
*/
public ?int $lvl;
}
16 changes: 16 additions & 0 deletions src/Model/Filter/Store/ProductGroupFilterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,20 @@ class ProductGroupFilterType
* @Form\SerializedName("catalogs")
*/
public $catalogs;

/**
* @var int
*
* @Form\Type("int")
* @Form\SerializedName("minLevel")
*/
public $minLevel;

/**
* @var int
*
* @Form\Type("int")
* @Form\SerializedName("maxLevel")
*/
public $maxLevel;
}

0 comments on commit 097a615

Please sign in to comment.