CatalogVisibility.php
11 months ago
FeaturePluginCompatibility.php
7 months ago
OrderInternalStatus.php
11 months ago
OrderStatus.php
7 months ago
PaymentGatewayFeature.php
6 months ago
ProductStatus.php
11 months ago
ProductStockStatus.php
11 months ago
ProductTaxStatus.php
11 months ago
ProductType.php
11 months ago
ProductTaxStatus.php
32 lines
| 1 | <?php |
| 2 | |
| 3 | declare( strict_types = 1 ); |
| 4 | |
| 5 | namespace Automattic\WooCommerce\Enums; |
| 6 | |
| 7 | /** |
| 8 | * Enum class for all the product tax statuses. |
| 9 | */ |
| 10 | class ProductTaxStatus { |
| 11 | /** |
| 12 | * Tax status for products that are taxable. |
| 13 | * |
| 14 | * @var string |
| 15 | */ |
| 16 | public const TAXABLE = 'taxable'; |
| 17 | |
| 18 | /** |
| 19 | * Indicates that only the shipping cost should be taxed, not the product itself. |
| 20 | * |
| 21 | * @var string |
| 22 | */ |
| 23 | public const SHIPPING = 'shipping'; |
| 24 | |
| 25 | /** |
| 26 | * Tax status for products that are not taxable. |
| 27 | * |
| 28 | * @var string |
| 29 | */ |
| 30 | public const NONE = 'none'; |
| 31 | } |
| 32 |