public function toOptionArray()
    {
        $return = [];

        $paymentMethodCodes = $this->_installmentsHelper->getAllInstallmentPaymentMethodCodes();
        foreach ($paymentMethodCodes as $paymentMethodCode) {
            $return[] = [
                'value' => $paymentMethodCode,
                'label' => ucfirst(str_replace('_', ' ', $paymentMethodCode))
            ];
        }
        return $return;
    }
public function toOptionArray()
    {
        $return = [];

        $paymentMethodCodes = $this->_installmentsHelper->getAllInstallmentPaymentMethodCodes();
        foreach ($paymentMethodCodes as $paymentMethodCode) {
            $return[] = [
                'value' => $paymentMethodCode,
                'label' => ucfirst(str_replace('_', ' ', $paymentMethodCode))
            ];
        }
        return $return;
    }
public function toOptionArray ( ) { $ return = [ ] ; $ paymentMethodCodes = $ this -> _installmentsHelper -> getAllInstallmentPaymentMethodCodes ( ) ; foreach ( $ paymentMethodCodes as $ paymentMethodCode ) { $ return [ ] = [ 'value' => $ paymentMethodCode , 'label' => ucfirst ( str_replace ( '_' , ' ' , $ paymentMethodCode ) ) ] ; } return $ return ; }
Returns payment methods available for installment calculation
The methods must be declared...
@return array Format: array(array('value' => '<value>', 'label' => '<label>'), ...)
Returns payment methods available for installment calculation The methods must be declared ...