|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An authorization API to be implemented by an adaptor to a third-party credit card processing system. When authorizing credit cards, the system will look for com/retek/component/payment/integration/creditcard/integration.properties in the classpath, and load the class named in the property creditcard.authorizer.synchronous, which must implement this interface.
This class may be joined in the future by an AsynchronousCreditCardAuthorizer, which will use the same request and response classes.
Method Summary | |
CreditCardAuthorizationResponse |
authorize(CreditCardAuthorizationRequest request)
Handles the authorization of a single credit card payment. |
Method Detail |
public CreditCardAuthorizationResponse authorize(CreditCardAuthorizationRequest request) throws CreditCardProcessingException
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 |