MFDirectPaymentRequest.fromJson constructor

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

Implementation

MFDirectPaymentRequest.fromJson(Map<String, dynamic> json) {
  executePaymentRequest =
      MFExecutePaymentRequest.fromJson(json['executePaymentRequest']);
  card = MFCard.fromJson(json['card']);
  token = json['token'];
  saveToken = json['saveToken'];
  bypass3DS = json['bypass3DS'];
}