yf_payment_api__provider_test class

Fileplugins/payment/classes/yf_payment_api__provider_test.class.php
Use_class('payment_api__provider_test')
Not loaded by the docs: it runs code outside its class (_class on line 3). Read the source instead.

<?php

_class('payment_api__provider');

class yf_payment_api__provider_test extends yf_payment_api__provider
{
    public $IS_DEPOSITION = true;
    // public $IS_PAYMENT    = true;

    public $service_allow = [
        'Test',
    ];

    public function _init()
    {
        if ( ! $this->ENABLE) {
            return  null;
        }
        $allow = $this->allow();
        if ( ! $allow) {
            return  false;
        }
        parent::_init();
    }
}