public interface CustomerIf
Modifier and Type | Method and Description |
---|---|
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() |
CustomerIf[] |
getChildren()
The children of this customer when there is a hierarchical structure
|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.lang.String |
getCustom6() |
java.lang.String |
getCustom7() |
java.lang.String |
getCustom8() |
CustomerGroupIf |
getCustomerGroup()
The Customer Group to which the customer belongs.
|
java.lang.Object |
getCustomObj()
Returns the transient Custom Object.
|
AddressIf |
getDefaultAddr() |
int |
getDefaultAddrId()
Identifies the default address for this customer.
|
java.lang.String |
getEmailAddr() |
java.lang.Boolean |
getEnabled()
Defines whether the customer is enabled and so whether he can login
|
java.lang.String |
getExtReference1()
General purpose external customer reference identifier
|
java.lang.String |
getExtReference2()
General purpose external customer reference identifier
|
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 |
getLastOrderStoreId() |
java.lang.String |
getLocale()
Locale of the customer
|
java.lang.String |
getNaturalPerson() |
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.
|
CustomerIf |
getParent()
The parent of this customer when there is a hierarchical structure
|
int |
getParentId()
The parent id of the customer
|
java.lang.String |
getPassword() |
java.util.Calendar |
getPasswordExpiry()
The password expiry date.
|
java.lang.String |
getPrivacy() |
ProductIf[] |
getProductNotifications()
An array of products for which the customer wants notifications.
|
SuggestionIf[] |
getSuggestions() |
java.lang.String |
getTaxEntity() |
java.lang.String |
getTaxExemption() |
java.lang.String |
getTaxIdentifier()
Customer's tax identifier
|
java.lang.String |
getTaxIdentifier2()
Customer's tax identifier 2
|
java.lang.String |
getTelephoneNumber() |
java.lang.String |
getTelephoneNumber1() |
java.lang.String |
getTerms() |
java.lang.String |
getTitle() |
int |
getType()
Type of customer.
|
java.lang.String |
getUsername() |
WishListIf[] |
getWishLists()
An array of Wish Lists belonging to the customer
|
boolean |
isChangePassword()
The customer must be forced to change his password when true
|
boolean |
isEmailVerified() |
java.lang.Boolean |
isEnabled()
Defines whether the customer is enabled and so whether he can login
|
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 |
setChangePassword(boolean changePassword)
The customer must be forced to change his password when true
|
void |
setChildren(CustomerIf[] children)
The children of this customer when there is a hierarchical structure
|
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 |
setCustom6(java.lang.String custom6) |
void |
setCustom7(java.lang.String custom7) |
void |
setCustom8(java.lang.String custom8) |
void |
setCustomerGroup(CustomerGroupIf customerGroup)
The Customer Group to which the customer belongs.
|
void |
setCustomObj(java.lang.Object customObj)
Set the transient Custom Object.
|
void |
setDefaultAddr(AddressIf defaultAddr) |
void |
setDefaultAddrId(int defaultAddrId)
Identifies the default address for this customer.
|
void |
setEmailAddr(java.lang.String emailAddr) |
void |
setEmailVerified(boolean emailVerified) |
void |
setEnabled(java.lang.Boolean enabled)
Defines whether the customer is enabled and so whether he can login
|
void |
setExtReference1(java.lang.String extReference1)
General purpose external customer reference identifier
|
void |
setExtReference2(java.lang.String extReference2)
General purpose external customer reference identifier
|
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 |
setLastOrderStoreId(java.lang.String lastOrderStoreId) |
void |
setLocale(java.lang.String locale)
Locale of the customer
|
void |
setNaturalPerson(java.lang.String naturalPerson) |
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 |
setParent(CustomerIf parent)
The parent of this customer when there is a hierarchical structure
|
void |
setParentId(int parentId)
The parent id of the customer
|
void |
setPassword(java.lang.String password) |
void |
setPasswordExpiry(java.util.Calendar passwordExpiry)
The password expiry date.
|
void |
setPrivacy(java.lang.String privacy) |
void |
setProductNotifications(ProductIf[] productNotifications)
An array of products for which the customer wants notifications.
|
void |
setSuggestions(SuggestionIf[] suggestions) |
void |
setTaxEntity(java.lang.String taxEntity) |
void |
setTaxExemption(java.lang.String taxExemption) |
void |
setTaxIdentifier(java.lang.String taxIdentifier)
Customer's tax identifier
|
void |
setTaxIdentifier2(java.lang.String taxIdentifier2)
Customer's tax identifier 2
|
void |
setTelephoneNumber(java.lang.String telephoneNumber) |
void |
setTelephoneNumber1(java.lang.String telephoneNumber1) |
void |
setTerms(java.lang.String terms) |
void |
setTitle(java.lang.String title) |
void |
setType(int type)
Type of customer.
|
void |
setUsername(java.lang.String username) |
void |
setWishLists(WishListIf[] wishLists)
An array of Wish Lists belonging to the customer
|
java.lang.Object getCustomObj()
void setCustomObj(java.lang.Object customObj)
customObj
- Sets the customObj object. This is a transient object. It does not get serialised
or written to the database and is not read or returned by the KonaKart APIs.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 setjava.lang.String getTaxIdentifier()
void setTaxIdentifier(java.lang.String taxIdentifier)
taxIdentifier
- the taxIdentifier to setjava.lang.String getTaxIdentifier2()
void setTaxIdentifier2(java.lang.String taxIdentifier2)
taxIdentifier2
- the taxIdentifier2 to setjava.lang.String getExtReference1()
void setExtReference1(java.lang.String extReference1)
extReference1
- the extReference1 to setjava.lang.String getExtReference2()
void setExtReference2(java.lang.String extReference2)
extReference2
- the extReference2 to setjava.lang.String getTaxExemption()
void setTaxExemption(java.lang.String taxExemption)
taxExemption
- the taxExemption to setjava.lang.String getTaxEntity()
void setTaxEntity(java.lang.String taxEntity)
taxEntity
- the taxEntity to setboolean isEmailVerified()
void setEmailVerified(boolean emailVerified)
emailVerified
- the emailVerified to setjava.lang.Boolean isEnabled()
java.lang.Boolean getEnabled()
void setEnabled(java.lang.Boolean enabled)
enabled
- the enabled to setint getParentId()
void setParentId(int parentId)
parentId
- the parentId to setCustomerIf[] getChildren()
void setChildren(CustomerIf[] children)
children
- the children to setCustomerIf getParent()
void setParent(CustomerIf parent)
parent
- the parent to setjava.util.Calendar getPasswordExpiry()
void setPasswordExpiry(java.util.Calendar passwordExpiry)
passwordExpiry
- the passwordExpiry to setboolean isChangePassword()
void setChangePassword(boolean changePassword)
changePassword
- the changePassword to setjava.lang.String getUsername()
void setUsername(java.lang.String username)
username
- the username to setSuggestionIf[] getSuggestions()
void setSuggestions(SuggestionIf[] suggestions)
suggestions
- the product recommendation suggestions to setjava.lang.String getNaturalPerson()
void setNaturalPerson(java.lang.String naturalPerson)
naturalPerson
- the naturalPerson to setjava.lang.String getLastOrderStoreId()
void setLastOrderStoreId(java.lang.String lastOrderStoreId)
lastOrderStoreId
- the lastOrderStoreId to setjava.lang.String getCustom6()
void setCustom6(java.lang.String custom6)
custom6
- The custom6 to set.java.lang.String getCustom7()
void setCustom7(java.lang.String custom7)
custom7
- The custom7 to set.java.lang.String getCustom8()
void setCustom8(java.lang.String custom8)
custom8
- The custom8 to set.java.lang.String getTitle()
void setTitle(java.lang.String title)
title
- the title to setjava.lang.String getPrivacy()
void setPrivacy(java.lang.String privacy)
privacy
- the privacy to setjava.lang.String getTerms()
void setTerms(java.lang.String terms)
terms
- the terms to setCopyright © 2018 DS Data Systems UK Ltd.