You are here

public function Basic::getAmount in Payment 8.2

Gets the amount.

Return value

float|int|string A numeric value.

Overrides PaymentLineItemInterface::getAmount

1 call to Basic::getAmount()
Basic::buildConfigurationForm in src/Plugin/Payment/LineItem/Basic.php
Form constructor.

File

src/Plugin/Payment/LineItem/Basic.php, line 86

Class

Basic
A basic line item.

Namespace

Drupal\payment\Plugin\Payment\LineItem

Code

public function getAmount() {
  return $this->configuration['amount'];
}