ValidateDirectChargeResponse.fromJson constructor

ValidateDirectChargeResponse.fromJson(
  1. Map<String, dynamic> json
)

Initializes a ValidateDirectChargeResponse instance from a JSON map.

Implementation

ValidateDirectChargeResponse.fromJson(Map<String, dynamic> json) {
  message = json['message'];
  trxRef = json['trx_ref'];
  processorId = json['processor_id'];
  data = HistoryData.fromJson(json['data']);
}