EdfaPgCreditVoidResult constructor

EdfaPgCreditVoidResult(
  1. Map result
)

Implementation

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

  if(result.containsKey("error")) {
    error = EdfaPgError.fromJson(result["error"]);
  }

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

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