You are here

public function OrderInterface::isPaid in Commerce Core 8.2

Gets whether the order has been fully paid.

Free orders (total price is zero) are considered fully paid once they have been placed.

Non-free orders are considered fully paid once their balance becomes zero or negative.

Return value

bool TRUE if the order has been fully paid, FALSE otherwise.

1 method overrides OrderInterface::isPaid()
Order::isPaid in modules/order/src/Entity/Order.php
Gets whether the order has been fully paid.

File

modules/order/src/Entity/OrderInterface.php, line 315

Class

OrderInterface
Defines the interface for orders.

Namespace

Drupal\commerce_order\Entity

Code

public function isPaid();