/**
  * {@inheritdoc}
  */
 public function getQuery($apiQueryName)
 {
     $queryClass = __NAMESPACE__ . '\\' . String::camelize($apiQueryName) . 'Query';
     if (class_exists($queryClass, true)) {
         return $this->instantiateQuery($queryClass, $apiQueryName);
     }
     throw new RuntimeException("Unknown query class '{$queryClass}' for query with name '{$apiQueryName}'");
 }
 /**
  * {@inheritdoc}
  */
 public function getCallback($callbackType)
 {
     $callbackClass = __NAMESPACE__ . '\\' . String::camelize($callbackType) . 'Callback';
     if (class_exists($callbackClass, true)) {
         return $this->instantiateCallback($callbackClass, $callbackType);
     }
     if (in_array($callbackType, static::$allowedPaynetEasyCallbackTypes)) {
         return $this->instantiateCallback(__NAMESPACE__ . '\\PaynetEasyCallback', $callbackType);
     }
     throw new RuntimeException("Unknown callback class '{$callbackClass}' for callback with type '{$callbackType}'");
 }
 /**
  * Get property setter name by input array field name
  *
  * @param       string      $fieldName          Input array field name
  *
  * @return      string                          Property setter name
  */
 protected function getPropertyByField($fieldName)
 {
     return String::camelize($fieldName);
 }