You are here

public function CurrencyOrderProcessor::__construct in Commerce Currency Resolver 8

File

src/CurrencyOrderProcessor.php, line 42

Class

CurrencyOrderProcessor
Apply currency changes during the order refresh process.

Namespace

Drupal\commerce_currency_resolver

Code

public function __construct(CurrentCurrency $currency, AccountInterface $account, ExchangerCalculatorInterface $price_exchanger) {
  $this->account = $account;
  $this->currentCurrency = $currency;
  $this->priceExchanger = $price_exchanger;
}