ExpresspayCreditVoidResult constructor
ExpresspayCreditVoidResult(
- Map result
Implementation
ExpresspayCreditVoidResult(Map result){
if(result.containsKey("success")) {
success = ExpresspayCreditVoidSuccess.fromJson(result["success"]);
}
if(result.containsKey("error")) {
error = ExpresspayError.fromJson(result["error"]);
}
if(result.containsKey("failure")) {
failure = result["failure"];
}
if(result.containsKey("responseJSON")) {
responseJSON = result["responseJSON"];
}
}