public function charges($params = null) { if (!$params) { $params = array(); } $params['customer'] = $this->id; $charges = Conekta_Charge::all($params, $this->_apiKey); return $charges; }