You are here

final class USPSEvents in Commerce USPS 8

Defines events for the Commerce USPS module.

Hierarchy

Expanded class hierarchy of USPSEvents

2 files declare their use of USPSEvents
USPSRateRequestBase.php in src/USPSRateRequestBase.php
USPSShipmentBase.php in src/USPSShipmentBase.php

File

src/Event/USPSEvents.php, line 8

Namespace

Drupal\commerce_usps\Event
View source
final class USPSEvents {

  /**
   * Event name to alter rate requests.
   */
  const BEFORE_RATE_REQUEST = 'commerce_usps.before_rate_request';

  /**
   * Event name to alter built shipments.
   */
  const AFTER_BUILD_SHIPMENT = 'commerce_usps.after_build_shipment';

}

Members

Namesort descending Modifiers Type Description Overrides
USPSEvents::AFTER_BUILD_SHIPMENT constant Event name to alter built shipments.
USPSEvents::BEFORE_RATE_REQUEST constant Event name to alter rate requests.