You are here

TaxEvents.php in Commerce Core 8.2

File

modules/tax/src/Event/TaxEvents.php
View source
<?php

namespace Drupal\commerce_tax\Event;

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';

}

Classes

Namesort descending Description
TaxEvents