Log in
Interface

GenericInterface

Magento\Shipping\Model\Carrier\Source\GenericInterface

What it does

This interface serves as a marker for shipping carrier source models in Magento 2.

Developers implement this interface when creating dropdown/select options for shipping carrier configurations in the admin panel.

It extends OptionSourceInterface to provide standardized option arrays for carrier-specific settings like shipping methods or service types.