You are here

ExchangeRatesInterface.php in Commerce Exchanger 8

File

src/Entity/ExchangeRatesInterface.php
View 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

Namesort descending Description
ExchangeRatesInterface Provides an interface for defining Exchange rates entities.