private function classAndValue($values, string $currency = null, bool $asFloat = true): array
    {
        $className = $this->getClass($currency);

        $value = is_array($values) ? $this->getValue($values, $currency) : $values;

        if ($asFloat && $this->provider->config->value_as_integer) {
            $value = $value / 100;
        }

        return [$className, $value];
    }
private function classAndValue($values, string $currency = null, bool $asFloat = true): array
    {
        $className = $this->getClass($currency);

        $value = is_array($values) ? $this->getValue($values, $currency) : $values;

        if ($asFloat && $this->provider->config->value_as_integer) {
            $value = $value / 100;
        }

        return [$className, $value];
    }
private function classAndValue ( $ values , string $ currency = null , bool $ asFloat = true ) : array { $ className = $ this -> getClass ( $ currency ) ; $ value = is_array ( $ values ) ? $ this -> getValue ( $ values , $ currency ) : $ values ; if ( $ asFloat && $ this -> provider -> config -> value_as_integer ) { $ value = $ value / 100 ; } return [ $ className , $ value ] ; }
Get class and value.

@param  string|array $values
@param  string|null $currency
@param  bool $asFloat
@return array
Get class and value .