EdfaPgTransactionDetailResult constructor

EdfaPgTransactionDetailResult(
  1. Map result
)

Implementation

EdfaPgTransactionDetailResult(Map result){

  if(result.containsKey("success")) {
    success = EdfaPgTransactionDetailsSuccess.fromJson(result["success"]);
  }

  if(result.containsKey("failure")) {
    failure = result["failure"];
  }

  if(result.containsKey("responseJSON")) {
    responseJSON = result["responseJSON"];
  }

}