ExpresspayTransactionStatusResult constructor

ExpresspayTransactionStatusResult(
  1. Map result
)

Implementation

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

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

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