EsewaPaymentSuccessResult.fromJson constructor
EsewaPaymentSuccessResult.fromJson(
- Map<String, dynamic> json
)
Implementation
factory EsewaPaymentSuccessResult.fromJson(Map<String, dynamic> json) =>
EsewaPaymentSuccessResult(
productId: json["productID"] ?? json["productId"],
productName: json["productName"],
totalAmount: json["totalAmount"],
environment: json["environment"],
code: json["code"],
merchantName: json["merchantName"],
message: json["message"],
date: json["date"],
status: json["status"],
refId: json["referenceId"],
);