-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60ace51
commit 9d3b8d5
Showing
9 changed files
with
96 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace Picqer\BolRetailerV10\Enum; | ||
|
||
// This class is auto generated by OpenApi\ModelGenerator | ||
enum GetProductCategoriesAcceptLanguage: string | ||
{ | ||
case NL = 'nl'; | ||
case NL_BE = 'nl-BE'; | ||
case NL_NL = 'nl-NL'; | ||
case FR_BE = 'fr-BE'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace Picqer\BolRetailerV10\Model; | ||
|
||
use Picqer\BolRetailerV10\Enum; | ||
|
||
// This class is auto generated by OpenApi\ModelGenerator | ||
class ProductCategoriesResponse extends AbstractModel | ||
{ | ||
/** | ||
* Returns the definition of the model: an associative array with field names as key and | ||
* field definition as value. The field definition contains of | ||
* model: Model class or null if it is a scalar type | ||
* array: Boolean whether it is an array | ||
* @return array The model definition | ||
*/ | ||
public function getModelDefinition(): array | ||
{ | ||
return [ | ||
'categories' => [ 'model' => ProductCategory::class, 'enum' => null, 'array' => true ], | ||
]; | ||
} | ||
|
||
/** | ||
* @var ProductCategory[] A list of product categories and its children. | ||
*/ | ||
public $categories = []; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
|
||
namespace Picqer\BolRetailerV10\Model; | ||
|
||
use Picqer\BolRetailerV10\Enum; | ||
|
||
// This class is auto generated by OpenApi\ModelGenerator | ||
class ProductCategory extends AbstractModel | ||
{ | ||
/** | ||
* Returns the definition of the model: an associative array with field names as key and | ||
* field definition as value. The field definition contains of | ||
* model: Model class or null if it is a scalar type | ||
* array: Boolean whether it is an array | ||
* @return array The model definition | ||
*/ | ||
public function getModelDefinition(): array | ||
{ | ||
return [ | ||
'categoryId' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'categoryName' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'order' => [ 'model' => null, 'enum' => null, 'array' => false ], | ||
'subcategories' => [ 'model' => ProductCategory::class, 'enum' => null, 'array' => true ], | ||
]; | ||
} | ||
|
||
/** | ||
* @var string The id of the category. | ||
*/ | ||
public $categoryId; | ||
|
||
/** | ||
* @var string The name of the category. | ||
*/ | ||
public $categoryName; | ||
|
||
/** | ||
* @var int The order of the category in the tree. | ||
*/ | ||
public $order; | ||
|
||
/** | ||
* @var ProductCategory[] A list of product subcategories and its children. | ||
*/ | ||
public $subcategories = []; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters