Log in
Model

Rate

Magento\Quote\Model\Quote\Address\Rate

What it does

This model represents a shipping rate option for a quote address during checkout.

Developers use this class to store and manage individual shipping method rates (carrier, price, method details) that are available for a customer's shipping address.

It handles importing shipping rates from rate results and maintains the relationship between the rate and its associated quote address.

Public Methods

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