You are here

final class TaxEvents in Commerce Core 8.2

Hierarchy

Expanded class hierarchy of TaxEvents

3 files declare their use of TaxEvents
BuildZonesEventSubscriber.php in modules/tax/tests/modules/commerce_tax_test/src/EventSubscriber/BuildZonesEventSubscriber.php
LocalTaxTypeBase.php in modules/tax/src/Plugin/Commerce/TaxType/LocalTaxTypeBase.php
TaxTypeBase.php in modules/tax/src/Plugin/Commerce/TaxType/TaxTypeBase.php

File

modules/tax/src/Event/TaxEvents.php, line 5

Namespace

Drupal\commerce_tax\Event
View source
final class TaxEvents {

  /**
   * Name of the event fired when building the tax zones.
   *
   * @Event
   *
   * @see \Drupal\commerce_tax\Event\BuildZonesEvent
   */
  const BUILD_ZONES = 'commerce_tax.build_zones';

  /**
   * Name of the event fired when determining the customer's profile.
   *
   * By default the billing profile is used to determine tax type
   * applicability for each order item. Modules should use this event
   * to select a shipping profile instead, when available.
   *
   * @Event
   *
   * @see \Drupal\commerce_tax\Event\CustomerProfileEvent
   */
  const CUSTOMER_PROFILE = 'commerce_tax.customer_profile';

}

Members

Namesort descending Modifiers Type Description Overrides
TaxEvents::BUILD_ZONES constant Name of the event fired when building the tax zones.
TaxEvents::CUSTOMER_PROFILE constant Name of the event fired when determining the customer's profile.