You are here

CommerceTaxType.php in Commerce Core 8.2

File

modules/tax/src/Annotation/CommerceTaxType.php
View source
<?php

namespace Drupal\commerce_tax\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines the tax type plugin annotation object.
 *
 * Plugin namespace: Plugin\Commerce\TaxType.
 *
 * @Annotation
 */
class CommerceTaxType extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The tax type label.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * The tax type weight.
   *
   * Used to determine the order in which tax type plugins should run.
   *
   * @var int
   */
  public $weight = 0;

}

Classes

Namesort descending Description
CommerceTaxType Defines the tax type plugin annotation object.