You are here

public function CheckoutPaneInterface::setOrder in Commerce Core 8.2

Sets the current order.

Used to keep the pane order in sync with the checkout flow order.

Parameters

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

Return value

$this

1 method overrides CheckoutPaneInterface::setOrder()
CheckoutPaneBase::setOrder in modules/checkout/src/Plugin/Commerce/CheckoutPane/CheckoutPaneBase.php
Sets the current order.

File

modules/checkout/src/Plugin/Commerce/CheckoutPane/CheckoutPaneInterface.php, line 30

Class

CheckoutPaneInterface
Defines the interface for checkout panes.

Namespace

Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane

Code

public function setOrder(OrderInterface $order);