commerce_api-8.x-1.x-dev/src/Plugin/DataType/TaxNumber.php
src/Plugin/DataType/TaxNumber.php
<?php
declare(strict_types=1);
namespace Drupal\commerce_api\Plugin\DataType;
use Drupal\Core\TypedData\Plugin\DataType\Map;
/**
* @DataType(
* id = "tax_number",
* label = @Translation("Tax number"),
* description = @Translation("Tax number information."),
* definition_class = "\Drupal\commerce_api\TypedData\TaxNumberDataDefinition"
* )
*/
final class TaxNumber extends Map {
/**
* The value.
*
* @var array
*
* @note ::getValue() assumes the `value` property, but it doesn't exist.
*/
protected $value = [];
}
