@Entity public class CustomerImpl extends Object implements Customer, AdminMainEntity
Modifier and Type | Class and Description |
---|---|
static class |
CustomerImpl.Presentation |
Modifier and Type | Field and Description |
---|---|
protected boolean |
anonymous |
protected Auditable |
auditable |
protected String |
challengeAnswer |
protected ChallengeQuestion |
challengeQuestion |
protected boolean |
cookied |
protected List<CustomerAddress> |
customerAddresses |
protected Map<String,CustomerAttribute> |
customerAttributes |
protected Locale |
customerLocale |
protected List<CustomerPayment> |
customerPayments |
protected List<CustomerPhone> |
customerPhones |
protected Boolean |
deactivated |
protected String |
emailAddress |
protected String |
firstName |
protected Long |
id |
protected String |
lastName |
protected boolean |
loggedIn |
protected String |
password |
protected Boolean |
passwordChangeRequired |
protected Boolean |
receiveEmail |
protected Boolean |
registered |
protected String |
taxExemptionCode |
protected String |
unencodedChallengeAnswer |
protected String |
unencodedPassword |
protected String |
username |
MAIN_ENTITY_NAME_PROPERTY
Constructor and Description |
---|
CustomerImpl() |
protected Long id
protected Auditable auditable
protected String username
protected String password
protected String emailAddress
protected String firstName
protected String lastName
protected ChallengeQuestion challengeQuestion
protected String challengeAnswer
protected Boolean passwordChangeRequired
protected Boolean receiveEmail
protected Boolean registered
protected Boolean deactivated
protected Locale customerLocale
protected Map<String,CustomerAttribute> customerAttributes
protected List<CustomerAddress> customerAddresses
protected List<CustomerPhone> customerPhones
protected List<CustomerPayment> customerPayments
protected String taxExemptionCode
protected String unencodedPassword
protected String unencodedChallengeAnswer
protected boolean anonymous
protected boolean cookied
protected boolean loggedIn
public String getUsername()
getUsername
in interface Customer
public void setUsername(String username)
setUsername
in interface Customer
public String getPassword()
getPassword
in interface Customer
public void setPassword(String password)
setPassword
in interface Customer
public boolean isPasswordChangeRequired()
isPasswordChangeRequired
in interface Customer
public void setPasswordChangeRequired(boolean passwordChangeRequired)
setPasswordChangeRequired
in interface Customer
public String getFirstName()
getFirstName
in interface Customer
public void setFirstName(String firstName)
setFirstName
in interface Customer
public String getLastName()
getLastName
in interface Customer
public void setLastName(String lastName)
setLastName
in interface Customer
public String getEmailAddress()
getEmailAddress
in interface Customer
public void setEmailAddress(String emailAddress)
setEmailAddress
in interface Customer
public ChallengeQuestion getChallengeQuestion()
getChallengeQuestion
in interface Customer
public void setChallengeQuestion(ChallengeQuestion challengeQuestion)
setChallengeQuestion
in interface Customer
public String getChallengeAnswer()
getChallengeAnswer
in interface Customer
public void setChallengeAnswer(String challengeAnswer)
setChallengeAnswer
in interface Customer
public String getUnencodedPassword()
getUnencodedPassword
in interface Customer
public void setUnencodedPassword(String unencodedPassword)
setUnencodedPassword
in interface Customer
public boolean isReceiveEmail()
isReceiveEmail
in interface Customer
public void setReceiveEmail(boolean receiveEmail)
setReceiveEmail
in interface Customer
public boolean isRegistered()
isRegistered
in interface Customer
public void setRegistered(boolean registered)
setRegistered
in interface Customer
public String getUnencodedChallengeAnswer()
getUnencodedChallengeAnswer
in interface Customer
public void setUnencodedChallengeAnswer(String unencodedChallengeAnswer)
setUnencodedChallengeAnswer
in interface Customer
public Auditable getAuditable()
getAuditable
in interface Customer
public void setAuditable(Auditable auditable)
setAuditable
in interface Customer
public boolean isAnonymous()
isAnonymous
in interface Customer
public boolean isLoggedIn()
isLoggedIn
in interface Customer
public void setAnonymous(boolean anonymous)
setAnonymous
in interface Customer
public void setCookied(boolean cookied)
setCookied
in interface Customer
public void setLoggedIn(boolean loggedIn)
setLoggedIn
in interface Customer
public Locale getCustomerLocale()
getCustomerLocale
in interface Customer
public void setCustomerLocale(Locale customerLocale)
setCustomerLocale
in interface Customer
public Map<String,CustomerAttribute> getCustomerAttributes()
getCustomerAttributes
in interface Customer
public void setCustomerAttributes(Map<String,CustomerAttribute> customerAttributes)
setCustomerAttributes
in interface Customer
public boolean isDeactivated()
Customer
isDeactivated
in interface Customer
public void setDeactivated(boolean deactivated)
Customer
setDeactivated
in interface Customer
public List<CustomerAddress> getCustomerAddresses()
getCustomerAddresses
in interface Customer
public void setCustomerAddresses(List<CustomerAddress> customerAddresses)
setCustomerAddresses
in interface Customer
public List<CustomerPhone> getCustomerPhones()
getCustomerPhones
in interface Customer
public void setCustomerPhones(List<CustomerPhone> customerPhones)
setCustomerPhones
in interface Customer
public List<CustomerPayment> getCustomerPayments()
getCustomerPayments
in interface Customer
public void setCustomerPayments(List<CustomerPayment> customerPayments)
setCustomerPayments
in interface Customer
public String getMainEntityName()
getMainEntityName
in interface AdminMainEntity
public String getTaxExemptionCode()
getTaxExemptionCode
in interface Customer
public void setTaxExemptionCode(String exemption)
setTaxExemptionCode
in interface Customer
Copyright © 2014. All rights reserved.