Skip to content

Payment Method LogicalAnd Criterion

The LogicalAnd Search Criterion matches payment methods if all provided Criteria match.

Arguments

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

Example

PHP

1
2
3
4
5
6
$query->query = new \Ibexa\Contracts\Payment\PaymentMethod\Query\Criterion\LogicalAnd(
    [
        new \Ibexa\Contracts\Payment\PaymentMethod\Query\Criterion\CreatedAt(new DateTime('2023-03-01'));
        new \Ibexa\Contracts\Payment\PaymentMethod\Query\Criterion\Enabled(true);
    ]
);