src/Driver/PaymentBase.php
public function charge(
        $iAmount,
        $sCurrency,
        $oData,
        $oCustomData,
        $sDescription,
        $oPayment,
        $oInvoice,
        $sSuccessUrl,
        $sFailUrl,
        $sContinueUrl
    ) {
        throw new DriverException('Driver must implement the charge() method', 1);
    }
public function charge(
        $iAmount,
        $sCurrency,
        $oData,
        $oCustomData,
        $sDescription,
        $oPayment,
        $oInvoice,
        $sSuccessUrl,
        $sFailUrl,
        $sContinueUrl
    ) {
        throw new DriverException('Driver must implement the charge() method', 1);
    }
public function charge ( $ iAmount , $ sCurrency , $ oData , $ oCustomData , $ sDescription , $ oPayment , $ oInvoice , $ sSuccessUrl , $ sFailUrl , $ sContinueUrl ) { throw new DriverException ( 'Driver must implement the charge() method' , 1 ) ; }
Initiate a payment

@param  integer   $iAmount      The payment amount
@param  string    $sCurrency    The payment currency
@param  \stdClass $oData        An array of driver data
@param  \stdClass $oCustomData  The custom data object
@param  string    $sDescription The charge description
@param  \stdClass $oPayment     The payment object
@param  \stdClass $oInvoice     The invoice object
@param  string    $sSuccessUrl  The URL to go to after successful payment
@param  string    $sFailUrl     The URL to go to after failed payment
@param  string    $sContinueUrl The URL to go to after payment is completed

@throws DriverException
@return \Nails\Invoice\Factory\ChargeResponse
Initiate a payment