com.retek.component.customer
Interface CustomerCreditCard

All Superinterfaces:
BusinessObject, DistributedObject
All Known Implementing Classes:
CustomerCreditCardImpl

public interface CustomerCreditCard
extends DistributedObject

This class represents a customer credit card. The customer credit card holds on to a credit card in the context of a banner. A customer credit card cannot be persisted by themselves, i.e., they must be persisted as an aggregate of a customer.


Field Summary
static java.lang.String CREDIT_CARD_NUMBER
           
static java.lang.String CREDIT_CARD_TYPE
           
static java.lang.String EXPIRATION_DATE
           
static java.lang.String FIRST_NAME
           
static java.lang.String LAST_NAME
           
 
Method Summary
 Banner getBanner()
          Customer Credit Cards can only be accessed and used within the context of the banner(s) in which the customer has previously used it.
 CreditCard getCreditCard()
           
 TenderType getTenderType()
           
 boolean isInactive()
           
 void setCreditCard(CreditCard creditCard)
           
 void setInactive(boolean inactive)
           
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Field Detail

FIRST_NAME

public static final java.lang.String FIRST_NAME
See Also:
Constant Field Values

LAST_NAME

public static final java.lang.String LAST_NAME
See Also:
Constant Field Values

CREDIT_CARD_TYPE

public static final java.lang.String CREDIT_CARD_TYPE
See Also:
Constant Field Values

CREDIT_CARD_NUMBER

public static final java.lang.String CREDIT_CARD_NUMBER
See Also:
Constant Field Values

EXPIRATION_DATE

public static final java.lang.String EXPIRATION_DATE
See Also:
Constant Field Values
Method Detail

getBanner

public Banner getBanner()
                 throws SystemException
Customer Credit Cards can only be accessed and used within the context of the banner(s) in which the customer has previously used it.

Throws:
SystemException

getTenderType

public TenderType getTenderType()
                         throws SystemException,
                                BusinessException
Throws:
SystemException
BusinessException

isInactive

public boolean isInactive()
                   throws SystemException
Throws:
SystemException

getCreditCard

public CreditCard getCreditCard()
                         throws SystemException
Throws:
SystemException

setInactive

public void setInactive(boolean inactive)
                 throws SystemException
Throws:
SystemException

setCreditCard

public void setCreditCard(CreditCard creditCard)
                   throws SystemException
Throws:
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28