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 Method Type Criterion

The Type Search Criterion searches for payment methods based on payment method type.

Arguments

  • type - string that represents a payment method type

Example

PHP

1
2
3
4
5
6
7
8
use Ibexa\Contracts\Payment\PaymentMethod\PaymentMethodQuery;

/** @var \Ibexa\Contracts\Payment\PaymentMethod\Type\TypeRegistryInterface $paymentMethodTypeRegistry */
$paymentMethodType = $paymentMethodTypeRegistry->getPaymentMethodType('offline');

$query = new PaymentMethodQuery(
    new \Ibexa\Contracts\Payment\PaymentMethod\Query\Criterion\Type($paymentMethodType)
);