You are here

public function PaymentStorageInterface::loadMultipleByOrder in Commerce Core 8.2

Loads all payments for the given order.

Parameters

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

Return value

\Drupal\commerce_payment\Entity\PaymentInterface[] The payments.

1 method overrides PaymentStorageInterface::loadMultipleByOrder()
PaymentStorage::loadMultipleByOrder in modules/payment/src/PaymentStorage.php
Loads all payments for the given order.

File

modules/payment/src/PaymentStorageInterface.php, line 33

Class

PaymentStorageInterface
Defines the interface for payment storage.

Namespace

Drupal\commerce_payment

Code

public function loadMultipleByOrder(OrderInterface $order);