You are here

public function ProposedShipment::getPackageTypeId in Commerce Shipping 8.2

Gets the package type plugin ID.

If the proposed shipment returns no package type ID, shipping methods are expected to use their default package type.

Return value

string|null The package type plugin ID, or NULL if unknown.

File

src/ProposedShipment.php, line 159

Class

ProposedShipment
Represents a proposed shipment.

Namespace

Drupal\commerce_shipping

Code

public function getPackageTypeId() {
  return $this->packageTypeId;
}