OriginShipment
Magento\Ups\Model\Config\Source\OriginShipment
What it does
This class provides configuration options for UPS origin shipment types in Magento's admin panel.
Developers use this class as a source model for dropdown/select fields in the UPS shipping method configuration, allowing merchants to specify where their shipments originate from.
It retrieves origin shipment codes from the UPS carrier configuration and formats them as option arrays for form elements.
Public Methods
- toOptionArray()