You are here

public function ShipmentPromotionOfferBase::isDisplayInclusive in Commerce Shipping 8.2

Gets whether the offer is display inclusive.

Return value

bool TRUE if the offer is display inclusive, FALSE otherwise.

Overrides ShipmentPromotionOfferInterface::isDisplayInclusive

2 calls to ShipmentPromotionOfferBase::isDisplayInclusive()
ShipmentFixedAmountOff::applyToShipment in src/Plugin/Commerce/PromotionOffer/ShipmentFixedAmountOff.php
Applies the offer to the given shipment.
ShipmentPercentageOff::applyToShipment in src/Plugin/Commerce/PromotionOffer/ShipmentPercentageOff.php
Applies the offer to the given shipment.

File

src/Plugin/Commerce/PromotionOffer/ShipmentPromotionOfferBase.php, line 164

Class

ShipmentPromotionOfferBase
Provides the base class for shipment offers.

Namespace

Drupal\commerce_shipping\Plugin\Commerce\PromotionOffer

Code

public function isDisplayInclusive() {
  return $this->configuration['display_inclusive'];
}