Log in
Interface

TaxRuleSearchResultsInterface

Magento\Tax\Api\Data\TaxRuleSearchResultsInterface

What it does

This interface defines the contract for search results when querying tax rules in Magento 2.

Developers use this when retrieving multiple tax rules through the Tax API, as it extends the standard SearchResultsInterface and specifies that results contain TaxRuleInterface objects.

It's commonly returned by repository search methods that filter and retrieve tax rule collections.

Public Methods

  • getItems()
  • setItems()