public function validate() {
    $arrErrors = array();

    $arrErrors = $this->validateFields();

    if (sizeof($arrErrors) > 0) {
      foreach ($arrErrors as $error) {
        $this->clientErrorMessage .= $error . " * ";
      }
      return false;
    }

    return true;
  }
public function validate() {
    $arrErrors = array();

    $arrErrors = $this->validateFields();

    if (sizeof($arrErrors) > 0) {
      foreach ($arrErrors as $error) {
        $this->clientErrorMessage .= $error . " * ";
      }
      return false;
    }

    return true;
  }
public function validate ( ) { $ arrErrors = array ( ) ; $ arrErrors = $ this -> validateFields ( ) ; if ( sizeof ( $ arrErrors ) > 0 ) { foreach ( $ arrErrors as $ error ) { $ this -> clientErrorMessage .= $ error . " * " ; } return false ; } return true ; }
Validate the current transaction data.

@return boolean True if transaction data are valid, false otherwise
Validate the current transaction data .