You are here

public function ShipmentType::setProfileTypeId in Commerce Shipping 8.2

Sets the profile type ID.

Parameters

string $profile_type_id: The profile type ID.

Return value

$this

Overrides ShipmentTypeInterface::setProfileTypeId

File

src/Entity/ShipmentType.php, line 89

Class

ShipmentType
Defines the shipment type entity class.

Namespace

Drupal\commerce_shipping\Entity

Code

public function setProfileTypeId($profile_type_id) {
  $this->profileType = $profile_type_id;
  return $this;
}