You are here

public function BeforePackEvent::setOrder in Commerce FedEx 8

Sets the order.

Parameters

\Drupal\commerce_order\Entity\OrderInterface $order: The order.

Return value

$this

File

src/Event/BeforePackEvent.php, line 96

Class

BeforePackEvent
Defines the before pack event for FedEx.

Namespace

Drupal\commerce_fedex\Event

Code

public function setOrder(OrderInterface $order) {
  $this->order = $order;
  return $this;
}