@Service public class AxisAdaptor extends Object implements PaymentGatewayAdaptor
| Constructor and Description |
|---|
AxisAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
PaymentResponse |
createOfflinePaymentRequest(OnlinePayment onlinePayment) |
PaymentRequest |
createPaymentRequest(org.egov.infstr.models.ServiceDetails paymentServiceDetails,
ReceiptHeader receiptHeader)
This method invokes APIs to frame request object for the payment service
passed as parameter
|
PaymentResponse |
parsePaymentResponse(String response)
This method parses the given response string into a AXIS payment response
object.
|
public PaymentRequest createPaymentRequest(org.egov.infstr.models.ServiceDetails paymentServiceDetails, ReceiptHeader receiptHeader)
createPaymentRequest in interface PaymentGatewayAdaptorserviceDetails - receiptHeader - PaymentRequestpublic PaymentResponse parsePaymentResponse(String response)
parsePaymentResponse in interface PaymentGatewayAdaptora - String representation of the response. containing the response informationPaymentResponsepublic PaymentResponse createOfflinePaymentRequest(OnlinePayment onlinePayment)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.