You are here

interface ShipmentPromotionOfferInterface in Commerce Shipping 8.2

Defines the interface for shipment offers.

Hierarchy

Expanded class hierarchy of ShipmentPromotionOfferInterface

All classes that implement ShipmentPromotionOfferInterface

2 files declare their use of ShipmentPromotionOfferInterface
PromotionSubscriber.php in src/EventSubscriber/PromotionSubscriber.php
TestNoShippingOfferManager.php in tests/src/Kernel/EventSubscriber/TestNoShippingOfferManager.php

File

src/Plugin/Commerce/PromotionOffer/ShipmentPromotionOfferInterface.php, line 10

Namespace

Drupal\commerce_shipping\Plugin\Commerce\PromotionOffer
View source
interface ShipmentPromotionOfferInterface extends PromotionOfferInterface {

  /**
   * Gets whether the offer is display inclusive.
   *
   * @return bool
   *   TRUE if the offer is display inclusive, FALSE otherwise.
   */
  public function isDisplayInclusive();

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigurableInterface::defaultConfiguration public function Gets default configuration for this plugin. 11
ConfigurableInterface::getConfiguration public function Gets this plugin's configuration. 12
ConfigurableInterface::setConfiguration public function Sets the configuration for this plugin instance. 12
PluginFormInterface::buildConfigurationForm public function Form constructor. 36
PluginFormInterface::submitConfigurationForm public function Form submission handler. 32
PluginFormInterface::validateConfigurationForm public function Form validation handler. 18
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2
PromotionOfferInterface::apply public function Applies the offer to the given entity. 6
PromotionOfferInterface::clear public function Allows an offer to clean up any modifications done to the given entity. 1
PromotionOfferInterface::getEntityTypeId public function Gets the offer entity type ID. 1
ShipmentPromotionOfferInterface::isDisplayInclusive public function Gets whether the offer is display inclusive. 1