You are here

public function Basic::getCurrencyCode in Payment 8.2

Gets the currency_code.

Return value

string

Overrides PaymentLineItemInterface::getCurrencyCode

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

File

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

Class

Basic
A basic line item.

Namespace

Drupal\payment\Plugin\Payment\LineItem

Code

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