public class Receipt extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private double |
amount |
private long |
customerId |
private Date |
date |
private long |
saleId |
private static long |
serialVersionUID |
Constructor and Description |
---|
Receipt(long saleId,
long customerId,
Date date,
BigDecimal amount) |
Receipt(long saleId,
long customerId,
Date date,
double amount) |
Modifier and Type | Method and Description |
---|---|
double |
getAmount() |
long |
getCustomerId() |
Date |
getDate() |
long |
getSaleId() |
String |
toString() |
private static final long serialVersionUID
private long saleId
private long customerId
private Date date
private double amount
public Receipt(long saleId, long customerId, Date date, BigDecimal amount)
public Receipt(long saleId, long customerId, Date date, double amount)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.