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];
    }