S3_Cpp/Aufg8/ProductSale.h

34 lines
576 B
C++

//
// Created by DH10MBO on 21.11.2024.
//
#ifndef PRODUCTSALE_H
#define PRODUCTSALE_H
#include <string>
class ProductSale {
public:
std::string region;
std::string country;
std::string itemType;
std::string salesChannel;
std::string orderPriority;
std::string orderDate;
std::string orderId;
std::string shipDate;
int unitsSold;
double unitPrice;
double unitCost;
double totalRevenue;
double totalCost;
double totalProfit;
ProductSale(std::string line);
std::string toString();
};
#endif //PRODUCTSALE_H