ExchangeRatesInterface.php in Commerce Exchanger 8
Namespace
Drupal\commerce_exchanger\EntityFile
src/Entity/ExchangeRatesInterface.phpView source
<?php
namespace Drupal\commerce_exchanger\Entity;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface for defining Exchange rates entities.
*/
interface ExchangeRatesInterface extends ConfigEntityInterface {
public const COMMERCE_EXCHANGER_IMPORT = 'commerce_exchanger.latest_exchange_rates.';
/**
* Name of the configuration file where exchange rates are stored.
*
* @return string
* Get machine config name where exchange rates are stored.
*/
public function getExchangerConfigName();
}
Interfaces
Name | Description |
---|---|
ExchangeRatesInterface | Provides an interface for defining Exchange rates entities. |