public class AdminCustomerRegistration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
addrEmail
addr email address field
|
private java.lang.String |
addressCustom1
custom field
|
private java.lang.String |
addressCustom2
custom field
|
private java.lang.String |
addressCustom3
custom field
|
private java.lang.String |
addressCustom4
custom field
|
private java.lang.String |
addressCustom5
custom field
|
private java.lang.String |
addrTelephone
addr telephone number field
|
private java.lang.String |
addrTelephone1
addr telephone number 1 field
|
private java.util.Date |
birthDate
birthDate
|
private java.lang.String |
city
city
|
private java.lang.String |
company
company
|
private int |
countryId
countryId
|
private java.lang.String |
customerCustom1
custom field
|
private java.lang.String |
customerCustom2
custom field
|
private java.lang.String |
customerCustom3
custom field
|
private java.lang.String |
customerCustom4
custom field
|
private java.lang.String |
customerCustom5
custom field
|
private java.lang.String |
customerCustom6
custom field
|
private java.lang.String |
customerCustom7
custom field
|
private java.lang.String |
customerCustom8
custom field
|
private boolean |
dontEncryptPassword
Don't encrypt password.
|
private java.lang.String |
emailAddr
emailAddr
|
private boolean |
emailVerified
Customer Email Verified flag
|
private int |
enabled
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 |
groupId
GroupId of customer
|
private boolean |
invisible
Customer visibility
|
private java.lang.String |
lastName
lastName
|
private java.lang.String |
locale
Locale of the customer
|
private java.lang.String |
naturalPerson
natural person or company
|
private java.lang.String |
newsletter
newsletter
|
private int |
parentId
The parent id of this customer can be set during registration
|
private java.lang.String |
password
password
|
private java.lang.String |
postcode
postcode
|
private java.lang.String |
privacy
Privacy accepted
|
private AdminProductNotification[] |
prodNotifications
prodNotifications - usually null for normal Customer Registrations but can contain an array
of product notifications for customers being imported.
|
private int |
productNotifications
Deprecated.
|
private java.lang.String |
state
state
|
private java.lang.String |
streetAddress
streetAddress
|
private java.lang.String |
streetAddress1
streetAddress1
|
private java.lang.String |
suburb
suburb
|
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 identifier 2
|
private boolean |
telephone1Unique
When set to true, the registration will throw an exception if a customer already exists with
the same telephone1 number
|
private java.lang.String |
telephoneNumber
telephoneNumber
|
private java.lang.String |
telephoneNumber1
telephoneNumber1
|
private boolean |
telephoneUnique
When set to true, the registration will throw an exception if a customer already exists with
the same telephone number
|
private java.lang.String |
terms
Terms accepted
|
private java.lang.String |
title
title
|
private int |
type
type of customer:
CustomerMgr.CUST_TYPE_REGISTERED_CUST
CustomerMgr.CUST_TYPE_ADMIN_USER
CustomerMgr.CUST_TYPE_NON_REGISTERED_CUST
CustomerMgr.CUST_TYPE_DEFAULT_CUST
|
private java.lang.String |
username
username
|
private boolean |
usernameUnique
When set to true, the registration will throw an exception if a customer already exists with
the same username
|
Constructor and Description |
---|
AdminCustomerRegistration()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddrEmail() |
java.lang.String |
getAddressCustom1() |
java.lang.String |
getAddressCustom2() |
java.lang.String |
getAddressCustom3() |
java.lang.String |
getAddressCustom4() |
java.lang.String |
getAddressCustom5() |
java.lang.String |
getAddrTelephone() |
java.lang.String |
getAddrTelephone1() |
java.util.Date |
getBirthDate() |
java.lang.String |
getCity() |
java.lang.String |
getCompany() |
int |
getCountryId() |
java.lang.String |
getCustomerCustom1() |
java.lang.String |
getCustomerCustom2() |
java.lang.String |
getCustomerCustom3() |
java.lang.String |
getCustomerCustom4() |
java.lang.String |
getCustomerCustom5() |
java.lang.String |
getCustomerCustom6() |
java.lang.String |
getCustomerCustom7() |
java.lang.String |
getCustomerCustom8() |
java.lang.String |
getEmailAddr() |
int |
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 |
getGroupId() |
java.lang.String |
getLastName() |
java.lang.String |
getLocale()
Locale of the customer
|
java.lang.String |
getNaturalPerson()
NaturalPersonle of the customer
|
java.lang.String |
getNewsletter() |
int |
getParentId()
The parent id of this customer can be set during registration
|
java.lang.String |
getPassword() |
java.lang.String |
getPostcode() |
java.lang.String |
getPrivacy() |
AdminProductNotification[] |
getProdNotifications() |
int |
getProductNotifications()
Deprecated.
|
java.lang.String |
getState() |
java.lang.String |
getStreetAddress() |
java.lang.String |
getStreetAddress1() |
java.lang.String |
getSuburb() |
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:
CustomerMgr.CUST_TYPE_REGISTERED_CUST
CustomerMgr.CUST_TYPE_ADMIN_USER
CustomerMgr.CUST_TYPE_NON_REGISTERED_CUST
CustomerMgr.CUST_TYPE_DEFAULT_CUST
|
java.lang.String |
getUsername() |
boolean |
isDontEncryptPassword() |
boolean |
isEmailVerified() |
boolean |
isInvisible() |
boolean |
isTelephone1Unique()
When set to true, the registration will throw an exception if a customer already exists with
the same telephone1 number
|
boolean |
isTelephoneUnique()
When set to true, the registration will throw an exception if a customer already exists with
the same telephone number
|
boolean |
isUsernameUnique()
When set to true, the registration will throw an exception if a customer already exists with
the same username
|
void |
setAddrEmail(java.lang.String addrEmail) |
void |
setAddressCustom1(java.lang.String addressCustom1) |
void |
setAddressCustom2(java.lang.String addressCustom2) |
void |
setAddressCustom3(java.lang.String addressCustom3) |
void |
setAddressCustom4(java.lang.String addressCustom4) |
void |
setAddressCustom5(java.lang.String addressCustom5) |
void |
setAddrTelephone(java.lang.String addrTelephone) |
void |
setAddrTelephone1(java.lang.String addrTelephone1) |
void |
setBirthDate(java.util.Date birthDate) |
void |
setCity(java.lang.String city) |
void |
setCompany(java.lang.String company) |
void |
setCountryId(int countryId) |
void |
setCustomerCustom1(java.lang.String customerCustom1) |
void |
setCustomerCustom2(java.lang.String customerCustom2) |
void |
setCustomerCustom3(java.lang.String customerCustom3) |
void |
setCustomerCustom4(java.lang.String customerCustom4) |
void |
setCustomerCustom5(java.lang.String customerCustom5) |
void |
setCustomerCustom6(java.lang.String customerCustom6) |
void |
setCustomerCustom7(java.lang.String customerCustom7) |
void |
setCustomerCustom8(java.lang.String customerCustom8) |
void |
setDontEncryptPassword(boolean dontEncryptPassword) |
void |
setEmailAddr(java.lang.String emailAddr) |
void |
setEmailVerified(boolean emailVerified) |
void |
setEnabled(int 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 |
setGroupId(int groupId) |
void |
setInvisible(boolean invisible) |
void |
setLastName(java.lang.String lastName) |
void |
setLocale(java.lang.String locale)
Locale of the customer
|
void |
setNaturalPerson(java.lang.String naturalPerson)
NaturalPerson of the customer
|
void |
setNewsletter(java.lang.String newsletter) |
void |
setParentId(int parentId)
The parent id of this customer can be set during registration
|
void |
setPassword(java.lang.String password) |
void |
setPostcode(java.lang.String postcode) |
void |
setPrivacy(java.lang.String privacy) |
void |
setProdNotifications(AdminProductNotification[] prodNotifications) |
void |
setProductNotifications(int productNotifications)
Deprecated.
|
void |
setState(java.lang.String state) |
void |
setStreetAddress(java.lang.String streetAddress) |
void |
setStreetAddress1(java.lang.String streetAddress1) |
void |
setSuburb(java.lang.String suburb) |
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 |
setTelephone1Unique(boolean telephone1Unique)
When set to true, the registration will throw an exception if a customer already exists with
the same telephone1 number
|
void |
setTelephoneNumber(java.lang.String telephoneNumber) |
void |
setTelephoneNumber1(java.lang.String telephoneNumber1) |
void |
setTelephoneUnique(boolean telephoneUnique)
When set to true, the registration will throw an exception if a customer already exists with
the same telephone number
|
void |
setTerms(java.lang.String terms) |
void |
setTitle(java.lang.String title) |
void |
setType(int type)
type of customer:
CustomerMgr.CUST_TYPE_REGISTERED_CUST
CustomerMgr.CUST_TYPE_ADMIN_USER
CustomerMgr.CUST_TYPE_NON_REGISTERED_CUST
CustomerMgr.CUST_TYPE_DEFAULT_CUST
|
void |
setUsername(java.lang.String username) |
void |
setUsernameUnique(boolean usernameUnique)
When set to true, the registration will throw an exception if a customer already exists with
the same username
|
java.lang.String |
toStringBrief() |
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 java.lang.String telephoneNumber
private java.lang.String telephoneNumber1
private java.lang.String faxNumber
private java.lang.String password
private boolean dontEncryptPassword
private java.lang.String newsletter
@Deprecated private int productNotifications
private AdminProductNotification[] prodNotifications
private java.lang.String company
private java.lang.String streetAddress
private java.lang.String streetAddress1
private java.lang.String suburb
private java.lang.String postcode
private java.lang.String city
private java.lang.String state
private int countryId
private java.lang.String customerCustom1
private java.lang.String customerCustom2
private java.lang.String customerCustom3
private java.lang.String customerCustom4
private java.lang.String customerCustom5
private java.lang.String customerCustom6
private java.lang.String customerCustom7
private java.lang.String customerCustom8
private java.lang.String addrEmail
private java.lang.String addrTelephone
private java.lang.String addrTelephone1
private java.lang.String addressCustom1
private java.lang.String addressCustom2
private java.lang.String addressCustom3
private java.lang.String addressCustom4
private java.lang.String addressCustom5
private java.lang.String locale
private java.lang.String naturalPerson
private int type
private boolean invisible
private int enabled
private boolean emailVerified
private int groupId
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 boolean usernameUnique
private boolean telephoneUnique
private boolean telephone1Unique
private int parentId
public java.lang.String toStringBrief()
public java.lang.String getCity()
public void setCity(java.lang.String city)
city
- The city to set.public java.lang.String getCompany()
public void setCompany(java.lang.String company)
company
- The company to set.public int getCountryId()
public void setCountryId(int countryId)
countryId
- The countryId 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. Set "m", or "f" (or "x" if Other Genders are enabled)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 java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- The password to set.public java.lang.String getPostcode()
public void setPostcode(java.lang.String postcode)
postcode
- The postcode to set.@Deprecated public int getProductNotifications()
@Deprecated public void setProductNotifications(int productNotifications)
productNotifications
- The productNotifications to set.public java.lang.String getState()
public void setState(java.lang.String state)
state
- The state to set.public java.lang.String getStreetAddress()
public void setStreetAddress(java.lang.String streetAddress)
streetAddress
- The streetAddress to set.public java.lang.String getSuburb()
public void setSuburb(java.lang.String suburb)
suburb
- The suburb to set.public java.lang.String getTelephoneNumber()
public void setTelephoneNumber(java.lang.String telephoneNumber)
telephoneNumber
- The telephoneNumber to set.public java.util.Date getBirthDate()
public void setBirthDate(java.util.Date birthDate)
birthDate
- The birthDate to set.public java.lang.String getAddressCustom1()
public void setAddressCustom1(java.lang.String addressCustom1)
addressCustom1
- The addressCustom1 to set.public java.lang.String getAddressCustom2()
public void setAddressCustom2(java.lang.String addressCustom2)
addressCustom2
- The addressCustom2 to set.public java.lang.String getAddressCustom3()
public void setAddressCustom3(java.lang.String addressCustom3)
addressCustom3
- The addressCustom3 to set.public java.lang.String getAddressCustom4()
public void setAddressCustom4(java.lang.String addressCustom4)
addressCustom4
- The addressCustom4 to set.public java.lang.String getAddressCustom5()
public void setAddressCustom5(java.lang.String addressCustom5)
addressCustom5
- The addressCustom5 to set.public java.lang.String getCustomerCustom1()
public void setCustomerCustom1(java.lang.String customerCustom1)
customerCustom1
- The customerCustom1 to set.public java.lang.String getCustomerCustom2()
public void setCustomerCustom2(java.lang.String customerCustom2)
customerCustom2
- The customerCustom2 to set.public java.lang.String getCustomerCustom3()
public void setCustomerCustom3(java.lang.String customerCustom3)
customerCustom3
- The customerCustom3 to set.public java.lang.String getCustomerCustom4()
public void setCustomerCustom4(java.lang.String customerCustom4)
customerCustom4
- The customerCustom4 to set.public java.lang.String getCustomerCustom5()
public void setCustomerCustom5(java.lang.String customerCustom5)
customerCustom5
- The customerCustom5 to set.public int getEnabled()
public void setEnabled(int enabled)
enabled
- The enabled to set.public int getType()
public void setType(int type)
type
- The type to set.public int getGroupId()
public void setGroupId(int groupId)
groupId
- The groupId to set.public boolean isDontEncryptPassword()
public void setDontEncryptPassword(boolean dontEncryptPassword)
dontEncryptPassword
- the dontEncryptPassword to setpublic 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 java.lang.String getAddrEmail()
public void setAddrEmail(java.lang.String addrEmail)
addrEmail
- the addrEmail to setpublic java.lang.String getAddrTelephone()
public void setAddrTelephone(java.lang.String addrTelephone)
addrTelephone
- the addrTelephone to setpublic java.lang.String getAddrTelephone1()
public void setAddrTelephone1(java.lang.String addrTelephone1)
addrTelephone1
- the addrTelephone1 to setpublic java.lang.String getStreetAddress1()
public void setStreetAddress1(java.lang.String streetAddress1)
streetAddress1
- the streetAddress1 to setpublic boolean isInvisible()
public void setInvisible(boolean 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 taxIdentifier2 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 boolean isTelephoneUnique()
public void setTelephoneUnique(boolean telephoneUnique)
telephoneUnique
- the telephoneUnique to setpublic boolean isTelephone1Unique()
public void setTelephone1Unique(boolean telephone1Unique)
telephone1Unique
- the telephone1Unique to setpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- the username to setpublic boolean isUsernameUnique()
public void setUsernameUnique(boolean usernameUnique)
usernameUnique
- the usernameUnique to setpublic int getParentId()
public void setParentId(int parentId)
parentId
- the parentId to setpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title to setpublic java.lang.String getCustomerCustom6()
public void setCustomerCustom6(java.lang.String customerCustom6)
customerCustom6
- the customerCustom6 to setpublic java.lang.String getCustomerCustom7()
public void setCustomerCustom7(java.lang.String customerCustom7)
customerCustom7
- the customerCustom7 to setpublic java.lang.String getCustomerCustom8()
public void setCustomerCustom8(java.lang.String customerCustom8)
customerCustom8
- the customerCustom8 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.