EdfaPgTransactionStatusResult constructor

EdfaPgTransactionStatusResult(
  1. Map result
)

Implementation

EdfaPgTransactionStatusResult(Map result){
  if(result.containsKey("success")) {
    success = EdfaPgTransactionStatusSuccess.fromJson(result["success"]);
  }

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

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