You are here

public function PaymentInterface::getAmount in Commerce Core 8.2

Gets the payment amount.

Return value

\Drupal\commerce_price\Price|null The payment amount, or NULL.

1 method overrides PaymentInterface::getAmount()
Payment::getAmount in modules/payment/src/Entity/Payment.php
Gets the payment amount.

File

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

Class

PaymentInterface
Defines the interface for payments.

Namespace

Drupal\commerce_payment\Entity

Code

public function getAmount();