#include #include #include namespace book_store::consumer { using namespace product; auto customer::books_bought() const noexcept -> book::size_type { return this->_books_bought; } auto customer::amount_spent() const noexcept -> price::usd { return this->_amount_spent; } auto customer::is_member() const noexcept -> bool { return this->_is_member; } auto customer::books_bought(book::size_type books_bought) noexcept -> void { this->_books_bought = books_bought; } auto customer::amount_spent(price::usd amount_spent) noexcept -> void { this->_amount_spent = amount_spent; } auto customer::is_member(bool is_member) noexcept -> void { this->_is_member = is_member; } } // namespace book_store::consumer