    public function get_discount_value()
    {
        $data = $this->couponCodeGetDataFromSession();


        if (empty($data)) {
            return false;
        }

        if (!isset($data['discount_value'])) {
            return false;
        }

        if (!isset($data['total_amount'])) {
            return false;
        }

        $apply_code = false;
        if ($this->sum() >= $data['total_amount']) {
            $apply_code = true;
        }

        if ($apply_code) {
            return floatval($data['discount_value']);
        }

        return false;
    }
NVD is only using a subset of CWE for mapping instead of the entire CWE, and the weakness type is not covered by that subset.