public class Customer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LINE_ID_BUSINESS_CUST |
static java.lang.String |
LINE_ID_NON_BUSINESS_CUST |
Constructor and Description |
---|
Customer() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCompanyName() |
java.lang.String |
getFirstName() |
java.lang.String |
getLastName() |
java.lang.String |
getMiddleName() |
long |
getRegistrationId() |
int |
hashCode() |
boolean |
isBusinessCustomer() |
boolean |
isRegistered() |
boolean |
isVip() |
void |
setBusinessCustomer(boolean bussinessCustomer) |
void |
setCompanyName(java.lang.String companyName) |
void |
setFirstName(java.lang.String firstName) |
void |
setLastName(java.lang.String lastName) |
void |
setMiddleName(java.lang.String middleName) |
void |
setRegistered(boolean registered) |
void |
setRegistrationId(long registrationId) |
void |
setVip(boolean vip) |
java.lang.String |
toString() |
public static final java.lang.String LINE_ID_BUSINESS_CUST
public static final java.lang.String LINE_ID_NON_BUSINESS_CUST
public boolean isBusinessCustomer()
public void setBusinessCustomer(boolean bussinessCustomer)
public java.lang.String getCompanyName()
public void setCompanyName(java.lang.String companyName)
public java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
public boolean isRegistered()
public void setRegistered(boolean registered)
public java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
public java.lang.String getMiddleName()
public void setMiddleName(java.lang.String middleName)
public long getRegistrationId()
public void setRegistrationId(long registrationId)
public boolean isVip()
public void setVip(boolean vip)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object