Data.fromJson constructor

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

Implementation

factory Data.fromJson(Map<String, dynamic> json) => Data(
  transactionPaymentStatus: json["transaction_payment_status"],
  merchantId: json["merchant_id"],
  orderid: json["orderid"],
  apTransactionid: json["ap_transactionid"],
  txnMode: json["txn_mode"],
  chmod: json["chmod"],
  amount: json["amount"],
  currencyCode: json["currency_code"],
  transactionStatus: json["transaction_status"],
  message: json["message"],
  bankResponseMsg: json["bank_response_msg"],
  customerName: json["customer_name"],
  customerPhone: json["customer_phone"],
  customerEmail: json["customer_email"],
  transactionType: json["transaction_type"],
  risk: json["risk"],
  customVar: json["custom_var"],
  token: json["token"],
  uid: json["uid"],
  transactionTime: json["transaction_time"],
  surchargeAmount: json["surcharge_amount"],
  cardType: json["card_type"],
  apSecurehash: json["ap_securehash"],
);