You are here

public function Basic::setCurrencyCode in Payment 8.2

1 call to Basic::setCurrencyCode()
Basic::submitConfigurationForm in src/Plugin/Payment/LineItem/Basic.php
Form submission handler.

File

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

Class

Basic
A basic line item.

Namespace

Drupal\payment\Plugin\Payment\LineItem

Code

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