Skip to content
For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md.

Payment Identifier Sort Clause

The Identifier Sort Clause sorts search results by payment identifier.

Arguments

  • (optional) sortDirection - Identifier constant, either Identifier::SORT_ASC or Identifier::SORT_DESC

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
use Ibexa\Contracts\Payment\Payment\PaymentQuery;
use Ibexa\Contracts\Payment\Payment\Query\SortClause\Identifier;

$criteria = null;

$paymentQuery = new PaymentQuery(
    $criteria,
    [
        new Identifier(
            Identifier::SORT_ASC
        ),
    ]
);