ShurjopayVerificationModel.fromJson constructor
ShurjopayVerificationModel.fromJson(
- Map<String, dynamic> json
)
Implementation
ShurjopayVerificationModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
orderId = json['order_id'];
currency = json['currency'];
amount = json['amount'] != null
? ValueParser.intDoubleToSring(json['amount'])
: null;
payableAmount = json['payable_amount'] != null
? ValueParser.intDoubleToSring(json['payable_amount'])
: null;
discsountAmount = json['discsount_amount'] != null
? ValueParser.intDoubleToSring(json['discsount_amount'])
: null;
discPercent = json['disc_percent'];
receivedAmount = json['received_amount'] != null
? ValueParser.intDoubleToSring(json['received_amount'])
: null;
usdAmt = json['usd_amt'] != null
? ValueParser.intDoubleToSring(json['usd_amt'])
: null;
usdRate = json['usd_rate'];
cardHolderName = json['card_holder_name'];
cardNumber = json['card_number'];
phoneNo = json['phone_no'];
bankTrxId = json['bank_trx_id'];
invoiceNo = json['invoice_no'];
bankStatus = json['bank_status'];
customerOrderId = json['customer_order_id'];
spCode = json['sp_code'] != null
? ValueParser.intToSring(json['sp_code'])
: null;
spMessage = json['sp_message'];
name = json['name'];
email = json['email'];
address = json['address'];
city = json['city'];
value1 = json['value1'];
value2 = json['value2'];
value3 = json['value3'];
value4 = json['value4'];
transactionStatus = json['transaction_status'];
method = json['method'];
dateTime = json['date_time'];
message = json['message'];
}