Skip to content

Order IsCompanyAssociated Criterion

The IsCompanyAssociatedCriterion Search Criterion searches for orders based on whether the customer represents a business company.

Arguments

  • value - boolean that shows whether the customer represents a business company

Example

PHP

1
2
3
4
5
6
use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
use Ibexa\Contracts\OrderManagement\Value\Order\OrderQuery;

$query = new OrderQuery(
    new \Ibexa\Contracts\OrderManagement\Value\Order\Query\Criterion\IsCompanyAssociatedCriterion(true)
);