com.ibm.retail.AEF.automation
Class LoyaltyIdentifierImpl

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--com.ibm.retail.AEF.automation.IdentifierImpl
                    |
                    +--com.ibm.retail.AEF.automation.LoyaltyIdentifierImpl
All Implemented Interfaces:
java.lang.Cloneable, Identifier, LoyaltyIdentifier, java.util.Map, java.io.Serializable

public class LoyaltyIdentifierImpl
extends com.ibm.retail.AEF.automation.IdentifierImpl
implements LoyaltyIdentifier

LoyaltyIdentifierImpl is a class which contains tender information.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.HashMap
 
Fields inherited from class java.util.AbstractMap
 
Fields inherited from interface com.ibm.retail.AEF.automation.LoyaltyIdentifier
ALTERNATE_TYPE, CLASS_KEY, EXPIRATION_DATE, ID, PRIMARY_TYPE, TYPE
 
Fields inherited from interface com.ibm.retail.AEF.automation.Identifier
ACCOUNT_NUMBER, PRICE
 
Constructor Summary
LoyaltyIdentifierImpl()
          Constructor.
LoyaltyIdentifierImpl(java.lang.String ID)
          Constructor.
LoyaltyIdentifierImpl(java.lang.String ID, java.lang.String type)
          Constructor.
LoyaltyIdentifierImpl(java.lang.String ID, java.lang.String type, java.lang.String expDate)
          Constructor.
 
Method Summary
(package private) static java.lang.String copyright()
           
 java.lang.String getExpirationDate()
          Gets the expiration date.
 java.lang.String getID()
          Gets the loyalty ID.
 java.lang.String getType()
          Gets the loyalty ID type.
 void setExpirationDate(java.lang.String expDate)
          Sets the expiration date.
 void setID(java.lang.String ID)
          Sets the loyalty ID.
 void setType(java.lang.String type)
          Sets the loyalty ID type.
 
Methods inherited from class com.ibm.retail.AEF.automation.IdentifierImpl
toString
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.retail.AEF.automation.Identifier
toString
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

LoyaltyIdentifierImpl

public LoyaltyIdentifierImpl()
Constructor.


LoyaltyIdentifierImpl

public LoyaltyIdentifierImpl(java.lang.String ID,
                             java.lang.String type)
Constructor.

Parameters:
ID - The customer's loyalty ID.
type - The ID type (usually LoyaltyIdentifier.PRIMARY_TYPE or LoyaltyIdentifier.ALTERNATE_TYPE)

LoyaltyIdentifierImpl

public LoyaltyIdentifierImpl(java.lang.String ID)
Constructor.

Parameters:
ID - The customer's loyalty ID (the type defaults to LoyaltyIdentifier.PRIMARY_TYPE)

LoyaltyIdentifierImpl

public LoyaltyIdentifierImpl(java.lang.String ID,
                             java.lang.String type,
                             java.lang.String expDate)
Constructor.

Parameters:
ID - The customer's loyalty ID.
type - The ID type (usually LoyaltyIdentifier.PRIMARY_TYPE or LoyaltyIdentifier.ALTERNATE_TYPE)
expDate - The loyalty number expiration date.
Method Detail

copyright

static java.lang.String copyright()

setID

public void setID(java.lang.String ID)
Sets the loyalty ID.

Specified by:
setID in interface LoyaltyIdentifier
Parameters:
ID -

setType

public void setType(java.lang.String type)
Sets the loyalty ID type.

Specified by:
setType in interface LoyaltyIdentifier
Parameters:
type - (usually 'primary' or 'alternate').

setExpirationDate

public void setExpirationDate(java.lang.String expDate)
Sets the expiration date.

Specified by:
setExpirationDate in interface LoyaltyIdentifier
Parameters:
expDate -

getID

public java.lang.String getID()
Gets the loyalty ID.

Specified by:
getID in interface LoyaltyIdentifier
Returns:
String

getType

public java.lang.String getType()
Gets the loyalty ID type.

Specified by:
getType in interface LoyaltyIdentifier
Returns:
String (usually 'primary' or 'alternate').

getExpirationDate

public java.lang.String getExpirationDate()
Gets the expiration date.

Specified by:
getExpirationDate in interface LoyaltyIdentifier
Returns:
String


Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004