onTransactionFailure method

ExpressCardPay onTransactionFailure(
  1. dynamic callback(
    1. ExpresspayTransactionDetailsSuccess response
    )
)

Implementation

ExpressCardPay onTransactionFailure(Function(ExpresspayTransactionDetailsSuccess response) callback){
  _onTransactionFailure = callback;
  return this;
}