Skip to content

Payment LogicalOr Criterion

The LogicalOr Search Criterion matches payments if at least one of the provided Criteria matches.

Arguments

  • criterion - a set of Criteria combined by the logical operator

Example

1
2
3
4
5
$query->query = new Criterion\LogicalOr([
        new \Ibexa\Contracts\Payment\Payment\Query\Criterion\CreatedAt(new DateTime('2023-03-01'));
        new \Ibexa\Contracts\Payment\Payment\Query\Criterion\Currency('USD');
    ]
);