<?php

namespace Objectiv\Plugins\Checkout\Compatibility\Gateways;

use Objectiv\Plugins\Checkout\Compatibility\Base;

class PayPalPlusCw extends Base {
	public function is_available(): bool {
		return class_exists( '\\PayPalPlusCw_Util' );
	}

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

		return $compatibility;
	}
}
