|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.component.payment.integration.creditcard.test.TestFileCreditCardAuthorizer
Authorizes credit cards based on input files, for testing/prototyping/demonstration purposes. This authorizer looks for the file /tmp/<creditcardnumber>.dat with the following format:
CreditCardProcessingFailedException
Constructor Summary | |
TestFileCreditCardAuthorizer()
|
Method Summary | |
CreditCardAuthorizationResponse |
authorize(CreditCardAuthorizationRequest request)
Handles the authorization of a single credit card payment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestFileCreditCardAuthorizer()
Method Detail |
public CreditCardAuthorizationResponse authorize(CreditCardAuthorizationRequest request) throws CreditCardProcessingException
SynchronousCreditCardAuthorizer
authorize
in interface SynchronousCreditCardAuthorizer
request
- Information about the credit card, the customer, and the amount requested
for authorization.
CreditCardProcessingException
- if the system is unable to process the
authorization request.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |