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.

CurrencyCode Criterion

The CurrencyCodeCriterion Search Criterion searches for currencies by their codes.

Arguments

  • code - string representing the currency code

Limitations

The CurrencyCodeCriterion Criterion isn't available in Solr or Elasticsearch engines.

Example

PHP

1
2
3
4
5
use Ibexa\Contracts\ProductCatalog\Values\Currency\CurrencyQuery;

$query = new CurrencyQuery(
    new \Ibexa\Contracts\ProductCatalog\Values\Currency\Query\Criterion\CurrencyCodeCriterion('EUR')
);