<commit_before><?php

/**
 * Start Gateway Model
 *
 * @category   Start
 * @package    Start_Gateway
 * @author     <NAME> <<EMAIL>>
 */
class Start_Gateway_Model_Paymentmethod extends Mage_Payment_Model_Method_Abstract {

    protected $_code = 'gateway';
    protected $_formBlockType = 'gateway/form_gateway';
    protected $_infoBlockType = 'gateway/info_gateway';

    const REQUEST_TYPE_AUTH_CAPTURE = 'AUTH_CAPTURE';
    const REQUEST_TYPE_AUTH_ONLY = 'AUTH_ONLY';
    const REQUEST_TYPE_CAPTURE_ONLY = 'CAPTURE_ONLY';
    const REQUEST_TYPE_PRIOR_AUTH_CAPTURE = 'PRIOR_AUTH_CAPTURE';
    const PLUGIN_VERSION = '0.2';

    /**
     * Availability options
     */
    protected $_canAuthorize = true;
    protected $_canCapture = true;
    protected $_canCapturePartial = false;
    protected $_canRefund = false;
    protected $_canRefundInvoicePartial = false;
    protected $_canVoid = false;
    protected $_canUseInternal = false;
    protected $_canUseCheckout = true;
    protected $_canUseForMultishipping = false;
    protected $_canSaveCc = false;
    protected $_isInitializeNeeded = true;
    protected $_canFetchTransactionInfo = false;

    /**
     * Check refund availability
     *<commit_msg>update version to 0.2.4<commit_after><?php

/**
 * Start Gateway Model
 *
 * @category   Start
 * @package    Start_Gateway
 * @author     <NAME> <<EMAIL>>
 */
class Start_Gateway_Model_Paymentmethod extends Mage_Payment_Model_Method_Abstract {

    protected $_code = 'gateway';
    protected $_formBlockType = 'gateway/form_gateway';
    protected $_infoBlockType = 'gateway/info_gateway';

    const REQUEST_TYPE_AUTH_CAPTURE = 'AUTH_CAPTURE';
    const REQUEST_TYPE_AUTH_ONLY = 'AUTH_ONLY';
    const REQUEST_TYPE_CAPTURE_ONLY = 'CAPTURE_ONLY';
    const REQUEST_TYPE_PRIOR_AUTH_CAPTURE = 'PRIOR_AUTH_CAPTURE';
    const PLUGIN_VERSION = '0.2.4';

    /**
     * Availability options
     */
    protected $_canAuthorize = true;
    protected $_canCapture = true;
    protected $_canCapturePartial = false;
    protected $_canRefund = false;
    protected $_canRefundInvoicePartial = false;
    protected $_canVoid = false;
    protected $_canUseInternal = false;
    protected $_canUseCheckout = true;
    protected $_canUseForMultishipping = false;
    protected $_canSaveCc = false;
    protected $_isInitializeNeeded = true;
    protected $_canFetchTransactionInfo = false;

    /**
     * Check refund availability
     *
{'fraction_non_alphanumeric': 0.09109477124183006, 'fraction_numerical': 0.0032679738562091504, 'mean_word_length': 3.8495049504950494, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1083758', 'n_tokens_mistral': 759, 'n_tokens_neox': 747, 'n_words': 163}