Model
Generic
Magento\Fedex\Model\Source\Generic
What it does
This class serves as a base source model for FedEx configuration options in the Magento admin panel.
It retrieves configuration data from the FedEx carrier model and converts it into option arrays suitable for dropdown/multiselect fields in admin forms.
Developers use this when creating configuration fields that need to display FedEx-specific options like shipping methods or service types.
Public Methods
- toOptionArray()