You are here

public function ShipmentInterface::setShippingProfile in Commerce Shipping 8.2

Sets the shipping profile.

Parameters

\Drupal\profile\Entity\ProfileInterface $profile: The shipping profile.

Return value

$this

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

File

src/Entity/ShipmentInterface.php, line 139

Class

ShipmentInterface
Defines the interface for shipments.

Namespace

Drupal\commerce_shipping\Entity

Code

public function setShippingProfile(ProfileInterface $profile);