original_string: public function validateValueFixedPriceRule($value)
      {
          $field = 'value';
          $label = $this->translation->text('Value');
  
          if (!is_numeric($value)) {
              $this->setErrorNumeric($field, $label);
              return false;
          }
  
          if (strlen($value) > 8) {
              $this->setErrorInvalid($field, $label);
              return false;
          }
  
          return true;
      }
code: public function validateValueFixedPriceRule($value)
      {
          $field = 'value';
          $label = $this->translation->text('Value');
  
          if (!is_numeric($value)) {
              $this->setErrorNumeric($field, $label);
              return false;
          }
  
          if (strlen($value) > 8) {
              $this->setErrorInvalid($field, $label);
              return false;
          }
  
          return true;
      }
code_tokens: public function validateValueFixedPriceRule ( $ value ) { $ field = 'value' ; $ label = $ this -> translation -> text ( 'Value' ) ; if ( ! is_numeric ( $ value ) ) { $ this -> setErrorNumeric ( $ field , $ label ) ; return false ; } if ( strlen ( $ value ) > 8 ) { $ this -> setErrorInvalid ( $ field , $ label ) ; return false ; } return true ; }
docstring: Validates the value of fixed type
  @param string $value
  @return boolean
docstring_tokens: Validates the value of fixed type