Log in
Model

Rate

Magento\Quote\Model\Quote\Address\Rate

What it does

This class represents a shipping rate option for a quote address in Magento 2.

Developers use it to store and manage individual shipping method rates (like FedEx Ground, UPS Next Day) that are displayed to customers during checkout.

It handles importing shipping rates from carrier responses and associates them with specific quote addresses.

Public Methods

  • beforeSave()
  • setAddress()
  • getAddress()
  • importShippingRate()