|
||||||||||||
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 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 |
public RewardCertificateAuthorizationResponse authorize(RewardCertificateAuthorizationRequest request) throws RewardCertificateProcessingException
request
- Information about the account number and the amount requested
for authorization.
RewardCertificateProcessingException
- 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 |