MFDirectPaymentResponse.fromJson constructor

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

Implementation

MFDirectPaymentResponse.fromJson(Map<String, dynamic> json) {
  mfPaymentStatusResponse = json['mfPaymentStatusResponse'] != null
      ? MFGetPaymentStatusResponse.fromJson(json['mfPaymentStatusResponse'])
      : null;
  cardInfoResponse = json['cardInfoResponse'] != null
      ? DirectPaymentResponse.fromJson(json['cardInfoResponse'])
      : null;
}