You are here

public function ShipmentInterface::setShippingMethodId in Commerce Shipping 8.2

Sets the shipping method ID.

Parameters

int $shipping_method_id: The shipping method ID.

Return value

$this

1 method overrides ShipmentInterface::setShippingMethodId()
Shipment::setShippingMethodId in src/Entity/Shipment.php
Sets the shipping method ID.

File

src/Entity/ShipmentInterface.php, line 103

Class

ShipmentInterface
Defines the interface for shipments.

Namespace

Drupal\commerce_shipping\Entity

Code

public function setShippingMethodId($shipping_method_id);