<?php
/**
 * @author      Open Source Team
 * @copyright   2022 Pagar.me (https://pagar.me)
 * @license     https://pagar.me Copyright
 *
 * @link        https://pagar.me
 */

declare( strict_types=1 );

namespace Woocommerce\Pagarme\Block\Checkout\Payment;

use Woocommerce\Pagarme\Block\Checkout\Gateway;

defined( 'ABSPATH' ) || exit;

/**
 * Class BilletAndCard
 * @package Woocommerce\Pagarme\Block\Checkout\Payment
 */
class BilletAndCard extends Gateway
{
    /**
     * @var string
     */
    protected $_template = 'templates/checkout/payment/billet-and-card';

    /**
     * @var string[]
     */
    protected $scripts = ['checkout/model/payment/order-value'];

    /**
     * @var string[]
     */
    protected $deps = [ WCMP_JS_HANDLER_BASE_NAME . 'card'];

    /**
     * @return int
     */
    public function getQtyCards()
    {
        return 1;
    }
}
