You are here

public function Package::setOrderId in Ubercart 8.4

Sets the order ID of this shipment.

Parameters

int $order_id: The Order ID.

Return value

$this

Overrides PackageInterface::setOrderId

File

shipping/uc_fulfillment/src/Package.php, line 178

Class

Package
Defines the Package class.

Namespace

Drupal\uc_fulfillment

Code

public function setOrderId($order_id) {
  $this->order_id = $order_id;
  return $this;
}