com.retek.component.payment.integration.rewardcertificate
Interface SynchronousRewardCertificateAuthorizer


public interface SynchronousRewardCertificateAuthorizer

An authorization API to be implemented by an adaptor to a third-party reward certificate processing system. When authorizing reward certificates, the system will look for com/retek/component/payment/integration/rewardcertificate/integration.properties in the classpath, and load the class named in the property rewardcertificate.authorizer.synchronous, which must implement this interface.

This class may be joined in the future by an AsynchronousRewardCertificateAuthorizer, which will use the same request and response classes.


Method Summary
 RewardCertificateAuthorizationResponse authorize(RewardCertificateAuthorizationRequest request)
          Handles the authorization of a single reward certificate payment.
 

Method Detail

authorize

public RewardCertificateAuthorizationResponse authorize(RewardCertificateAuthorizationRequest request)
                                                 throws RewardCertificateProcessingException
Handles the authorization of a single reward certificate payment.

Parameters:
request - Information about the account number and the amount requested for authorization.
Returns:
A response indicating whether the authorization was approved or declined.
Throws:
RewardCertificateProcessingException - if the system is unable to process the authorization request.


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25