Interface Customer
- All Superinterfaces:
BusinessObject
- All Known Implementing Classes:
CustomerBean
Interface representing a customer within the system. A customer is a user
that has established an account in the store with a user name and password.
Users who are not customers may still be able to place orders. The
"forceLogin" setting in the
appComponents.properties fille table tells
the system to accept orders only from users who are customers and have logged
into their account.
When the application needs to create an instance that implements
Customer,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"customerImplementer" setting in the appComponents.properties
file.
The default "customerImplementer" is
CustomerBean.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetCity()intgetNotes()getState()voidsetAddress1(String address1) voidsetAddress2(String address2) voidsetAutoLoginToken(String autoLoginToken) voidsetBillingAddress1(String billingAddress1) voidsetBillingAddress2(String billingAddress2) voidsetBillingCity(String billingCity) voidsetBillingCountry(String billingCountry) voidsetBillingEmail1(String billingEmail1) voidsetBillingEmail2(String billingEmail2) voidsetBillingExtra1(String billingExtra1) voidsetBillingExtra2(String billingExtra2) voidsetBillingExtra3(String billingExtra3) voidsetBillingExtra4(String billingExtra4) voidsetBillingExtra5(String billingExtra5) voidsetBillingFirstName(String billingFirstName) voidsetBillingLastName(String billingLastName) voidsetBillingNotes(String billingNotes) voidsetBillingOrganization(String billingOrganization) voidsetBillingPhone1(String billingPhone1) voidsetBillingPhone2(String billingPhone2) voidsetBillingPostalCode(String billingPostalCode) voidsetBillingState(String billingState) voidsetCanUsePO(boolean canUsePO) voidsetCimProfileID(String cimProfileID) voidvoidsetCountry(String country) voidsetCreated(String created) voidsetCustomerAddressCollection(Collection customerAddressCollection) voidsetCustomerID(int customerID) voidsetCustomerWishLists(Collection customerWishLists) voidsetDecryptedPassword(String decryptedPassword) voidvoidvoidvoidvoidvoidvoidvoidsetFirstName(String firstName) voidsetFormattedCreated(String formattedCreated) voidsetFormattedLastLogin(String formattedLastLogin) voidsetLastLogin(String lastLogin) voidsetLastName(String lastName) voidsetLockedOutUntil(String lockedOutUntil) voidvoidsetNumberOfFailedLogins(Integer numberOfFailedLogins) voidsetOrderHistory(Collection orderHistory) voidsetOrders(Collection orders) voidsetOrganization(String organization) voidsetPassword(String password) voidsetPasswordExpires(String passwordExpires) voidsetPasswordToken(String passwordToken) voidsetPasswordTokenDate(String passwordTokenDate) voidvoidvoidsetPostalCode(String postalCode) voidsetPreviousPasswords(String previousPasswords) voidvoidvoidsetUserName(String userName) Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Method Details
-
getCustomerID
int getCustomerID() -
setCustomerID
void setCustomerID(int customerID) -
getUserName
String getUserName() -
setUserName
-
getDecryptedPassword
String getDecryptedPassword() -
setDecryptedPassword
-
getPassword
String getPassword() -
setPassword
-
getCreated
String getCreated() -
setCreated
-
getLastLogin
String getLastLogin() -
setLastLogin
-
getFormattedCreated
String getFormattedCreated() -
setFormattedCreated
-
getFormattedLastLogin
String getFormattedLastLogin() -
setFormattedLastLogin
-
getStatus
String getStatus() -
setStatus
-
getFirstName
String getFirstName() -
setFirstName
-
getLastName
String getLastName() -
setLastName
-
getOrganization
String getOrganization() -
setOrganization
-
getAddress1
String getAddress1() -
setAddress1
-
getAddress2
String getAddress2() -
setAddress2
-
getCity
String getCity() -
setCity
-
getState
String getState() -
setState
-
getCountry
String getCountry() -
setCountry
-
getPostalCode
String getPostalCode() -
setPostalCode
-
getPhone1
String getPhone1() -
setPhone1
-
getPhone2
String getPhone2() -
setPhone2
-
getEmail1
String getEmail1() -
setEmail1
-
getEmail2
String getEmail2() -
setEmail2
-
getExtra1
String getExtra1() -
setExtra1
-
getExtra2
String getExtra2() -
setExtra2
-
getExtra3
String getExtra3() -
setExtra3
-
getExtra4
String getExtra4() -
setExtra4
-
getExtra5
String getExtra5() -
setExtra5
-
getNotes
String getNotes() -
setNotes
-
getAutoLoginToken
String getAutoLoginToken() -
setAutoLoginToken
-
getCustomerAddressCollection
Collection getCustomerAddressCollection() -
setCustomerAddressCollection
-
getBillingFirstName
String getBillingFirstName() -
setBillingFirstName
-
getBillingLastName
String getBillingLastName() -
setBillingLastName
-
getBillingOrganization
String getBillingOrganization() -
setBillingOrganization
-
getBillingAddress1
String getBillingAddress1() -
setBillingAddress1
-
getBillingAddress2
String getBillingAddress2() -
setBillingAddress2
-
getBillingCity
String getBillingCity() -
setBillingCity
-
getBillingState
String getBillingState() -
setBillingState
-
getBillingCountry
String getBillingCountry() -
setBillingCountry
-
getBillingPostalCode
String getBillingPostalCode() -
setBillingPostalCode
-
getBillingPhone1
String getBillingPhone1() -
setBillingPhone1
-
getBillingPhone2
String getBillingPhone2() -
setBillingPhone2
-
getBillingEmail1
String getBillingEmail1() -
setBillingEmail1
-
getBillingEmail2
String getBillingEmail2() -
setBillingEmail2
-
getBillingExtra1
String getBillingExtra1() -
setBillingExtra1
-
getBillingExtra2
String getBillingExtra2() -
setBillingExtra2
-
getBillingExtra3
String getBillingExtra3() -
setBillingExtra3
-
getBillingExtra4
String getBillingExtra4() -
setBillingExtra4
-
getBillingExtra5
String getBillingExtra5() -
setBillingExtra5
-
getBillingNotes
String getBillingNotes() -
setBillingNotes
-
getFirstAddress
CustomerAddress getFirstAddress() -
getOrderHistory
Collection getOrderHistory() -
setOrderHistory
-
getOrders
Collection getOrders() -
setOrders
-
getCustomerWishLists
Collection getCustomerWishLists() -
setCustomerWishLists
-
getCimProfileID
String getCimProfileID() -
setCimProfileID
-
getPasswordToken
String getPasswordToken() -
setPasswordToken
-
getPasswordTokenDate
String getPasswordTokenDate() -
setPasswordTokenDate
-
getCanUsePO
boolean getCanUsePO() -
setCanUsePO
void setCanUsePO(boolean canUsePO) -
getPasswordExpires
String getPasswordExpires() -
setPasswordExpires
-
getNumberOfFailedLogins
Integer getNumberOfFailedLogins() -
setNumberOfFailedLogins
-
getLockedOutUntil
String getLockedOutUntil() -
setLockedOutUntil
-
getPreviousPasswords
String getPreviousPasswords() -
setPreviousPasswords
-