MFDirectPaymentModel.fromJson constructor

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

Implementation

MFDirectPaymentModel.fromJson(Map<String, dynamic> json) {
  paymentType = json['PaymentType'];
  saveToken = json['SaveToken'];
  card = json['Card'] != null ? MFCard.fromJson(json['Card']) : null;
  token = json['Token'];
  bypass3DS = json['Bypass3DS'];
}