We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

RecurringType.php 1.45 KB
<?php
/**
 *                       ######
 *                       ######
 * ############    ####( ######  #####. ######  ############   ############
 * #############  #####( ######  #####. ######  #############  #############
 *        ######  #####( ######  #####. ######  #####  ######  #####  ######
 * ###### ######  #####( ######  #####. ######  #####  #####   #####  ######
 * ###### ######  #####( ######  #####. ######  #####          #####  ######
 * #############  #############  #############  #############  #####  ######
 *  ############   ############  #############   ############  #####  ######
 *                                      ######
 *                               #############
 *                               ############
 *
 * Adyen Payment module (https://www.adyen.com/)
 *
 * Copyright (c) 2015 Adyen BV (https://www.adyen.com/)
 * See LICENSE.txt for license details.
 *
 * Author: Adyen <magento@adyen.com>
 */

namespace Adyen\Payment\Model;

class RecurringType
{

    const NONE = '';
    const ONECLICK = 'One-click';
    const ONECLICK_RECURRING = 'One-click,Recurring';
    const RECURRING = 'Recurring';

    /**
     * @var array
     */
    protected $_allowedRecurringTypesForListRecurringCall = [
        self::ONECLICK,
        self::RECURRING
    ];

    /**
     * @return array
     */
    public function getAllowedRecurringTypesForListRecurringCall()
    {
        return $this->_allowedRecurringTypesForListRecurringCall;
    }
}