public class Customer
extends java.lang.Object
Constructor and Description |
---|
Customer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Returns the id of the customer.
|
java.lang.String |
getName()
Returns the name of the customer.
|
java.lang.String |
getPostalCode()
Returns the postalcode of the town the customer lives.
|
java.lang.String |
getStreet()
Returns the street the customer lives.
|
java.lang.String |
getTown()
Returns the town the customer lives.
|
void |
setId(java.lang.String id)
Sets the id of the customer.
|
void |
setName(java.lang.String name)
Sets the name of the customer.
|
void |
setPostalCode(java.lang.String postalCode)
Sets the postalcode of the town the customer lives.
|
void |
setStreet(java.lang.String street)
Sets the street the customer lives.
|
void |
setTown(java.lang.String town)
Sets the town the customer lives.
|
public java.lang.String getId()
public void setId(java.lang.String id)
id
- The id of the customer.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the customer.public java.lang.String getPostalCode()
public void setPostalCode(java.lang.String postalCode)
postalCode
- The postalcode of the town the customer lives.public java.lang.String getStreet()
public void setStreet(java.lang.String street)
street
- The street of the customer lives.public java.lang.String getTown()
public void setTown(java.lang.String town)
town
- The town the customer lives.