You are here

constant TaxEvents::CUSTOMER_PROFILE in Commerce Core 8.2

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.

See also

\Drupal\commerce_tax\Event\CustomerProfileEvent

File

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

Class

TaxEvents

Namespace

Drupal\commerce_tax\Event

Code

const CUSTOMER_PROFILE = 'commerce_tax.customer_profile';