geldscheintyp.cpp 416 B
#include "geldscheintyp.h"
geldscheintyp::geldscheintyp(const std::string& typ, int nummer) : scheintyp(typ), anzahl(nummer) {}
std::string geldscheintyp::getScheintyp() const {
return scheintyp;
}
int geldscheintyp::getAnzahl() const {
return anzahl;
}
void geldscheintyp::setScheintyp(const std::string& typ) {
scheintyp = typ;
}
void geldscheintyp::setAnzahl(int nummer) {
anzahl = nummer;
}