|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An API to be implemented by an adaptor to a third-party stored value card processing system. When processing stored value cards, the system will look for com/retek/component/payment/integration/storedvaluecard/integration.properties in the classpath, and load the class named in the property storedvaluecard.synchronous, which must implement this interface.
This class may be joined in the future by an AsynchronousStoredValueCardProcessor, which will use the same request and response classes.
Method Summary | |
StoredValueCardAuthorizationResponse |
authorize(StoredValueCardAuthorizationRequest request)
Handles the authorization of a single stored value card. |
StoredValueCardCashoutResponse |
cashout(StoredValueCardCashoutRequest request)
Handles the cashout of a single stored value card. |
StoredValueCardInquiryResponse |
inquiry(StoredValueCardInquiryRequest request)
Handles the inquiry of a single stored value card. |
void |
voidAuthorization(StoredValueCardAuthorizationRequest request)
Handles a void authorization of a single stored value card. |
Method Detail |
public StoredValueCardAuthorizationResponse authorize(StoredValueCardAuthorizationRequest request) throws StoredValueCardProcessingException
request
- - Account number, pin number, and requested authorize amount
StoredValueCardProcessingException
- if the system is unable to process the
authorization request.public StoredValueCardInquiryResponse inquiry(StoredValueCardInquiryRequest request) throws StoredValueCardProcessingException
request
- - Account number
StoredValueCardProcessingException
- if the system is unable to process the
inquiry request.public StoredValueCardCashoutResponse cashout(StoredValueCardCashoutRequest request) throws StoredValueCardProcessingException
request
- - Account number
StoredValueCardProcessingException
- if the system is unable to process the
inquiry request.public void voidAuthorization(StoredValueCardAuthorizationRequest request) throws StoredValueCardProcessingException
request
- - Account number, pin number, and requested void amount
StoredValueCardProcessingException
- if the system is unable to process the
void authorization request.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |