<?php

require_once ('Base.php');

/**
 * Paymill API wrapper for transactions resource
 */
class Services_Paymill_Preauthorizations extends Services_Paymill_Transactions
{
    /**
     * {@inheritDoc}
     */
    protected $_serviceResource = 'preauthorizations/';

    /**
     * General REST PUT verb
     * Update resource item
     *
     * @param array $itemData
     *
     * @return array item updated or null
     */
    public function update(array $itemData = array())
    {
        throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404");
    }

    /**
     * General REST DELETE verb
     * Delete or inactivate/cancel resource item
     * 
     * @param string $clientId
     *
     * @return array item deleted
     */
    public function delete($clientId = null)
    {
        throw new Services_Paymill_Exception( __CLASS__ . " does not support " . __METHOD__, "404");
    }
}
<?php

require_once ('Base.php');

/**
 * Paymill API wrapper for transactions resource
 */
class Services_Paymill_Preauthorizations extends Services_Paymill_Transactions
{
    /**
     * {@inheritDoc}
     */
    protected $_serviceResource = 'preauthorizations/';
}
Remove duplicate methods from preauth service
Remove duplicate methods from preauth service
