|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CustomerIf
Details of a KonaKart customer.
| Method Summary | |
|---|---|
java.util.Calendar |
getAccountCreated()
When the account was created. |
java.util.Calendar |
getAccountLastModified()
|
AddressIf[] |
getAddresses()
An array containing all of the addresses defined for this customer. |
BasketIf[] |
getBasketItems()
An array of basket items for this customer. |
java.util.Calendar |
getBirthDate()
|
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
java.lang.String |
getCustom4()
|
java.lang.String |
getCustom5()
|
CustomerGroupIf |
getCustomerGroup()
The Customer Group to which the customer belongs. |
AddressIf |
getDefaultAddr()
|
int |
getDefaultAddrId()
Identifies the default address for this customer. |
java.lang.String |
getEmailAddr()
|
java.lang.String |
getFaxNumber()
|
java.lang.String |
getFirstName()
|
java.lang.String |
getGender()
Normally set to "m" or "f" . |
int |
getGlobalProdNotifier()
If set to 1, the customer is notified of all product updates. |
int |
getGroupId()
If negative, the customer belongs to no groups. |
int |
getId()
|
byte |
getInvisible()
|
java.util.Calendar |
getLastLogon()
|
java.lang.String |
getLastName()
|
java.lang.String |
getLocale()
Locale of the customer |
java.lang.String |
getNewsletter()
Set to "1" if the customer should receive the newsletter or "0" if he shouldn't. |
int |
getNumberOfLogons()
The number of times that the customer has logged in to the application. |
OrderIf[] |
getOrders()
An array of orders for this customer. |
java.lang.String |
getPassword()
|
ProductIf[] |
getProductNotifications()
An array of products for which the customer wants notifications. |
java.lang.String |
getTelephoneNumber()
|
java.lang.String |
getTelephoneNumber1()
|
int |
getType()
Type of customer. |
WishListIf[] |
getWishLists()
An array of Wish Lists belonging to the customer |
void |
setAccountCreated(java.util.Calendar accountCreated)
When the account was created. |
void |
setAccountLastModified(java.util.Calendar accountLastModified)
|
void |
setAddresses(AddressIf[] addresses)
An array containing all of the addresses defined for this customer. |
void |
setBasketItems(BasketIf[] basketItems)
An array of basket items for this customer. |
void |
setBirthDate(java.util.Calendar birthDate)
|
void |
setCustom1(java.lang.String custom1)
|
void |
setCustom2(java.lang.String custom2)
|
void |
setCustom3(java.lang.String custom3)
|
void |
setCustom4(java.lang.String custom4)
|
void |
setCustom5(java.lang.String custom5)
|
void |
setCustomerGroup(CustomerGroupIf customerGroup)
The Customer Group to which the customer belongs. |
void |
setDefaultAddr(AddressIf defaultAddr)
|
void |
setDefaultAddrId(int defaultAddrId)
Identifies the default address for this customer. |
void |
setEmailAddr(java.lang.String emailAddr)
|
void |
setFaxNumber(java.lang.String faxNumber)
|
void |
setFirstName(java.lang.String firstName)
|
void |
setGender(java.lang.String gender)
Normally set to "m" or "f" . |
void |
setGlobalProdNotifier(int globalProdNotifier)
If set to 1, the customer is notified of all product updates. |
void |
setGroupId(int groupId)
If negative, the customer belongs to no groups. |
void |
setId(int id)
|
void |
setInvisible(byte invisible)
|
void |
setLastLogon(java.util.Calendar lastLogon)
|
void |
setLastName(java.lang.String lastName)
|
void |
setLocale(java.lang.String locale)
Locale of the customer |
void |
setNewsletter(java.lang.String newsletter)
Set to "1" if the customer should receive the newsletter or "0" if he shouldn't. |
void |
setNumberOfLogons(int numberOfLogons)
The number of times that the customer has logged in to the application. |
void |
setOrders(OrderIf[] orders)
An array of orders for this customer. |
void |
setPassword(java.lang.String password)
|
void |
setProductNotifications(ProductIf[] productNotifications)
An array of products for which the customer wants notifications. |
void |
setTelephoneNumber(java.lang.String telephoneNumber)
|
void |
setTelephoneNumber1(java.lang.String telephoneNumber1)
|
void |
setType(int type)
Type of customer. |
void |
setWishLists(WishListIf[] wishLists)
An array of Wish Lists belonging to the customer |
| Method Detail |
|---|
AddressIf getDefaultAddr()
void setDefaultAddr(AddressIf defaultAddr)
defaultAddr - The defaultAddr to set.java.lang.String getEmailAddr()
void setEmailAddr(java.lang.String emailAddr)
emailAddr - The emailAddr to set.java.lang.String getFaxNumber()
void setFaxNumber(java.lang.String faxNumber)
faxNumber - The faxNumber to set.java.lang.String getFirstName()
void setFirstName(java.lang.String firstName)
firstName - The firstName to set.java.lang.String getGender()
void setGender(java.lang.String gender)
gender - The gender to set.int getId()
void setId(int id)
id - The id to set.java.lang.String getLastName()
void setLastName(java.lang.String lastName)
lastName - The lastName to set.java.lang.String getNewsletter()
void setNewsletter(java.lang.String newsletter)
newsletter - The newsletter to set.int getNumberOfLogons()
void setNumberOfLogons(int numberOfLogons)
numberOfLogons - The numberOfLogons to set.java.lang.String getPassword()
void setPassword(java.lang.String password)
password - The password to set.java.lang.String getTelephoneNumber()
void setTelephoneNumber(java.lang.String telephoneNumber)
telephoneNumber - The telephoneNumber to set.java.lang.String getTelephoneNumber1()
void setTelephoneNumber1(java.lang.String telephoneNumber1)
telephoneNumber1 - the telephoneNumber1 to setjava.util.Calendar getAccountCreated()
void setAccountCreated(java.util.Calendar accountCreated)
accountCreated - The accountCreated to set.java.util.Calendar getAccountLastModified()
void setAccountLastModified(java.util.Calendar accountLastModified)
accountLastModified - The accountLastModified to set.java.util.Calendar getBirthDate()
void setBirthDate(java.util.Calendar birthDate)
birthDate - The birthDate to set.java.util.Calendar getLastLogon()
void setLastLogon(java.util.Calendar lastLogon)
lastLogon - The lastLogon to set.BasketIf[] getBasketItems()
void setBasketItems(BasketIf[] basketItems)
basketItems - The basketItems to set.int getDefaultAddrId()
void setDefaultAddrId(int defaultAddrId)
defaultAddrId - The defaultAddrId to set.AddressIf[] getAddresses()
void setAddresses(AddressIf[] addresses)
addresses - The addresses to set.int getGlobalProdNotifier()
void setGlobalProdNotifier(int globalProdNotifier)
globalProdNotifier - The globalProdNotifier to set.ProductIf[] getProductNotifications()
void setProductNotifications(ProductIf[] productNotifications)
productNotifications - The productNotifications to set.OrderIf[] getOrders()
void setOrders(OrderIf[] orders)
orders - The orders to set.java.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1 - The custom1 to set.java.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2 - The custom2 to set.java.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3 - The custom3 to set.java.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4 - The custom4 to set.java.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5 - The custom5 to set.int getType()
void setType(int type)
type - The type to set.int getGroupId()
void setGroupId(int groupId)
groupId - The groupId to set.CustomerGroupIf getCustomerGroup()
void setCustomerGroup(CustomerGroupIf customerGroup)
customerGroup - The customerGroup to set.WishListIf[] getWishLists()
void setWishLists(WishListIf[] wishLists)
wishLists - The wishLists to set.java.lang.String getLocale()
void setLocale(java.lang.String locale)
locale - the locale to setbyte getInvisible()
void setInvisible(byte invisible)
invisible - the invisible to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||