DirectPaymentResponse.fromJson constructor

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

Implementation

DirectPaymentResponse.fromJson(Map<String, dynamic> json) {
  status = json['Status'];
  errorMessage = json['ErrorMessage'];
  paymentId = json['PaymentId'];
  token = json['Token'];
  recurringId = json['RecurringId'];
  paymentURL = json['PaymentURL'];
  cardInfo =
      json['CardInfo'] != null ? MFCardInfo.fromJson(json['CardInfo']) : null;
}