<?php

namespace FiloBlu\Rma\Model\Payment;

use Magento\Payment\Model\Method\AbstractMethod;
use Magento\Quote\Api\Data\CartInterface;

/**
 *
 */
class ChangeSizePay extends AbstractMethod
{
    /** @var string  */
    const PAYMENT_CODE = 'changesizepay';

    /**
     * @var string
     */
    protected $_code = 'changesizepay';

    /**
     * @var bool
     */
    protected $_isOffline = true;

    /**
     * Method instance setting
     *
     * @var bool
     */
    protected $_canUseCheckout = false;

    /**
     * Method instance setting
     *
     * @var bool
     */
    protected $_canUseInternal = true;

    /**
     * @param CartInterface|null $quote
     * @return bool
     */
    public function isAvailable(CartInterface $quote = null) {
        return true;
    }
}
