• File: OrderItemType.php
  • Full Path: /home/slvgwrnz/public_html/wp-content/plugins/woocommerce/src/Enums/OrderItemType.php
  • Date Modified: 05/05/2026 7:26 AM
  • File size: 640 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

declare( strict_types = 1 );

namespace Automattic\WooCommerce\Enums;

/**
 * Enum class for all the order item types.
 *
 * @since 10.8.0
 */
final class OrderItemType {
	/**
	 * Product line item type.
	 *
	 * @var string
	 */
	public const LINE_ITEM = 'line_item';

	/**
	 * Fee line item type.
	 *
	 * @var string
	 */
	public const FEE = 'fee';

	/**
	 * Shipping line item type.
	 *
	 * @var string
	 */
	public const SHIPPING = 'shipping';

	/**
	 * Tax line item type.
	 *
	 * @var string
	 */
	public const TAX = 'tax';

	/**
	 * Coupon (discount) line item type.
	 *
	 * @var string
	 */
	public const COUPON = 'coupon';
}