<?php
/**
* If we can't render our buttons, this Null object will be used.
*
* @package WooCommerce\PayPalCommerce\Button\Assets
*/
declare (strict_types=1);
namespace WooCommerce\PayPalCommerce\Button\Assets;
/**
* Class DisabledSmartButton
*/
class DisabledSmartButton implements \WooCommerce\PayPalCommerce\Button\Assets\SmartButtonInterface
{
/**
* Renders the necessary HTML.
*
* @return bool
*/
public function render_wrapper(): bool
{
return \true;
}
/**
* Whether the scripts should be loaded.
*/
public function should_load_ppcp_script(): bool
{
return \false;
}
/**
* Enqueues necessary scripts.
*/
public function enqueue(): void
{
}
/**
* Whether tokens can be stored or not.
*
* @return bool
*/
public function can_save_vault_token(): bool
{
return \false;
}
/**
* The configuration for the smart buttons.
*
* @return array
*/
public function script_data(): array
{
return array();
}
}