You are here

public function ShippingRatesEvent::getRates in Commerce Shipping 8.2

Gets the shipping rates.

Return value

\Drupal\commerce_shipping\ShippingRate[] The shipping rates.

File

src/Event/ShippingRatesEvent.php, line 59

Class

ShippingRatesEvent
Defines the event for reacting to shipping rate calculation.

Namespace

Drupal\commerce_shipping\Event

Code

public function getRates() {
  return $this->rates;
}