Customer

public class Customer implements Serializable

Details of a customer who has ordered Products.

Fields

email

private String email

Email address of the customer. Must be a valid email address and must not be empty.

name

private String name

Name of the customer as given in the shopping cart. Must not be empty.

serialVersionUID

private static final long serialVersionUID