Customer

public class Customer

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.