factory PaymentRequest.fromJson(Map<String, dynamic> json) { return PaymentRequest( amount: json['amount'], orderId: json['orderId'], currency: json['currency']); }