com.konakart.app
Class CustomerGroup

java.lang.Object
  extended by com.konakart.app.CustomerGroup
All Implemented Interfaces:
CustomerGroupIf

public class CustomerGroup
extends java.lang.Object
implements CustomerGroupIf

Object defining a customer group which is used to aggregate a number of customers normally to apply promotions or to send communications.


Constructor Summary
CustomerGroup()
          Constructor
CustomerGroup(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
           
 
Method Summary
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getCustom4()
           
 java.lang.String getCustom5()
           
 java.lang.String getDescription()
           
 int getId()
           
 java.lang.String getName()
           
 int getPriceId()
          The priceId can be in the range 0 - 3.
 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 setDescription(java.lang.String description)
           
 void setId(int id)
           
 void setName(java.lang.String name)
           
 void setPriceId(int priceId)
          The priceId can be in the range 0 - 3.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomerGroup

public CustomerGroup()
Constructor


CustomerGroup

public CustomerGroup(com.workingdogs.village.Record vr,
                     org.apache.torque.util.Criteria c)
              throws com.workingdogs.village.DataSetException
Parameters:
vr -
c -
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

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

getId

public int getId()
Specified by:
getId in interface CustomerGroupIf
Returns:
Returns the id.

setId

public void setId(int id)
Specified by:
setId in interface CustomerGroupIf
Parameters:
id - The id to set.

getName

public java.lang.String getName()
Specified by:
getName in interface CustomerGroupIf
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Specified by:
setName in interface CustomerGroupIf
Parameters:
name - The name to set.

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface CustomerGroupIf
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface CustomerGroupIf
Parameters:
description - The description to set.

getPriceId

public int getPriceId()
Description copied from interface: CustomerGroupIf
The priceId can be in the range 0 - 3. When 0 (default value) the standard product price is used for every customer in this group. When set to 1, we use price1, when set to 2 we use price2 and when set to 3 we use price3.

Specified by:
getPriceId in interface CustomerGroupIf
Returns:
Returns the priceId.

setPriceId

public void setPriceId(int priceId)
Description copied from interface: CustomerGroupIf
The priceId can be in the range 0 - 3. When 0 (default value) the standard product price is used for every customer in this group. When set to 1, we use price1, when set to 2 we use price2 and when set to 3 we use price3.

Specified by:
setPriceId in interface CustomerGroupIf
Parameters:
priceId - The priceId to set.

getCustom1

public java.lang.String getCustom1()
Specified by:
getCustom1 in interface CustomerGroupIf
Returns:
Returns the custom1.

setCustom1

public void setCustom1(java.lang.String custom1)
Specified by:
setCustom1 in interface CustomerGroupIf
Parameters:
custom1 - The custom1 to set.

getCustom2

public java.lang.String getCustom2()
Specified by:
getCustom2 in interface CustomerGroupIf
Returns:
Returns the custom2.

setCustom2

public void setCustom2(java.lang.String custom2)
Specified by:
setCustom2 in interface CustomerGroupIf
Parameters:
custom2 - The custom2 to set.

getCustom3

public java.lang.String getCustom3()
Specified by:
getCustom3 in interface CustomerGroupIf
Returns:
Returns the custom3.

setCustom3

public void setCustom3(java.lang.String custom3)
Specified by:
setCustom3 in interface CustomerGroupIf
Parameters:
custom3 - The custom3 to set.

getCustom4

public java.lang.String getCustom4()
Specified by:
getCustom4 in interface CustomerGroupIf
Returns:
Returns the custom4.

setCustom4

public void setCustom4(java.lang.String custom4)
Specified by:
setCustom4 in interface CustomerGroupIf
Parameters:
custom4 - The custom4 to set.

getCustom5

public java.lang.String getCustom5()
Specified by:
getCustom5 in interface CustomerGroupIf
Returns:
Returns the custom5.

setCustom5

public void setCustom5(java.lang.String custom5)
Specified by:
setCustom5 in interface CustomerGroupIf
Parameters:
custom5 - The custom5 to set.


Copyright © 2011 DS Data Systems UK Ltd.