java.lang.Object
jku.se.UserInvoiceData
The
UserInvoiceData
class stores basic information about a user's invoices.
It is used primarily in statistics or reporting features to display user names, emails,
and the number of invoices submitted.-
Constructor Summary
ConstructorsConstructorDescriptionUserInvoiceData
(String name, String email, int invoiceCount) Constructs a newUserInvoiceData
object with the given details. -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
int
getName()
void
setInvoiceCount
(int invoiceCount)
-
Constructor Details
-
UserInvoiceData
Constructs a newUserInvoiceData
object with the given details.- Parameters:
name
- the user's nameemail
- the user's emailinvoiceCount
- the number of invoices submitted by the user
-
-
Method Details
-
getName
-
getEmail
-
getInvoiceCount
public int getInvoiceCount() -
setInvoiceCount
public void setInvoiceCount(int invoiceCount)
-