You are here

public function ExchangeRate::setExchangeRateProviderId in Currency 8.3

Sets the plugin ID of the exchange rate provider that provided this rate.

Parameters

string $id:

Return value

$this

Overrides ExchangeRateInterface::setExchangeRateProviderId

File

src/ExchangeRate.php, line 68

Class

ExchangeRate
Provides an exchange rate.

Namespace

Drupal\currency

Code

public function setExchangeRateProviderId($id) {
  $this->exchangeRateProviderId = $id;
  return $this;
}