CardPaymentRequest.fromJson constructor

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

Implementation

CardPaymentRequest.fromJson(Map<String, dynamic> json) {
  amount = json['amount'];
  txnRef = json['txnRef'];
  mobileNumber = json['mobileNumber'];
  zainboxCode = json['zainboxCode'];
  emailAddress = json['emailAddress'];
  callBackUrl = json['callBackUrl'];
}