com.retek.component.payment.integration.creditapp.test
Class MockCreditApplicationApplier
java.lang.Object
com.retek.component.payment.integration.creditapp.test.MockCreditApplicationApplier
- All Implemented Interfaces:
- SynchronousCreditApplicationApplier
- public class MockCreditApplicationApplier
- extends java.lang.Object
- implements SynchronousCreditApplicationApplier
An authorizer used in unit tests and QC, which gives different responses based on
the last four digits of the SSN.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTEXT
public static final DistributedContext CONTEXT
CREDIT_LIMIT
public static final java.math.BigDecimal CREDIT_LIMIT
ACCOUNT_NUMBER
public static final java.lang.String ACCOUNT_NUMBER
- See Also:
- Constant Field Values
APPROVED_SSN_LAST_FOUR_DIGITS
public static final java.lang.String APPROVED_SSN_LAST_FOUR_DIGITS
- See Also:
- Constant Field Values
DENIED_SSN_LAST_FOUR_DIGITS
public static final java.lang.String DENIED_SSN_LAST_FOUR_DIGITS
- See Also:
- Constant Field Values
TIMEOUT_SSN_LAST_FOUR_DIGITS
public static final java.lang.String TIMEOUT_SSN_LAST_FOUR_DIGITS
- See Also:
- Constant Field Values
MockCreditApplicationApplier
public MockCreditApplicationApplier()
applyForCredit
public CreditApplicationResponse applyForCredit(CreditApplicationRequest request)
throws CreditAppProcessingException
- Description copied from interface:
SynchronousCreditApplicationApplier
- Handles the applying of a single credit application.
- Specified by:
applyForCredit
in interface SynchronousCreditApplicationApplier
- Parameters:
request
- Information about the credit application (DOB, SSN, etc.) and the customer
- Returns:
- A response indicating whether the credit application was approved or denied.
- Throws:
CreditAppProcessingException
- if the system is unable to process the
credit application request.
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28