com.konakart.app
Class CustomerRegistration

java.lang.Object
  extended by com.konakart.app.CustomerRegistration
All Implemented Interfaces:
CustomerRegistrationIf

public class CustomerRegistration
extends java.lang.Object
implements CustomerRegistrationIf

CustomerRegistration


Constructor Summary
CustomerRegistration()
          Constructor
 
Method Summary
 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 getEmailAddr()
          This is the user name to log into KonaKart.
 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 getNewsletter()
          The newsletter to set.
 java.lang.String getPassword()
           
 java.lang.String getPostcode()
           
 int getProductNotifications()
          Deprecated. 
 java.lang.String getState()
           
 java.lang.String getStreetAddress()
           
 java.lang.String getStreetAddress1()
           
 java.lang.String getSuburb()
           
 java.lang.String getTelephoneNumber()
           
 java.lang.String getTelephoneNumber1()
           
 int getZoneId()
          When set to a positive number, this zone id is used.
 boolean isEnabled()
           
 boolean isInvisible()
           
 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 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 setEmailAddr(java.lang.String emailAddr)
          This is the user name to log into KonaKart.
 void setEnabled(boolean enabled)
           
 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 setNewsletter(java.lang.String newsletter)
          The newsletter to set.
 void setPassword(java.lang.String password)
           
 void setPostcode(java.lang.String postcode)
           
 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 setTelephoneNumber(java.lang.String telephoneNumber)
           
 void setTelephoneNumber1(java.lang.String telephoneNumber1)
           
 void setZoneId(int zoneId)
          When set to a positive number, this zone id is used.
 java.lang.String toString()
           
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomerRegistration

public CustomerRegistration()
Constructor

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing selected attributes of the CustomerRegistration object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing selected attributes of the CustomerRegistration object.

getCity

public java.lang.String getCity()
Specified by:
getCity in interface CustomerRegistrationIf
Returns:
Returns the city.

setCity

public void setCity(java.lang.String city)
Specified by:
setCity in interface CustomerRegistrationIf
Parameters:
city - The city to set.

getCompany

public java.lang.String getCompany()
Specified by:
getCompany in interface CustomerRegistrationIf
Returns:
Returns the company.

setCompany

public void setCompany(java.lang.String company)
Specified by:
setCompany in interface CustomerRegistrationIf
Parameters:
company - The company to set.

getCountryId

public int getCountryId()
Specified by:
getCountryId in interface CustomerRegistrationIf
Returns:
Returns the countryId.

setCountryId

public void setCountryId(int countryId)
Specified by:
setCountryId in interface CustomerRegistrationIf
Parameters:
countryId - The countryId to set.

getEmailAddr

public java.lang.String getEmailAddr()
Description copied from interface: CustomerRegistrationIf
This is the user name to log into KonaKart. It must be unique, otherwise an exception is thrown during the registration process.

Specified by:
getEmailAddr in interface CustomerRegistrationIf
Returns:
Returns the emailAddr.

setEmailAddr

public void setEmailAddr(java.lang.String emailAddr)
Description copied from interface: CustomerRegistrationIf
This is the user name to log into KonaKart. It must be unique, otherwise an exception is thrown during the registration process.

Specified by:
setEmailAddr in interface CustomerRegistrationIf
Parameters:
emailAddr - The emailAddr to set.

getFaxNumber

public java.lang.String getFaxNumber()
Specified by:
getFaxNumber in interface CustomerRegistrationIf
Returns:
Returns the faxNumber.

setFaxNumber

public void setFaxNumber(java.lang.String faxNumber)
Specified by:
setFaxNumber in interface CustomerRegistrationIf
Parameters:
faxNumber - The faxNumber to set.

getFirstName

public java.lang.String getFirstName()
Specified by:
getFirstName in interface CustomerRegistrationIf
Returns:
Returns the firstName.

setFirstName

public void setFirstName(java.lang.String firstName)
Specified by:
setFirstName in interface CustomerRegistrationIf
Parameters:
firstName - The firstName to set.

getGender

public java.lang.String getGender()
Description copied from interface: CustomerRegistrationIf
Normally set to "m" or "f".

Specified by:
getGender in interface CustomerRegistrationIf
Returns:
Returns the gender.

setGender

public void setGender(java.lang.String gender)
Description copied from interface: CustomerRegistrationIf
Normally set to "m" or "f".

Specified by:
setGender in interface CustomerRegistrationIf
Parameters:
gender - The gender to set.

getLastName

public java.lang.String getLastName()
Specified by:
getLastName in interface CustomerRegistrationIf
Returns:
Returns the lastName.

setLastName

public void setLastName(java.lang.String lastName)
Specified by:
setLastName in interface CustomerRegistrationIf
Parameters:
lastName - The lastName to set.

getNewsletter

public java.lang.String getNewsletter()
Description copied from interface: CustomerRegistrationIf
The newsletter to set. Must be set to "1" to receive the newsletter or "0" to not receive the newsletter.

Specified by:
getNewsletter in interface CustomerRegistrationIf
Returns:
Returns the newsletter.

setNewsletter

public void setNewsletter(java.lang.String newsletter)
Description copied from interface: CustomerRegistrationIf
The newsletter to set. Must be set to "1" to receive the newsletter or "0" to not receive the newsletter.

Specified by:
setNewsletter in interface CustomerRegistrationIf
Parameters:
newsletter - The newsletter to set.

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface CustomerRegistrationIf
Returns:
Returns the password.

setPassword

public void setPassword(java.lang.String password)
Specified by:
setPassword in interface CustomerRegistrationIf
Parameters:
password - The password to set.

getPostcode

public java.lang.String getPostcode()
Specified by:
getPostcode in interface CustomerRegistrationIf
Returns:
Returns the postcode.

setPostcode

public void setPostcode(java.lang.String postcode)
Specified by:
setPostcode in interface CustomerRegistrationIf
Parameters:
postcode - The postcode to set.

getProductNotifications

@Deprecated
public int getProductNotifications()
Deprecated. 

Description copied from interface: CustomerRegistrationIf
Should be set to 1 to be notified for all product updates, or 0 to not be notified.

Specified by:
getProductNotifications in interface CustomerRegistrationIf
Returns:
Returns the productNotifications.

setProductNotifications

@Deprecated
public void setProductNotifications(int productNotifications)
Deprecated. 

Description copied from interface: CustomerRegistrationIf
Should be set to 1 to be notified for all product updates, or 0 to not be notified.

Specified by:
setProductNotifications in interface CustomerRegistrationIf
Parameters:
productNotifications - The productNotifications to set.

getState

public java.lang.String getState()
Specified by:
getState in interface CustomerRegistrationIf
Returns:
Returns the state.

setState

public void setState(java.lang.String state)
Specified by:
setState in interface CustomerRegistrationIf
Parameters:
state - The state to set.

getStreetAddress

public java.lang.String getStreetAddress()
Specified by:
getStreetAddress in interface CustomerRegistrationIf
Returns:
Returns the streetAddress.

setStreetAddress

public void setStreetAddress(java.lang.String streetAddress)
Specified by:
setStreetAddress in interface CustomerRegistrationIf
Parameters:
streetAddress - The streetAddress to set.

getSuburb

public java.lang.String getSuburb()
Specified by:
getSuburb in interface CustomerRegistrationIf
Returns:
Returns the suburb.

setSuburb

public void setSuburb(java.lang.String suburb)
Specified by:
setSuburb in interface CustomerRegistrationIf
Parameters:
suburb - The suburb to set.

getTelephoneNumber

public java.lang.String getTelephoneNumber()
Specified by:
getTelephoneNumber in interface CustomerRegistrationIf
Returns:
Returns the telephoneNumber.

setTelephoneNumber

public void setTelephoneNumber(java.lang.String telephoneNumber)
Specified by:
setTelephoneNumber in interface CustomerRegistrationIf
Parameters:
telephoneNumber - The telephoneNumber to set.

getBirthDate

public java.util.Calendar getBirthDate()
Specified by:
getBirthDate in interface CustomerRegistrationIf
Returns:
Returns the birthDate.

setBirthDate

public void setBirthDate(java.util.Calendar birthDate)
Specified by:
setBirthDate in interface CustomerRegistrationIf
Parameters:
birthDate - The birthDate to set.

getAddressCustom1

public java.lang.String getAddressCustom1()
Specified by:
getAddressCustom1 in interface CustomerRegistrationIf
Returns:
Returns the addressCustom1.

setAddressCustom1

public void setAddressCustom1(java.lang.String addressCustom1)
Specified by:
setAddressCustom1 in interface CustomerRegistrationIf
Parameters:
addressCustom1 - The addressCustom1 to set.

getAddressCustom2

public java.lang.String getAddressCustom2()
Specified by:
getAddressCustom2 in interface CustomerRegistrationIf
Returns:
Returns the addressCustom2.

setAddressCustom2

public void setAddressCustom2(java.lang.String addressCustom2)
Specified by:
setAddressCustom2 in interface CustomerRegistrationIf
Parameters:
addressCustom2 - The addressCustom2 to set.

getAddressCustom3

public java.lang.String getAddressCustom3()
Specified by:
getAddressCustom3 in interface CustomerRegistrationIf
Returns:
Returns the addressCustom3.

setAddressCustom3

public void setAddressCustom3(java.lang.String addressCustom3)
Specified by:
setAddressCustom3 in interface CustomerRegistrationIf
Parameters:
addressCustom3 - The addressCustom3 to set.

getAddressCustom4

public java.lang.String getAddressCustom4()
Specified by:
getAddressCustom4 in interface CustomerRegistrationIf
Returns:
Returns the addressCustom4.

setAddressCustom4

public void setAddressCustom4(java.lang.String addressCustom4)
Specified by:
setAddressCustom4 in interface CustomerRegistrationIf
Parameters:
addressCustom4 - The addressCustom4 to set.

getAddressCustom5

public java.lang.String getAddressCustom5()
Specified by:
getAddressCustom5 in interface CustomerRegistrationIf
Returns:
Returns the addressCustom5.

setAddressCustom5

public void setAddressCustom5(java.lang.String addressCustom5)
Specified by:
setAddressCustom5 in interface CustomerRegistrationIf
Parameters:
addressCustom5 - The addressCustom5 to set.

getCustomerCustom1

public java.lang.String getCustomerCustom1()
Specified by:
getCustomerCustom1 in interface CustomerRegistrationIf
Returns:
Returns the customerCustom1.

setCustomerCustom1

public void setCustomerCustom1(java.lang.String customerCustom1)
Specified by:
setCustomerCustom1 in interface CustomerRegistrationIf
Parameters:
customerCustom1 - The customerCustom1 to set.

getCustomerCustom2

public java.lang.String getCustomerCustom2()
Specified by:
getCustomerCustom2 in interface CustomerRegistrationIf
Returns:
Returns the customerCustom2.

setCustomerCustom2

public void setCustomerCustom2(java.lang.String customerCustom2)
Specified by:
setCustomerCustom2 in interface CustomerRegistrationIf
Parameters:
customerCustom2 - The customerCustom2 to set.

getCustomerCustom3

public java.lang.String getCustomerCustom3()
Specified by:
getCustomerCustom3 in interface CustomerRegistrationIf
Returns:
Returns the customerCustom3.

setCustomerCustom3

public void setCustomerCustom3(java.lang.String customerCustom3)
Specified by:
setCustomerCustom3 in interface CustomerRegistrationIf
Parameters:
customerCustom3 - The customerCustom3 to set.

getCustomerCustom4

public java.lang.String getCustomerCustom4()
Specified by:
getCustomerCustom4 in interface CustomerRegistrationIf
Returns:
Returns the customerCustom4.

setCustomerCustom4

public void setCustomerCustom4(java.lang.String customerCustom4)
Specified by:
setCustomerCustom4 in interface CustomerRegistrationIf
Parameters:
customerCustom4 - The customerCustom4 to set.

getCustomerCustom5

public java.lang.String getCustomerCustom5()
Specified by:
getCustomerCustom5 in interface CustomerRegistrationIf
Returns:
Returns the customerCustom5.

setCustomerCustom5

public void setCustomerCustom5(java.lang.String customerCustom5)
Specified by:
setCustomerCustom5 in interface CustomerRegistrationIf
Parameters:
customerCustom5 - The customerCustom5 to set.

getGroupId

public int getGroupId()
Description copied from interface: CustomerRegistrationIf
If negative, the customer belongs to no groups.

Specified by:
getGroupId in interface CustomerRegistrationIf
Returns:
Returns the groupId.

setGroupId

public void setGroupId(int groupId)
Description copied from interface: CustomerRegistrationIf
If negative, the customer belongs to no groups.

Specified by:
setGroupId in interface CustomerRegistrationIf
Parameters:
groupId - The groupId to set.

getLocale

public java.lang.String getLocale()
Locale of the customer

Specified by:
getLocale in interface CustomerRegistrationIf
Returns:
the locale

setLocale

public void setLocale(java.lang.String locale)
Locale of the customer

Specified by:
setLocale in interface CustomerRegistrationIf
Parameters:
locale - the locale to set

getTelephoneNumber1

public java.lang.String getTelephoneNumber1()
Specified by:
getTelephoneNumber1 in interface CustomerRegistrationIf
Returns:
the telephoneNumber1

setTelephoneNumber1

public void setTelephoneNumber1(java.lang.String telephoneNumber1)
Specified by:
setTelephoneNumber1 in interface CustomerRegistrationIf
Parameters:
telephoneNumber1 - the telephoneNumber1 to set

getStreetAddress1

public java.lang.String getStreetAddress1()
Specified by:
getStreetAddress1 in interface CustomerRegistrationIf
Returns:
the streetAddress1

setStreetAddress1

public void setStreetAddress1(java.lang.String streetAddress1)
Specified by:
setStreetAddress1 in interface CustomerRegistrationIf
Parameters:
streetAddress1 - the streetAddress1 to set

getZoneId

public int getZoneId()
Description copied from interface: CustomerRegistrationIf
When set to a positive number, this zone id is used. Otherwise the engine searches for the zone to use based on the address.

Specified by:
getZoneId in interface CustomerRegistrationIf
Returns:
the zoneId

setZoneId

public void setZoneId(int zoneId)
Description copied from interface: CustomerRegistrationIf
When set to a positive number, this zone id is used. Otherwise the engine searches for the zone to use based on the address.

Specified by:
setZoneId in interface CustomerRegistrationIf
Parameters:
zoneId - the zoneId to set

isInvisible

public boolean isInvisible()
Specified by:
isInvisible in interface CustomerRegistrationIf
Returns:
the invisible

setInvisible

public void setInvisible(boolean invisible)
Specified by:
setInvisible in interface CustomerRegistrationIf
Parameters:
invisible - the invisible to set

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface CustomerRegistrationIf
Returns:
the enabled

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface CustomerRegistrationIf
Parameters:
enabled - the enabled to set


Copyright © 2011 DS Data Systems UK Ltd.