public function PaymentReceipt::getAmount in Ubercart 8.4
Returns the amount that was paid.
Return value
float The amount.
Overrides PaymentReceiptInterface::getAmount
File
- payment/
uc_payment/ src/ Entity/ PaymentReceipt.php, line 109
Class
- PaymentReceipt
- Defines the payment receipt entity class.
Namespace
Drupal\uc_payment\EntityCode
public function getAmount() {
return $this
->get('amount')->value;
}