#include "article.h"

Article::Article(std::string _name, double _grossPrice,double _VAT)
{
  grossPrice=_grossPrice;
  VAT=_VAT;
  name = _name;
}

// Returns gross price of the article
double Article::getGrossPrice()
{
  return grossPrice;
}

double Article::getVAT()
{
  return VAT;
}

// Returns net price of the article
double Article::getNetPrice()
{
  return grossPrice * VAT;
}

std::string Article::getName()
{
  return name;
}
