PaymentData.fromJson constructor
Implementation
factory PaymentData.fromJson(Map<String, dynamic> json) {
return PaymentData(
merchantId: json['merchantId'] as String,
merchantTransactionId: json['merchantTransactionId'] as String,
instrumentResponse: InstrumentResponse.fromJson(
json['instrumentResponse'] as Map<String, dynamic>),
);
}