<?php

namespace Objectiv\Plugins\Checkout\Compatibility\Plugins;

use Objectiv\Plugins\Checkout\Compatibility\Base;

class CO2OK extends Base {
	public function is_available(): bool {
		return class_exists( '\\co2ok_plugin_woocommerce\\Co2ok_Plugin' );
	}

	function typescript_class_and_params( array $compatibility ): array {
		$compatibility[] = array(
			'class'  => 'CO2OK',
			'params' => array(),
		);

		return $compatibility;
	}
}
