public function request($inputs)
    {
        $result = $this->restCall('PaymentRequest.json', $inputs);

        if ($result['Status'] == 100 || $result['Status'] == 101) {
            return ['Authority' => $result['Authority']];
        } else {
            return ['error' => $result['Status']];
        }
    }
public function request($inputs)
    {
        $result = $this->restCall('PaymentRequest.json', $inputs);

        if ($result['Status'] == 100 || $result['Status'] == 101) {
            return ['Authority' => $result['Authority']];
        } else {
            return ['error' => $result['Status']];
        }
    }
public function request ( $ inputs ) { $ result = $ this -> restCall ( 'PaymentRequest.json' , $ inputs ) ; if ( $ result [ 'Status' ] == 100 || $ result [ 'Status' ] == 101 ) { return [ 'Authority' => $ result [ 'Authority' ] ] ; } else { return [ 'error' => $ result [ 'Status' ] ] ; } }
request driver.

@param $inputs

@return array
request driver .