PaymentSDK
Mobile payment SDK
de.wirecard.paymentsdk.WirecardResponseListener Interface Reference

Provides callback methods which will provide transaction result. More...

Public Instance Methods

void onResponse (WirecardPaymentResponse wirecardPaymentResponse)
 Called when transaction was processed on server side and no error during transaction occurred. It does not indicate application-layer success. More...
 
void onError (WirecardResponseError wirecardResponseError)
 Called when error occurs during transaction process. More...
 

Detailed Description

Provides callback methods which will provide transaction result.

Method Documentation

void de.wirecard.paymentsdk.WirecardResponseListener.onError ( WirecardResponseError  wirecardResponseError)

Called when error occurs during transaction process.

Parameters
wirecardResponseErrorresponse error object which contains error information.
void de.wirecard.paymentsdk.WirecardResponseListener.onResponse ( WirecardPaymentResponse  wirecardPaymentResponse)

Called when transaction was processed on server side and no error during transaction occurred. It does not indicate application-layer success.

Parameters
wirecardPaymentResponsepayment response object which contains transaction data. Including transaction status, type etc.