PaymentResp.fromJson constructor

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

Implementation

factory PaymentResp.fromJson(Map<String, dynamic> json) {
  return PaymentResp (
      result:json['result'],
      responseCode:json['responseCode'] as String,
      authcode:json['authcode'] as String,
      tranid:json['tranid'] as String,
      trackid:json['trackid'] as String,
      terminalid:json['terminalid'] as String,
      udf1:json['udf1'] as String,
      udf2:json['udf2'] as String,
udf3:json['udf3'] as String,
udf4:json['udf4'] as String,
udf5:json['udf5'] as String,
rrn:json['rrn'] as String,
eci:json['eci'] as String,
subscriptionId:json['subscriptionId'] as String,
trandate:json['trandate'] as String,
tranType:json['tranType'] as String,
integrationModule:json['integrationModule'] as String,
integrationData:json['integrationData'] as String,
payid:json['payid'] as String,
targetUrl:json['targetUrl'] as String,
      postData:json['postData'] as String,
      intUrl:json['intUrl'] as String,
      responseHash:json['responseHash'] as String,
      amount:json['amount'] as String,
      cardBrand:json['cardBrand'] as String,
      cc:json['cc'] as String,
      cardToken:json['cardToken'] as String);

}