You are here

public function Shipment::setShippingService in Commerce Shipping 8.2

Sets the shipping service.

Parameters

string $shipping_service: The shipping service.

Return value

$this

Overrides ShipmentInterface::setShippingService

File

src/Entity/Shipment.php, line 198

Class

Shipment
Defines the shipment entity class.

Namespace

Drupal\commerce_shipping\Entity

Code

public function setShippingService($shipping_service) {
  $this
    ->set('shipping_service', $shipping_service);
  return $this;
}