toJson method
Implementation
Map<String, dynamic> toJson() => {
"productId": productId,
"productName": productName,
"totalAmount": totalAmount,
"environment": environment,
"code": code,
"merchantName": merchantName,
"message": message,
"date": date,
"status": status,
"refId": refId,
};