private function _createFraud(array $response)
    {
        $model = new Fraud();
        $model->setId($response['id']);
        $model->setLivemode($response['livemode']);
        $model->setStatus($response['status']);
        $model->setCreatedAt($response['created_at']);
        $model->setUpdatedAt($response['updated_at']);
        return $model;
    }
private function _createFraud(array $response)
    {
        $model = new Fraud();
        $model->setId($response['id']);
        $model->setLivemode($response['livemode']);
        $model->setStatus($response['status']);
        $model->setCreatedAt($response['created_at']);
        $model->setUpdatedAt($response['updated_at']);
        return $model;
    }
private function _createFraud ( array $ response ) { $ model = new Fraud ( ) ; $ model -> setId ( $ response [ 'id' ] ) ; $ model -> setLivemode ( $ response [ 'livemode' ] ) ; $ model -> setStatus ( $ response [ 'status' ] ) ; $ model -> setCreatedAt ( $ response [ 'created_at' ] ) ; $ model -> setUpdatedAt ( $ response [ 'updated_at' ] ) ; return $ model ; }
Creates and fills a fraud model

@param array $response
@return Fraud
Creates and fills a fraud model