com.retek.component.payment
Interface TenderTypeManager

All Superinterfaces:
DistributedObjectManager
All Known Implementing Classes:
TenderTypeManagerImpl

public interface TenderTypeManager
extends DistributedObjectManager

The TenderTypeManager interface is used as a finder to locate all the existing TenderTypes and TenderTypeGroups.

Retek Inc. Copyright (c) 2003


Method Summary
 java.util.List findAllTenderTypeGroups()
          Finds all TenderTypeGroups and returns a List of TenderTypeGroup objects.
 java.util.List findAllTenderTypes()
          Finds all TenderTypes and returns a List of TenderType objects.
 java.util.Set findGiftReturnTenderTypes()
          Finds all TenderTypes that are valid for use as gift return refund tender.
 java.util.Set findPrivateLabelTenderTypes(Banner banner)
          Finds all private label TenderTypes that are valid for the banner passed in.
 TenderType findTenderType(java.lang.String tenderTypeName)
          Finds a specific TenderType by name.
 java.util.Set findTenderTypes(Banner banner)
          Finds all TenderTypes that are valid for the banner passed in.
 java.util.List findTenderTypes(TenderTypeSearchCriteria searchCriteria)
          Finds all TenderTypes that match the given search criteria and returns a List of TenderType objects.
 java.util.Collection getTenderType(java.lang.String creditCardNumber)
          Takes a credit card number String and finds all possible matching credit card TenderTypes by performing credit card number validation on the String.
 boolean isMod10(java.lang.String number)
          Takes a number and determines if it is a valid account number based on the Mod10 algorithm given.
 PaymentPlanCode readPaymentPlanCode(DistributedReference paymentPlanCodeRef)
          Resolves a reference to a PaymentPlanCode and returns the associated object.
 TenderType readTenderType(DistributedReference tenderTypeRef)
          Resolves a reference to a TenderType and returns the associated object.
 TenderTypeGroup readTenderTypeGroup(DistributedReference tenderTypeGroupRef)
          Resolves a reference to a TenderTypeGroup and returns the associated object.
 
Methods inherited from interface com.retek.commons.component.DistributedObjectManager
getContext
 

Method Detail

findAllTenderTypeGroups

public java.util.List findAllTenderTypeGroups()
                                       throws SystemException
Finds all TenderTypeGroups and returns a List of TenderTypeGroup objects.

Returns:
java.util.List
Throws:
SystemException

findAllTenderTypes

public java.util.List findAllTenderTypes()
                                  throws SystemException
Finds all TenderTypes and returns a List of TenderType objects.

Returns:
java.util.List
Throws:
SystemException

findTenderTypes

public java.util.List findTenderTypes(TenderTypeSearchCriteria searchCriteria)
                               throws SystemException
Finds all TenderTypes that match the given search criteria and returns a List of TenderType objects.

Returns:
java.util.List
Throws:
SystemException

findTenderTypes

public java.util.Set findTenderTypes(Banner banner)
                              throws SystemException
Finds all TenderTypes that are valid for the banner passed in.

Returns:
Set
Throws:
SystemException

findPrivateLabelTenderTypes

public java.util.Set findPrivateLabelTenderTypes(Banner banner)
                                          throws SystemException
Finds all private label TenderTypes that are valid for the banner passed in.

Returns:
Set
Throws:
SystemException

findTenderType

public TenderType findTenderType(java.lang.String tenderTypeName)
                          throws SystemException
Finds a specific TenderType by name.

Returns:
TenderType
Throws:
SystemException

findGiftReturnTenderTypes

public java.util.Set findGiftReturnTenderTypes()
                                        throws SystemException
Finds all TenderTypes that are valid for use as gift return refund tender.

Returns:
java.util.Set
Throws:
SystemException

readTenderTypeGroup

public TenderTypeGroup readTenderTypeGroup(DistributedReference tenderTypeGroupRef)
                                    throws SystemException
Resolves a reference to a TenderTypeGroup and returns the associated object.

Returns:
TenderTypeGroup
Throws:
SystemException, - InvalidReferenceException, ComponentStructureException
SystemException

readTenderType

public TenderType readTenderType(DistributedReference tenderTypeRef)
                          throws SystemException
Resolves a reference to a TenderType and returns the associated object.

Returns:
TenderType
Throws:
SystemException

readPaymentPlanCode

public PaymentPlanCode readPaymentPlanCode(DistributedReference paymentPlanCodeRef)
                                    throws SystemException
Resolves a reference to a PaymentPlanCode and returns the associated object.

Returns:
PaymentPlanCode
Throws:
SystemException

getTenderType

public java.util.Collection getTenderType(java.lang.String creditCardNumber)
                                   throws SystemException
Takes a credit card number String and finds all possible matching credit card TenderTypes by performing credit card number validation on the String.

Returns:
java.util.Collection
Throws:
SystemException

isMod10

public boolean isMod10(java.lang.String number)
Takes a number and determines if it is a valid account number based on the Mod10 algorithm given.

Returns:
boolean


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