File: //var/www/html/ielts-store/wp-content/plugins/automatewoo/includes/Rules/Order_Item_Tax_Total.php
<?php
namespace AutomateWoo\Rules;
defined( 'ABSPATH' ) || exit;
/**
 * Class Order_Item_Tax_Total
 *
 * @since 4.9.0
 */
class Order_Item_Tax_Total extends Order_Item_Total {
	/**
	 * Init the rule.
	 */
	public function init() {
		$this->title = __( 'Order Line Item - Tax Total', 'automatewoo' );
	}
	/**
	 * Validate the rule.
	 *
	 * @param \WC_Order_Item_Product $item
	 * @param string                 $compare
	 * @param string                 $value
	 *
	 * @return bool
	 */
	public function validate( $item, $compare, $value ) {
		return $this->validate_number( $item->get_total_tax(), $compare, $value );
	}
}