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 TypeMethodDescriptionboolean
getCity()
int
getNotes()
getState()
void
setAddress1
(String address1) void
setAddress2
(String address2) void
setAutoLoginToken
(String autoLoginToken) void
setBillingAddress1
(String billingAddress1) void
setBillingAddress2
(String billingAddress2) void
setBillingCity
(String billingCity) void
setBillingCountry
(String billingCountry) void
setBillingEmail1
(String billingEmail1) void
setBillingEmail2
(String billingEmail2) void
setBillingExtra1
(String billingExtra1) void
setBillingExtra2
(String billingExtra2) void
setBillingExtra3
(String billingExtra3) void
setBillingExtra4
(String billingExtra4) void
setBillingExtra5
(String billingExtra5) void
setBillingFirstName
(String billingFirstName) void
setBillingLastName
(String billingLastName) void
setBillingNotes
(String billingNotes) void
setBillingOrganization
(String billingOrganization) void
setBillingPhone1
(String billingPhone1) void
setBillingPhone2
(String billingPhone2) void
setBillingPostalCode
(String billingPostalCode) void
setBillingState
(String billingState) void
setCanUsePO
(boolean canUsePO) void
setCimProfileID
(String cimProfileID) void
void
setCountry
(String country) void
setCreated
(String created) void
setCustomerAddressCollection
(Collection customerAddressCollection) void
setCustomerID
(int customerID) void
setCustomerWishLists
(Collection customerWishLists) void
setDecryptedPassword
(String decryptedPassword) void
void
void
void
void
void
void
void
setFirstName
(String firstName) void
setFormattedCreated
(String formattedCreated) void
setFormattedLastLogin
(String formattedLastLogin) void
setLastLogin
(String lastLogin) void
setLastName
(String lastName) void
setLockedOutUntil
(String lockedOutUntil) void
void
setNumberOfFailedLogins
(Integer numberOfFailedLogins) void
setOrderHistory
(Collection orderHistory) void
setOrders
(Collection orders) void
setOrganization
(String organization) void
setPassword
(String password) void
setPasswordExpires
(String passwordExpires) void
setPasswordToken
(String passwordToken) void
setPasswordTokenDate
(String passwordTokenDate) void
void
void
setPostalCode
(String postalCode) void
setPreviousPasswords
(String previousPasswords) void
void
void
setUserName
(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
-