add shopware store-api

This commit is contained in:
team 1
2026-04-09 12:00:34 +02:00
parent 0ef3b43b30
commit 1aee32f1d8
13 changed files with 992 additions and 10 deletions

View File

@@ -0,0 +1,29 @@
<?php
declare(strict_types=1);
namespace App\Commerce\Dto;
final readonly class CommerceSearchQuery
{
/**
* @param string[] $colors
* @param string[] $sizes
* @param string[] $properties
*/
public function __construct(
public string $originalPrompt,
public string $normalizedPrompt,
public string $searchText,
public ?string $category = null,
public ?string $brand = null,
public array $colors = [],
public array $sizes = [],
public array $properties = [],
public ?float $priceMin = null,
public ?float $priceMax = null,
public string $intent = 'none',
public bool $needsLlmFallback = false,
) {
}
}