Allow to filter checkouts by origin and charge.target

This commit is contained in:
2024-04-18 17:28:14 +02:00
parent 83cf8cc045
commit affc5e8a1b
+1
View File
@@ -22,6 +22,7 @@ use Symfony\Component\Validator\Constraints as Assert;
#[API\Post(processor: GatewayCheckoutProcessor::class)]
#[API\Get()]
#[API\Patch(input: GatewayCheckoutUpdateDto::class, processor: GatewayCheckoutUpdateProcessor::class)]
#[API\ApiFilter(filterClass: SearchFilter::class, properties: ['origin' => 'exact', 'charges.target' => 'exact'])]
#[ORM\Entity(repositoryClass: GatewayCheckoutRepository::class)]
class GatewayCheckout
{