public class AdminCustomer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
accountCreated
accountCreated
|
private java.util.Date |
accountLastModified
accountLastModified
|
private AdminAddress[] |
addresses
Addresses
|
private java.util.Date |
birthDate
birthDate
|
private AdminCustomer[] |
children
The children of this customer when there is a hierarchical structure
|
private java.lang.String |
custom1
custom field
|
private java.lang.String |
custom2
custom field
|
private java.lang.String |
custom3
custom field
|
private java.lang.String |
custom4
custom field
|
private java.lang.String |
custom5
custom field
|
private java.lang.String |
custom6
custom field
|
private java.lang.String |
custom7
custom field
|
private java.lang.String |
custom8
custom field
|
private AdminAddress |
defaultAddr
defaultAddr
|
private int |
defaultAddrId
default addr id
|
private java.lang.String |
emailAddr
emailAddr
|
private boolean |
emailVerified
Customer Email Verified flag
|
private java.lang.Boolean |
enabled
Is the customer enabled.
|
private java.lang.String |
extReference1
General purpose external customer reference identifier
|
private java.lang.String |
extReference2
General purpose external customer reference identifier
|
private java.lang.String |
faxNumber
faxNumber
|
private java.lang.String |
firstName
firstName
|
private java.lang.String |
gender
gender
|
private int |
globalProdNotifier
globalProdNotifier
|
private int |
groupId
Id of the group that the customer belongs to.
|
private int |
id
id
|
private byte |
invisible
Customer visibility
|
private java.util.Date |
lastLogon
lastLogon - From customers_info
|
private java.lang.String |
lastName
lastName
|
private java.lang.String |
locale
Locale of the customer
|
private java.lang.String |
naturalPerson
naturalPerson of the customer
|
private java.lang.String |
newsletter
newsletter
|
private int |
numberOfLogons
numberOfLogons
|
private AdminOrder[] |
orders
Orders
|
private AdminCustomer |
parent
The parent of this customer when there is a hierarchical structure
|
private int |
parentId
parentId
|
private java.lang.String |
password
password
|
private java.lang.String |
privacy
Privacy accepted
|
private AdminProductNotification[] |
prodNotifications
Array of products that customer wants to be notified of
|
private AdminProduct[] |
productNotifications
Deprecated.
|
private int |
promotionMaxUse
The maximum number of times a promotion can be used
|
private int |
promotionTimesUsed
The number of times a promotion has been used
|
private AdminRole[] |
roles
The roles of this customer.
|
private java.lang.String |
taxEntity
Customer's tax entity
|
private java.lang.String |
taxExemption
Customer's tax exemption
|
private java.lang.String |
taxIdentifier
Customer's tax identifier
|
private java.lang.String |
taxIdentifier2
Customer's tax identifier2
|
private java.lang.String |
telephoneNumber
telephoneNumber
|
private java.lang.String |
telephoneNumber1
telephoneNumber1
|
private java.lang.String |
terms
Terms accepted
|
private java.lang.String |
title
title
|
private int |
type
Type of customer.
|
private java.lang.String |
username
username
|
Constructor and Description |
---|
AdminCustomer()
Constructor
|
AdminCustomer(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Customer object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getAccountCreated() |
java.util.Date |
getAccountLastModified() |
AdminAddress[] |
getAddresses() |
java.util.Date |
getBirthDate() |
AdminCustomer[] |
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() |
AdminAddress |
getDefaultAddr() |
int |
getDefaultAddrId() |
java.lang.String |
getEmailAddr() |
java.lang.Boolean |
getEnabled() |
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() |
int |
getGlobalProdNotifier() |
int |
getGroupId()
If negative, the customer belongs to no groups.
|
int |
getId() |
byte |
getInvisible() |
java.util.Date |
getLastLogon() |
java.lang.String |
getLastName() |
java.lang.String |
getLocale()
Locale of the customer
|
java.lang.String |
getNaturalPerson()
Locale of the customer
|
java.lang.String |
getNewsletter() |
int |
getNumberOfLogons() |
AdminOrder[] |
getOrders() |
AdminCustomer |
getParent()
The parent of this customer when there is a hierarchical structure
|
int |
getParentId() |
java.lang.String |
getPassword() |
java.lang.String |
getPrivacy() |
AdminProductNotification[] |
getProdNotifications() |
AdminProduct[] |
getProductNotifications()
Deprecated.
|
int |
getPromotionMaxUse() |
int |
getPromotionTimesUsed() |
AdminRole[] |
getRoles() |
java.lang.String |
getTaxEntity() |
java.lang.String |
getTaxExemption() |
java.lang.String |
getTaxIdentifier()
Customer's tax identifier
|
java.lang.String |
getTaxIdentifier2()
Customer's tax identifier2
|
java.lang.String |
getTelephoneNumber() |
java.lang.String |
getTelephoneNumber1() |
java.lang.String |
getTerms() |
java.lang.String |
getTitle() |
int |
getType() |
java.lang.String |
getUsername() |
boolean |
isEmailVerified() |
java.lang.Boolean |
isEnabled() |
void |
setAccountCreated(java.util.Date accountCreated) |
void |
setAccountLastModified(java.util.Date accountLastModified) |
void |
setAddresses(AdminAddress[] addresses) |
void |
setBirthDate(java.util.Date birthDate) |
void |
setChildren(AdminCustomer[] 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 |
setDefaultAddr(AdminAddress defaultAddr) |
void |
setDefaultAddrId(int defaultAddrId) |
void |
setEmailAddr(java.lang.String emailAddr) |
void |
setEmailVerified(boolean emailVerified) |
void |
setEnabled(java.lang.Boolean enabled) |
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) |
void |
setGlobalProdNotifier(int globalProdNotifier) |
void |
setGroupId(int groupId)
If negative, the customer belongs to no groups.
|
void |
setId(int id) |
void |
setInvisible(byte invisible) |
void |
setLastLogon(java.util.Date lastLogon) |
void |
setLastName(java.lang.String lastName) |
void |
setLocale(java.lang.String locale)
Locale of the customer
|
void |
setNaturalPerson(java.lang.String naturalPerson)
Locale of the customer
|
void |
setNewsletter(java.lang.String newsletter) |
void |
setNumberOfLogons(int numberOfLogons) |
void |
setOrders(AdminOrder[] orders) |
void |
setParent(AdminCustomer parent)
The parent of this customer when there is a hierarchical structure
|
void |
setParentId(int parentId) |
void |
setPassword(java.lang.String password) |
void |
setPrivacy(java.lang.String privacy) |
void |
setProdNotifications(AdminProductNotification[] prodNotifications) |
void |
setProductNotifications(AdminProduct[] productNotifications)
Deprecated.
|
void |
setPromotionMaxUse(int promotionMaxUse) |
void |
setPromotionTimesUsed(int promotionTimesUsed) |
void |
setRoles(AdminRole[] roles) |
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 identifier2
|
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) |
void |
setUsername(java.lang.String username) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private int id
private int parentId
private java.lang.String gender
private java.lang.String title
private java.lang.String firstName
private java.lang.String lastName
private java.lang.String username
private java.util.Date birthDate
private java.lang.String emailAddr
private AdminAddress defaultAddr
private AdminAddress[] addresses
private AdminOrder[] orders
private int defaultAddrId
private java.lang.String telephoneNumber
private java.lang.String telephoneNumber1
private java.lang.String faxNumber
private java.lang.String password
private java.lang.String newsletter
private java.util.Date lastLogon
private int numberOfLogons
private java.util.Date accountCreated
private java.util.Date accountLastModified
private int globalProdNotifier
private int groupId
private byte invisible
private boolean emailVerified
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private java.lang.String custom4
private java.lang.String custom5
private java.lang.String custom6
private java.lang.String custom7
private java.lang.String custom8
private int promotionMaxUse
private int promotionTimesUsed
@Deprecated private AdminProduct[] productNotifications
private AdminProductNotification[] prodNotifications
private int type
private java.lang.Boolean enabled
private AdminRole[] roles
private java.lang.String locale
private java.lang.String naturalPerson
private java.lang.String taxIdentifier
private java.lang.String taxIdentifier2
private java.lang.String taxExemption
private java.lang.String taxEntity
private java.lang.String extReference1
private java.lang.String extReference2
private java.lang.String terms
private java.lang.String privacy
private AdminCustomer[] children
private AdminCustomer parent
public AdminCustomer()
public AdminCustomer(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public AdminAddress getDefaultAddr()
public void setDefaultAddr(AdminAddress defaultAddr)
defaultAddr
- The defaultAddr to set.public java.lang.String getEmailAddr()
public void setEmailAddr(java.lang.String emailAddr)
emailAddr
- The emailAddr to set.public java.lang.String getFaxNumber()
public void setFaxNumber(java.lang.String faxNumber)
faxNumber
- The faxNumber to set.public java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
firstName
- The firstName to set.public java.lang.String getGender()
public void setGender(java.lang.String gender)
gender
- The gender to set.public int getId()
public void setId(int id)
id
- The id to set.public java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
lastName
- The lastName to set.public java.lang.String getNewsletter()
public void setNewsletter(java.lang.String newsletter)
newsletter
- The newsletter to set.public int getNumberOfLogons()
public void setNumberOfLogons(int numberOfLogons)
numberOfLogons
- The numberOfLogons to set.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- The password to set.public java.lang.String getTelephoneNumber()
public void setTelephoneNumber(java.lang.String telephoneNumber)
telephoneNumber
- The telephoneNumber to set.public java.util.Date getAccountCreated()
public void setAccountCreated(java.util.Date accountCreated)
accountCreated
- The accountCreated to set.public java.util.Date getAccountLastModified()
public void setAccountLastModified(java.util.Date accountLastModified)
accountLastModified
- The accountLastModified to set.public java.util.Date getBirthDate()
public void setBirthDate(java.util.Date birthDate)
birthDate
- The birthDate to set.public java.util.Date getLastLogon()
public void setLastLogon(java.util.Date lastLogon)
lastLogon
- The lastLogon to set.public int getDefaultAddrId()
public void setDefaultAddrId(int defaultAddrId)
defaultAddrId
- The defaultAddrId to set.public AdminAddress[] getAddresses()
public void setAddresses(AdminAddress[] addresses)
addresses
- The addresses to set.public int getGlobalProdNotifier()
public void setGlobalProdNotifier(int globalProdNotifier)
globalProdNotifier
- The globalProdNotifier to set.@Deprecated public AdminProduct[] getProductNotifications()
@Deprecated public void setProductNotifications(AdminProduct[] productNotifications)
productNotifications
- The productNotifications to set.public AdminOrder[] getOrders()
public void setOrders(AdminOrder[] orders)
orders
- The orders to set.public java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- The custom1 to set.public java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- The custom2 to set.public java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- The custom3 to set.public java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- The custom4 to set.public java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- The custom5 to set.public int getPromotionMaxUse()
public void setPromotionMaxUse(int promotionMaxUse)
promotionMaxUse
- The promotionMaxUse to set.public int getPromotionTimesUsed()
public void setPromotionTimesUsed(int promotionTimesUsed)
promotionTimesUsed
- The promotionTimesUsed to set.public int getType()
public void setType(int type)
type
- The type to set.public AdminRole[] getRoles()
public void setRoles(AdminRole[] roles)
roles
- The roles to set.public java.lang.Boolean isEnabled()
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled
- The enabled to set.public int getGroupId()
public void setGroupId(int groupId)
groupId
- The groupId to set.public AdminProductNotification[] getProdNotifications()
public void setProdNotifications(AdminProductNotification[] prodNotifications)
prodNotifications
- the prodNotifications to setpublic java.lang.String getLocale()
public void setLocale(java.lang.String locale)
locale
- the locale to setpublic java.lang.String getNaturalPerson()
public void setNaturalPerson(java.lang.String naturalPerson)
naturalPerson
- the naturalPerson to setpublic java.lang.String getTelephoneNumber1()
public void setTelephoneNumber1(java.lang.String telephoneNumber1)
telephoneNumber1
- the telephoneNumber1 to setpublic byte getInvisible()
public void setInvisible(byte invisible)
invisible
- the invisible to setpublic java.lang.String getTaxIdentifier()
public void setTaxIdentifier(java.lang.String taxIdentifier)
taxIdentifier
- the taxIdentifier to setpublic java.lang.String getTaxIdentifier2()
public void setTaxIdentifier2(java.lang.String taxIdentifier2)
taxIdentifier2
- the tax identifier to setpublic java.lang.String getExtReference1()
public void setExtReference1(java.lang.String extReference1)
extReference1
- the extReference1 to setpublic java.lang.String getExtReference2()
public void setExtReference2(java.lang.String extReference2)
extReference2
- the extReference2 to setpublic java.lang.String getTaxExemption()
public void setTaxExemption(java.lang.String taxExemption)
taxExemption
- the taxExemption to setpublic java.lang.String getTaxEntity()
public void setTaxEntity(java.lang.String taxEntity)
taxEntity
- the taxEntity to setpublic boolean isEmailVerified()
public void setEmailVerified(boolean emailVerified)
emailVerified
- the emailVerified to setpublic int getParentId()
public void setParentId(int parentId)
parentId
- the parentId to setpublic AdminCustomer[] getChildren()
public void setChildren(AdminCustomer[] children)
children
- the children to setpublic AdminCustomer getParent()
public void setParent(AdminCustomer parent)
parent
- the parent to setpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- the username to setpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title to setpublic java.lang.String getCustom6()
public void setCustom6(java.lang.String custom6)
custom6
- the custom6 to setpublic java.lang.String getCustom7()
public void setCustom7(java.lang.String custom7)
custom7
- the custom7 to setpublic java.lang.String getCustom8()
public void setCustom8(java.lang.String custom8)
custom8
- the custom8 to setpublic java.lang.String getTerms()
public void setTerms(java.lang.String terms)
terms
- the terms to setpublic java.lang.String getPrivacy()
public void setPrivacy(java.lang.String privacy)
privacy
- the privacy to setCopyright © 2018 DS Data Systems UK Ltd.