public Customer(CustomerId customerId, CustomerName customerName) { this.customerId = customerId; this.customerName = customerName; }
public static Customer SignUp(CustomerId id, CustomerName name) { return(new Customer(id, name)); }