public class CustomerRegistration extends java.lang.Object implements CustomerRegistrationIf
| Constructor and Description |
|---|
CustomerRegistration()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddressCustom1() |
java.lang.String |
getAddressCustom2() |
java.lang.String |
getAddressCustom3() |
java.lang.String |
getAddressCustom4() |
java.lang.String |
getAddressCustom5() |
java.util.Calendar |
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()
This is the username to log into KonaKart.
|
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 |
getGroupId()
If negative, the customer belongs to no groups.
|
java.lang.String |
getLastName() |
java.lang.String |
getLocale()
Locale of the customer
|
java.lang.String |
getNaturalPerson()
Customer's naturalPerson
|
java.lang.String |
getNewsletter()
The newsletter to set.
|
java.lang.String |
getPassword() |
java.lang.String |
getPostcode() |
java.lang.String |
getPrivacy() |
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 identifier2
|
java.lang.String |
getTelephoneNumber() |
java.lang.String |
getTelephoneNumber1() |
java.lang.String |
getTerms() |
java.lang.String |
getTitle() |
java.lang.String |
getUsername() |
int |
getZoneId()
When set to a positive number, this zone id is used.
|
boolean |
isAllowMultipleRegistrations()
Normally if a registered customer exists, we don't allow that customer to checkout without
logging in.
|
boolean |
isEmailVerified() |
boolean |
isEnabled() |
boolean |
isInvisible() |
boolean |
isNoAddress()
Set to true if you want to register the customer but don't have the customer's address
|
boolean |
isNoBirthDate()
Set to true if you want to register the customer but don't have the customer's birth date
|
boolean |
isNoGender()
Set to true if you want to register the customer but don't have the customer's gender
|
boolean |
isNoName()
Set to true if you want to register the customer but don't have the customer's name
|
boolean |
isNoPassword()
Set to true if you want to register the customer but don't have the customer's password
|
boolean |
isNoTelephone()
Set to true if you want to register the customer but don't have the customer's telephone
number
|
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 |
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 |
setAllowMultipleRegistrations(boolean allowMultipleRegistrations)
Normally if a registered customer exists, we don't allow that customer to checkout without
logging in.
|
void |
setBirthDate(java.util.Calendar 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 |
setEmailAddr(java.lang.String emailAddr)
This is the username to log into KonaKart.
|
void |
setEmailVerified(boolean emailVerified) |
void |
setEnabled(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)
Normally set to "m" or "f".
|
void |
setGroupId(int groupId)
If negative, the customer belongs to no groups.
|
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)
Customer's naturalPerson
|
void |
setNewsletter(java.lang.String newsletter)
The newsletter to set.
|
void |
setNoAddress(boolean noAddress)
Set to true if you want to register the customer but don't have the customer's address
|
void |
setNoBirthDate(boolean noBirthDate)
Set to true if you want to register the customer but don't have the customer's birth date
|
void |
setNoGender(boolean noGender)
Set to true if you want to register the customer but don't have the customer's gender
|
void |
setNoName(boolean noName)
Set to true if you want to register the customer but don't have the customer's name
|
void |
setNoPassword(boolean noPassword)
Set to true if you want to register the customer but don't have the customer's password
|
void |
setNoTelephone(boolean noTelephone)
Set to true if you want to register the customer but don't have the customer's telephone
number
|
void |
setPassword(java.lang.String password) |
void |
setPostcode(java.lang.String postcode) |
void |
setPrivacy(java.lang.String privacy) |
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 tc) |
void |
setTitle(java.lang.String title) |
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
|
void |
setZoneId(int zoneId)
When set to a positive number, this zone id is used.
|
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringBrief()
public java.lang.String getCity()
getCity in interface CustomerRegistrationIfpublic void setCity(java.lang.String city)
setCity in interface CustomerRegistrationIfcity - The city to set.public java.lang.String getCompany()
getCompany in interface CustomerRegistrationIfpublic void setCompany(java.lang.String company)
setCompany in interface CustomerRegistrationIfcompany - The company to set.public int getCountryId()
getCountryId in interface CustomerRegistrationIfpublic void setCountryId(int countryId)
setCountryId in interface CustomerRegistrationIfcountryId - The countryId to set.public java.lang.String getEmailAddr()
CustomerRegistrationIfgetEmailAddr in interface CustomerRegistrationIfpublic void setEmailAddr(java.lang.String emailAddr)
CustomerRegistrationIfsetEmailAddr in interface CustomerRegistrationIfemailAddr - The emailAddr to set.public java.lang.String getFaxNumber()
getFaxNumber in interface CustomerRegistrationIfpublic void setFaxNumber(java.lang.String faxNumber)
setFaxNumber in interface CustomerRegistrationIffaxNumber - The faxNumber to set.public java.lang.String getFirstName()
getFirstName in interface CustomerRegistrationIfpublic void setFirstName(java.lang.String firstName)
setFirstName in interface CustomerRegistrationIffirstName - The firstName to set.public java.lang.String getGender()
getGender in interface CustomerRegistrationIfpublic void setGender(java.lang.String gender)
setGender in interface CustomerRegistrationIfgender - The gender to set.public java.lang.String getLastName()
getLastName in interface CustomerRegistrationIfpublic void setLastName(java.lang.String lastName)
setLastName in interface CustomerRegistrationIflastName - The lastName to set.public java.lang.String getNewsletter()
CustomerRegistrationIfgetNewsletter in interface CustomerRegistrationIfpublic void setNewsletter(java.lang.String newsletter)
CustomerRegistrationIfsetNewsletter in interface CustomerRegistrationIfnewsletter - The newsletter to set.public java.lang.String getPassword()
getPassword in interface CustomerRegistrationIfpublic void setPassword(java.lang.String password)
setPassword in interface CustomerRegistrationIfpassword - The password to set.public java.lang.String getPostcode()
getPostcode in interface CustomerRegistrationIfpublic void setPostcode(java.lang.String postcode)
setPostcode in interface CustomerRegistrationIfpostcode - The postcode to set.@Deprecated public int getProductNotifications()
CustomerRegistrationIfgetProductNotifications in interface CustomerRegistrationIf@Deprecated public void setProductNotifications(int productNotifications)
CustomerRegistrationIfsetProductNotifications in interface CustomerRegistrationIfproductNotifications - The productNotifications to set.public java.lang.String getState()
getState in interface CustomerRegistrationIfpublic void setState(java.lang.String state)
setState in interface CustomerRegistrationIfstate - The state to set.public java.lang.String getStreetAddress()
getStreetAddress in interface CustomerRegistrationIfpublic void setStreetAddress(java.lang.String streetAddress)
setStreetAddress in interface CustomerRegistrationIfstreetAddress - The streetAddress to set.public java.lang.String getSuburb()
getSuburb in interface CustomerRegistrationIfpublic void setSuburb(java.lang.String suburb)
setSuburb in interface CustomerRegistrationIfsuburb - The suburb to set.public java.lang.String getTelephoneNumber()
getTelephoneNumber in interface CustomerRegistrationIfpublic void setTelephoneNumber(java.lang.String telephoneNumber)
setTelephoneNumber in interface CustomerRegistrationIftelephoneNumber - The telephoneNumber to set.public java.util.Calendar getBirthDate()
getBirthDate in interface CustomerRegistrationIfpublic void setBirthDate(java.util.Calendar birthDate)
setBirthDate in interface CustomerRegistrationIfbirthDate - The birthDate to set.public java.lang.String getAddressCustom1()
getAddressCustom1 in interface CustomerRegistrationIfpublic void setAddressCustom1(java.lang.String addressCustom1)
setAddressCustom1 in interface CustomerRegistrationIfaddressCustom1 - The addressCustom1 to set.public java.lang.String getAddressCustom2()
getAddressCustom2 in interface CustomerRegistrationIfpublic void setAddressCustom2(java.lang.String addressCustom2)
setAddressCustom2 in interface CustomerRegistrationIfaddressCustom2 - The addressCustom2 to set.public java.lang.String getAddressCustom3()
getAddressCustom3 in interface CustomerRegistrationIfpublic void setAddressCustom3(java.lang.String addressCustom3)
setAddressCustom3 in interface CustomerRegistrationIfaddressCustom3 - The addressCustom3 to set.public java.lang.String getAddressCustom4()
getAddressCustom4 in interface CustomerRegistrationIfpublic void setAddressCustom4(java.lang.String addressCustom4)
setAddressCustom4 in interface CustomerRegistrationIfaddressCustom4 - The addressCustom4 to set.public java.lang.String getAddressCustom5()
getAddressCustom5 in interface CustomerRegistrationIfpublic void setAddressCustom5(java.lang.String addressCustom5)
setAddressCustom5 in interface CustomerRegistrationIfaddressCustom5 - The addressCustom5 to set.public java.lang.String getCustomerCustom1()
getCustomerCustom1 in interface CustomerRegistrationIfpublic void setCustomerCustom1(java.lang.String customerCustom1)
setCustomerCustom1 in interface CustomerRegistrationIfcustomerCustom1 - The customerCustom1 to set.public java.lang.String getCustomerCustom2()
getCustomerCustom2 in interface CustomerRegistrationIfpublic void setCustomerCustom2(java.lang.String customerCustom2)
setCustomerCustom2 in interface CustomerRegistrationIfcustomerCustom2 - The customerCustom2 to set.public java.lang.String getCustomerCustom3()
getCustomerCustom3 in interface CustomerRegistrationIfpublic void setCustomerCustom3(java.lang.String customerCustom3)
setCustomerCustom3 in interface CustomerRegistrationIfcustomerCustom3 - The customerCustom3 to set.public java.lang.String getCustomerCustom4()
getCustomerCustom4 in interface CustomerRegistrationIfpublic void setCustomerCustom4(java.lang.String customerCustom4)
setCustomerCustom4 in interface CustomerRegistrationIfcustomerCustom4 - The customerCustom4 to set.public java.lang.String getCustomerCustom5()
getCustomerCustom5 in interface CustomerRegistrationIfpublic void setCustomerCustom5(java.lang.String customerCustom5)
setCustomerCustom5 in interface CustomerRegistrationIfcustomerCustom5 - The customerCustom5 to set.public java.lang.String getCustomerCustom6()
getCustomerCustom6 in interface CustomerRegistrationIfpublic void setCustomerCustom6(java.lang.String customerCustom6)
setCustomerCustom6 in interface CustomerRegistrationIfcustomerCustom6 - the customerCustom6 to setpublic java.lang.String getCustomerCustom7()
getCustomerCustom7 in interface CustomerRegistrationIfpublic void setCustomerCustom7(java.lang.String customerCustom7)
setCustomerCustom7 in interface CustomerRegistrationIfcustomerCustom7 - the customerCustom7 to setpublic java.lang.String getCustomerCustom8()
getCustomerCustom8 in interface CustomerRegistrationIfpublic void setCustomerCustom8(java.lang.String customerCustom8)
setCustomerCustom8 in interface CustomerRegistrationIfcustomerCustom8 - the customerCustom8 to setpublic int getGroupId()
CustomerRegistrationIfgetGroupId in interface CustomerRegistrationIfpublic void setGroupId(int groupId)
CustomerRegistrationIfsetGroupId in interface CustomerRegistrationIfgroupId - The groupId to set.public java.lang.String getLocale()
getLocale in interface CustomerRegistrationIfpublic void setLocale(java.lang.String locale)
setLocale in interface CustomerRegistrationIflocale - the locale to setpublic java.lang.String getTelephoneNumber1()
getTelephoneNumber1 in interface CustomerRegistrationIfpublic void setTelephoneNumber1(java.lang.String telephoneNumber1)
setTelephoneNumber1 in interface CustomerRegistrationIftelephoneNumber1 - the telephoneNumber1 to setpublic java.lang.String getStreetAddress1()
getStreetAddress1 in interface CustomerRegistrationIfpublic void setStreetAddress1(java.lang.String streetAddress1)
setStreetAddress1 in interface CustomerRegistrationIfstreetAddress1 - the streetAddress1 to setpublic int getZoneId()
CustomerRegistrationIfgetZoneId in interface CustomerRegistrationIfpublic void setZoneId(int zoneId)
CustomerRegistrationIfsetZoneId in interface CustomerRegistrationIfzoneId - the zoneId to setpublic boolean isInvisible()
isInvisible in interface CustomerRegistrationIfpublic void setInvisible(boolean invisible)
setInvisible in interface CustomerRegistrationIfinvisible - the invisible to setpublic boolean isEnabled()
isEnabled in interface CustomerRegistrationIfpublic void setEnabled(boolean enabled)
setEnabled in interface CustomerRegistrationIfenabled - the enabled to setpublic java.lang.String getTaxIdentifier()
getTaxIdentifier in interface CustomerRegistrationIfpublic void setTaxIdentifier(java.lang.String taxIdentifier)
setTaxIdentifier in interface CustomerRegistrationIftaxIdentifier - the taxIdentifier to setpublic java.lang.String getExtReference1()
getExtReference1 in interface CustomerRegistrationIfpublic void setExtReference1(java.lang.String extReference1)
setExtReference1 in interface CustomerRegistrationIfextReference1 - the extReference1 to setpublic java.lang.String getExtReference2()
getExtReference2 in interface CustomerRegistrationIfpublic void setExtReference2(java.lang.String extReference2)
setExtReference2 in interface CustomerRegistrationIfextReference2 - the extReference2 to setpublic java.lang.String getTaxExemption()
getTaxExemption in interface CustomerRegistrationIfpublic void setTaxExemption(java.lang.String taxExemption)
setTaxExemption in interface CustomerRegistrationIftaxExemption - the taxExemption to setpublic java.lang.String getTaxEntity()
getTaxEntity in interface CustomerRegistrationIfpublic void setTaxEntity(java.lang.String taxEntity)
setTaxEntity in interface CustomerRegistrationIftaxEntity - the taxEntity to setpublic boolean isEmailVerified()
isEmailVerified in interface CustomerRegistrationIfpublic void setEmailVerified(boolean emailVerified)
setEmailVerified in interface CustomerRegistrationIfemailVerified - the emailVerified to setpublic boolean isNoAddress()
isNoAddress in interface CustomerRegistrationIfpublic void setNoAddress(boolean noAddress)
setNoAddress in interface CustomerRegistrationIfnoAddress - the noAddress to setpublic boolean isNoGender()
isNoGender in interface CustomerRegistrationIfpublic void setNoGender(boolean noGender)
setNoGender in interface CustomerRegistrationIfnoGender - the noGender to setpublic boolean isNoName()
isNoName in interface CustomerRegistrationIfpublic void setNoName(boolean noName)
setNoName in interface CustomerRegistrationIfnoName - the noName to setpublic boolean isNoBirthDate()
isNoBirthDate in interface CustomerRegistrationIfpublic void setNoBirthDate(boolean noBirthDate)
setNoBirthDate in interface CustomerRegistrationIfnoBirthDate - the noBirthDate to setpublic boolean isNoTelephone()
isNoTelephone in interface CustomerRegistrationIfpublic void setNoTelephone(boolean noTelephone)
setNoTelephone in interface CustomerRegistrationIfnoTelephone - the noTelephone to setpublic boolean isNoPassword()
isNoPassword in interface CustomerRegistrationIfpublic void setNoPassword(boolean noPassword)
setNoPassword in interface CustomerRegistrationIfnoPassword - the noPassword to setpublic boolean isAllowMultipleRegistrations()
allowMultipleRegistrations is set to true when calling
forceRegisterCustomer(), then we do allow a registered customer to checkout
without logging in by registering the same eMail address also as a temporary customer. Note
that since a temporary customer is created for the checkout, the order is not added to the
account of the existing registered customer with the same email address.isAllowMultipleRegistrations in interface CustomerRegistrationIfpublic void setAllowMultipleRegistrations(boolean allowMultipleRegistrations)
allowMultipleRegistrations is set to true when calling
forceRegisterCustomer(), then we do allow a registered customer to checkout
without logging in by registering the same eMail address also as a temporary customer. Note
that since a temporary customer is created for the checkout, the order is not added to the
account of the existing registered customer with the same email address.setAllowMultipleRegistrations in interface CustomerRegistrationIfallowMultipleRegistrations - the allowMultipleRegistrations to setpublic boolean isTelephoneUnique()
isTelephoneUnique in interface CustomerRegistrationIfpublic void setTelephoneUnique(boolean telephoneUnique)
setTelephoneUnique in interface CustomerRegistrationIftelephoneUnique - the telephoneUnique to setpublic boolean isTelephone1Unique()
isTelephone1Unique in interface CustomerRegistrationIfpublic void setTelephone1Unique(boolean telephone1Unique)
setTelephone1Unique in interface CustomerRegistrationIftelephone1Unique - the telephone1Unique to setpublic java.lang.String getUsername()
getUsername in interface CustomerRegistrationIfpublic void setUsername(java.lang.String username)
setUsername in interface CustomerRegistrationIfusername - the username to setpublic boolean isUsernameUnique()
isUsernameUnique in interface CustomerRegistrationIfpublic void setUsernameUnique(boolean usernameUnique)
setUsernameUnique in interface CustomerRegistrationIfusernameUnique - the usernameUnique to setpublic java.lang.String getTaxIdentifier2()
getTaxIdentifier2 in interface CustomerRegistrationIfpublic void setTaxIdentifier2(java.lang.String taxIdentifier2)
setTaxIdentifier2 in interface CustomerRegistrationIftaxIdentifier2 - the taxIdentifier2 to setpublic java.lang.String getNaturalPerson()
getNaturalPerson in interface CustomerRegistrationIfpublic void setNaturalPerson(java.lang.String naturalPerson)
setNaturalPerson in interface CustomerRegistrationIfnaturalPerson - the naturalPerson to setpublic java.lang.String getTitle()
getTitle in interface CustomerRegistrationIfpublic void setTitle(java.lang.String title)
setTitle in interface CustomerRegistrationIftitle - the title to setpublic java.lang.String getPrivacy()
getPrivacy in interface CustomerRegistrationIfpublic void setPrivacy(java.lang.String privacy)
setPrivacy in interface CustomerRegistrationIfprivacy - the privacy to setpublic java.lang.String getTerms()
getTerms in interface CustomerRegistrationIfpublic void setTerms(java.lang.String tc)
setTerms in interface CustomerRegistrationIftc - the tc to setCopyright © 2018 DS Data Systems UK Ltd.