You are here

public function ShippingRate::getService in Commerce Shipping 8.2

Gets the shipping service.

The shipping service label is meant to be displayed when presenting rates for selection.

Return value

\Drupal\commerce_shipping\ShippingService The shipping service.

File

src/ShippingRate.php, line 126

Class

ShippingRate
Represents a shipping rate.

Namespace

Drupal\commerce_shipping

Code

public function getService() : ShippingService {
  return $this->service;
}