You are here

public function PaymentInterface::getOrder in Commerce Core 8.2

Gets the parent order.

Return value

\Drupal\commerce_order\Entity\OrderInterface|null The order entity, or null.

1 method overrides PaymentInterface::getOrder()
Payment::getOrder in modules/payment/src/Entity/Payment.php
Gets the parent order.

File

modules/payment/src/Entity/PaymentInterface.php, line 54

Class

PaymentInterface
Defines the interface for payments.

Namespace

Drupal\commerce_payment\Entity

Code

public function getOrder();