com.konakart.json.app
Class J_RewardPoint

java.lang.Object
  extended by com.konakart.json.app.J_RewardPoint
All Implemented Interfaces:
java.io.Serializable

public class J_RewardPoint
extends java.lang.Object
implements java.io.Serializable

Describes a reward points object for use within KonaKart.

See Also:
Serialized Form

Constructor Summary
J_RewardPoint()
           
 
Method Summary
 java.lang.String getCode()
          A code used to define the type of transaction in which the points were added or removed.
 int getCustomerId()
          The numeric id of the customer that the points belong to.
 java.util.Calendar getDateAdded()
          The date added
 java.lang.String getDescription()
          A description that can be viewed in a points statement.
 int getId()
          The numeric id of the Reward Points Object
 int getInitialPoints()
          The initial number of points when they were awarded
 int getRemainingPoints()
          The number of points remaining, since some may have been used.
 java.lang.String getStoreId()
          The store id
 int getTransactionType()
          The type of transaction which indicates whether the points have been added or removed.
 boolean isExpired()
          Indicates whether the points have expired
 void setCode(java.lang.String _code)
          A code used to define the type of transaction in which the points were added or removed.
 void setCustomerId(int _customerId)
          The numeric id of the customer that the points belong to.
 void setDateAdded(java.util.Calendar _dateAdded)
          The date added
 void setDescription(java.lang.String _description)
          A description that can be viewed in a points statement.
 void setExpired(boolean _expired)
          Indicates whether the points have expired
 void setId(int _id)
          The numeric id of the Reward Points Object
 void setInitialPoints(int _initialPoints)
          The initial number of points when they were awarded
 void setRemainingPoints(int _remainingPoints)
          The number of points remaining, since some may have been used.
 void setStoreId(java.lang.String _storeId)
          The store id
 void setTransactionType(int _transactionType)
          The type of transaction which indicates whether the points have been added or removed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J_RewardPoint

public J_RewardPoint()
Method Detail

getId

public int getId()
The numeric id of the Reward Points Object

Returns:
the id

setId

public void setId(int _id)
The numeric id of the Reward Points Object

Parameters:
_id - the id to set

getStoreId

public java.lang.String getStoreId()
The store id

Returns:
the storeId

setStoreId

public void setStoreId(java.lang.String _storeId)
The store id

Parameters:
_storeId - the storeId to set

getCode

public java.lang.String getCode()
A code used to define the type of transaction in which the points were added or removed. i.e. ORDER, REVIEW, REGISTRATION

Returns:
the code

setCode

public void setCode(java.lang.String _code)
A code used to define the type of transaction in which the points were added or removed. i.e. ORDER, REVIEW, REGISTRATION

Parameters:
_code - the code to set

getDescription

public java.lang.String getDescription()
A description that can be viewed in a points statement. i.e. Points redeemed in order with id = 123

Returns:
the description

setDescription

public void setDescription(java.lang.String _description)
A description that can be viewed in a points statement. i.e. Points redeemed in order with id = 123

Parameters:
_description - the description to set

getCustomerId

public int getCustomerId()
The numeric id of the customer that the points belong to.

Returns:
the customerId

setCustomerId

public void setCustomerId(int _customerId)
The numeric id of the customer that the points belong to.

Parameters:
_customerId - the customerId to set

getInitialPoints

public int getInitialPoints()
The initial number of points when they were awarded

Returns:
the initialPoints

setInitialPoints

public void setInitialPoints(int _initialPoints)
The initial number of points when they were awarded

Parameters:
_initialPoints - the initialPoints to set

getRemainingPoints

public int getRemainingPoints()
The number of points remaining, since some may have been used.

Returns:
the remainingPoints

setRemainingPoints

public void setRemainingPoints(int _remainingPoints)
The number of points remaining, since some may have been used.

Parameters:
_remainingPoints - the remainingPoints to set

isExpired

public boolean isExpired()
Indicates whether the points have expired

Returns:
the expired

setExpired

public void setExpired(boolean _expired)
Indicates whether the points have expired

Parameters:
_expired - the expired to set

getTransactionType

public int getTransactionType()
The type of transaction which indicates whether the points have been added or removed. Valid values are:

Returns:
the transactionType

setTransactionType

public void setTransactionType(int _transactionType)
The type of transaction which indicates whether the points have been added or removed. Valid values are:

Parameters:
_transactionType - the transactionType to set

getDateAdded

public java.util.Calendar getDateAdded()
The date added

Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Calendar _dateAdded)
The date added

Parameters:
_dateAdded - the dateAdded to set


Copyright © 2011 DS Data Systems UK Ltd.